Difference between revisions of "MediaWiki:Foreground.css"

From Slicer Wiki
Jump to: navigation, search
Line 21: Line 21:
  
 
/* Custom Foreground menubar colors */
 
/* Custom Foreground menubar colors */
 
 
.top-bar,
 
.top-bar,
 
.top-bar-section ul,
 
.top-bar-section ul,
Line 30: Line 29:
 
     color: #222;
 
     color: #222;
 
}
 
}
 
 
  
 
.top-bar-section > ul > .divider,
 
.top-bar-section > ul > .divider,
Line 41: Line 38:
 
.top-bar-section ul li.hover > a,
 
.top-bar-section ul li.hover > a,
 
.top-bar-section ul li ul.dropdown li.hover > a {
 
.top-bar-section ul li ul.dropdown li.hover > a {
     background: #fefefe;
+
     background: #ddd;
 
}
 
}
  

Revision as of 16:55, 10 November 2016

Home < MediaWiki:Foreground.css
.top.bar.logo: { 
  height:80px !important
  max-height:80px !important
}

span.show-for-medium-up {
font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
font-weight: bold;
}

@media only screen and (min-width: 40.0625em) {
.top-bar-section li.active:not(.has-form) a:not(.button) {
    background: #ffffff;
    color: #222;
}

.top-bar-section .has-dropdown > a:after {
border-color: rgba(0,0,0,0.4) transparent transparent transparent;
}
}

/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
    background: #ffffff;
    color: #222;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
    border-color: #fefefe;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a {
    background: #ddd;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #ffffff;
}