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: 0.75em; |
| 20 padding-bottom: 0.75em; |
| 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: 0.25em 2em 0.25em 0; |
| 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: 0.25em 0 0.25em 2em; |
| 39 } |
| 40 |
| 41 .breadcrumb li:after |
| 42 { |
| 43 position: absolute; |
| 44 top: 0.45em; /* Half height of li:after (1em / 2) minus 0.05em */ |
| 45 right: 0.5em; /* Quarter space between li (2em / 4) */ |
| 46 width: 1em; |
| 47 height: 1em; |
| 48 background-image: url(/img/png/arrow-icon-right-gray.png); |
| 49 background-repeat: no-repeat; |
| 50 background-position: center; |
| 51 background-size: 0.6em 0.9em; |
| 52 content: ""; |
| 53 } |
| 54 |
| 55 [dir="rtl"] .breadcrumb li:after |
| 56 { |
| 57 right: auto; |
| 58 left: $lg / 4; |
| 59 background-image: url(/img/png/arrow-icon-left-gray.png); |
| 60 } |
| 61 |
| 62 .breadcrumb li:last-child:after |
| 63 { |
| 64 content: none; |
| 65 } |
| 66 |
| 67 .breadcrumb li a |
| 68 { |
| 69 color: $gray-dark; |
| 70 } |
| 71 |
| 72 .breadcrumb .heading-icon |
| 73 { |
| 74 height: 1.2em; |
| 75 } |
OLD | NEW |