Jump to content

MediaWiki:Common.css: Difference between revisions

From Transight Wiki
No edit summary
No edit summary
Line 47: Line 47:
}
}


/* === FORCE login/profile/user menu to show BLACK text/icons === */
/* === Fix user menu/login text color to BLACK === */
.vector-header .vector-user-menu,
 
.vector-header .vector-user-menu *,
/* Top-right menu trigger (login or username) */
.vector-header .vector-user-menu a,
.vector-user-menu .vector-user-menu-trigger > a,
.vector-header .vector-user-menu a:visited,
.vector-user-menu .vector-user-menu-trigger > button {
.vector-header .vector-user-menu a:active,
.vector-header .vector-user-menu .vector-menu-heading,
.vector-header .vector-user-menu .vector-menu-content,
.vector-header .vector-user-menu .mw-ui-icon,
.vector-header .vector-user-menu svg,
.vector-header .vector-user-menu path {
     color: black !important;
     color: black !important;
    fill: black !important;
}
/* Dropdown content items */
.vector-user-menu .vector-menu-content a {
    color: black !important;
    fill: black !important;
}
/* Force icon (user icon, bell, etc.) to black */
.vector-user-menu .mw-ui-icon,
.vector-user-menu svg,
.vector-user-menu svg path {
     fill: black !important;
     fill: black !important;
     stroke: black !important;
     stroke: black !important;
     background: transparent !important;
}
     border-color: transparent !important;
 
/* Reset visited state */
.vector-user-menu a:visited {
     color: black !important;
}
 
/* Optional: dropdown background color */
.vector-user-menu .vector-menu-content {
     background-color: #ffffff !important;
}
}



Revision as of 09:12, 23 June 2025

/* === GLOBAL HEADER AREA BURGUNDY === */
body {
    --header-background-color: #680022 !important;
    --header-text-color: white !important;
}

/* === HEADER SECTIONS === */
.vector-header,
.vector-header-container,
.vector-sticky-header {
    background-color: #680022 !important;
    color: white !important;
    border: none !important;
}

.vector-search-box input {
    color: black !important;
}
.vector-search-box button {
    background-color: #680022 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
}
/* === Make entire top header burgundy === */
.vector-header-container {
    background-color: #680022 !important;
}

/* === Set all page link colors to burgundy === */
a, a:visited {
    color: #680022 !important;
}

/* === TOP TABS === */
.vector-tab,
.vector-tab a {
    background: transparent !important;
    color: white !important;
    font-weight: bold;
}
.vector-tab a:hover {
    border-bottom: 2px solid white !important;
}
.vector-tab.selected a {
    border-bottom: 3px solid white !important;
}

/* === Fix user menu/login text color to BLACK === */

/* Top-right menu trigger (login or username) */
.vector-user-menu .vector-user-menu-trigger > a,
.vector-user-menu .vector-user-menu-trigger > button {
    color: black !important;
    fill: black !important;
}

/* Dropdown content items */
.vector-user-menu .vector-menu-content a {
    color: black !important;
    fill: black !important;
}

/* Force icon (user icon, bell, etc.) to black */
.vector-user-menu .mw-ui-icon,
.vector-user-menu svg,
.vector-user-menu svg path {
    fill: black !important;
    stroke: black !important;
}

/* Reset visited state */
.vector-user-menu a:visited {
    color: black !important;
}

/* Optional: dropdown background color */
.vector-user-menu .vector-menu-content {
    background-color: #ffffff !important;
}

/* === CUSTOM LOGO (for Vector-2022) === */
.vector-header .mw-logo {
    background-image: url("/resources/assets/TRANSIGHT_NEW.jpg"); /* Fix path and encode spaces */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    width: 400px;
    height: 100px;
}

/* === Hide the default MediaWiki logo === */
.vector-header .mw-logo img {
    opacity: 0 !important;
}