Branch master was renamed to main.

khum1/css/tabs.less

135 lines
2.6 KiB
Text

/**
* This file provides the styles for general tabs.
*/
.dokuwiki .tabs > ul,
.dokuwiki ul.tabs {
padding: 0;
margin: 0;
overflow: hidden;
position: relative;
}
/* border underneath */
.dokuwiki .tabs > ul:after,
.dokuwiki ul.tabs:after {
position: absolute;
content: "";
width: 100%;
bottom: 0;
left: 0;
border-bottom: 1px solid @ini_border;
z-index: 1;
}
.dokuwiki .tabs > ul li,
.dokuwiki ul.tabs li {
float: left;
padding: 0;
margin: 0;
list-style: none;
}
[dir=rtl] .dokuwiki .tabs > ul li,
[dir=rtl] .dokuwiki ul.tabs li {
float: right;
}
.dokuwiki .tabs > ul li a,
.dokuwiki ul.tabs li strong,
.dokuwiki ul.tabs li a {
display: inline-block;
padding: .3em .8em;
margin: 0 0 0 .3em;
background-color: @ini_background_neu;
color: @ini_text;
border: 1px solid @ini_border;
border-radius: .5em .5em 0 0;
position: relative;
z-index: 0;
}
[dir=rtl] .dokuwiki .tabs > ul li a,
[dir=rtl] .dokuwiki ul.tabs li strong,
[dir=rtl] .dokuwiki ul.tabs li a {
margin: 0 .3em 0 0;
}
.dokuwiki ul.tabs li strong {
font-weight: normal;
}
.dokuwiki ul.tabs li a:link,
.dokuwiki ul.tabs li a:visited {
}
.dokuwiki .tabs > ul li a:hover,
.dokuwiki .tabs > ul li a:active,
.dokuwiki .tabs > ul li a:focus,
.dokuwiki .tabs > ul li .curid a,
.dokuwiki .tabs > ul .active a,
.dokuwiki ul.tabs li a:hover,
.dokuwiki ul.tabs li a:active,
.dokuwiki ul.tabs li a:focus,
.dokuwiki ul.tabs li.active a,
.dokuwiki ul.tabs li strong {
background-color: @ini_background_alt;
color: @ini_text;
text-decoration: none;
font-weight: normal;
}
.dokuwiki .tabs > ul li .curid a,
.dokuwiki .tabs > ul li .active a,
.dokuwiki .tabs > ul li .active a,
.dokuwiki ul.tabs li.active a,
.dokuwiki ul.tabs li strong {
z-index: 2;
border-bottom-color: @ini_background_alt;
}
/** For plugin childtab **/
.tabblocks {
display:flex;
justify-content: space-between;
align-items: last baseline;
ul {
display: flex;
margin:0;
padding: 0;
}
li {
/*float: left;
margin-right: -1em;
margin-bottom: -1px;
margin-top: -1.5em;
padding: 0.5em 0.1em 0;
*/
/*overflow: hidden;*/
margin: 0 0.5em 0 0 ;
padding: 0;
display:inline-block;
span {
font-size: 0.875em;
/*border: solid @ini_border;
border-width: 1px 1px 0;
background-color: @ini_background;
box-shadow: 0 0 .5em @ini_text_alt;
*/
padding: .1em .35em;
display: block;
/*position: absolute;*/
}
/* TODO : c'est là le temps de régler le souci d'image */
svg {
display :none;
}
}
.current_page {
font-weight:bold;
}
}