dokuwiki-template-sprintdoc.../css/area_sidetools.less
2017-01-05 17:04:48 +01:00

151 lines
3.2 KiB
Text

/**
* This file provides the design styles for the sitetools (nav).
*
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
*/
.side-tools.main-sidebar {
@icon-size: 2rem;
counter-increment: bar-counter;
> nav{
> ul{
margin-bottom: 0;
padding-bottom: .4rem;
}
}
h6 { //background-color: pink;// hier activ !!!
position: relative;
width: auto;
height: auto;
color: @color-nav;
font-size: .88rem;
font-weight: normal;
padding: .5rem 0 .5rem (@icon-size + 1);
&::before {
//background-color: gold;
content: counter(bar-counter, lower-alpha);
position: absolute;
top: 0;
left: 0;
display: flex;
display: -webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
justify-content: center;
-webkit-justify-content: center;
height: 100%;
width: @icon-size;
overflow: hidden;
text-align: center;
margin-top: auto;
margin-bottom: auto;
}
&::after {
content: '';
position: absolute;
top: 15%;
bottom: 15%;
width: 1px;
left: (@icon-size + .5);
background-color: @color-border;
transition: @transition background-color;
}
}
/* + + + linklist + + + */
ul,.trace{
padding-left: (@icon-size + .5);
}
ul{
border-bottom: 1px solid @color-border;
}
p{
border: 1px solid @color-border;
background-color: @background_page-header;
padding: .4rem;
max-height: 6rem;
overflow-y: auto;
.bchead, .bcsep{
display: none;
}
.breadcrumbs{
padding: 0; margin: 0;
}
bdi{
display: block;
line-height: 125%;
padding: .1rem 0;
}
a{
cursor: pointer;
}
}
li {
list-style-type: none;
a {
display: list-item;
list-style-type: square;
color: @color-nav;
padding-top: .1rem;
padding-bottom: .1rem;
transition: @transition color;
&:hover,
&:focus,
&:active {
color: @button_color;
}
}
&:first-of-type {
padding-top: .3rem;
}
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* min-width: 1440px */
@media @screen_min-xlg {
.side-tools.main-sidebar {
li {
font-size: 100%;
padding-top: .1rem;
padding-bottom: .1rem;
> * {
font-size: .88rem;
}
}
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* max-width: 1199px */
@media @screen_max-xlg {
.site-tools.main-sidebar {
h6 {
font-size: 1rem;
}
li {
font-size: 1rem;
padding-top: .15rem;
padding-bottom: .15rem;
> * {
font-size: 1rem;
}
}
}
}