| Index: static/scss/components/_breadcrumbs.scss |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/static/scss/components/_breadcrumbs.scss |
| @@ -0,0 +1,66 @@ |
| +// This file is part of help.eyeo.com. |
| +// Copyright (C) 2017 Eyeo GmbH |
| +// |
| +// help.eyeo.com is free software: you can redistribute it and/or modify |
| +// it under the terms of the GNU General Public License as published by |
| +// the Free Software Foundation, either version 3 of the License, or |
| +// (at your option) any later version. |
| +// |
| +// help.eyeo.com is distributed in the hope that it will be useful, |
| +// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| +// GNU General Public License for more details. |
| +// |
| +// You should have received a copy of the GNU General Public License |
| +// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
| + |
| +.breadcrumbs |
| +{ |
| + padding-top: $md; |
|
juliandoucette
2017/10/13 11:39:55
NIT/Suggest: 1em?
ire
2017/10/16 14:17:41
Done.
|
| + padding-bottom: $md; |
| + border-bottom: 1px solid $gray-light; |
| + background-color: $white; |
| +} |
| + |
| +.breadcrumbs li |
| +{ |
| + 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.
|
| + position: relative; |
| + padding-right: $lg; |
| + 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
|
| + font-size: $small-font; |
| + 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://
|
| + text-transform: uppercase; |
| +} |
| + |
| +[dir="rtl"] .breadcrumbs li |
| +{ |
| + 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
|
| + padding-left: $lg; |
|
juliandoucette
2017/10/13 11:39:54
NIT/Suggest: 2em?
ire
2017/10/16 14:17:41
Done.
|
| +} |
| + |
| +.breadcrumbs li:after |
| +{ |
| + position: absolute; |
| + 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.
|
| + right: $lg / 4; |
|
juliandoucette
2017/10/13 11:39:55
NIT/Suggest: Explain this via comment.
ire
2017/10/16 14:17:41
Done.
|
| + width: 1em; |
| + height: 1em; |
| + 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.
|
| + background-repeat: no-repeat; |
| + background-position: center; |
| + background-size: 0.6em 0.9em; |
| + content: ""; |
| +} |
| + |
| +[dir="rtl"] .breadcrumbs li:after |
| +{ |
| + right: auto; |
| + left: $lg / 4; |
| + background-image: url(/img/png/arrow-icon-left-gray.png); |
| +} |
| + |
| +.breadcrumbs li:last-child:after |
| +{ |
| + content: none; |
| +} |