barbican-reset 2.23.0 → 2.25.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.
- package/helpers/mixins/_breakpoints.scss +122 -0
- package/helpers/mixins/_buttons.scss +7 -1
- package/helpers/mixins/index.scss +1 -0
- package/helpers/mixins/input/_checkbox.scss +0 -4
- package/helpers/variables/index.scss +0 -1
- package/package.json +1 -1
- package/helpers/variables/_breakpoints.scss +0 -9
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
$xsmall: 416;
|
|
2
|
+
$small: 520;
|
|
3
|
+
$medium: 768;
|
|
4
|
+
$large: 960;
|
|
5
|
+
$xlarge: 1200;
|
|
6
|
+
$xxlarge: 1600;
|
|
7
|
+
|
|
8
|
+
@mixin max-width($width) {
|
|
9
|
+
@media only screen and (max-width: #{$width - 1}px) {
|
|
10
|
+
@content;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin min-width($width) {
|
|
15
|
+
@media only screen and (min-width: #{$width}px) {
|
|
16
|
+
@content;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin x-small-up {
|
|
21
|
+
@include min-width($xsmall) {
|
|
22
|
+
@content
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin x-small-down {
|
|
27
|
+
@include max-width($xsmall) {
|
|
28
|
+
@content
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin small-down {
|
|
33
|
+
@include max-width($small) {
|
|
34
|
+
@content
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin small-up {
|
|
39
|
+
@include min-width($small) {
|
|
40
|
+
@content
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin small-only {
|
|
45
|
+
@include x-small-up {
|
|
46
|
+
@include small-down {
|
|
47
|
+
@content;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@mixin medium-up {
|
|
53
|
+
@include min-width($medium) {
|
|
54
|
+
@content
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@mixin medium-down {
|
|
59
|
+
@include max-width($medium) {
|
|
60
|
+
@content
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin medium-only {
|
|
65
|
+
@include small-up {
|
|
66
|
+
@include medium-down {
|
|
67
|
+
@content;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@mixin large-up {
|
|
73
|
+
@include min-width($large) {
|
|
74
|
+
@content
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@mixin large-down {
|
|
79
|
+
@include max-width($large) {
|
|
80
|
+
@content
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin large-only {
|
|
85
|
+
@include medium-up {
|
|
86
|
+
@include large-down {
|
|
87
|
+
@content;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@mixin x-large-up {
|
|
93
|
+
@include min-width($xlarge) {
|
|
94
|
+
@content
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@mixin x-large-down {
|
|
99
|
+
@include max-width($xlarge) {
|
|
100
|
+
@content
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@mixin xlarge-only {
|
|
105
|
+
@include large-up {
|
|
106
|
+
@include x-large-down {
|
|
107
|
+
@content;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@mixin xx-large-up {
|
|
113
|
+
@include min-width($xxlarge) {
|
|
114
|
+
@content
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@mixin xx-large-down {
|
|
119
|
+
@include max-width($xxlarge) {
|
|
120
|
+
@content
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -310,7 +310,13 @@
|
|
|
310
310
|
@mixin btn-login-to-book {
|
|
311
311
|
@include display-button(flex, 0.5);
|
|
312
312
|
@include btn-primary;
|
|
313
|
+
justify-content: center;
|
|
313
314
|
min-width: initial;
|
|
315
|
+
|
|
316
|
+
@include media-breakpoint-down(md) {
|
|
317
|
+
margin-top: 1rem;
|
|
318
|
+
width: 100%;
|
|
319
|
+
}
|
|
314
320
|
}
|
|
315
321
|
|
|
316
322
|
@mixin btn-sold-out {
|
|
@@ -321,7 +327,7 @@
|
|
|
321
327
|
}
|
|
322
328
|
|
|
323
329
|
@mixin btn-add-membership-to-basket {
|
|
324
|
-
@include solid-button($background
|
|
330
|
+
@include solid-button($background: $c-brand-membership);
|
|
325
331
|
@include display-button(flex, 0.5);
|
|
326
332
|
}
|
|
327
333
|
|
package/package.json
CHANGED