mediawiki-skins-Citizen/skinStyles/extensions/Tabber/ext.Tabber.less

62 lines
971 B
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen - Tabber Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
.tabber {
ul.tabbernav {
display: flex;
2021-01-16 18:20:11 +00:00
flex-wrap: wrap;
padding: 0;
2021-01-16 18:20:11 +00:00
margin: 0.4rem 0;
overflow: auto;
2019-12-29 18:45:17 +00:00
font-family: inherit;
font-size: inherit;
border: 0;
2019-12-29 18:45:17 +00:00
li {
display: block;
padding: 0;
2019-12-29 18:45:17 +00:00
&.tabberactive a {
2021-01-16 18:20:11 +00:00
color: var( --color-primary );
2019-12-29 18:45:17 +00:00
pointer-events: none;
}
a {
display: block;
2021-01-16 18:20:11 +00:00
padding: 4px 0;
margin: 0 12px 0 0;
font-weight: var( --font-weight-medium );
color: var( --color-base--subtle );
background: 0 !important; // To override hover styles
border: 0;
2019-12-29 18:45:17 +00:00
&:hover {
2021-03-21 05:41:04 +00:00
color: var( --color-base ) !important;
border: 0;
2021-03-21 05:41:04 +00:00
}
&:active {
color: var( --color-base--subtle ) !important;
2019-12-29 18:45:17 +00:00
}
}
}
}
.tabbertab {
padding: 0;
border: 0;
}
}
@media ( max-width: @max-width-breakpoint-tablet ) {
2021-01-16 18:20:11 +00:00
.tabber {
ul.tabbernav {
flex-wrap: nowrap;
}
}
2019-12-29 18:45:17 +00:00
}