mediawiki-skins-Citizen/skinStyles/extensions/SemanticMediaWiki/ext.smw.vtabs.styles.less

88 lines
2.1 KiB
Plaintext
Raw Normal View History

/*
* Citizen
*
* SkinStyles for Extension:SemanticMediaWiki
* Module: ext.smw.vtabs.styles
* Version: 4.0.2 (0fcdfce)
*
* Date: 2022-10-20
2019-12-29 18:45:17 +00:00
*/
/* smw/util/ext.smw.vertical.tabs.css */
/* Style the buttons inside the tab */
div.smw-vtab-nav button {
color: var( --color-primary );
background-color: transparent;
}
div.smw-vtab-nav button a {
color: var( --color-primary );
}
div.smw-vtab-nav.nav-right button {
border-left-color: var( --border-color-base );
}
div.smw-vtab-nav.nav-left button {
border-right-color: var( --border-color-base );
}
/* Change background color of buttons on hover */
div.smw-vtab-nav button:hover {
background-color: var( --background-color-quiet--hover );
border-color: var( --border-color-base );
border-radius: 0 var( --border-radius--small ) var( --border-radius--small ) 0;
}
div.smw-vtab-nav.nav-right button:hover {
border-color: var( --border-color-base );
border-left-color: var( --border-color-base );
}
div.smw-vtab-nav.nav-left button:hover {
border-color: var( --border-color-base );
border-right-color: var( --border-color-base );
}
/* Create an active/current "tab button" class */
div.smw-vtab-nav button.active {
color: var( --color-base--emphasized );
background-color: transparent;
border: var( --border-color-base );
}
div.smw-vtab-nav.nav-right button.active {
border-radius: 0 var( --border-radius--small ) var( --border-radius--small ) 0;
}
div.smw-vtab-nav.nav-left button.active {
border-radius: var( --border-radius--small ) 0 0 var( --border-radius--small );
}
div.smw-vtab-nav button.active a {
color: var( --color-base--emphasized );
}
div.smw-vtab-nav.nav-right button.active,
div.smw-vtab-nav.nav-right button.active a {
border-color: var( --border-color-base );
}
div.smw-vtab-nav.nav-left button.active,
div.smw-vtab-nav.nav-left button.active a {
border-color: var( --border-color-base );
}
/* Style the tab content */
.smw-vtab-content {
border-color: var( --border-color-base );
}
div.smw-vtab-nav .smw-vtab-warning a {
color: var( --color-warning );
}
div.smw-vtab-nav .smw-vtab-warning.active a {
color: var( --color-warning--active );
2019-12-29 18:45:17 +00:00
}