Module:Navigation header/styles.css: Difference between revisions

Content deleted Content added
removing conflicting directives
removing margin-bottom
 
(8 intermediate revisions by 2 users not shown)
Line 1:
.navigation-header {
margin: 1em 0;
box-sizing: border-box;
clear: both;
background: #fff;
}
 
.navigation-header-tabs .plainlist li {
/* Default theme: Blue */
margin: 0;
.navigation-header.blue-theme .navigation-header-tabs li {
padding: 0;
border-top: solid #07015a;
border: none !important;
}
 
.navigation-header.blue-theme .navigation-header-tabs li.selectedul {
display: flex;
border-left: 0.5em solid #07015a;
flex-direction: column;
flex-wrap: wrap;
text-align: center; /* noflex */
margin-left: 0;
}
 
.navigation-header.blue-theme .navigation-header-tabs .navigation-header-content#leadtab a {
background- color: #07015afff;
border-bottom: 2px solid #07015a;
}
 
.navigation-header.blue-theme .navigation-header-tabs #leadtabemergencytab {
border-top: 0.5em solid red;
background: #07015a;
}
 
.navigation-header-tabs #emergencytab a {
/* Gray theme */
color: red;
.navigation-header.gray-theme .navigation-header-tabs li {
border-top: solid #666;
}
 
.navigation-header.gray-theme .navigation-header-tabs li.selected {
flex: 1 1 0;
border-left: 0.5em solid #666;
width: 100%;
margin: 0;
box-sizing: border-box;
background-color: inherit;
padding: 1em;
font-weight: bold;
text-transform: uppercase;
}
 
.navigation-header.gray-theme .navigation-header-tabs li.navigation-header-contentselected {
background-color: #666f8f9fa;
border-bottomleft: 2px0.5em solid #66607015a;
}
 
.navigation-header.gray-themetabs .navigation-header-tabsli #leadtaba {
color: #36c;
background: #666;
}
 
.navigation-header-tabs ul.mw-selflink {
color: #000;
display: flex;
flex-direction: column;
flex-wrap: wrap;
text-align: center; /* noflex */
margin-bottom: 4em;
}
 
.navigation-header-tabs #leadtab a {
.navigation-header-tabs .navigation-header-content {
color: #fff;
font-size: 1em;
background-color: #07015a;
border-bottom: 2px solid #07015a;
padding: 1em;
}
 
.navigation-header-tabs #emergencytab {
.navigation-header-tabs .navigation-header-icon {
border-top: 0.5em solid red;
display: inline-block;
margin: 0 0.5em 0 0;
vertical-align: text-bottom;
}
 
.navigation-header-tabs #emergencytab a.navigation-header-break {
colorclear: redboth;
}
 
.navigation-header-tabs li {
.navigation-header-tabs #leadtab {
flex:1 1 0;
display: inline-block;
width: 100%;
color: #fff;
margin: 0;
background: #07015a;
box-sizing: border-box;
background-color: inherit;
padding: 1em;
font-weight: bold;
border-top: 0.5em solid #07015a;
text-transform: uppercase;
}
 
.navigation-header-tabs li.selected {
@media (min-width: 550px) {
background-color: #f8f9fa;
.navigation-header-tabs ul {
border-left: 0.5em solid #07015a;
flex-direction: row;
padding: 0;
margin-top: 0 !important; /* cancels out the sibling styling */
}
.navigation-header-tabs ul > li {
display: inline-block; /* noflex */
vertical-align: bottom; /* noflex */
white-space: nowrap;
width: auto;
margin: .5em .5em 0 0;
border-top: 0.5em solid #07015a;
font-size: 1em;
}
.navigation-header-tabs li.selected {
border-left: 0;
}
}
 
.navigation-header-tabs li a {
/* Default theme: Blue */
color:#36c;
.navigation-header.blue-theme .navigation-header-tabs li {
border-top: 0.5em solid #07015a;
}
 
.navigation-header-tabs .navigation-header-content {
.navigation-header.blue-theme .navigation-header-tabs li.selected {
font-size: 1em;
border-left: 0.5em background-color:solid #07015a;
border-bottom: 2px solid #07015a;
padding: 1em;
}
 
.navigation-header-tabs .navigation-header-icon {
.navigation-header.blue-theme .navigation-header-tabs .navigation-header-content {
display:inline-block;
background-color: #07015a;
margin:0 0.5em 0 0;
border-bottom: 2px solid #07015a;
vertical-align:text-bottom;
}
.navigation-header-tabs .navigation-header-break {
clear:both;
}
 
.navigation-header.blue-theme .navigation-header-tabs #leadtab {
display:inline-block;
color:#fff;
background: #07015a;
}
 
/* Gray theme */
.navigation-header.gray-theme .navigation-header-tabs li {
border-top: 0.5em solid #666;
}
 
.navigation-header.gray-theme .navigation-header-tabs li.selected {
@media (min-width:550px) {
border-left: 0.5em solid #666;
.navigation-header-tabs ul {
}
flex-direction: row;
 
padding: 0;
.navigation-header.gray-theme .navigation-header-tabs .navigation-header-content {
margin-top: 0 !important; /* cancels out the sibling styling */
background-color: #666;
}
border-bottom: 2px solid #666;
.navigation-header-tabs ul > li {
}
display: inline-block; /* noflex */
 
vertical-align:bottom; /* noflex */
.navigation-header.gray-theme .navigation-header-tabs #leadtab {
white-space: nowrap;
background: #666;
width: auto;
margin: .5em .5em 0 0;
border-top: .5em solid #07015a;
font-size: 1em;
}
.navigation-header-tabs li.selected {
border-left: 0;
}
}
 
@media (min-width: 1000px) {
.navigation-header-tabs ul > li {
flex: 0 1 0;
}
}
}