dokuwiki-template-sprintdoc.../css/area_nav-breadcrumb.less
2017-01-10 09:18:01 +01:00

189 lines
4.3 KiB
Text
Executable file

/**
* This file provides the design styles for the direct / menu jump links.
*
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
*/
.breadcrumbs {
padding: (@margin-small + .2) 1.8rem @margin-small;
border-bottom: 1px solid @color-border;
> p {
font-size: .83rem;
margin: 0;
* {
font-size: .83rem;
}
.bchead {
.sr-only();
}
span.home {
a {
.fontello();
.hide-text-show-before();
.icon-home();
min-height: 1.8em;
width: auto;
box-sizing: border-box;
border: solid 1px transparent;
border-radius: 2px;
vertical-align: middle;
text-decoration: none;
margin-top: -.2em;
transition: @transition border-color;
&:before {
font-size: 1rem;
margin-top: .17rem;
}
&:hover,
&:focus,
&:active {
border-color: @color-link;
}
}
}
bdi {
padding: .1em .1em 0;
}
}
/* + + + + + icon list + + + + + */
.page-attributes {
list-style: none;
float: right;
display: inline-block;
max-width: 30%;
margin: -.2em 0 0;
padding: 0;
> li {
.btn-usertools-wrapper(); // uniform li
.btn-usertools-num();
float: left;
> strong,
> a {
display: block;
width: auto;
min-height: 2em;
border: 1px solid @color-border;
border-radius: @border-radius;
color: @color-nav;
text-align: center;
margin: 0;
}
.prefix {
.btn-prefix ();
.icon-clipboard();
}
/* check !!! */
&.do_none {
position: relative;
strong {
background-color: @color-site-bg;
}
.num {
background-color: @color-border;
color: @color-nav;
}
}
/* end check !!! */
&.plugin__qc {
display: inline-block;
overflow: visible;
position: static;
}
} // li
a {
transition: @transition color, @transition background-color, @transition border-color;
&[aria-expanded="false"] + #plugin__qc__wrapper {
display: none;
}
&:hover,
&:active,
&:focus {
background-color: @button_color;
border-color: @button_background;
color: @button_background;
.prefix {
color: @button_background;
}
}
}
#plugin__qc__wrapper {
position: absolute;
right: 0;
width: auto;
border: 0 none;
background: @color-site-bg;
z-index: 2000;
#plugin__qc__out{
h1{
font-size: 1.2rem;
}
h2{
margin-top: 1.6em;
font-size: .93rem;
}
> h1, > h2, > p, >dl, >div{
padding-left: 1rem;
margin-left: 0;
}
> div p{
padding-left: 0;
margin-left: 0;
}
}
&[aria-hidden="false"] {
margin-top: .5rem;
}
}
#plugin__qc__icon {
display: none;
}
#plugin__qc__link {
position: relative;
.prefix {
.icon-emo-happy();
width: 100%;
font-size: .9rem;
&::before {
width: 100%;
margin: .1em 0 0;
}
}
}
}
}
/* + + + + + ? + + + + + */
.mode_admin {
}