barbican-reset 2.54.0 → 2.55.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/components/BrCard.vue +48 -4
- package/components/BrCardBody.vue +20 -0
- package/components/BrCardTitle.vue +1 -1
- package/components/BrFormBlock.vue +1 -1
- package/components/EventSummary.vue +7 -4
- package/css/index.css +333 -175
- package/index.js +16 -7
- package/package.json +1 -1
- package/patterns/scss/styles.scss +1 -2
- package/scss/_atomic.scss +9 -83
- package/scss/_br-button.scss +1 -1
- package/scss/_br-form-row.scss +1 -1
- package/scss/_btn.scss +1 -1
- package/scss/_font.scss +51 -0
- package/scss/_form.scss +3 -3
- package/scss/_klaro.scss +6 -6
- package/scss/_list.scss +0 -1
- package/scss/_table.scss +42 -13
- package/scss/atomic/font-weights.scss +11 -0
- package/scss/atomic/margins.scss +17 -0
- package/scss/atomic/min-heights.scss +9 -0
- package/scss/atomic/paddings.scss +16 -0
- package/scss/atomic/text-aligns.scss +11 -0
- package/scss/card/_account.scss +1 -0
- package/scss/card/_login.scss +1 -2
- package/scss/card/index.scss +5 -95
- package/scss/helpers/mixins/_br-alert.scss +1 -1
- package/scss/helpers/mixins/_br-card.scss +14 -7
- package/scss/helpers/mixins/_buttons.scss +3 -2
- package/scss/helpers/mixins/_headings.scss +1 -1
- package/scss/helpers/mixins/buttons/_setup.scss +3 -14
- package/scss/helpers/mixins/index.scss +0 -1
- package/scss/helpers/mixins/input/_generic.scss +1 -1
- package/scss/helpers/mixins/input/_radio.scss +1 -1
- package/scss/helpers/mixins/input/_select.scss +1 -1
- package/scss/helpers/mixins/table/_basket.scss +8 -9
- package/scss/helpers/mixins/table/_details.scss +1 -1
- package/scss/helpers/mixins/table/_etickets.scss +1 -1
- package/scss/helpers/mixins/table/_gifts.scss +1 -1
- package/scss/helpers/mixins/table/_orders.scss +1 -1
- package/scss/helpers/mixins/table/_preferences.scss +1 -1
- package/scss/helpers/mixins/table/_tickets.scss +1 -1
- package/scss/helpers/variables/_typography.scss +0 -10
- package/scss/index.scss +2 -9
- package/scss/helpers/mixins/_font.scss +0 -49
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
vertical-align: baseline;
|
|
12
12
|
padding: $padding;
|
|
13
13
|
border-radius: 0;
|
|
14
|
-
font-weight:
|
|
14
|
+
font-weight: normal;
|
|
15
15
|
text-align: left;
|
|
16
16
|
color: $color;
|
|
17
17
|
border: none;
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
@mixin btn-video-help {
|
|
124
124
|
@include link-button($padding: 1.25em, $background: $c-grey-l96);
|
|
125
|
-
|
|
125
|
+
font-weight: bold;
|
|
126
126
|
width: 100%;
|
|
127
127
|
|
|
128
128
|
@include focus {
|
|
@@ -280,6 +280,7 @@
|
|
|
280
280
|
|
|
281
281
|
@mixin btn-invisible {
|
|
282
282
|
color: inherit;
|
|
283
|
+
border: none;
|
|
283
284
|
padding: 0;
|
|
284
285
|
|
|
285
286
|
@include focus {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@mixin disabled {
|
|
2
|
-
|
|
3
2
|
&:disabled,
|
|
4
3
|
&.disabled {
|
|
5
4
|
@content;
|
|
@@ -22,12 +21,14 @@
|
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
@mixin setup-button {
|
|
25
|
-
@include fontfamily-black;
|
|
26
24
|
border-radius: $br-border-radius-lg;
|
|
27
25
|
padding: $padding-button-lg;
|
|
28
26
|
text-decoration: none;
|
|
27
|
+
font-family: inherit;
|
|
29
28
|
font-size: 1.0625rem;
|
|
29
|
+
display: inline-grid;
|
|
30
30
|
text-align: center;
|
|
31
|
+
font-weight: bold;
|
|
31
32
|
transition: none;
|
|
32
33
|
cursor: pointer;
|
|
33
34
|
line-height: 1;
|
|
@@ -50,20 +51,8 @@
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
// deprecated: @mixin display-button
|
|
54
|
-
|
|
55
54
|
@mixin flex-button($gap: 1rem) {
|
|
56
55
|
display: inline-flex;
|
|
57
56
|
align-items: center;
|
|
58
57
|
gap: $gap;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@mixin inline-block-button() {
|
|
62
|
-
vertical-align: middle;
|
|
63
|
-
display: inline-block;
|
|
64
|
-
|
|
65
|
-
>* {
|
|
66
|
-
vertical-align: middle;
|
|
67
|
-
display: inline-block;
|
|
68
|
-
}
|
|
69
58
|
}
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
|
|
2
1
|
@mixin basket-table {
|
|
3
2
|
tr {
|
|
4
3
|
@include table-row;
|
|
5
4
|
justify-content: space-between;
|
|
6
|
-
display: flex;
|
|
5
|
+
display: flex;
|
|
7
6
|
gap: 0.75rem;
|
|
8
7
|
|
|
9
8
|
&:last-child {
|
|
10
9
|
padding-bottom: 0;
|
|
11
10
|
}
|
|
12
|
-
|
|
11
|
+
|
|
13
12
|
&.promo {
|
|
14
13
|
padding-bottom: 1rem;
|
|
15
14
|
}
|
|
16
|
-
|
|
15
|
+
|
|
17
16
|
&.donation {
|
|
18
17
|
@include basket-row-grid;
|
|
19
18
|
padding-bottom: 1rem;
|
|
20
19
|
padding-top: 1rem;
|
|
21
20
|
}
|
|
22
|
-
|
|
21
|
+
|
|
23
22
|
&.total {
|
|
24
|
-
@include fontfamily-black;
|
|
25
23
|
font-size: $h4-font-size;
|
|
26
24
|
border-bottom: none;
|
|
25
|
+
font-weight: bold;
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
|
|
29
28
|
&.continue {
|
|
30
29
|
border-bottom: none;
|
|
31
|
-
|
|
30
|
+
|
|
32
31
|
td {
|
|
33
32
|
width: 100%;
|
|
34
|
-
}
|
|
33
|
+
}
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
$fontfamily-light: font-family(Supreme-Light);
|
|
2
|
-
|
|
3
|
-
$fontfamily-light-italic: font-family(Supreme-LightItalic);
|
|
4
|
-
|
|
5
|
-
$fontfamily-black: font-family(Supreme-Black);
|
|
6
|
-
|
|
7
|
-
$fontfamily-black-italic: font-family(Supreme-BlackItalic);
|
|
8
|
-
|
|
9
|
-
// adjusting bootstrap variables for supreme
|
|
10
|
-
|
|
11
1
|
$body-font-size: toRem(17);
|
|
12
2
|
|
|
13
3
|
$h1-font-size: toRem(42);
|
package/scss/index.scss
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
@import "helpers/index";
|
|
2
2
|
|
|
3
|
-
@include font-face;
|
|
4
|
-
|
|
5
3
|
@import "app";
|
|
6
4
|
@import "city-of-london";
|
|
7
5
|
@import "close-icon";
|
|
6
|
+
@import "font";
|
|
8
7
|
@import "footer";
|
|
9
8
|
@import "header";
|
|
10
9
|
@import "klaro";
|
|
@@ -47,7 +46,7 @@ html {
|
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
body {
|
|
50
|
-
|
|
49
|
+
font-family: Supreme, Helvetica, Arial, sans-serif;
|
|
51
50
|
-webkit-font-smoothing: antialiased;
|
|
52
51
|
-moz-osx-font-smoothing: grayscale;
|
|
53
52
|
line-height: $line-height-md;
|
|
@@ -100,10 +99,4 @@ p {
|
|
|
100
99
|
|
|
101
100
|
p+p {
|
|
102
101
|
margin-top: 1rem;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/// b tag in use on iframes
|
|
106
|
-
strong,
|
|
107
|
-
b {
|
|
108
|
-
@include fontfamily-black;
|
|
109
102
|
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@mixin font-face($name: "SupremeLLWeb", $path: "https://static.barbican.org.uk/systems-public/fonts/") {
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: "Supreme-Light";
|
|
4
|
-
src: url("#{$path}#{$name}-Light.woff") format("woff"),
|
|
5
|
-
url("#{$path}#{$name}-Light.woff2") format("woff2");
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: "Supreme-LightItalic";
|
|
10
|
-
src: url("#{$path}#{$name}-LightItalic.woff") format("woff"),
|
|
11
|
-
url("#{$path}#{$name}-LightItalic.woff2") format("woff2");
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: "Supreme-Black";
|
|
16
|
-
src: url("#{$path}#{$name}-Black.woff") format("woff"),
|
|
17
|
-
url("#{$path}#{$name}-Black.woff2") format("woff2");
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: "Supreme-BlackItalic";
|
|
22
|
-
src: url("#{$path}#{$name}-BlackItalic.woff") format("woff"),
|
|
23
|
-
url("#{$path}#{$name}-BlackItalic.woff2") format("woff2");
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin fontfamily-light {
|
|
28
|
-
font-family: $fontfamily-light;
|
|
29
|
-
font-weight: 400;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin fontfamily-black {
|
|
33
|
-
font-family: $fontfamily-black;
|
|
34
|
-
font-weight: 400;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// https://caniuse.com/#search=font-smoothing
|
|
38
|
-
|
|
39
|
-
@mixin font-smoothing($value: on) {
|
|
40
|
-
@if $value ==on {
|
|
41
|
-
-webkit-font-smoothing: antialiased;
|
|
42
|
-
-moz-osx-font-smoothing: grayscale;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@else {
|
|
46
|
-
-webkit-font-smoothing: subpixel-antialiased;
|
|
47
|
-
-moz-osx-font-smoothing: auto;
|
|
48
|
-
}
|
|
49
|
-
}
|