Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 // This file is part of help.eyeo.com. | |
2 // Copyright (C) 2017 Eyeo GmbH | |
3 // | |
4 // help.eyeo.com is free software: you can redistribute it and/or modify | |
5 // it under the terms of the GNU General Public License as published by | |
6 // the Free Software Foundation, either version 3 of the License, or | |
7 // (at your option) any later version. | |
8 // | |
9 // help.eyeo.com is distributed in the hope that it will be useful, | |
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 // GNU General Public License for more details. | |
13 // | |
14 // You should have received a copy of the GNU General Public License | |
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | |
16 | |
17 .breadcrumb | |
18 { | |
19 padding-top: 1em; | |
20 padding-bottom: 1em; | |
21 border-bottom: 1px solid $gray-light; | |
22 background-color: $white; | |
23 } | |
24 | |
25 .breadcrumb li | |
juliandoucette
2017/10/24 09:51:13
I think that this text is too close together, vert
ire
2017/10/25 10:00:06
Done.
| |
26 { | |
27 float: left; | |
28 position: relative; | |
29 padding-right: 2em; | |
30 font-size: $small-font; | |
31 font-weight: $bold-weight; | |
32 text-transform: uppercase; | |
33 } | |
34 | |
35 [dir="rtl"] .breadcrumb li | |
36 { | |
37 float: right; | |
38 padding-right: 0; | |
39 padding-left: 2em; | |
40 } | |
41 | |
42 .breadcrumb li:after | |
43 { | |
44 position: absolute; | |
45 top: 0.2em; /* Quarter height of li:after (1em / 4) minus 0.05em */ | |
46 right: 0.5em; /* Quarter space between li (2em / 4) */ | |
47 width: 1em; | |
48 height: 1em; | |
49 background-image: url(/img/png/arrow-icon-right-gray.png); | |
50 background-repeat: no-repeat; | |
51 background-position: center; | |
52 background-size: 0.6em 0.9em; | |
53 content: ""; | |
54 } | |
55 | |
56 [dir="rtl"] .breadcrumb li:after | |
57 { | |
58 right: auto; | |
59 left: $lg / 4; | |
60 background-image: url(/img/png/arrow-icon-left-gray.png); | |
61 } | |
62 | |
63 .breadcrumb li:last-child:after | |
64 { | |
65 content: none; | |
66 } | |
67 | |
68 .breadcrumb li a | |
69 { | |
70 color: $gray-dark; | |
71 } | |
72 | |
73 .breadcrumb .heading-icon | |
74 { | |
75 height: 1.2em; | |
76 } | |
OLD | NEW |