pallote-css 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/package.json +10 -2
  2. package/pallote-css-0.6.0.tgz +0 -0
  3. package/pallote.min.css +1 -0
  4. package/pallote.min.css.map +1 -0
  5. package/pallote.min.js +1 -0
  6. package/pallote.scss +37 -0
  7. package/styles/common/_editor.scss +181 -0
  8. package/styles/common/_fontface.scss +31 -0
  9. package/styles/common/_functions.scss +11 -0
  10. package/styles/common/_global.scss +157 -0
  11. package/styles/common/_mixins.scss +164 -0
  12. package/styles/common/_reset.scss +145 -0
  13. package/styles/common/_variables.scss +251 -0
  14. package/styles/components/_accordion.scss +132 -0
  15. package/styles/components/_alert.scss +188 -0
  16. package/styles/components/_breadcrumbs.scss +72 -0
  17. package/styles/components/_button.scss +184 -0
  18. package/styles/components/_buttons.scss +52 -0
  19. package/styles/components/_card.scss +316 -0
  20. package/styles/components/_divider.scss +53 -0
  21. package/styles/components/_form.scss +58 -0
  22. package/styles/components/_input.scss +340 -0
  23. package/styles/components/_link.scss +51 -0
  24. package/styles/components/_list.scss +59 -0
  25. package/styles/components/_nav.scss +185 -0
  26. package/styles/components/_navbar.scss +253 -0
  27. package/styles/components/_page.scss +33 -0
  28. package/styles/components/_section.scss +203 -0
  29. package/styles/components/_sidebar.scss +61 -0
  30. package/styles/components/_snippet.scss +85 -0
  31. package/styles/components/_status.scss +60 -0
  32. package/styles/components/_switch.scss +84 -0
  33. package/styles/components/_table.scss +157 -0
  34. package/styles/components/_tabs.scss +147 -0
  35. package/styles/components/_tag.scss +79 -0
  36. package/styles/modules/_cookie.scss +38 -0
  37. package/styles/utilities/_color.scss +119 -0
  38. package/styles/utilities/_global.scss +211 -0
  39. package/styles/utilities/_grid.scss +124 -0
  40. package/styles/utilities/_text.scss +199 -0
