barbican-reset 2.26.0 → 2.28.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.
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
@include outline-button($color: white,
|
|
78
78
|
$background: $c-brand-generic,
|
|
79
79
|
$border: 0.125rem,
|
|
80
|
-
$display: "flex"
|
|
81
80
|
);
|
|
81
|
+
@include flex-button;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@mixin btn-input-edit {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
@include focus {
|
|
142
|
-
@include single-box(
|
|
142
|
+
@include single-box(currentColor,
|
|
143
143
|
0.1875rem); // @BUG: safari outline + border-radius
|
|
144
144
|
border-radius: 50%;
|
|
145
145
|
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
path.tint {
|
|
151
|
-
fill:
|
|
151
|
+
fill: currentColor;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -194,7 +194,8 @@
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
@mixin btn-cta {
|
|
197
|
-
@include solid-button($background: $c-grey-l21
|
|
197
|
+
@include solid-button($background: $c-grey-l21);
|
|
198
|
+
@include flex-button;
|
|
198
199
|
fill: white;
|
|
199
200
|
}
|
|
200
201
|
|
|
@@ -230,12 +231,12 @@
|
|
|
230
231
|
}
|
|
231
232
|
|
|
232
233
|
@mixin btn-menu {
|
|
233
|
-
@include display-button(flex, 0.75);
|
|
234
234
|
@include outline-button($color: white,
|
|
235
235
|
$background: $c-brand-generic,
|
|
236
236
|
$padding: 0 0.75rem,
|
|
237
237
|
$margin: 0.25rem,
|
|
238
238
|
$line-height: 2.375rem);
|
|
239
|
+
@include flex-button($gap: 0.75rem);
|
|
239
240
|
vertical-align: middle;
|
|
240
241
|
min-height: 2.5rem;
|
|
241
242
|
|
|
@@ -249,12 +250,12 @@
|
|
|
249
250
|
}
|
|
250
251
|
|
|
251
252
|
@mixin btn-basket {
|
|
252
|
-
@include display-button(flex, 0.5);
|
|
253
253
|
@include solid-button($background: white,
|
|
254
254
|
$color: $c-brand-generic,
|
|
255
255
|
$padding: 0 0.75rem,
|
|
256
256
|
$margin: 0.25rem,
|
|
257
257
|
$line-height: 2.375rem);
|
|
258
|
+
@include flex-button($gap: 0.5rem);
|
|
258
259
|
vertical-align: middle;
|
|
259
260
|
min-height: 2.5rem;
|
|
260
261
|
|
|
@@ -268,8 +269,8 @@
|
|
|
268
269
|
}
|
|
269
270
|
|
|
270
271
|
@mixin btn-discover {
|
|
271
|
-
@include display-button(flex, 0.75);
|
|
272
272
|
@include outline-button(white, $c-grey-l21);
|
|
273
|
+
@include flex-button($gap: 0.75rem);
|
|
273
274
|
|
|
274
275
|
span {
|
|
275
276
|
position: relative;
|
|
@@ -304,12 +305,12 @@
|
|
|
304
305
|
|
|
305
306
|
@mixin btn-priority-row {
|
|
306
307
|
@include btn-outline-primary;
|
|
307
|
-
@include
|
|
308
|
+
@include flex-button($gap: 0.5rem);
|
|
308
309
|
}
|
|
309
310
|
|
|
310
311
|
@mixin btn-login-to-book {
|
|
311
|
-
@include display-button(flex, 0.5);
|
|
312
312
|
@include btn-primary;
|
|
313
|
+
@include flex-button($gap: 0.5rem);
|
|
313
314
|
justify-content: center;
|
|
314
315
|
min-width: initial;
|
|
315
316
|
|
|
@@ -320,20 +321,25 @@
|
|
|
320
321
|
}
|
|
321
322
|
|
|
322
323
|
@mixin btn-sold-out {
|
|
323
|
-
@include display-button(flex, 0.5);
|
|
324
324
|
@include btn-secondary;
|
|
325
|
+
@include flex-button($gap: 0.5rem);
|
|
325
326
|
pointer-events: none;
|
|
326
327
|
min-width: initial;
|
|
327
328
|
}
|
|
328
329
|
|
|
329
330
|
@mixin btn-add-membership-to-basket {
|
|
330
331
|
@include solid-button($background: $c-brand-membership);
|
|
331
|
-
@include
|
|
332
|
+
@include flex-button($gap: 0.5rem);
|
|
332
333
|
}
|
|
333
334
|
|
|
334
335
|
@mixin btn-remove-membership-from-basket {
|
|
335
336
|
@include solid-button($background: $c-status-error);
|
|
336
|
-
@include
|
|
337
|
+
@include flex-button($gap: 0.5rem);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@mixin btn-additional-information {
|
|
341
|
+
@include btn-outline-primary;
|
|
342
|
+
@include flex-button($gap: 0.5rem);
|
|
337
343
|
}
|
|
338
344
|
|
|
339
345
|
// Access Overlay Work -- End
|
|
@@ -4,22 +4,11 @@
|
|
|
4
4
|
$padding: false,
|
|
5
5
|
$margin: false,
|
|
6
6
|
$line-height: false,
|
|
7
|
-
$display: false,
|
|
8
7
|
$font-size: false) {
|
|
9
8
|
background-color: $background;
|
|
10
9
|
border: $border solid $color;
|
|
11
10
|
color: $color;
|
|
12
11
|
|
|
13
|
-
@if $display {
|
|
14
|
-
@if $padding {
|
|
15
|
-
@include display-button($display, $padding * 0.625);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@else {
|
|
19
|
-
@include display-button($display, 0.625);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
12
|
@if $line-height {
|
|
24
13
|
line-height: $line-height;
|
|
25
14
|
}
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
@mixin display-button
|
|
54
|
-
@if $display =="ib" {
|
|
55
|
-
vertical-align: middle;
|
|
56
|
-
display: inline-block;
|
|
53
|
+
// deprecated: @mixin display-button
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
@mixin flex-button($gap: 1rem) {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: $gap;
|
|
59
|
+
}
|
|
63
60
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
@mixin inline-block-button() {
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
display: inline-block;
|
|
64
|
+
|
|
65
|
+
>* {
|
|
66
|
+
vertical-align: middle;
|
|
67
|
+
display: inline-block;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -4,22 +4,11 @@
|
|
|
4
4
|
$padding: false,
|
|
5
5
|
$margin: false,
|
|
6
6
|
$line-height: false,
|
|
7
|
-
$display: false,
|
|
8
7
|
$font-size: false) {
|
|
9
8
|
border: $border solid $background;
|
|
10
9
|
background-color: $background;
|
|
11
10
|
color: $color;
|
|
12
11
|
|
|
13
|
-
@if $display {
|
|
14
|
-
@if $padding {
|
|
15
|
-
@include display-button($display, $padding * 0.625);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@else {
|
|
19
|
-
@include display-button($display, 0.625);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
12
|
@if $line-height {
|
|
24
13
|
line-height: $line-height;
|
|
25
14
|
}
|
package/package.json
CHANGED