xref: /template/sprintdoc/css/area_nav-breadcrumb.less (revision 522fc138e1da23a5763dc94e8b0b67256f476501)
1/**
2 * This file provides the design styles for the direct / menu jump links.
3 *
4 * @author Jana Deutschlaender <deutschlaender@cosmocode.de>
5 */
6
7.breadcrumbs {
8    padding: 2rem 2rem 1rem;
9    border-bottom: 1px solid @color-border;
10
11    > p{
12        font-size: .83rem;
13        margin: 0;
14        *{
15            font-size: .83rem;
16        }
17        .bchead{
18            .sr-only();
19        }
20        a{
21            &:hover,&:focus,&:active{
22                color: @color-nav;
23            }
24        }
25        span.home{
26            a{
27                .fontello();
28                .hide-text-show-before();
29                .icon-home();
30                height: 1em;
31                width: auto;
32                text-decoration:none;
33                &:before{
34                    font-size: 1rem;
35                    margin-top: .17rem;
36                }
37                &:hover,&:focus,&:active{
38                    color: @color-nav;
39                }
40            }
41
42        }
43    }
44    .page-attributes{
45        float:right;
46        display: inline-block;
47        list-style: none;
48        margin:0; padding:0;
49        max-width: 30%;
50        > li{
51            display: inline-block;
52            //float: right;
53            margin: 0 .1rem;
54            padding: 0;
55            font-size: .8rem;
56
57            #plugin__qc__wrapper{
58                position:absolute;
59                right:0;
60                width: auto;
61                border: 0 none;
62                background: @color-site-bg;
63            }
64            a[aria-expanded="false"] + #plugin__qc__wrapper{
65                display: none;
66            }
67            #plugin__qc__wrapper[aria-hidden="false"]{
68                margin-top: .7rem;
69            }
70
71            #plugin__qc__icon{
72                display: none;
73            }
74            &.plugin__qc{
75                display: inline-block;
76                overflow: visible;
77            }
78            #plugin__qc__link{
79                font-size: .8rem;
80                position: relative;
81                display: block;
82                height: 1rem;
83                width: 1rem;
84                border: 1px solid @color-border;
85                background-color: @color-site-bg;
86                border-radius: @border-radius;
87                color: @color-nav;
88                min-height: 1.2em;
89                min-width: 1.4em;
90                box-sizing: content-box;
91                padding: .3em .25em .15em;
92
93                .prefix{
94                    font-size: .8rem;
95                    .fontello();
96                    .hide-text-show-before();
97                    .icon-emo-happy();
98                    color: @color-nav;
99                }
100                .num{
101                    position: absolute;
102                    padding: .2em .3em .1em;
103                    text-align: center;
104                    font-size: .6rem;
105                    line-height: 100%;
106                    font-weight: 400;
107                    right: -0.3em;
108                    top: -0.4em;
109                    background-color: @color-border;
110                    border-radius: 2px;
111                    color: @color-nav;
112                }
113            }
114        }
115    }
116}
117