@@ -0,0 +1,251 @@
1
+ @use 'sass:color';
2
+ @use 'sass:string';
3
+
4
+ // —————————————————————————————————————————————————————————————————
5
+ // dependencies
6
+ // color palette
7
+ // spacing
8
+ // typography
9
+ // breakpoints
10
+ // misc
11
+ // components
12
+ // —————————————————————————————————————————————————————————————————
13
+
14
+ // —————————————————————————————————————————————————————————————————
15
+ // dependencies
16
+ // —————————————————————————————————————————————————————————————————
17
+
18
+ // $fonts-path: './assets/fonts/' !default;
19
+ // $icons-path: './assets/icons/' !default;
20
+
21
+ // —————————————————————————————————————————————————————————————————
22
+ // color palette
23
+ // —————————————————————————————————————————————————————————————————
24
+
25
+ // main
26
+
27
+ $main: #FFFFFF !default;
28
+ $contrast: #000A1E !default;
29
+
30
+ // grey
31
+
32
+ $grey-90: color.mix($contrast, $main, 90%) !default;
33
+ $grey-80: color.mix($contrast, $main, 80%) !default;
34
+ $grey-70: color.mix($contrast, $main, 70%) !default;
35
+ $grey-60: color.mix($contrast, $main, 60%) !default;
36
+ $grey-50: color.mix($contrast, $main, 50%) !default;
37
+ $grey-40: color.mix($contrast, $main, 40%) !default;
38
+ $grey-30: color.mix($contrast, $main, 30%) !default;
39
+ $grey-20: color.mix($contrast, $main, 20%) !default;
40
+ $grey-10: color.mix($contrast, $main, 10%) !default;
41
+ $grey-5: color.mix($contrast, $main, 5%) !default;
42
+
43
+ // background
44
+
45
+ $background-default: $grey-5 !default;
46
+ $background-paper: $main !default;
47
+
48
+ // text
49
+
50
+ $text: $contrast !default;
51
+ $text-alt: rgba($text, 0.5) !default;
52
+ $text-disabled: rgba($text, 0.25) !default;
53
+
54
+ $text-contrast: $main !default;
55
+ $text-contrast-alt: rgba($text-contrast, 0.6) !default;
56
+ $text-contrast-disabled: rgba($text-contrast, 0.3) !default;
57
+
58
+ // brand
59
+
60
+ $primary: #3C6BF4 !default;
61
+ $primary-light: color.mix($main, $primary, 70%) !default;
62
+ $primary-dark: color.mix($contrast, $primary, 50%) !default;
63
+ $primary-contrast: $text-contrast !default;
64
+
65
+ $secondary: #9E6D04 !default;
66
+ $secondary-light: color.mix($main, $secondary, 70%) !default;
67
+ $secondary-dark: color.mix($contrast, $secondary, 50%) !default;
68
+ $secondary-contrast: $text-contrast !default;
69
+
70
+ // feedback
71
+
72
+ $success: #27AE60 !default;
73
+ $success-light: color.mix($main, $success, 80%) !default;
74
+ $success-dark: color.mix($contrast, $success, 60%) !default;
75
+ $success-contrast: $text-contrast !default;
76
+
77
+ $info: #17A0CC !default;
78
+ $info-light: color.mix($main, $info, 80%) !default;
79
+ $info-dark: color.mix($contrast, $info, 60%) !default;
80
+ $info-contrast: $text-contrast !default;
81
+
82
+ $warning: #FFDC46 !default;
83
+ $warning-light: color.mix($main, $warning, 80%) !default;
84
+ $warning-dark: color.mix($contrast, $warning, 60%) !default;
85
+ $warning-contrast: $text !default;
86
+
87
+ $error: #EB5757 !default;
88
+ $error-light: color.mix($main, $error, 80%) !default;
89
+ $error-dark: color.mix($contrast, $error, 60%) !default;
90
+ $error-contrast: $text-contrast !default;
91
+
92
+ // others
93
+
94
+ $border-color: rgba($text, 0.2) !default;
95
+ $border: 1px solid $border-color !default;
96
+ $border-color-contrast: rgba($text-contrast, 0.3) !default;
97
+ $border-contrast: 1px solid $border-color-contrast !default;
98
+
99
+ $hover: rgba($text, 0.08) !default;
100
+ $hover-contrast: rgba($text-contrast, 0.08) !default;
101
+
102
+ $overlay: rgba($text-contrast, 0.8) !default;
103
+ $overlay-contrast: rgba($text, 0.2) !default;
104
+
105
+ $input-background: rgba($text, 0.05);
106
+
107
+ // —————————————————————————————————————————————————————————————————
108
+ // spacing
109
+ // —————————————————————————————————————————————————————————————————
110
+
111
+ $col: calc(100%/12);
112
+
113
+ $max-width-subtitle: 27.5rem !default;
114
+ $max-width-editor: 40rem !default;
115
+ $max-width-form: 40rem !default;
116
+
117
+ $navbar-height: 4rem !default;
118
+ $navbar-height-sm: 3rem !default;
119
+ $nav-item: 1rem !default;
120
+
121
+ // —————————————————————————————————————————————————————————————————
122
+ // typography
123
+ // —————————————————————————————————————————————————————————————————
124
+
125
+ // Functions to unquote and remove spaces
126
+ // @function str-replace($string, $search, $replace: "") {
127
+ // $index: string.index($string, $search);
128
+
129
+ // @if $index {
130
+ // @return str-replace(
131
+ // string.slice($string, 1, $index - 1) + $replace + string.slice($string, $index + string.length($search), string.length($string)),
132
+ // $search,
133
+ // $replace
134
+ // );
135
+ // }
136
+
137
+ // @return $string;
138
+ // }
139
+ // @function clean-string($string) {
140
+ // @return str-replace(string.unquote($string), " ");
141
+ // }
142
+
143
+ // typefaces
144
+ $font: "Source Sans Pro" !default;
145
+ // $font-clean: clean-string($font);
146
+ $font-fallback: "Arial, sans-serif" !default;
147
+ $font-code: monospace !default;
148
+
149
+ // weight
150
+
151
+ $font-regular: 400 !default;
152
+ $font-bold: 700 !default;
153
+
154
+ // styles
155
+
156
+ $h1-size: 3rem !default;
157
+ $h1-weight: $font-bold !default;
158
+ $h1-line-height: 1.25 !default;
159
+
160
+ $h2-size: 2.5rem !default;
161
+ $h2-weight: $font-bold !default;
162
+ $h2-line-height: 1.25 !default;
163
+
164
+ $h3-size: 2rem !default;
165
+ $h3-weight: $font-bold !default;
166
+ $h3-line-height: 1.25 !default;
167
+
168
+ $h4-size: 1.75rem !default;
169
+ $h4-weight: $font-bold !default;
170
+ $h4-line-height: 1.25 !default;
171
+
172
+ $h5-size: 1.5rem !default;
173
+ $h5-weight: $font-bold !default;
174
+ $h5-line-height: 1.25 !default;
175
+
176
+ $h6-size: 1.25rem !default;
177
+ $h6-weight: $font-bold !default;
178
+ $h6-line-height: 1.25 !default;
179
+
180
+ $subtitle-size: 1.125rem !default;
181
+ $subtitle-weight: $font-regular !default;
182
+ $subtitle-line-height: 1.5 !default;
183
+
184
+ $body-size: 1rem !default;
185
+ $body-weight: $font-regular !default;
186
+ $body-line-height: 1.5 !default;
187
+
188
+ $caption-size: 0.875rem !default;
189
+ $caption-weight: $font-regular !default;
190
+ $caption-line-height: 1.5 !default;
191
+
192
+ $overline-size: 0.75rem !default;
193
+ $overline-weight: $font-regular !default;
194
+ $overline-line-height: 1.5 !default;
195
+
196
+ $button-size: 1rem !default;
197
+ $button-xs-size: 0.75rem !default;
198
+ $button-sm-size: 0.875rem !default;
199
+ $button-lg-size: 1.25rem !default;
200
+ $button-transform: uppercase !default;
201
+ $button-weight: $font-bold !default;
202
+
203
+ // —————————————————————————————————————————————————————————————————
204
+ // breakpoints
205
+ // —————————————————————————————————————————————————————————————————
206
+
207
+ $desktop-lg: 1440px !default;
208
+ $desktop-lg-down: calc(#{$desktop-lg} - 0.02px);
209
+
210
+ $desktop: 1280px !default;
211
+ $desktop-down: calc(#{$desktop} - 0.02px);
212
+
213
+ $laptop: 1024px !default;
214
+ $laptop-down: calc(#{$laptop} - 0.02px);
215
+
216
+ $tablet: 768px !default;
217
+ $tablet-down: calc(#{$tablet} - 0.02px);
218
+
219
+ $mobile: 568px !default;
220
+ $mobile-down: calc(#{$mobile} - 0.02px);
221
+
222
+ $mobile-sm: 350px !default;
223
+ $mobile-sm-down: calc(#{$mobile-sm} - 0.02px);
224
+
225
+ // —————————————————————————————————————————————————————————————————
226
+ // misc
227
+ // —————————————————————————————————————————————————————————————————
228
+
229
+ // box-shadow
230
+
231
+ $box-shadow: 0 0 .5rem 0 rgba($text, 0.2) !default;
232
+
233
+ // transition
234
+
235
+ $transition-md: 0.4s ease 0s !default;
236
+ $transition-lg: 0.8s ease 0s !default;
237
+
238
+ // border-radius
239
+
240
+ $border-radius-sm: .25rem !default;
241
+ $border-radius-md: .5rem !default;
242
+ $border-radius-lg: 1rem !default;
243
+
244
+ // —————————————————————————————————————————————————————————————————
245
+ // components
246
+ // —————————————————————————————————————————————————————————————————
247
+
248
+ // input
249
+
250
+ $input-height: 2.5rem;
251
+ $checkbox-width: 1.5rem;
@@ -0,0 +1,132 @@
1
+ @use '../common/mixins';
2
+ @use '../common/variables';
3
+
4
+ // —————————————————————————————————————————————————————————————————
5
+ // elements
6
+ // size
7
+ // transparent
8
+ // active
9
+ // —————————————————————————————————————————————————————————————————
10
+
11
+ // —————————————————————————————————————————————————————————————————
12
+ // elements
13
+ // —————————————————————————————————————————————————————————————————
14
+
15
+ .accordion {
16
+ width: 100%;
17
+
18
+ &_item {
19
+ position: relative;
20
+ background-color: variables.$hover;
21
+ width: 100%;
22
+ }
23
+
24
+ &_control,
25
+ &_content {
26
+ transition: padding variables.$transition-md;
27
+ will-change: padding;
28
+ }
29
+
30
+ &_control {
31
+ display: flex;
32
+ align-items: center;
33
+ width: 100%;
34
+ cursor: pointer;
35
+
36
+ &:after {
37
+ transition: transform variables.$transition-md;
38
+ will-change: transform;
39
+ position: absolute;
40
+ height: 1rem;
41
+ width: 1rem;
42
+ transform-origin: center 60%;
43
+ pointer-events: none;
44
+ }
45
+ }
46
+
47
+ &_content {
48
+ max-height: 0;
49
+ overflow: hidden;
50
+ transition: max-height variables.$transition-md;
51
+ will-change: max-height;
52
+ }
53
+ }
54
+
55
+ // —————————————————————————————————————————————————————————————————
56
+ // size
57
+ // —————————————————————————————————————————————————————————————————
58
+
59
+ @mixin accordion-size($proportion, $size) {
60
+
61
+ .accordion {
62
+
63
+ &_item {
64
+ border-radius: calc($size*2/3);
65
+
66
+ &:not(:last-child) { margin-bottom: calc($size/3); }
67
+ &-active { padding-bottom: $size; }
68
+ }
69
+
70
+ &_control {
71
+ padding: $size $size*1.5;
72
+
73
+ &:after {
74
+ top: $size;
75
+ right: $size*1.25;
76
+ }
77
+ }
78
+
79
+ &_header {
80
+
81
+ @if $proportion == sm { margin-bottom: -1px; }
82
+ @if $proportion == lg { margin: -1px 0 -2px 0; }
83
+ }
84
+
85
+ &_content {
86
+ padding: 0 $size*1.5;
87
+ overflow: hidden;
88
+ }
89
+ }
90
+
91
+ &.accordion-transparent .accordion_item-active:not(:first-child) {
92
+ margin-top: calc($size/3);
93
+ }
94
+ }
95
+
96
+ .accordion {
97
+
98
+ @include accordion-size(md, .5rem);
99
+ &-sm { @include accordion-size(sm, .25rem); }
100
+ &-lg { @include accordion-size(lg, 1rem); }
101
+ }
102
+
103
+ // —————————————————————————————————————————————————————————————————
104
+ // transparent
105
+ // —————————————————————————————————————————————————————————————————
106
+
107
+ .accordion-transparent {
108
+
109
+ .accordion_item {
110
+ transition: background-color variables.$transition-md, margin variables.$transition-md;
111
+ will-change: background-color, margin;
112
+ background-color: transparent;
113
+
114
+ @include mixins.hover { background-color: variables.$hover; }
115
+ &-active { background-color: variables.$hover; }
116
+
117
+ &:not(:last-child):not(.accordion_item-active) {
118
+ margin-bottom: 0;
119
+ }
120
+ }
121
+ }
122
+
123
+ // —————————————————————————————————————————————————————————————————
124
+ // active
125
+ // —————————————————————————————————————————————————————————————————
126
+
127
+ .accordion_item-active {
128
+
129
+ .accordion_control:after {
130
+ transform: rotate(180deg);
131
+ }
132
+ }
@@ -0,0 +1,188 @@
1
+ @use '../common/mixins';
2
+ @use '../common/variables';
3
+ @use '../utilities/text';
4
+
5
+ // —————————————————————————————————————————————————————————————————
6
+ // elements
7
+ // color
8
+ // notice
9
+ // bar
10
+ // dense
11
+ // noIcon
12
+ // —————————————————————————————————————————————————————————————————
13
+
14
+ $spacing-alert: .5rem;
15
+
16
+ // —————————————————————————————————————————————————————————————————
17
+ // elements
18
+ // —————————————————————————————————————————————————————————————————
19
+
20
+ .alert {
21
+ border-radius: $spacing-alert;
22
+ padding: $spacing-alert $spacing-alert*2;
23
+ position: fixed;
24
+ top: 1rem;
25
+ right: 1rem;
26
+ width: 100%;
27
+ max-width: 20rem;
28
+ z-index: 20;
29
+
30
+ &:not(.alert-bar) {
31
+ padding-left: 2.5rem;
32
+ }
33
+
34
+ @include mixins.responsive(down, mobile) {
35
+ @include mixins.calc(max-width, '100vw - '1rem);
36
+ right: .5rem;
37
+ top: .5rem;
38
+ }
39
+
40
+ @include mixins.responsive(down, mobile-sm) {
41
+ @include mixins.calc(width, '100vw - '1rem);
42
+ }
43
+
44
+ &:before {
45
+ content: "";
46
+ position: absolute;
47
+ top: $spacing-alert;
48
+ left: $spacing-alert;
49
+ height: $spacing-alert*3;
50
+ width: $spacing-alert*3;
51
+ background-size: cover;
52
+ background-repeat: no-repeat;
53
+ }
54
+
55
+ &_title {
56
+ font-weight: variables.$font-bold !important;
57
+ }
58
+
59
+ &_subtitle {
60
+ @extend .caption;
61
+ margin-top: 0.125rem !important;
62
+ }
63
+
64
+ &_close {
65
+ transition: opacity variables.$transition-md;
66
+ position: absolute;
67
+ top: .5rem;
68
+ right: .5rem;
69
+ line-height: 0;
70
+
71
+ svg {
72
+ width: .5rem;
73
+ height: .5rem;
74
+ fill: variables.$success-dark
75
+ }
76
+
77
+ &:hover {
78
+ opacity: 0.5;
79
+ }
80
+ }
81
+ }
82
+
83
+ // —————————————————————————————————————————————————————————————————
84
+ // color
85
+ // —————————————————————————————————————————————————————————————————
86
+
87
+ @mixin alert-color($color, $title-color: variables.$success-dark, $background-color: variables.$success-light, $border-color: variables.$success) {
88
+ @if $color == success { $title-color: variables.$success-dark; $background-color: variables.$success-light; $border-color: variables.$success; }
89
+ @else if $color == info { $title-color: variables.$info-dark; $background-color: variables.$info-light; $border-color: variables.$info; }
90
+ @else if $color == warning { $title-color: variables.$warning-dark; $background-color: variables.$warning-light; $border-color: variables.$warning; }
91
+ @else if $color == error { $title-color: variables.$error-dark; $background-color: variables.$error-light; $border-color: variables.$error; }
92
+
93
+ background-color: $background-color;
94
+ border: 1px solid $border-color;
95
+ color: $title-color;
96
+
97
+ &:not(.alert-bar):before {
98
+
99
+ @if $color == success { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%230C5F3F' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'%3E%3C/path%3E%3C/svg%3E"); }
100
+ @else if $color == info { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%230B5F11' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z'%3E%3C/path%3E%3C/svg%3E"); }
101
+ @else if $color == warning { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%237F7332' viewBox='0 0 256 256'%3E%3Cpath d='M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z'%3E%3C/path%3E%3C/svg%3E"); }
102
+ @else if $color == error { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%2375303A' viewBox='0 0 256 256'%3E%3Cpath d='M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'%3E%3C/path%3E%3C/svg%3E"); }
103
+ }
104
+ }
105
+
106
+ .alert {
107
+
108
+ &-success { @include alert-color(success); }
109
+ &-info { @include alert-color(info); }
110
+ &-warning { @include alert-color(warning); }
111
+ &-error { @include alert-color(error); }
112
+ }
113
+
114
+ // —————————————————————————————————————————————————————————————————
115
+ // notice
116
+ // —————————————————————————————————————————————————————————————————
117
+
118
+ .alert {
119
+
120
+ &-notice {
121
+ position: relative;
122
+ max-width: none;
123
+ z-index: 1;
124
+ top: 0;
125
+ right: 0;
126
+ }
127
+ }
128
+
129
+ // —————————————————————————————————————————————————————————————————
130
+ // bar
131
+ // —————————————————————————————————————————————————————————————————
132
+
133
+ .alert {
134
+
135
+ &-bar {
136
+ position: fixed;
137
+ top: 0;
138
+ right: 0;
139
+ max-width: none;
140
+ width: 100%; // needed for small devices to not overflow the container
141
+ z-index: 1;
142
+ border-radius: 0;
143
+ border-left: 0;
144
+ border-right: 0;
145
+ text-align: center;
146
+ }
147
+ }
148
+
149
+ // —————————————————————————————————————————————————————————————————
150
+ // dense
151
+ // —————————————————————————————————————————————————————————————————
152
+
153
+ .alert-dense {
154
+ padding: $spacing-alert*0.5 $spacing-alert;
155
+
156
+ &:before {
157
+ top: $spacing-alert*0.5;
158
+ left: $spacing-alert*0.5;
159
+ height: 1rem*1.25;
160
+ width: 1rem*1.25;
161
+ }
162
+
163
+ &:not(.alert-bar) {
164
+ padding-left: 1rem*1.75;
165
+ }
166
+
167
+ .alert_title { @extend .caption; }
168
+ .alert_subtitle { @extend .overline; margin-top: 0 !important; }
169
+ }
170
+
171
+ // —————————————————————————————————————————————————————————————————
172
+ // noIcon
173
+ // —————————————————————————————————————————————————————————————————
174
+
175
+ .alert.alert {
176
+
177
+ &-noIcon {
178
+ padding-left: 1rem;
179
+
180
+ &.alert-dense {
181
+ padding-left: .5rem;
182
+ }
183
+
184
+ &:before {
185
+ display: none;
186
+ }
187
+ }
188
+ }
@@ -0,0 +1,72 @@
1
+ @use '../common/mixins';
2
+ @use '../common/variables';
3
+ @use '../utilities/text';
4
+
5
+ // —————————————————————————————————————————————————————————————————
6
+ // elements
7
+ // separator
8
+ // —————————————————————————————————————————————————————————————————
9
+
10
+ // —————————————————————————————————————————————————————————————————
11
+ // elements
12
+ // —————————————————————————————————————————————————————————————————
13
+
14
+ .breadcrumbs {
15
+
16
+ ol {
17
+ display: inline-flex;
18
+ flex-wrap: wrap;
19
+ padding-left: 0;
20
+ margin-bottom: 0;
21
+ }
22
+
23
+ li {
24
+ margin-left: 0;
25
+ padding-top: 0;
26
+ }
27
+
28
+ &_item {
29
+ text-transform: variables.$button-transform;
30
+ font-weight: variables.$button-weight;
31
+ font-size: variables.$button-sm-size;
32
+
33
+ &:not(:first-child) {
34
+ margin-left: .25rem;
35
+
36
+ &:before {
37
+ content: "/";
38
+ margin-right: .25rem;
39
+ color: variables.$text-alt;
40
+ display: inline-block; // required to remove underline on hover for before element
41
+ }
42
+ }
43
+
44
+ a {
45
+ border-radius: variables.$border-radius-sm;
46
+ text-underline-offset: .15em;
47
+
48
+ &:hover {
49
+ text-decoration: underline;
50
+ }
51
+ }
52
+
53
+ p {
54
+ display: inline-block;
55
+ color: variables.$primary;
56
+ }
57
+ }
58
+ }
59
+
60
+ // —————————————————————————————————————————————————————————————————
61
+ // separator
62
+ // —————————————————————————————————————————————————————————————————
63
+
64
+ .breadcrumbs-arrow .breadcrumbs_item:not(:first-child):before {
65
+ content: '';
66
+ border: solid variables.$text-alt;
67
+ border-width: 0 1px 1px 0;
68
+ padding: .2em;
69
+ transform: rotate(-45deg);
70
+ margin-right: .5rem;
71
+ margin-bottom: .1em;
72
+ }