More actions
JoliasEnor (talk | contribs) No edit summary |
JoliasEnor (talk | contribs) No edit summary |
||
| Line 52: | Line 52: | ||
} | } | ||
/* ---- | /* ---- COMPLETELY FIX EDIT BUTTON ---- */ | ||
.mw-editbutton, .mw-ui-button { | .mw-editbutton, | ||
background-color: #222222 !important; /* Dark gray background */ | .mw-ui-button, | ||
#ca-edit a, | |||
#ca-ve-edit a { | |||
background-color: #222222 !important; /* Dark gray button background */ | |||
color: #ffffff !important; /* White text */ | color: #ffffff !important; /* White text */ | ||
border: 1px solid #555555 !important; /* Subtle border */ | border: 1px solid #555555 !important; /* Subtle border */ | ||
} | } | ||
.mw-editbutton:hover, .mw-ui-button:hover { | .mw-editbutton:hover, | ||
.mw-ui-button:hover, | |||
#ca-edit a:hover, | |||
#ca-ve-edit a:hover { | |||
background-color: #444444 !important; /* Slightly lighter on hover */ | background-color: #444444 !important; /* Slightly lighter on hover */ | ||
} | } | ||
.mw-editbutton:active, .mw-ui-button:active { | .mw-editbutton:active, | ||
.mw-ui-button:active, | |||
#ca-edit a:active, | |||
#ca-ve-edit a:active { | |||
background-color: #555555 !important; /* Even lighter when clicked */ | background-color: #555555 !important; /* Even lighter when clicked */ | ||
} | } | ||
/* ---- | /* ---- Ensure Other Buttons Are Fixed Too ---- */ | ||
.mw-ui-button:not(.mw-ui-progressive):not(.mw-ui-destructive) { | .mw-ui-button:not(.mw-ui-progressive):not(.mw-ui-destructive) { | ||
background-color: #222222 !important; /* Dark button background */ | background-color: #222222 !important; /* Dark button background */ | ||
color: #ffffff !important; /* White text */ | color: #ffffff !important; /* White text */ | ||
} | |||
/* ---- Fix the "Create Page" Button (For Missing Pages) ---- */ | |||
.mw-ui-button.mw-ui-progressive { | |||
background-color: #ff6666 !important; /* Red background for missing page buttons */ | |||
color: #ffffff !important; /* White text */ | |||
border: 1px solid #aa4444 !important; | |||
} | |||
.mw-ui-button.mw-ui-progressive:hover { | |||
background-color: #ff3333 !important; /* Darker red on hover */ | |||
} | } | ||
Revision as of 19:43, 4 February 2025
:root.skin-theme-clientpref-night {
--color-primary__h: 0; /* Primary hue (not relevant for white) */
--color-primary__s: 0%; /* No saturation for grayscale */
--color-primary__l: 100%; /* Full lightness for white */
/* Ensure text is white */
--color-base: #ffffff; /* Main text color */
--color-emphasized: #f5f5f5; /* Emphasized text (headers) */
--color-subtle: #cccccc; /* Less important text */
/* Dark background */
--color-surface-0: #121212; /* Page background */
--color-surface-1: #1a1a1a; /* Panels, dropdowns */
--color-surface-2: #222222; /* Secondary elements */
--color-surface-3: #2a2a2a; /* Deep layers */
--color-surface-4: #333333; /* Borders and deepest layers */
/* Standard Buttons (NOT affecting Edit Buttons) */
--color-primary: #333333; /* Dark gray background for buttons */
--color-primary--hover: #444444; /* Slightly lighter hover color */
--color-primary--active: #555555; /* Clicked button color */
--color-primary-text: #ffffff; /* Ensure button text is white */
/* UI buttons and accents */
--color-syntax-red: #ff6666; /* Error text */
--color-syntax-blue: #6699ff; /* Other blue UI elements */
--color-syntax-green: #66ff66; /* Success messages */
}
/* ---- Fix Green Links (Non-existent Pages) to Red ---- */
.mw-parser-output a.new {
color: #ff6666 !important; /* Change non-existent page links to red */
}
.mw-parser-output a.new:hover {
color: #ff3333 !important; /* Darker red when hovered */
}
/* ---- Force Normal Links to be Green ---- */
.mw-parser-output a {
color: #66ff66 !important; /* Default link color */
text-decoration: none;
}
.mw-parser-output a:hover {
color: #44cc44 !important; /* Hovered link color */
text-decoration: underline;
}
.mw-parser-output a:active {
color: #33aa33 !important; /* Clicked link color */
}
/* ---- COMPLETELY FIX EDIT BUTTON ---- */
.mw-editbutton,
.mw-ui-button,
#ca-edit a,
#ca-ve-edit a {
background-color: #222222 !important; /* Dark gray button background */
color: #ffffff !important; /* White text */
border: 1px solid #555555 !important; /* Subtle border */
}
.mw-editbutton:hover,
.mw-ui-button:hover,
#ca-edit a:hover,
#ca-ve-edit a:hover {
background-color: #444444 !important; /* Slightly lighter on hover */
}
.mw-editbutton:active,
.mw-ui-button:active,
#ca-edit a:active,
#ca-ve-edit a:active {
background-color: #555555 !important; /* Even lighter when clicked */
}
/* ---- Ensure Other Buttons Are Fixed Too ---- */
.mw-ui-button:not(.mw-ui-progressive):not(.mw-ui-destructive) {
background-color: #222222 !important; /* Dark button background */
color: #ffffff !important; /* White text */
}
/* ---- Fix the "Create Page" Button (For Missing Pages) ---- */
.mw-ui-button.mw-ui-progressive {
background-color: #ff6666 !important; /* Red background for missing page buttons */
color: #ffffff !important; /* White text */
border: 1px solid #aa4444 !important;
}
.mw-ui-button.mw-ui-progressive:hover {
background-color: #ff3333 !important; /* Darker red on hover */
}