barbican-reset 1.5.2 → 1.5.6
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.
- package/components/related_card.vue +6 -5
- package/components/skip_link.vue +1 -0
- package/helpers/index.scss +2 -2
- package/helpers/mixins/_buttons.scss +16 -24
- package/helpers/mixins/_focus.scss +13 -7
- package/helpers/mixins/_input.scss +6 -77
- package/helpers/mixins/index.scss +11 -11
- package/helpers/mixins/input/_checkbox.scss +6 -0
- package/helpers/mixins/input/_dropdown.scss +9 -0
- package/helpers/mixins/input/_generic.scss +62 -0
- package/helpers/mixins/input/_radio.scss +19 -0
- package/helpers/mixins/input/_status.scss +16 -0
- package/helpers/mixins/input/_text.scss +7 -0
- package/helpers/variables/colors/index.scss +8 -8
- package/helpers/variables/index.scss +4 -4
- package/icons/city_of_london_lockup.vue +1 -0
- package/package.json +1 -1
- package/scss/_atomic.scss +4 -0
- package/scss/_btn.scss +0 -4
- package/scss/{_card-group.scss → _card-deck.scss} +0 -0
- package/scss/_checkbox-group.scss +10 -78
- package/scss/_checkbox.scss +1 -52
- package/scss/_input.scss +9 -6
- package/scss/_radio-group.scss +6 -20
- package/scss/card/_related.scss +10 -0
- package/scss/card/_slim.scss +11 -0
- package/scss/card/index.scss +9 -8
- package/scss/index.scss +23 -23
- package/scss/table/index.scss +9 -9
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
<b-card related no-body>
|
|
3
3
|
<b-img v-if="content.image" :src="content.image" />
|
|
4
4
|
<b-card-body>
|
|
5
|
-
<b-
|
|
6
|
-
<b-
|
|
7
|
-
<b-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
<b-card-title>
|
|
6
|
+
<b-link v-if="content.title" v-html="content.title" :href="content.link" target="_blank" />
|
|
7
|
+
<b-link v-else :href="content.link" target="_blank">More Info</b-link>
|
|
8
|
+
</b-card-title>
|
|
9
|
+
<b-card-sub-title v-if="content.start_date" v-html="handleDate(content.start_date)" />
|
|
10
|
+
<b-card-text v-html="limitLength(content.description)" />
|
|
10
11
|
</b-card-body>
|
|
11
12
|
</b-card>
|
|
12
13
|
</template>
|
package/components/skip_link.vue
CHANGED
package/helpers/index.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// paths more explicit for gulp-sass
|
|
2
|
-
@import "variables/index
|
|
3
|
-
@import "mixins/index
|
|
2
|
+
@import "variables/index";
|
|
3
|
+
@import "mixins/index";
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
border: $border solid $color;
|
|
75
75
|
background-color: $color;
|
|
76
76
|
color: $background;
|
|
77
|
+
box-shadow: none;
|
|
77
78
|
outline: none;
|
|
78
79
|
|
|
79
80
|
svg {
|
|
@@ -95,10 +96,6 @@
|
|
|
95
96
|
color: $color;
|
|
96
97
|
|
|
97
98
|
@if $line { line-height: $line; }
|
|
98
|
-
|
|
99
|
-
@include focus {
|
|
100
|
-
@content;
|
|
101
|
-
}
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
@mixin btn-outline-header {
|
|
@@ -112,6 +109,11 @@
|
|
|
112
109
|
@mixin btn-primary {
|
|
113
110
|
@include button-solid;
|
|
114
111
|
min-width: 8rem;
|
|
112
|
+
|
|
113
|
+
&[disabled=disabled] {
|
|
114
|
+
@include button-solid($c-grey-night);
|
|
115
|
+
cursor: not-allowed;
|
|
116
|
+
}
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
@mixin btn-outline-primary {
|
|
@@ -157,7 +159,8 @@
|
|
|
157
159
|
}
|
|
158
160
|
|
|
159
161
|
@mixin btn-link {
|
|
160
|
-
@include button-link
|
|
162
|
+
@include button-link;
|
|
163
|
+
@include focus {
|
|
161
164
|
@include single-box($c-grey-night);
|
|
162
165
|
background-color: $c-grey-night;
|
|
163
166
|
color: $white;
|
|
@@ -167,17 +170,20 @@
|
|
|
167
170
|
@mixin btn-video-help {
|
|
168
171
|
@include button-link(
|
|
169
172
|
$padding: 1.25rem,
|
|
170
|
-
$background: $c-grey-alpine)
|
|
171
|
-
background-color: $c-grey-steel;
|
|
172
|
-
color: $white;
|
|
173
|
-
}
|
|
173
|
+
$background: $c-grey-alpine);
|
|
174
174
|
font-weight: 700;
|
|
175
175
|
text-align: left;
|
|
176
176
|
width: 100%;
|
|
177
|
+
|
|
178
|
+
@include focus {
|
|
179
|
+
background-color: $c-grey-steel;
|
|
180
|
+
color: $white;
|
|
181
|
+
}
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
@mixin btn-exit {
|
|
180
|
-
@include button-link
|
|
185
|
+
@include button-link;
|
|
186
|
+
@include focus {
|
|
181
187
|
@include single-box($c-grey-night);
|
|
182
188
|
background-color: $white;
|
|
183
189
|
border-radius: 50%;
|
|
@@ -264,20 +270,6 @@
|
|
|
264
270
|
}
|
|
265
271
|
}
|
|
266
272
|
|
|
267
|
-
@mixin btn-invisible {
|
|
268
|
-
&, &:focus {
|
|
269
|
-
background: transparent;
|
|
270
|
-
line-height: 1;
|
|
271
|
-
padding: 0;
|
|
272
|
-
|
|
273
|
-
@include focus {
|
|
274
|
-
background: transparent;
|
|
275
|
-
line-height: 1;
|
|
276
|
-
padding: 0;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
273
|
@mixin btn-expand {
|
|
282
274
|
display: block;
|
|
283
275
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@mixin focus {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
2
|
+
&:not([disabled=disabled]) {
|
|
3
|
+
&[data-focus-visible-added],
|
|
4
|
+
&:focus-visible,
|
|
5
|
+
&:hover {
|
|
6
|
+
@content;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@mixin box-setup {
|
|
@@ -36,4 +36,10 @@
|
|
|
36
36
|
@include single-box($c-grey-steel, 0.0625rem);
|
|
37
37
|
border: 1px solid $c-grey-steel;
|
|
38
38
|
background-color: $c-grey-alpine;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin focus_colors {
|
|
42
|
+
background-color: $c-status-neutral-fade;
|
|
43
|
+
border: 1px solid $c-status-neutral;
|
|
44
|
+
color: $c-status-neutral;
|
|
39
45
|
}
|
|
@@ -1,78 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
@
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@mixin input-dropdown {
|
|
10
|
-
background-color: $c-grey-alpine;
|
|
11
|
-
border-radius: $border-radius-lg;
|
|
12
|
-
border-color: $c-grey-concrete;
|
|
13
|
-
padding: 0.875rem 0.5rem;
|
|
14
|
-
color: $c-grey-night;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin focus_colors {
|
|
19
|
-
background-color: $c-status-neutral-fade;
|
|
20
|
-
border: 1px solid $c-status-neutral;
|
|
21
|
-
color: $c-status-neutral;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin input-radio($state:neutral) {
|
|
25
|
-
display: inline-block;
|
|
26
|
-
position: relative;
|
|
27
|
-
margin: 0.25rem;
|
|
28
|
-
padding: 0;
|
|
29
|
-
|
|
30
|
-
input[type=radio] {
|
|
31
|
-
$size: 0.875rem;
|
|
32
|
-
position: absolute;
|
|
33
|
-
height: $size;
|
|
34
|
-
margin: auto;
|
|
35
|
-
width: $size;
|
|
36
|
-
right: auto;
|
|
37
|
-
z-index: 3;
|
|
38
|
-
left: 1rem;
|
|
39
|
-
bottom: 0;
|
|
40
|
-
top: 0;
|
|
41
|
-
|
|
42
|
-
@if $state != disabled {
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
|
|
45
|
-
@include focus {
|
|
46
|
-
outline: none;
|
|
47
|
-
|
|
48
|
-
~ label {
|
|
49
|
-
@include single-box($c-grey-steel, 0.0625rem);
|
|
50
|
-
border: 1px solid $c-grey-steel;
|
|
51
|
-
background-color: $c-grey-alpine;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:checked ~ label {
|
|
55
|
-
@include focus_colors;
|
|
56
|
-
@include single-box($c-status-neutral, 0.0625rem);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:checked ~ label {
|
|
61
|
-
@include focus_colors;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
label {
|
|
67
|
-
padding: 0.75rem 0.75rem 0.625rem 2.75rem;
|
|
68
|
-
border: 1px solid $c-grey-concrete;
|
|
69
|
-
border-radius: $border-radius-lg;
|
|
70
|
-
background-color: $white;
|
|
71
|
-
color: $c-grey-night;
|
|
72
|
-
font-weight: 400;
|
|
73
|
-
|
|
74
|
-
@if $state != disabled {
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
2
|
+
@import "input/generic";
|
|
3
|
+
@import "input/status";
|
|
4
|
+
@import "input/checkbox";
|
|
5
|
+
@import "input/dropdown";
|
|
6
|
+
@import "input/radio";
|
|
7
|
+
@import "input/text";
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
top: $val;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@import "account/orders
|
|
12
|
-
@import "basket
|
|
13
|
-
@import "buttons
|
|
14
|
-
@import "card
|
|
15
|
-
@import "content
|
|
16
|
-
@import "core
|
|
17
|
-
@import "festival
|
|
18
|
-
@import "focus
|
|
19
|
-
@import "font
|
|
20
|
-
@import "loading
|
|
21
|
-
@import "input
|
|
11
|
+
@import "account/orders";
|
|
12
|
+
@import "basket";
|
|
13
|
+
@import "buttons";
|
|
14
|
+
@import "card";
|
|
15
|
+
@import "content";
|
|
16
|
+
@import "core";
|
|
17
|
+
@import "festival";
|
|
18
|
+
@import "focus";
|
|
19
|
+
@import "font";
|
|
20
|
+
@import "loading";
|
|
21
|
+
@import "input";
|
|
22
22
|
|
|
23
23
|
@mixin table_link {
|
|
24
24
|
@include focus {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@mixin generic-input($state,$type) {
|
|
2
|
+
position: relative;
|
|
3
|
+
padding: 0;
|
|
4
|
+
|
|
5
|
+
input[type=#{$type}] {
|
|
6
|
+
$size: 0.875rem;
|
|
7
|
+
position: absolute;
|
|
8
|
+
height: $size;
|
|
9
|
+
margin: auto;
|
|
10
|
+
width: $size;
|
|
11
|
+
right: auto;
|
|
12
|
+
z-index: 3;
|
|
13
|
+
left: 1rem;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
top: 0;
|
|
16
|
+
|
|
17
|
+
@if $state != disabled {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
|
|
20
|
+
@include focus {
|
|
21
|
+
outline: none;
|
|
22
|
+
|
|
23
|
+
~ label {
|
|
24
|
+
@include single-box($c-grey-steel, 0.0625rem);
|
|
25
|
+
border: 1px solid $c-grey-steel;
|
|
26
|
+
background-color: $c-grey-alpine;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:checked ~ label {
|
|
30
|
+
@include focus_colors;
|
|
31
|
+
@include single-box($c-status-neutral, 0.0625rem);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:checked ~ label {
|
|
36
|
+
@include focus_colors;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
label {
|
|
42
|
+
padding: 0.75rem 0.75rem 0.625rem 2.75rem;
|
|
43
|
+
border: 1px solid $c-grey-concrete;
|
|
44
|
+
border-radius: $border-radius-lg;
|
|
45
|
+
background-color: $white;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
|
|
48
|
+
@if $state != disabled {
|
|
49
|
+
color: $c-grey-night;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@if $state == disabled {
|
|
54
|
+
color: $c-grey-steel;
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
|
|
57
|
+
&.spx-label-field__checkout, .spx-data-delivery-type {
|
|
58
|
+
text-decoration: line-through;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
@mixin radio-group {
|
|
3
|
+
margin: -0.25rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin radio-input(
|
|
7
|
+
$state: neutral,
|
|
8
|
+
$type: radio) {
|
|
9
|
+
@include generic-input($state,$type);
|
|
10
|
+
display: inline-block;
|
|
11
|
+
margin: 0.25rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// margin: 0;
|
|
15
|
+
// gap: 1rem;
|
|
16
|
+
|
|
17
|
+
// &:not(:first-of-type) {
|
|
18
|
+
// margin-top: 1rem;
|
|
19
|
+
// }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@mixin status-input($color) {
|
|
2
|
+
@include focus {
|
|
3
|
+
&:checked ~ label {
|
|
4
|
+
@include single-box(map-get($color, base), 0.0625rem);
|
|
5
|
+
border: 1px solid map-get($color, base);
|
|
6
|
+
background-color: map-get($color, fade);
|
|
7
|
+
color: map-get($color, base);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:checked ~ label {
|
|
12
|
+
border: 1px solid map-get($color, base);
|
|
13
|
+
background-color: map-get($color, fade);
|
|
14
|
+
color: map-get($color, base);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@import "grey
|
|
2
|
-
@import "brand
|
|
3
|
-
@import "docs
|
|
4
|
-
@import "status
|
|
5
|
-
@import "wgp
|
|
6
|
-
@import "power
|
|
7
|
-
@import "llf
|
|
1
|
+
@import "grey";
|
|
2
|
+
@import "brand";
|
|
3
|
+
@import "docs";
|
|
4
|
+
@import "status";
|
|
5
|
+
@import "wgp";
|
|
6
|
+
@import "power";
|
|
7
|
+
@import "llf";
|
|
8
8
|
|
|
9
|
-
@import "layout
|
|
9
|
+
@import "layout";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// paths more explicit for gulp-sass
|
|
2
|
-
@import "colors/index
|
|
3
|
-
@import "layout
|
|
4
|
-
@import "breakpoints
|
|
5
|
-
@import "typography
|
|
2
|
+
@import "colors/index";
|
|
3
|
+
@import "layout";
|
|
4
|
+
@import "breakpoints";
|
|
5
|
+
@import "typography";
|
package/package.json
CHANGED
package/scss/_atomic.scss
CHANGED
package/scss/_btn.scss
CHANGED
|
File without changes
|
|
@@ -1,85 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
.checkbox
|
|
3
|
-
|
|
4
|
-
.custom-control {
|
|
5
|
-
position: relative;
|
|
2
|
+
.custom-checkbox {
|
|
3
|
+
@include checkbox-input;
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
input[type=checkbox] {
|
|
12
|
-
$size: 0.875rem;
|
|
13
|
-
position: absolute;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
height: $size;
|
|
16
|
-
margin: auto;
|
|
17
|
-
width: $size;
|
|
18
|
-
right: auto;
|
|
19
|
-
z-index: 3;
|
|
20
|
-
left: 1rem;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
top: 0;
|
|
23
|
-
|
|
24
|
-
@mixin focus_colors {
|
|
25
|
-
background-color: $c-status-neutral-fade;
|
|
26
|
-
border: 1px solid $c-status-neutral;
|
|
27
|
-
color: $c-status-neutral;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:hover, &[data-focus-visible-added] {
|
|
31
|
-
&:focus {
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
outline: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
~ label {
|
|
37
|
-
@include single-box($c-grey-steel, 0.0625rem);
|
|
38
|
-
border: 1px solid $c-grey-steel;
|
|
39
|
-
background-color: $c-grey-alpine;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:checked ~ label {
|
|
43
|
-
@include focus_colors;
|
|
44
|
-
@include single-box($c-status-neutral, 0.0625rem);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:checked ~ label {
|
|
49
|
-
@include focus_colors;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
label {
|
|
54
|
-
padding: 0.875rem 0.75rem 0.625rem 2.5rem;
|
|
55
|
-
border: 1px solid $c-grey-concrete;
|
|
56
|
-
border-radius: $border-radius-lg;
|
|
57
|
-
background-color: $white;
|
|
58
|
-
color: $c-grey-night;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
5
|
+
&:not(:last-of-type) {
|
|
6
|
+
margin-bottom: 0.5rem;
|
|
7
|
+
}
|
|
62
8
|
}
|
|
63
9
|
|
|
64
10
|
@each $status, $color in $statees {
|
|
65
11
|
@if $status != 'neutral' {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
@include single-box(map-get($color, base), 0.0625rem);
|
|
71
|
-
border: 1px solid map-get($color, base);
|
|
72
|
-
background-color: map-get($color, fade);
|
|
73
|
-
color: map-get($color, base);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:checked ~ label {
|
|
78
|
-
border: 1px solid map-get($color, base);
|
|
79
|
-
background-color: map-get($color, fade);
|
|
80
|
-
color: map-get($color, base);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
12
|
+
[#{$status}] input[type=radio],
|
|
13
|
+
input[type=radio][#{$status}] {
|
|
14
|
+
@include status-input($color);
|
|
15
|
+
}
|
|
84
16
|
}
|
|
85
|
-
}
|
|
17
|
+
}
|
package/scss/_checkbox.scss
CHANGED
|
@@ -1,57 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
.checkbox {
|
|
3
|
-
|
|
4
|
-
display: grid;
|
|
5
|
-
|
|
6
|
-
input[type=checkbox] {
|
|
7
|
-
$size: 0.875rem;
|
|
8
|
-
position: absolute;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
height: $size;
|
|
11
|
-
margin: auto;
|
|
12
|
-
width: $size;
|
|
13
|
-
right: auto;
|
|
14
|
-
z-index: 3;
|
|
15
|
-
left: 1rem;
|
|
16
|
-
bottom: 0;
|
|
17
|
-
top: 0;
|
|
18
|
-
|
|
19
|
-
@mixin focus_colors {
|
|
20
|
-
background-color: $c-status-neutral-fade;
|
|
21
|
-
border: 1px solid $c-status-neutral;
|
|
22
|
-
color: $c-status-neutral;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:hover, &[data-focus-visible-added] {
|
|
26
|
-
&:focus {
|
|
27
|
-
box-shadow: none;
|
|
28
|
-
outline: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
~ label {
|
|
32
|
-
@include single-box($c-grey-steel, 0.0625rem);
|
|
33
|
-
border: 1px solid $c-grey-steel;
|
|
34
|
-
background-color: $c-grey-alpine;
|
|
35
|
-
}
|
|
36
|
-
&:checked ~ label {
|
|
37
|
-
@include focus_colors;
|
|
38
|
-
@include single-box($c-status-neutral, 0.0625rem);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:checked ~ label {
|
|
43
|
-
@include focus_colors;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
label {
|
|
48
|
-
padding: 0.875rem 0.75rem 0.625rem 2.5rem;
|
|
49
|
-
border: 1px solid $c-grey-concrete;
|
|
50
|
-
border-radius: $border-radius-lg;
|
|
51
|
-
background-color: $white;
|
|
52
|
-
color: $c-grey-night;
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
}
|
|
3
|
+
@include checkbox-input;
|
|
55
4
|
}
|
|
56
5
|
|
|
57
6
|
@each $status, $color in $statees {
|
package/scss/_input.scss
CHANGED
|
@@ -9,12 +9,6 @@ input::placeholder {
|
|
|
9
9
|
color: $c-grey-concrete;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
input[type=number], input[type=text] {
|
|
13
|
-
@include focus {
|
|
14
|
-
@include input-focus;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
12
|
input[type=checkbox],
|
|
19
13
|
input[type=radio] {
|
|
20
14
|
margin-bottom: 0.5rem;
|
|
@@ -27,6 +21,15 @@ input[type=submit] {
|
|
|
27
21
|
appearance: none;
|
|
28
22
|
}
|
|
29
23
|
|
|
24
|
+
input[type=number] {
|
|
25
|
+
@include focus {
|
|
26
|
+
@include input-focus;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
30
|
#{$all-text-inputs} {
|
|
31
31
|
@include all-text-inputs;
|
|
32
|
+
@include focus {
|
|
33
|
+
@include input-focus;
|
|
34
|
+
}
|
|
32
35
|
}
|
package/scss/_radio-group.scss
CHANGED
|
@@ -1,31 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
[role=radiogroup] {
|
|
3
|
+
@include radio-group;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.custom-radio {
|
|
7
|
-
@include input
|
|
7
|
+
@include radio-input;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@each $status, $color in $statees {
|
|
11
11
|
@if $status != 'neutral' {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
&:checked ~ label {
|
|
16
|
-
@include single-box(map-get($color, base), 0.0625rem);
|
|
17
|
-
border: 1px solid map-get($color, base);
|
|
18
|
-
background-color: map-get($color, fade);
|
|
19
|
-
color: map-get($color, base);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:checked ~ label {
|
|
24
|
-
border: 1px solid map-get($color, base);
|
|
25
|
-
background-color: map-get($color, fade);
|
|
26
|
-
color: map-get($color, base);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
12
|
+
[#{$status}] input[type=radio],
|
|
13
|
+
input[type=radio][#{$status}] {
|
|
14
|
+
@include status-input($color);
|
|
29
15
|
}
|
|
30
16
|
}
|
|
31
17
|
}
|
package/scss/card/_related.scss
CHANGED
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
|
|
14
14
|
.card-title {
|
|
15
15
|
font-size: $font-size-lg;
|
|
16
|
+
margin-bottom: 0.75rem;
|
|
17
|
+
|
|
18
|
+
a {
|
|
19
|
+
@include btn-link;
|
|
20
|
+
}
|
|
16
21
|
}
|
|
17
22
|
|
|
23
|
+
.card-subtitle[date],
|
|
18
24
|
.card-text:not(:last-child) {
|
|
19
25
|
margin-bottom: 0.5rem;
|
|
20
26
|
}
|
|
27
|
+
|
|
28
|
+
* + .card-text[date] {
|
|
29
|
+
margin-top: 0.75rem;
|
|
30
|
+
}
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
.card[related][hero=true] {
|
package/scss/card/index.scss
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
@import "confirm
|
|
3
|
-
@import "login
|
|
4
|
-
@import "password
|
|
5
|
-
@import "account
|
|
6
|
-
@import "video-help
|
|
7
|
-
@import "related
|
|
8
|
-
@import "block
|
|
9
|
-
@import "membership
|
|
2
|
+
@import "confirm";
|
|
3
|
+
@import "login";
|
|
4
|
+
@import "password";
|
|
5
|
+
@import "account";
|
|
6
|
+
@import "video-help";
|
|
7
|
+
@import "related";
|
|
8
|
+
@import "block";
|
|
9
|
+
@import "membership";
|
|
10
|
+
@import "slim";
|
|
10
11
|
|
|
11
12
|
.card {
|
|
12
13
|
border: 1px solid $c-grey-pearl;
|
package/scss/index.scss
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
@import "node_modules/bootstrap/scss/functions";
|
|
3
3
|
@import "node_modules/bootstrap/scss/variables";
|
|
4
4
|
@import "node_modules/bootstrap/scss/mixins";
|
|
5
|
-
@import "../helpers/index
|
|
6
|
-
|
|
7
|
-
@import "app
|
|
8
|
-
@import "header
|
|
9
|
-
@import "main
|
|
10
|
-
@import "footer
|
|
11
|
-
@import "klaro
|
|
12
|
-
@import "fonts
|
|
13
|
-
@import "loading-animation
|
|
14
|
-
@import "close-icon
|
|
15
|
-
@import "table/index
|
|
16
|
-
@import "promo
|
|
5
|
+
@import "../helpers/index";
|
|
6
|
+
|
|
7
|
+
@import "app";
|
|
8
|
+
@import "header";
|
|
9
|
+
@import "main";
|
|
10
|
+
@import "footer";
|
|
11
|
+
@import "klaro";
|
|
12
|
+
@import "fonts";
|
|
13
|
+
@import "loading-animation";
|
|
14
|
+
@import "close-icon";
|
|
15
|
+
@import "table/index";
|
|
16
|
+
@import "promo";
|
|
17
17
|
|
|
18
18
|
// bootstrap component styles
|
|
19
|
-
@import "btn
|
|
20
|
-
@import "card/index
|
|
21
|
-
@import "card-
|
|
22
|
-
@import "checkbox
|
|
23
|
-
@import "checkbox-group
|
|
24
|
-
@import "custom-select
|
|
25
|
-
@import "form
|
|
26
|
-
@import "list
|
|
27
|
-
@import "input
|
|
28
|
-
@import "radio-group
|
|
19
|
+
@import "btn";
|
|
20
|
+
@import "card/index";
|
|
21
|
+
@import "card-deck";
|
|
22
|
+
@import "checkbox";
|
|
23
|
+
@import "checkbox-group";
|
|
24
|
+
@import "custom-select";
|
|
25
|
+
@import "form";
|
|
26
|
+
@import "list";
|
|
27
|
+
@import "input";
|
|
28
|
+
@import "radio-group";
|
|
29
29
|
|
|
30
30
|
// atomic helper styles
|
|
31
|
-
@import "atomic
|
|
31
|
+
@import "atomic";
|
|
32
32
|
|
|
33
33
|
body {
|
|
34
34
|
line-height: $line-height-md;
|
package/scss/table/index.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
@import "tickets
|
|
3
|
-
@import "basket
|
|
4
|
-
@import "section
|
|
5
|
-
@import "orders
|
|
6
|
-
@import "details
|
|
7
|
-
@import "preferences
|
|
8
|
-
@import "etickets
|
|
9
|
-
@import "membership
|
|
10
|
-
@import "gifts
|
|
2
|
+
@import "tickets";
|
|
3
|
+
@import "basket";
|
|
4
|
+
@import "section";
|
|
5
|
+
@import "orders";
|
|
6
|
+
@import "details";
|
|
7
|
+
@import "preferences";
|
|
8
|
+
@import "etickets";
|
|
9
|
+
@import "membership";
|
|
10
|
+
@import "gifts";
|
|
11
11
|
|
|
12
12
|
table {
|
|
13
13
|
border-spacing: 0;
|