barbican-reset 1.4.1 → 1.4.5
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/card_display.vue +4 -2
- package/components/fluid_iframe.vue +3 -1
- package/components/footer_upper.vue +8 -0
- package/components/form_update.vue +2 -2
- package/helpers/mixins/_buttons.scss +10 -0
- package/helpers/mixins/index.scss +8 -0
- package/icons/city_of_london_lockup.vue +11 -6
- package/package.json +1 -1
- package/scss/_atomic.scss +4 -0
- package/scss/_btn.scss +4 -0
- package/scss/_custom-select.scss +8 -0
- package/scss/_promo.scss +11 -0
- package/scss/index.scss +2 -0
- package/scss/table/_basket.scss +1 -6
- package/scss/table/_gifts.scss +56 -0
- package/scss/table/_preferences.scss +1 -1
- package/scss/table/index.scss +1 -0
|
@@ -73,6 +73,8 @@ export default {
|
|
|
73
73
|
|
|
74
74
|
<style lang="scss" module>
|
|
75
75
|
|
|
76
|
+
@import "../helpers";
|
|
77
|
+
|
|
76
78
|
.svg {
|
|
77
79
|
fill: white;
|
|
78
80
|
}
|
|
@@ -91,18 +93,18 @@ export default {
|
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
.image {
|
|
96
|
+
@include inset(0);
|
|
94
97
|
position: absolute;
|
|
95
98
|
height: auto;
|
|
96
99
|
width: 100%;
|
|
97
|
-
inset: 0;
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
.title {
|
|
103
|
+
@include inset(0);
|
|
101
104
|
background-color: rgba($c-grey-midnight, 0.85);
|
|
102
105
|
place-items: center;
|
|
103
106
|
position: absolute;
|
|
104
107
|
display: grid;
|
|
105
|
-
inset: 0;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
.component.hero {
|
|
@@ -24,6 +24,8 @@ export default {
|
|
|
24
24
|
|
|
25
25
|
<style lang="scss" module>
|
|
26
26
|
|
|
27
|
+
@import "../helpers";
|
|
28
|
+
|
|
27
29
|
.component {
|
|
28
30
|
border-radius: $border-radius-lg;
|
|
29
31
|
padding-top: 56.25%;
|
|
@@ -33,7 +35,7 @@ export default {
|
|
|
33
35
|
|
|
34
36
|
.component > iframe {
|
|
35
37
|
position: absolute;
|
|
36
|
-
inset
|
|
38
|
+
@include inset(0);
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="$style.container">
|
|
3
|
-
<div :class="$style.input"><slot /></div>
|
|
4
|
-
<b-button class="btn-update" @click.prevent="$emit('update')">update</b-button>
|
|
3
|
+
<div :class="$style.input" data-test="email"><slot /></div>
|
|
4
|
+
<b-button class="btn-update" @click.prevent="$emit('update')" data-test="update">update</b-button>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
@@ -197,6 +197,16 @@
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
+
@mixin btn-remove-gift {
|
|
201
|
+
@include media-breakpoint-down(xl) {
|
|
202
|
+
@include btn-remove;
|
|
203
|
+
width: 100%;
|
|
204
|
+
}
|
|
205
|
+
@include media-breakpoint-up(xl) {
|
|
206
|
+
@include btn-link;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
200
210
|
@mixin btn-membership-card {
|
|
201
211
|
@include button-outline(
|
|
202
212
|
$color: $white,
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// paths more explicit for gulp-sass
|
|
2
2
|
@import "~bourbon/core/bourbon.scss";
|
|
3
|
+
|
|
4
|
+
@mixin inset($val: 0) {
|
|
5
|
+
bottom: $val;
|
|
6
|
+
right: $val;
|
|
7
|
+
left: $val;
|
|
8
|
+
top: $val;
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
@import "account/orders.scss";
|
|
4
12
|
@import "basket.scss";
|
|
5
13
|
@import "buttons.scss";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<city-of-london-logo />
|
|
5
|
-
</a>
|
|
2
|
+
<a :class="$style.lockup" href="//www.cityoflondon.gov.uk" target="_blank">
|
|
3
|
+
<city-of-london-logo />
|
|
6
4
|
<small>
|
|
7
5
|
The City of London<br />Corporation is the founder<br />and principal funder of<br />the Barbican Centre
|
|
8
6
|
</small>
|
|
9
|
-
</
|
|
7
|
+
</a>
|
|
10
8
|
</template>
|
|
11
9
|
|
|
12
10
|
<script>
|
|
@@ -21,10 +19,17 @@ export default {
|
|
|
21
19
|
|
|
22
20
|
<style lang="scss" module>
|
|
23
21
|
|
|
22
|
+
@import "../helpers";
|
|
23
|
+
|
|
24
24
|
.lockup {
|
|
25
|
+
text-decoration: none;
|
|
25
26
|
display: inline-flex;
|
|
26
27
|
align-items: center;
|
|
27
|
-
gap: 0.625rem;
|
|
28
|
+
gap: 0.625rem;
|
|
29
|
+
|
|
30
|
+
@include focus {
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
28
33
|
}
|
|
29
34
|
|
|
30
35
|
</style>
|
package/package.json
CHANGED
package/scss/_atomic.scss
CHANGED
package/scss/_btn.scss
CHANGED
package/scss/_promo.scss
ADDED
package/scss/index.scss
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@import "loading-animation.scss";
|
|
14
14
|
@import "close-icon.scss";
|
|
15
15
|
@import "table/index.scss";
|
|
16
|
+
@import "promo.scss";
|
|
16
17
|
|
|
17
18
|
// bootstrap component styles
|
|
18
19
|
@import "btn.scss";
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
@import "card-group.scss";
|
|
21
22
|
@import "checkbox.scss";
|
|
22
23
|
@import "checkbox-group.scss";
|
|
24
|
+
@import "custom-select.scss";
|
|
23
25
|
@import "form.scss";
|
|
24
26
|
@import "list.scss";
|
|
25
27
|
@import "input.scss";
|
package/scss/table/_basket.scss
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
table.gifts {
|
|
2
|
+
|
|
3
|
+
$mq: xl;
|
|
4
|
+
|
|
5
|
+
thead {
|
|
6
|
+
@include media-breakpoint-down($mq) {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
th {
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
tr {
|
|
16
|
+
@include media-breakpoint-up($mq) {
|
|
17
|
+
@include table-row;
|
|
18
|
+
grid-template-columns: 3fr 5fr 5fr 2fr 2fr;
|
|
19
|
+
display: grid;
|
|
20
|
+
gap: 0.75rem;
|
|
21
|
+
|
|
22
|
+
label {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include media-breakpoint-down($mq) {
|
|
28
|
+
border-radius: $border-radius-lg;
|
|
29
|
+
border: 1px solid $c-grey-pearl;
|
|
30
|
+
display: block;
|
|
31
|
+
padding: 1rem;
|
|
32
|
+
|
|
33
|
+
&:not(:last-of-type) {
|
|
34
|
+
margin-bottom: 1rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
td {
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
display: flex;
|
|
40
|
+
|
|
41
|
+
&:not(:last-of-type) {
|
|
42
|
+
padding-bottom: 0.25rem;
|
|
43
|
+
padding-top: 0.25rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:not(:first-of-type):not(:last-of-type) {
|
|
47
|
+
border-top: 1px solid $c-grey-pearl;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:last-of-type {
|
|
51
|
+
margin-top: 0.5rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|