xref: /template/sprintdoc/css/area_nav-breadcrumb.less (revision b6b228b16d3e618ad3eec47bc63240bdc8a8d87b)
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: (@margin-small + .2) 1.8rem @margin-small;
9    border-bottom: 1px solid @color-border;
10
11    > p {
12        font-size: .83rem;
13        margin: 0;
14
15        * {
16            font-size: .83rem;
17        }
18
19        .bchead {
20            .sr-only();
21        }
22
23        span.home {
24            a {
25                .fontello();
26                .hide-text-show-before();
27                .icon-home();
28
29                min-height: 1.8em;
30                width: auto;
31                box-sizing: border-box;
32                border: solid 1px transparent;
33                border-radius: 2px;
34                vertical-align: middle;
35                text-decoration: none;
36                margin-top: -.2em;
37                transition: @transition border-color;
38
39                &:before {
40                    font-size: 1rem;
41                    margin-top: .17rem;
42                }
43
44                &:hover,
45                &:focus,
46                &:active {
47                    border-color: @color-link;
48                }
49            }
50        }
51
52        bdi {
53            padding: .1em .1em 0;
54        }
55    }
56
57
58/* + + + + +  icon list  + + + + + */
59    .page-attributes {
60        list-style: none;
61        float: right;
62        display: inline-block;
63        max-width: 30%;
64        margin: -.2em 0 0;
65        padding: 0;
66
67        > li {
68            .btn-usertools-wrapper(); // uniform li
69            .btn-usertools-num();
70
71            float: left;
72
73            > strong,
74            > a {
75                display: block;
76                width: auto;
77                min-height: 2em;
78                border: 1px solid @color-border;
79                border-radius: @border-radius;
80                color: @color-nav;
81                text-align: center;
82                margin: 0;
83            }
84
85            .prefix {
86                .btn-prefix ();
87                .icon-clipboard();
88            }
89
90/* check !!! */
91            &.do_none {
92                position: relative;
93
94                strong {
95                    background-color: @color-site-bg;
96                }
97
98                .num {
99                    background-color: @color-border;
100                    color: @color-nav;
101                }
102            }
103/* end check !!! */
104
105            &.plugin__qc {
106                display: inline-block;
107                overflow: visible;
108            }
109        } // li
110
111        a {
112            transition: @transition color, @transition border-color;
113
114            &[aria-expanded="false"] + #plugin__qc__wrapper {
115                display: none;
116            }
117
118            &:hover,
119            &:active,
120            &:focus {
121                border-color: @button_background;
122                color: @button_background;
123
124                .prefix {
125                    color: @button_background;
126                }
127            }
128        }
129
130        #plugin__qc__wrapper {
131            position: absolute;
132            right: 0;
133            width: auto;
134            border: 0 none;
135            background: @color-site-bg;
136
137            &[aria-hidden="false"] {
138                margin-top: .5rem;
139            }
140        }
141
142        #plugin__qc__icon {
143            display: none;
144        }
145
146        #plugin__qc__link {
147            position: relative;
148
149            .prefix {
150                .icon-emo-happy();
151
152                width: 100%;
153                font-size: .9rem;
154
155                &::before {
156                    width: 100%;
157                    margin: .1em 0 0;
158                }
159            }
160        }
161    }
162}
163
164
165/* + + + + +  ?  + + + + + */
166.mode_admin {
167
168}
169