Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/scss/components/_breadcrumb.scss

Issue 29575597: Issue 5691 - Create Breadcrumbs Component for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Address NITs Created Oct. 16, 2017, 2:15 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(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
26 {
27 float: left;
28 position: relative;
29 padding-right: 2em;
30 color: $gray-dark;
31 font-size: $small-font;
32 font-weight: $bold-weight;
33 text-transform: uppercase;
34 }
35
36 [dir="rtl"] .breadcrumb li
37 {
38 float: right;
39 padding-right: 0;
40 padding-left: 2em;
41 }
42
43 .breadcrumb li:after
44 {
45 position: absolute;
46 top: 0.2em; /* Quarter height of li:after (1em / 4) minus 0.05em */
47 right: 0.5em; /* Quarter space between li (2em / 4) */
48 width: 1em;
49 height: 1em;
50 background-image: url(/img/png/arrow-icon-right-gray.png);
51 background-repeat: no-repeat;
52 background-position: center;
53 background-size: 0.6em 0.9em;
54 content: "";
55 }
56
57 [dir="rtl"] .breadcrumb li:after
58 {
59 right: auto;
60 left: $lg / 4;
61 background-image: url(/img/png/arrow-icon-left-gray.png);
62 }
63
64 .breadcrumb li:last-child:after
65 {
66 content: none;
67 }
68
69 .breadcrumb .heading-icon
70 {
71 height: 1.2em;
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld