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

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

Issue 29575597: Issue 5691 - Create Breadcrumbs Component for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Oct. 13, 2017, 10:27 a.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 .breadcrumbs
18 {
19 padding-top: $md;
juliandoucette 2017/10/13 11:39:55 NIT/Suggest: 1em?
ire 2017/10/16 14:17:41 Done.
20 padding-bottom: $md;
21 border-bottom: 1px solid $gray-light;
22 background-color: $white;
23 }
24
25 .breadcrumbs li
26 {
27 display: inline-block;
juliandoucette 2017/10/13 11:39:54 NIT: This will cause a whitespace between list ite
ire 2017/10/16 14:17:41 Done.
28 position: relative;
29 padding-right: $lg;
30 color: $gray-dark;
juliandoucette 2017/10/13 11:39:55 NIT: Isn't the blue link supposed to be grey too?
ire 2017/10/16 14:17:41 What blue link?
juliandoucette 2017/10/17 11:15:26 The first breadcrumb is blue and the second is dar
ire 2017/10/23 15:53:09 Done.
ire 2017/10/23 15:53:09 Oh it does't show that way for me. I'll move this
31 font-size: $small-font;
32 font-weight: $bold-weight;
juliandoucette 2017/10/13 11:39:54 This is semibold in the mockups & styleguide
ire 2017/10/16 14:17:41 We don't have a semi-bold weight for the font, and
juliandoucette 2017/10/17 11:15:26 I think that all weights are supposed to be semi-b
ire 2017/10/23 15:53:09 As we discussed will handle in this issue https://
33 text-transform: uppercase;
34 }
35
36 [dir="rtl"] .breadcrumbs li
37 {
38 padding-right: 0;
juliandoucette 2017/10/13 11:39:55 SuperNIT: shorthand padding causes less characters
ire 2017/10/16 14:17:41 I agree we should add it to our coding style. In
39 padding-left: $lg;
juliandoucette 2017/10/13 11:39:54 NIT/Suggest: 2em?
ire 2017/10/16 14:17:41 Done.
40 }
41
42 .breadcrumbs li:after
43 {
44 position: absolute;
45 top: 0.25em;
juliandoucette 2017/10/13 11:39:55 NIT: This looks slightly too low Suggest: explain
ire 2017/10/16 14:17:42 Done.
46 right: $lg / 4;
juliandoucette 2017/10/13 11:39:55 NIT/Suggest: Explain this via comment.
ire 2017/10/16 14:17:41 Done.
47 width: 1em;
48 height: 1em;
49 background-image: url(/img/png/arrow-icon-right-gray.png);
juliandoucette 2017/10/13 11:39:54 NIT: Isn't this supposed to be lighter?
ire 2017/10/16 14:17:41 Done.
50 background-repeat: no-repeat;
51 background-position: center;
52 background-size: 0.6em 0.9em;
53 content: "";
54 }
55
56 [dir="rtl"] .breadcrumbs li:after
57 {
58 right: auto;
59 left: $lg / 4;
60 background-image: url(/img/png/arrow-icon-left-gray.png);
61 }
62
63 .breadcrumbs li:last-child:after
64 {
65 content: none;
66 }
OLDNEW

Powered by Google App Engine
This is Rietveld