UNPKG

1.6 kBSCSSView Raw
1@import '../../styles/common/mixins';
2@import '../../styles/common/colors';
3@import '../../styles/common/screen';
4@import '../../styles/common/functions';
5
6.breadcrumbs-outer {
7 position: relative;
8 min-width: 0; // https://css-tricks.com/flexbox-truncated-text/
9
10 .overflow-gradient {
11 display: none;
12 height: 100%;
13 position: absolute;
14 pointer-events: none;
15 right: 0;
16 top: 0;
17 width: 24px;
18 z-index: 2;
19
20 @media #{$media-small-minus} {
21 display: block;
22 }
23 }
24}
25
26.breadcrumbs-container {
27 display: block;
28
29 @media #{$media-small-minus} {
30 overflow-y: hidden;
31 overflow-x: scroll;
32 position: relative;
33 -webkit-overflow-scrolling: touch;
34 -ms-overflow-style: -ms-autohiding-scrollbar;
35 }
36}
37
38.breadcrumb {
39 @include vertical-align('inline');
40 height: 65px;
41 padding: 0;
42 white-space: nowrap;
43 box-sizing: border-box;
44 width: 100%;
45 max-width: 100%;
46
47 .primary {
48 display: inline-block;
49 font-weight: 200;
50 font-size: 20px;
51 }
52
53 .secondary {
54 color: $base-text;
55 font-size: 14px;
56 font-style: normal;
57 position: relative;
58 }
59
60 .md-chevron-right {
61 margin: 0 6px;
62 min-width: 14px;
63 fill-opacity: 0.5;
64 }
65
66 @media #{$media-small-minus} {
67 height: 50px;
68 }
69
70 span, a {
71 opacity: 0.8;
72 }
73
74 a:hover {
75 opacity: 1;
76 }
77
78 em {
79 align-items: center;
80 display: flex;
81
82 > span {
83 color: $primary-4;
84 font-size: 14px;
85 font-style: normal;
86 position: relative;
87 }
88
89 &:last-child span {
90 opacity: 1;
91 }
92 }
93
94 a {
95 text-decoration: none !important;
96 }
97}