barbican-reset 1.6.6 → 1.7.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/animations/confirm.js +62 -0
- package/animations/index.js +8 -0
- package/components/br_button/remove_ticket.vue +1 -1
- package/components/br_confirm_done.vue +29 -0
- package/components/br_confirm_email.vue +25 -0
- package/components/br_form_row.vue +1 -1
- package/components/{loader.vue → br_loader.vue} +0 -0
- package/components/br_wrap.vue +24 -0
- package/components/event_summary.vue +1 -1
- package/helpers/mixins/_basket.scss +0 -6
- package/helpers/mixins/_buttons.scss +33 -15
- package/helpers/mixins/_card.scss +0 -6
- package/helpers/mixins/_table.scss +50 -0
- package/helpers/mixins/index.scss +1 -8
- package/helpers/variables/colors/_borders.scss +3 -0
- package/helpers/variables/colors/_brand.scss +1 -0
- package/helpers/variables/colors/index.scss +1 -2
- package/icons/confirm/done.vue +23 -0
- package/icons/confirm/email.vue +7 -0
- package/icons/confirm/index.js +7 -0
- package/index.js +12 -7
- package/package.json +2 -1
- package/scss/_atomic.scss +24 -15
- package/scss/{_loading-animation.scss → _br-loader.scss} +3 -3
- package/scss/_br-wrap.scss +18 -0
- package/scss/_btn.scss +10 -0
- package/scss/_close-icon.scss +1 -1
- package/scss/_custom-checkbox.scss +12 -0
- package/scss/{_form-group.scss → _form-row.scss} +7 -2
- package/scss/_header.scss +1 -1
- package/scss/card/_confirm.scss +17 -10
- package/scss/index.scss +3 -2
- package/scss/table/_details.scss +2 -1
- package/scss/table/_etickets.scss +2 -2
- package/scss/table/_gifts.scss +1 -1
- package/scss/table/_membership.scss +1 -1
- package/scss/table/_orders.scss +2 -2
- package/scss/table/_preferences.scss +1 -1
- package/scss/table/_resale.scss +30 -0
- package/scss/table/_tickets.scss +1 -1
- package/scss/table/index.scss +1 -0
- package/components/wrap.vue +0 -56
- package/helpers/variables/colors/_layout.scss +0 -40
- package/icons/password/index.js +0 -7
- package/icons/password/request.vue +0 -16
- package/icons/password/reset.vue +0 -33
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import gsap from 'gsap'
|
|
2
|
+
import { DrawSVGPlugin } from 'gsap/DrawSVGPlugin'
|
|
3
|
+
|
|
4
|
+
gsap.registerPlugin(DrawSVGPlugin);
|
|
5
|
+
|
|
6
|
+
const fadeIn = {
|
|
7
|
+
duration: 0.3,
|
|
8
|
+
opacity: 0,
|
|
9
|
+
delay: 0.3,
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const explode = {
|
|
13
|
+
ease: "power1.out",
|
|
14
|
+
opacity: 0,
|
|
15
|
+
scale: 1.5,
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const defaults = {
|
|
19
|
+
duration: 0.6,
|
|
20
|
+
ease: "power1.in",
|
|
21
|
+
transformOrigin: "center"
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const animateEmail = () => {
|
|
25
|
+
const query = target => document.querySelector(`.card[email] ${target}`);
|
|
26
|
+
const title = query(".card-title");
|
|
27
|
+
const outline = query(".outline");
|
|
28
|
+
const arrow = query(".arrow");
|
|
29
|
+
const fold = query(".fold");
|
|
30
|
+
const tl = gsap.timeline({ defaults });
|
|
31
|
+
|
|
32
|
+
const clone = title.cloneNode(true);
|
|
33
|
+
clone.classList.add("clone");
|
|
34
|
+
title.after(clone);
|
|
35
|
+
|
|
36
|
+
tl.set(arrow, { opacity: 0 })
|
|
37
|
+
.from(title, fadeIn)
|
|
38
|
+
.set(clone, { opacity: 0.4 })
|
|
39
|
+
.from(outline, { drawSVG: "0%" }, "start")
|
|
40
|
+
.from(fold, { drawSVG: "0%", duration: 0.3 }, "start")
|
|
41
|
+
.to(clone, explode, "start")
|
|
42
|
+
.set(arrow, { opacity: 1 })
|
|
43
|
+
.from(arrow, { x: -6, ease: "power1.out" });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export const animateDone = () => {
|
|
47
|
+
const query = target => document.querySelector(`.card[done] ${target}`);
|
|
48
|
+
const title = query(".card-title");
|
|
49
|
+
const outline = query(".outline");
|
|
50
|
+
const tick = query(".tick");
|
|
51
|
+
const tl = gsap.timeline({ defaults });
|
|
52
|
+
|
|
53
|
+
const clone = title.cloneNode(true);
|
|
54
|
+
clone.classList.add("clone");
|
|
55
|
+
title.after(clone);
|
|
56
|
+
|
|
57
|
+
tl.from(title, fadeIn)
|
|
58
|
+
.set(clone, { opacity: 0.4 })
|
|
59
|
+
.from(outline, { drawSVG: "0%" }, "start")
|
|
60
|
+
.from(tick, { drawSVG: "0%", duration: 0.3 }, "start+=0.3")
|
|
61
|
+
.to(clone, explode, "start");
|
|
62
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<b-card confirm done>
|
|
3
|
+
<done-icon />
|
|
4
|
+
<b-card-title>Done</b-card-title>
|
|
5
|
+
<b-card-text v-if="$slots.default">
|
|
6
|
+
<slot />
|
|
7
|
+
</b-card-text>
|
|
8
|
+
</b-card>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import Animations from 'barbican-reset/animations'
|
|
13
|
+
import { DoneIcon } from 'barbican-reset/icons/confirm'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
mixins: [Animations],
|
|
17
|
+
components: {
|
|
18
|
+
DoneIcon,
|
|
19
|
+
},
|
|
20
|
+
props: {
|
|
21
|
+
type: {
|
|
22
|
+
type: String
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
mounted() {
|
|
26
|
+
this.animateDone();
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<b-card confirm email>
|
|
3
|
+
<email-icon />
|
|
4
|
+
<b-card-title v-if="$slots.title">
|
|
5
|
+
<slot name="title" />
|
|
6
|
+
</b-card-title>
|
|
7
|
+
<b-card-text v-if="$slots.default">
|
|
8
|
+
<slot />
|
|
9
|
+
</b-card-text>
|
|
10
|
+
</b-card>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
import Animations from 'barbican-reset/animations'
|
|
15
|
+
import { EmailIcon } from 'barbican-reset/icons/confirm'
|
|
16
|
+
export default {
|
|
17
|
+
mixins: [Animations],
|
|
18
|
+
components: {
|
|
19
|
+
EmailIcon
|
|
20
|
+
},
|
|
21
|
+
mounted() {
|
|
22
|
+
this.animateEmail();
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
</script>
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="['br_wrap',{ title },{ videos },{ thin }]">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
props: {
|
|
10
|
+
title: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false,
|
|
13
|
+
},
|
|
14
|
+
thin: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false,
|
|
17
|
+
},
|
|
18
|
+
videos: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: false,
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
</script>
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
font-weight: 700;
|
|
9
9
|
transition: none;
|
|
10
10
|
line-height: 1;
|
|
11
|
-
padding: 1em;
|
|
11
|
+
padding: 1em;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
@mixin button-display($display:'ib',$gap:
|
|
14
|
+
@mixin button-display($display:'ib',$gap:1em) {
|
|
15
15
|
@if $display == 'ib' {
|
|
16
16
|
vertical-align: middle;
|
|
17
17
|
display: inline-block;
|
|
@@ -32,16 +32,18 @@
|
|
|
32
32
|
$background: $c-brand-orange,
|
|
33
33
|
$color: $white,
|
|
34
34
|
$border: 1px,
|
|
35
|
-
$padding:
|
|
36
|
-
$line: false,
|
|
37
|
-
$display: false
|
|
35
|
+
$padding: 1em,
|
|
36
|
+
$line-height: false,
|
|
37
|
+
$display: false,
|
|
38
|
+
$font-size: false) {
|
|
38
39
|
border: $border solid $background;
|
|
39
40
|
background-color: $background;
|
|
40
41
|
padding: $padding;
|
|
41
42
|
color: $color;
|
|
42
43
|
|
|
43
44
|
@if $display { @include button-display($display, $padding * 0.625); }
|
|
44
|
-
@if $line { line-height: $line; }
|
|
45
|
+
@if $line-height { line-height: $line-height; }
|
|
46
|
+
@if $font-size { font-size: $font-size; }
|
|
45
47
|
|
|
46
48
|
path {
|
|
47
49
|
fill: $color;
|
|
@@ -63,16 +65,18 @@
|
|
|
63
65
|
$color: $c-brand-orange,
|
|
64
66
|
$background: $white,
|
|
65
67
|
$border: 1px,
|
|
66
|
-
$padding:
|
|
67
|
-
$line: false,
|
|
68
|
-
$display: false
|
|
68
|
+
$padding: 1em,
|
|
69
|
+
$line-height: false,
|
|
70
|
+
$display: false,
|
|
71
|
+
$font-size: false) {
|
|
69
72
|
background-color: $background;
|
|
70
73
|
border: $border solid $color;
|
|
71
74
|
padding: $padding;
|
|
72
75
|
color: $color;
|
|
73
76
|
|
|
74
77
|
@if $display { @include button-display($display, $padding * 0.625); }
|
|
75
|
-
@if $line { line-height: $line; }
|
|
78
|
+
@if $line-height { line-height: $line-height; }
|
|
79
|
+
@if $font-size { font-size: $font-size; }
|
|
76
80
|
|
|
77
81
|
path {
|
|
78
82
|
fill: $color;
|
|
@@ -95,7 +99,7 @@
|
|
|
95
99
|
$color: inherit,
|
|
96
100
|
$background: transparent,
|
|
97
101
|
$padding: 0,
|
|
98
|
-
$line: false) {
|
|
102
|
+
$line-height: false) {
|
|
99
103
|
background-color: $background;
|
|
100
104
|
text-decoration: underline;
|
|
101
105
|
font-weight: inherit;
|
|
@@ -103,7 +107,7 @@
|
|
|
103
107
|
border-radius: 0;
|
|
104
108
|
color: $color;
|
|
105
109
|
|
|
106
|
-
@if $line { line-height: $line; }
|
|
110
|
+
@if $line-height { line-height: $line-height; }
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
@mixin btn-primary {
|
|
@@ -116,10 +120,24 @@
|
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
122
|
|
|
123
|
+
@mixin btn-returns {
|
|
124
|
+
@include button-solid(
|
|
125
|
+
$padding: 0.75em,
|
|
126
|
+
$font-size: $font-size-sm
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
119
130
|
@mixin btn-outline-primary {
|
|
120
131
|
@include button-outline;
|
|
121
132
|
}
|
|
122
133
|
|
|
134
|
+
@mixin btn-resale {
|
|
135
|
+
@include button-outline(
|
|
136
|
+
$padding: 0.625em,
|
|
137
|
+
$font-size: $font-size-sm
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
123
141
|
@mixin btn-secondary {
|
|
124
142
|
@include button-solid($c-grey-night);
|
|
125
143
|
}
|
|
@@ -171,8 +189,8 @@
|
|
|
171
189
|
@mixin btn-remove {
|
|
172
190
|
@include button-solid(
|
|
173
191
|
$background: $c-grey-night,
|
|
174
|
-
$padding: 0.
|
|
175
|
-
$line: 1.375);
|
|
192
|
+
$padding: 0.625em,
|
|
193
|
+
$line-height: 1.375);
|
|
176
194
|
}
|
|
177
195
|
|
|
178
196
|
@mixin btn-link {
|
|
@@ -186,7 +204,7 @@
|
|
|
186
204
|
|
|
187
205
|
@mixin btn-video-help {
|
|
188
206
|
@include button-link(
|
|
189
|
-
$padding: 1.
|
|
207
|
+
$padding: 1.25em,
|
|
190
208
|
$background: $c-grey-alpine);
|
|
191
209
|
font-weight: 700;
|
|
192
210
|
text-align: left;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
@mixin table-row($gap: 0.75rem) {
|
|
3
|
+
border-bottom: 1px solid $c-grey-pearl;
|
|
4
|
+
padding-bottom: $gap;
|
|
5
|
+
padding-top: $gap;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin table-link {
|
|
9
|
+
@include focus {
|
|
10
|
+
@include single-box($c-grey-night);
|
|
11
|
+
background-color: $c-grey-night;
|
|
12
|
+
color: $white;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin table-details-row($type:"header") {
|
|
17
|
+
grid-template-columns: auto 10rem 8rem;
|
|
18
|
+
|
|
19
|
+
@if $type == "checkbox" {
|
|
20
|
+
grid-template-columns: 2.75rem auto 10rem 8rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin table-etickets-row {
|
|
25
|
+
grid-template-columns: 10rem auto 8rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@mixin table-gifts-row {
|
|
29
|
+
grid-template-columns: 3fr 5fr 5fr 2fr 2fr;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin table-membership-row {
|
|
33
|
+
grid-template-columns: auto 10rem 10rem 8rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin table-orders-row {
|
|
37
|
+
grid-template-columns: 10rem 8rem auto 8rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin table-preferences-row {
|
|
41
|
+
grid-template-columns: auto repeat(2, 5rem);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin table-tickets-row {
|
|
45
|
+
grid-template-columns: 2fr 5fr 5fr 2fr;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 80 80"
|
|
4
|
+
stroke="#353535"
|
|
5
|
+
height="76"
|
|
6
|
+
width="76"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
class="tick"
|
|
10
|
+
d="M18.9,37.8l14.4,14.4l24.5-24.4"
|
|
11
|
+
fill="none"
|
|
12
|
+
stroke-width="6"
|
|
13
|
+
stroke-miterlimit="10"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
class="outline"
|
|
17
|
+
d="M40,10c-16.6,0-30,13.4-30,30s13.4,30,30,30 s30-13.4,30-30S56.6,10,40,10z"
|
|
18
|
+
fill="none"
|
|
19
|
+
stroke-width="6"
|
|
20
|
+
stroke-miterlimit="10"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg stroke="#353535" fill="#353535" viewBox="0 0 100 80" width="100" height="80">
|
|
3
|
+
<path class="arrow" d="M72.6,45.6L87,60L72.6,74.4V63.6H58.2v-7.2h14.4V45.6z" />
|
|
4
|
+
<path class="outline" d="M79.6,38.4 V13.2C79.6,9,76,9.5,76,9.5L18.6,9.7c0,0-3.5-0.3-3.5,3.5v42.9c0,0-0.7,3.9,3.3,3.9H51" fill="none" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="10" />
|
|
5
|
+
<path class="fold" d="M15.2,14.5l32.3,20.2l32.2-20.2" fill="none" stroke-width="6" stroke-miterlimit="10" />
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
package/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import EventSummary from './components/event_summary'
|
|
2
2
|
import AccountTitle from './components/account_title'
|
|
3
|
-
import Wrap from './components/wrap'
|
|
4
|
-
import Loader from './components/loader'
|
|
5
3
|
import RelatedTitle from './components/related_title'
|
|
6
4
|
import RelatedCard from './components/related_card'
|
|
7
5
|
import RelatedRow from './components/related_row'
|
|
@@ -16,23 +14,27 @@ import HelpRow from './components/help_row'
|
|
|
16
14
|
import VideoContent from './components/video_content'
|
|
17
15
|
import PaymentLogo from './components/payment_logo'
|
|
18
16
|
import SkipLink from './components/skip_link'
|
|
17
|
+
|
|
19
18
|
import BrAlert from './components/br_alert'
|
|
20
|
-
import BrButton from './components/br_button'
|
|
21
19
|
import BrAnchor from './components/br_anchor'
|
|
22
|
-
import
|
|
20
|
+
import BrButton from './components/br_button'
|
|
21
|
+
import BrConfirmDone from './components/br_confirm_done'
|
|
22
|
+
import BrConfirmEmail from './components/br_confirm_email'
|
|
23
23
|
import BrContainer from './components/br_container'
|
|
24
24
|
import BrFormBlock from './components/br_form_block'
|
|
25
|
+
import BrFormRow from './components/br_form_row'
|
|
25
26
|
import BrFormUpdate from './components/br_form_update'
|
|
27
|
+
import BrLoader from './components/br_loader'
|
|
28
|
+
import BrWrap from './components/br_wrap'
|
|
26
29
|
|
|
27
30
|
export {
|
|
28
|
-
|
|
31
|
+
BrLoader,
|
|
29
32
|
BrAlert,
|
|
30
33
|
RelatedTitle,
|
|
31
34
|
RelatedCard,
|
|
32
35
|
RelatedRow,
|
|
33
36
|
TypeText,
|
|
34
37
|
BrContainer,
|
|
35
|
-
Wrap,
|
|
36
38
|
AccountTitle,
|
|
37
39
|
Placeholder,
|
|
38
40
|
BrFormBlock,
|
|
@@ -49,5 +51,8 @@ export {
|
|
|
49
51
|
PaymentLogo,
|
|
50
52
|
SkipLink,
|
|
51
53
|
BrButton,
|
|
52
|
-
BrAnchor
|
|
54
|
+
BrAnchor,
|
|
55
|
+
BrConfirmDone,
|
|
56
|
+
BrConfirmEmail,
|
|
57
|
+
BrWrap
|
|
53
58
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "barbican-reset",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"fonts/*.{woff,woff2}",
|
|
17
17
|
"focus-visible.min.js",
|
|
18
|
+
"animations/**/*",
|
|
18
19
|
"components/**/*",
|
|
19
20
|
"helpers/**/*",
|
|
20
21
|
"icons/**/*",
|
package/scss/_atomic.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
$gaps: "margin-top", "margin-bottom", "min-height", "padding-left", "padding-right";
|
|
3
|
-
$aligns: "left", "center", "right";
|
|
3
|
+
$text-aligns: "left", "center", "right";
|
|
4
|
+
$font-weights: "700", "400";
|
|
5
|
+
$margins05: "margin-top", "margin-bottom", "margin-right", "margin-left";
|
|
6
|
+
$paddings05: "padding-top", "padding-bottom", "padding-right", "padding-left";
|
|
4
7
|
|
|
5
8
|
@each $gap in $gaps {
|
|
6
9
|
@for $i from 1 to 5 {
|
|
@@ -10,26 +13,36 @@ $aligns: "left", "center", "right";
|
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
|
|
13
|
-
@each $align in $aligns {
|
|
16
|
+
@each $align in $text-aligns {
|
|
14
17
|
.text-align-#{$align} {
|
|
15
18
|
text-align: #{$align};
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
@each $weight in $font-weights {
|
|
23
|
+
.font-weight-#{$weight} {
|
|
24
|
+
font-weight: #{$weight};
|
|
25
|
+
}
|
|
21
26
|
}
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
@each $margin in $margins05 {
|
|
29
|
+
.#{$margin}-05 {
|
|
30
|
+
#{$margin}: 0.5rem;
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
@each $padding in $paddings05 {
|
|
35
|
+
.#{$padding}-05 {
|
|
36
|
+
#{$padding}: 0.5rem;
|
|
37
|
+
}
|
|
29
38
|
}
|
|
30
39
|
|
|
31
|
-
.
|
|
32
|
-
|
|
40
|
+
.border-radius-lg {
|
|
41
|
+
border-radius: $border-radius-lg;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.color-orange {
|
|
45
|
+
color: $c-brand-orange;
|
|
33
46
|
}
|
|
34
47
|
|
|
35
48
|
.font-size-lg {
|
|
@@ -50,10 +63,6 @@ $aligns: "left", "center", "right";
|
|
|
50
63
|
margin: 0;
|
|
51
64
|
}
|
|
52
65
|
|
|
53
|
-
.margin-top-05 {
|
|
54
|
-
margin-top: 0.5rem;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
66
|
.margin-top-025 {
|
|
58
67
|
margin-top: 0.25rem;
|
|
59
68
|
}
|
|
@@ -67,5 +76,5 @@ $aligns: "left", "center", "right";
|
|
|
67
76
|
}
|
|
68
77
|
|
|
69
78
|
.background-color-alt {
|
|
70
|
-
background-color: $c-
|
|
79
|
+
background-color: $c-brand-orange-faint;
|
|
71
80
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$offset: 0.875rem;
|
|
2
2
|
$animation-setup: 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
3
3
|
|
|
4
|
-
.card.
|
|
4
|
+
.card.br-loader {
|
|
5
5
|
background-color: transparent;
|
|
6
6
|
border: none;
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ $animation-setup: 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.wrap.
|
|
14
|
+
.wrap.br-loader {
|
|
15
15
|
padding-bottom: 2rem;
|
|
16
16
|
margin-right: auto;
|
|
17
17
|
margin-left: auto;
|
|
@@ -20,7 +20,7 @@ $animation-setup: 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
|
20
20
|
width: 8.5rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.icon.
|
|
23
|
+
.icon.br-loader {
|
|
24
24
|
@include inline-block;
|
|
25
25
|
position: relative;
|
|
26
26
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
.br_wrap {
|
|
3
|
+
max-width: $layout-width-wide;
|
|
4
|
+
margin-right: auto;
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
|
|
7
|
+
&.title {
|
|
8
|
+
max-width: $layout-width-title;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&.videos {
|
|
12
|
+
max-width: $layout-width-videos;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.thin {
|
|
16
|
+
max-width: $layout-width-thin;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/scss/_btn.scss
CHANGED
|
@@ -84,6 +84,16 @@
|
|
|
84
84
|
@include btn-invisible;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
&.btn-returns {
|
|
88
|
+
// solid orange
|
|
89
|
+
@include btn-returns;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.btn-resale {
|
|
93
|
+
// orange outline, fill on focus
|
|
94
|
+
@include btn-resale;
|
|
95
|
+
}
|
|
96
|
+
|
|
87
97
|
// modifyers
|
|
88
98
|
&.expand {
|
|
89
99
|
@include btn-expand;
|
package/scss/_close-icon.scss
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
.custom-checkbox {
|
|
2
2
|
@include checkbox-input;
|
|
3
3
|
|
|
4
|
+
input[table][type="checkbox"] {
|
|
5
|
+
@include inset;
|
|
6
|
+
margin-top: 0.625rem;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: block;
|
|
9
|
+
z-index: 1;
|
|
10
|
+
|
|
11
|
+
+ label {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
4
16
|
&:not(:last-of-type) {
|
|
5
17
|
margin-bottom: 0.5rem;
|
|
6
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.br-form-
|
|
2
|
+
.br-form-row {
|
|
3
3
|
|
|
4
4
|
&:not(:last-of-type) {
|
|
5
5
|
margin-bottom: 1rem;
|
|
@@ -7,11 +7,16 @@
|
|
|
7
7
|
|
|
8
8
|
@include media-breakpoint-up(sm) {
|
|
9
9
|
grid-template-columns: 33fr 67fr;
|
|
10
|
-
align-items: center;
|
|
11
10
|
gap: $gap-account;
|
|
12
11
|
display: grid;
|
|
13
12
|
}
|
|
14
13
|
|
|
14
|
+
> label {
|
|
15
|
+
@include media-breakpoint-up(sm) {
|
|
16
|
+
margin-top: 1rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
label {
|
|
16
21
|
font-weight: normal;
|
|
17
22
|
|
package/scss/_header.scss
CHANGED
package/scss/card/_confirm.scss
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
.card[confirm] {
|
|
3
3
|
@include form-card;
|
|
4
|
-
max-width: 16.25rem;
|
|
5
4
|
margin-right: auto;
|
|
6
5
|
text-align: center;
|
|
7
6
|
margin-left: auto;
|
|
7
|
+
max-width: 20rem;
|
|
8
8
|
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
$gap: 0.625rem;
|
|
10
|
+
|
|
11
|
+
svg {
|
|
12
|
+
margin-bottom: $gap;
|
|
12
13
|
}
|
|
13
|
-
}
|
|
14
14
|
|
|
15
|
-
.card
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
.card-title {
|
|
16
|
+
font-size: $h3-font-size;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
|
|
19
|
+
&.clone {
|
|
20
|
+
margin-top: -2.125rem;
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
18
24
|
|
|
19
|
-
.card
|
|
20
|
-
|
|
25
|
+
.card-text {
|
|
26
|
+
margin-top: $gap;
|
|
27
|
+
}
|
|
21
28
|
}
|
package/scss/index.scss
CHANGED
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
@import "footer";
|
|
11
11
|
@import "klaro";
|
|
12
12
|
@import "fonts";
|
|
13
|
-
@import "
|
|
13
|
+
@import "br-loader";
|
|
14
14
|
@import "close-icon";
|
|
15
15
|
@import "table/index";
|
|
16
16
|
@import "promo";
|
|
17
17
|
@import "alert";
|
|
18
|
-
@import "form-
|
|
18
|
+
@import "form-row";
|
|
19
|
+
@import "br-wrap";
|
|
19
20
|
|
|
20
21
|
// bootstrap component styles
|
|
21
22
|
@import "btn";
|
package/scss/table/_details.scss
CHANGED
|
@@ -22,7 +22,7 @@ table.etickets {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@include media-breakpoint-up($mq) {
|
|
25
|
-
|
|
25
|
+
@include table-etickets-row;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@include media-breakpoint-down($mq) {
|
|
@@ -53,6 +53,6 @@ table.etickets {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
a {
|
|
56
|
-
@include
|
|
56
|
+
@include table-link;
|
|
57
57
|
}
|
|
58
58
|
}
|
package/scss/table/_gifts.scss
CHANGED
package/scss/table/_orders.scss
CHANGED
|
@@ -22,7 +22,7 @@ table.orders {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@include media-breakpoint-up($mq) {
|
|
25
|
-
|
|
25
|
+
@include table-orders-row;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@include media-breakpoint-down($mq) {
|
|
@@ -59,6 +59,6 @@ table.orders {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
a {
|
|
62
|
-
@include
|
|
62
|
+
@include table-link;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
table.resale {
|
|
2
|
+
margin-right: auto;
|
|
3
|
+
margin-left: auto;
|
|
4
|
+
max-width: 11rem;
|
|
5
|
+
|
|
6
|
+
$mq: md;
|
|
7
|
+
|
|
8
|
+
tbody tr {
|
|
9
|
+
border: 1px solid $c-grey-pearl;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
td {
|
|
13
|
+
text-align: left;
|
|
14
|
+
padding: 0.625rem;
|
|
15
|
+
|
|
16
|
+
@include media-breakpoint-up($mq) {
|
|
17
|
+
&:last-of-type {
|
|
18
|
+
text-align: right;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
label {
|
|
24
|
+
font-size: $font-size-lg;
|
|
25
|
+
|
|
26
|
+
@include media-breakpoint-up($mq) {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/scss/table/_tickets.scss
CHANGED
package/scss/table/index.scss
CHANGED
package/components/wrap.vue
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="styleContainer">
|
|
3
|
-
<slot></slot>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
props: {
|
|
10
|
-
title: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: false,
|
|
13
|
-
},
|
|
14
|
-
thin: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false,
|
|
17
|
-
},
|
|
18
|
-
videos: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
computed: {
|
|
24
|
-
styleContainer() {
|
|
25
|
-
const style = this.$style;
|
|
26
|
-
let output = [style.container];
|
|
27
|
-
if (this.title) { output.push(style.title); }
|
|
28
|
-
if (this.thin) { output.push(style.thin); }
|
|
29
|
-
if (this.videos) { output.push(style.videos); }
|
|
30
|
-
return output;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style lang="scss" module>
|
|
37
|
-
|
|
38
|
-
.container {
|
|
39
|
-
max-width: $layout-width-wide;
|
|
40
|
-
margin-right: auto;
|
|
41
|
-
margin-left: auto;
|
|
42
|
-
|
|
43
|
-
&.title {
|
|
44
|
-
max-width: $layout-width-title;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.videos {
|
|
48
|
-
max-width: $layout-width-videos;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.thin {
|
|
52
|
-
max-width: $layout-width-thin;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
</style>
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/// Buttons
|
|
3
|
-
$c-list-btn-default: $white, $c-grey-night, $white;
|
|
4
|
-
$c-list-btn-primary: $white, $c-brand-orange, null, null, $c-brand-orange-dark;
|
|
5
|
-
$c-list-btn-primary-alt: $white, $c-status-neutral;
|
|
6
|
-
$c-list-btn-secondary: $c-brand-orange, $white, $c-brand-orange, $c-brand-orange-dark, $c-brand-orange-light, $c-brand-orange-dark;
|
|
7
|
-
$c-list-btn-secondary-alt: $c-brand-orange, $white, $c-brand-orange, $white, $c-brand-orange;
|
|
8
|
-
$c-list-btn-outline: $c-grey-night, $c-grey-alpine, $c-grey-night, $c-grey-alpine, $c-grey-night;
|
|
9
|
-
$c-list-btn-light: $c-grey-night, $white;
|
|
10
|
-
|
|
11
|
-
$c-list-btn-primary-cinema: $white, $c-brand-cinema, null, null, $c-brand-cinema-dark;
|
|
12
|
-
$c-list-btn-secondary-cinema: $c-brand-cinema, $white, $c-brand-cinema, $c-brand-cinema-dark, $c-status-success-fade, $c-brand-cinema-dark;
|
|
13
|
-
|
|
14
|
-
$c-list-btn-primary-power: $white, $c-power-blue, null, null, $c-power-blue-dark;
|
|
15
|
-
|
|
16
|
-
/// Buttons - specific use
|
|
17
|
-
$c-list-btn-header: $white, transparent;
|
|
18
|
-
|
|
19
|
-
/// Text
|
|
20
|
-
$c-text: $c-grey-night;
|
|
21
|
-
$c-text-secondary: $c-grey-steel;
|
|
22
|
-
$c-text-mark: $white;
|
|
23
|
-
$c-text-mark-bg: $c-grey-night;
|
|
24
|
-
$c-text-hr-bg: $c-grey-concrete;
|
|
25
|
-
|
|
26
|
-
/// Links
|
|
27
|
-
$c-list-link: $c-text, $c-brand-orange;
|
|
28
|
-
$c-list-link-footer: $white, $c-grey-concrete;
|
|
29
|
-
$c-list-link-header: $white, rgba($white, 0.8);
|
|
30
|
-
|
|
31
|
-
/// Borders
|
|
32
|
-
$c-border-faint: $c-grey-pearl;
|
|
33
|
-
$c-border-strong: $c-grey-concrete;
|
|
34
|
-
|
|
35
|
-
/// Page areas
|
|
36
|
-
$c-page-footer: $white;
|
|
37
|
-
$c-page-footer-bg: $c-grey-midnight;
|
|
38
|
-
$c-page-header: $white;
|
|
39
|
-
$c-page-header-bg: $c-brand-orange;
|
|
40
|
-
$c-page-global-content-bg-alt: mix($white, $c-brand-orange, 98%);
|
package/icons/password/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 80" version="1.1" width="100" height="80">
|
|
3
|
-
<path data-arrow d="M72.6,45.6L87,60L72.6,74.4V63.6H58.2v-7.2h14.4V45.6z" />
|
|
4
|
-
<path data-outline d="M79.6,38.4 V13.2C79.6,9,76,9.5,76,9.5L18.6,9.7c0,0-3.5-0.3-3.5,3.5v42.9c0,0-0.7,3.9,3.3,3.9H51" fill="none" stroke-width="7" stroke-linejoin="round" stroke-miterlimit="10" />
|
|
5
|
-
<path data-fold d="M15.2,14.5l32.3,20.2l32.2-20.2" fill="none" stroke-width="6" stroke-miterlimit="10" />
|
|
6
|
-
</svg>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<style lang="scss" scoped>
|
|
10
|
-
|
|
11
|
-
.svg {
|
|
12
|
-
stroke: $c-grey-night;
|
|
13
|
-
fill: $c-grey-night;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
</style>
|
package/icons/password/reset.vue
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
class="reset-success__svg"
|
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="80"
|
|
6
|
-
height="80"
|
|
7
|
-
viewBox="0 0 80 80"
|
|
8
|
-
>
|
|
9
|
-
<path
|
|
10
|
-
class="reset-success__tick"
|
|
11
|
-
d="M18.9,37.8l14.4,14.4l24.5-24.4"
|
|
12
|
-
fill="none"
|
|
13
|
-
stroke-width="7"
|
|
14
|
-
stroke-miterlimit="10"
|
|
15
|
-
/>
|
|
16
|
-
<path
|
|
17
|
-
class="reset-success__outline"
|
|
18
|
-
d="M40,10c-16.6,0-30,13.4-30,30s13.4,30,30,30 s30-13.4,30-30S56.6,10,40,10z"
|
|
19
|
-
fill="none"
|
|
20
|
-
stroke-width="7"
|
|
21
|
-
stroke-miterlimit="10"
|
|
22
|
-
/>
|
|
23
|
-
</svg>
|
|
24
|
-
</template>
|
|
25
|
-
|
|
26
|
-
<style lang="scss" scoped>
|
|
27
|
-
|
|
28
|
-
.reset-success__svg {
|
|
29
|
-
stroke: $c-grey-night;
|
|
30
|
-
margin-bottom: 0.625rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
</style>
|