17,230
edits
(remove extra space below tab container in a navbox) |
(remove Tabs V2 selectors) |
||
Line 133: | Line 133: | ||
.hlist > li.hlist-last-child:after, .hlist > * > li.hlist-last-child:after { content: none; } /* IE8 */ | .hlist > li.hlist-last-child:after, .hlist > * > li.hlist-last-child:after { content: none; } /* IE8 */ | ||
/* | /* Tabs */ | ||
/* Hide things until the js is ready to show them */ | /* Hide things until the js is ready to show them */ | ||
.zdw-tabcontent:not(.default) { display: none; } | |||
.zdw-tabcontainer { position: relative; padding: 10px; } | |||
.zdw-tabcontainer--hastabstop { margin-top: 33px !important; } | |||
.zdw-tabcontainer__tabset--top { position: absolute; top: -32px; } | |||
.zdw-tabcontainer__tabset--left { float: left; } | |||
.zdw-tabset { margin: 0 !important; } | .zdw-tabset { margin: 0 !important; } | ||
.zdw-tabset { display: flex; overflow-x: auto; } | |||
.zdw-tabcontainer__tabset--left .zdw-tabset { flex-direction: column; } | |||
.zdw-tab { display: block; padding: 0px 10px; margin: 0px; border: 1px solid #5a7db5; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab { height: 30px; line-height: 30px; white-space: nowrap; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab { padding: 5px 10px; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab + .zdw-tab { margin-left: -1px; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab + .zdw-tab { margin-top: -1px; } | |||
.zdw-tab { background-color: #e6e6e6; } | |||
.zdw-tab.active { background-color: #f0ddbd; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab { border-bottom-color: #253125; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab { border-right-color: #253125; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab.active { border-bottom-color: #f0ddbd; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab.active { border-right-color: #f0ddbd; } | |||
.zdw-tab:hover { background-color: #5a7db5 !important; color: #fefefe; cursor: pointer; } | |||
.zdw-tabcontent .wikitable { margin-top: 0px; } | |||
/* Remove extra space below tab container in a navbox */ | /* Remove extra space below tab container in a navbox */ | ||
.zdw-box.navbox .zdw-box.zdw-tabcontainer { margin-bottom: 0; } | .zdw-box.navbox .zdw-box.zdw-tabcontainer { margin-bottom: 0; } | ||
/* | /* End Tabs */ | ||
.nospace, .nospace * { margin: 0px !important; border: 0px !important; padding: 0px !important; } | .nospace, .nospace * { margin: 0px !important; border: 0px !important; padding: 0px !important; } |