mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
Tabber styles
This commit is contained in:
parent
a9a07f1295
commit
94bb17e054
|
@ -193,6 +193,7 @@
|
||||||
"+ext.popups.main": "skinStyles/ext.popups.main.less",
|
"+ext.popups.main": "skinStyles/ext.popups.main.less",
|
||||||
"+ext.relatedArticles.cards": "skinStyles/ext.relatedArticles.cards.less",
|
"+ext.relatedArticles.cards": "skinStyles/ext.relatedArticles.cards.less",
|
||||||
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
|
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
|
||||||
|
"+ext.Tabber": "skinStyles/ext.Tabber.less",
|
||||||
"+ext.translate": "skinStyles/ext.translate.less",
|
"+ext.translate": "skinStyles/ext.translate.less",
|
||||||
"+ext.translate.editor": "skinStyles/ext.translate.editor.less",
|
"+ext.translate.editor": "skinStyles/ext.translate.editor.less",
|
||||||
"+ext.translate.loader": "skinStyles/ext.translate.loader.less",
|
"+ext.translate.loader": "skinStyles/ext.translate.loader.less",
|
||||||
|
|
54
skinStyles/ext.Tabber.less
Normal file
54
skinStyles/ext.Tabber.less
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
/*
|
||||||
|
* Citizen - Tabber Styles
|
||||||
|
* https://starcitizen.tools
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import '../resources/variables.less';
|
||||||
|
|
||||||
|
.tabber {
|
||||||
|
ul.tabbernav {
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
display: flex;
|
||||||
|
overflow: auto;
|
||||||
|
font-size: inherit;
|
||||||
|
font-weight: 400;
|
||||||
|
font-family: inherit;
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding: 0;
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
&:first-child a {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tabberactive a {
|
||||||
|
color: @accent-50;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin: 0;
|
||||||
|
padding: @margin-side / 2;
|
||||||
|
display: block;
|
||||||
|
border: 0;
|
||||||
|
background: 0 !important; // To override hover styles
|
||||||
|
color: @base-50;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbertab {
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mw-body-content #mw-content-text .mw-parser-output .tabber .tabbernav a:hover {
|
||||||
|
color: @base-30 !important; // Override sigh
|
||||||
|
}
|
Loading…
Reference in a new issue