barbican-reset 1.3.1 → 1.3.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/{display_stream.vue → card_display.vue} +1 -1
- package/components/container.vue +10 -0
- package/components/{loading_animation.vue → loader.vue} +1 -1
- package/components/placeholder.vue +3 -3
- package/helpers/mixins/_buttons.scss +7 -0
- package/index.js +4 -10
- package/package.json +1 -1
- package/scss/_app.scss +38 -0
- package/scss/_btn.scss +4 -0
- package/scss/_card-group.scss +25 -0
- package/scss/_footer.scss +8 -0
- package/scss/_header.scss +7 -0
- package/scss/_main.scss +14 -0
- package/scss/card/_related.scss +4 -0
- package/scss/index.scss +8 -7
- package/scss/table/_etickets.scss +54 -0
- package/scss/table/_orders.scss +4 -0
- package/scss/table/index.scss +1 -0
- package/components/card_deck.vue +0 -41
- package/components/table_row.vue +0 -94
package/components/container.vue
CHANGED
|
@@ -21,6 +21,10 @@ export default {
|
|
|
21
21
|
type: Boolean,
|
|
22
22
|
default: false
|
|
23
23
|
},
|
|
24
|
+
header: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
24
28
|
footer: {
|
|
25
29
|
type: Boolean,
|
|
26
30
|
default: false
|
|
@@ -39,6 +43,7 @@ export default {
|
|
|
39
43
|
let output = [style.inner];
|
|
40
44
|
if (this.masthead) { output.push(style.masthead); }
|
|
41
45
|
if (this.thin) { output.push(style.thin); }
|
|
46
|
+
if (this.header) { output.push(style.header); }
|
|
42
47
|
if (this.footer) { output.push(style.footer); }
|
|
43
48
|
return output;
|
|
44
49
|
}
|
|
@@ -76,6 +81,11 @@ export default {
|
|
|
76
81
|
padding-top: 2.5rem;
|
|
77
82
|
}
|
|
78
83
|
}
|
|
84
|
+
|
|
85
|
+
&.header {
|
|
86
|
+
padding-bottom: 1.875rem;
|
|
87
|
+
padding-top: 1.875rem;
|
|
88
|
+
}
|
|
79
89
|
|
|
80
90
|
&.thin {
|
|
81
91
|
max-width: $layout-width-thin;
|
|
@@ -7,8 +7,8 @@ export default {
|
|
|
7
7
|
name: 'Placeholder',
|
|
8
8
|
props: {
|
|
9
9
|
margin: {
|
|
10
|
-
type:
|
|
11
|
-
default: 0
|
|
10
|
+
type: String,
|
|
11
|
+
default: "0"
|
|
12
12
|
},
|
|
13
13
|
height: {
|
|
14
14
|
type: Number,
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
},
|
|
17
17
|
width: {
|
|
18
18
|
type: String,
|
|
19
|
-
default: 100
|
|
19
|
+
default: "100"
|
|
20
20
|
},
|
|
21
21
|
right: {
|
|
22
22
|
type: Boolean,
|
|
@@ -129,6 +129,13 @@
|
|
|
129
129
|
@include button-solid($c-power-blue);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
@mixin btn-power-login {
|
|
133
|
+
@include button-solid(
|
|
134
|
+
$background: $white,
|
|
135
|
+
$color: $c-power-blue
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
132
139
|
@mixin btn-info {
|
|
133
140
|
@include button-solid($c-status-neutral);
|
|
134
141
|
}
|
package/index.js
CHANGED
|
@@ -5,16 +5,14 @@ import Block from './components/block'
|
|
|
5
5
|
import EventSummary from './components/event_summary'
|
|
6
6
|
import AccountTitle from './components/account_title'
|
|
7
7
|
import Wrap from './components/wrap'
|
|
8
|
-
import TableRow from './components/table_row'
|
|
9
|
-
import Banner from './components/banner'
|
|
10
8
|
import Alert from './components/alert'
|
|
11
|
-
import
|
|
9
|
+
import Loader from './components/loader'
|
|
12
10
|
import RelatedTitle from './components/related_title'
|
|
13
11
|
import RelatedCard from './components/related_card'
|
|
14
12
|
import RelatedRow from './components/related_row'
|
|
15
13
|
import TypeText from './components/type_text'
|
|
16
14
|
import Placeholder from './components/placeholder'
|
|
17
|
-
import
|
|
15
|
+
import CardDisplay from './components/card_display'
|
|
18
16
|
import FormSection from './components/form_section'
|
|
19
17
|
import FormUpdate from './components/form_update'
|
|
20
18
|
import FormGroup from './components/form_group'
|
|
@@ -24,10 +22,9 @@ import FooterLogos from './components/footer_logos'
|
|
|
24
22
|
import FooterLower from './components/footer_lower'
|
|
25
23
|
import FluidIframe from './components/fluid_iframe'
|
|
26
24
|
import HelpRow from './components/help_row'
|
|
27
|
-
import DisplayStream from './components/display_stream'
|
|
28
25
|
|
|
29
26
|
export {
|
|
30
|
-
|
|
27
|
+
Loader,
|
|
31
28
|
Alert,
|
|
32
29
|
RelatedTitle,
|
|
33
30
|
RelatedCard,
|
|
@@ -36,21 +33,18 @@ export {
|
|
|
36
33
|
Container,
|
|
37
34
|
Wrap,
|
|
38
35
|
Card,
|
|
39
|
-
Banner,
|
|
40
36
|
AccountTitle,
|
|
41
37
|
Placeholder,
|
|
42
38
|
FormSection,
|
|
43
39
|
FormUpdate,
|
|
44
40
|
FormGroup,
|
|
45
41
|
RadioGroup,
|
|
46
|
-
TableRow,
|
|
47
42
|
Block,
|
|
48
43
|
EventSummary,
|
|
49
|
-
CardDeck,
|
|
50
44
|
FooterUpper,
|
|
51
45
|
FooterLogos,
|
|
52
46
|
FooterLower,
|
|
53
47
|
FluidIframe,
|
|
54
48
|
HelpRow,
|
|
55
|
-
|
|
49
|
+
CardDisplay,
|
|
56
50
|
};
|
package/package.json
CHANGED
package/scss/_app.scss
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#app {
|
|
2
|
+
flex-direction: column;
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
min-width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#app {
|
|
9
|
+
&.powerSplash {
|
|
10
|
+
background-position: center -15rem;
|
|
11
|
+
background-color: $c-power-blue;
|
|
12
|
+
background-repeat: no-repeat;
|
|
13
|
+
|
|
14
|
+
@include media-breakpoint-up(lg) {
|
|
15
|
+
background-image: url("/img/power/bg.jpg");
|
|
16
|
+
background-size: 36rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include media-breakpoint-up(xxl) {
|
|
20
|
+
background-size: 40rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.videoSplash,
|
|
25
|
+
&.cinemaSplash,
|
|
26
|
+
&.concertSplash,
|
|
27
|
+
&.theatreSplash {
|
|
28
|
+
background-image: url("/img/videos/splash-bg.jpg");
|
|
29
|
+
background-color: $c-splash-videos;
|
|
30
|
+
background-position: center -4rem;
|
|
31
|
+
background-repeat: no-repeat;
|
|
32
|
+
background-size: 72rem;
|
|
33
|
+
|
|
34
|
+
@include media-breakpoint-up(xxl) {
|
|
35
|
+
background-position: center top;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/scss/_btn.scss
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
.card-deck {
|
|
3
|
+
justify-content: center;
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: 2rem;
|
|
6
|
+
|
|
7
|
+
@include media-breakpoint-up(md) {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
grid-auto-flow: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.card {
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
max-width: 20rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.card-title {
|
|
18
|
+
font-size: $h3-font-size;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.card-img {
|
|
22
|
+
border-radius: $border-radius-lg;
|
|
23
|
+
margin-top: 1rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
package/scss/_main.scss
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
main {
|
|
2
|
+
&.videoSplash, &.powerSplash, &.cinemaSplash, &.concertSplash, &.theatreSplash {
|
|
3
|
+
padding-top: 2rem;
|
|
4
|
+
color: $white;
|
|
5
|
+
|
|
6
|
+
@include media-breakpoint-up(md) {
|
|
7
|
+
padding-top: 4rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@include media-breakpoint-up(xxl) {
|
|
11
|
+
padding-top: 10rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/scss/card/_related.scss
CHANGED
package/scss/index.scss
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
@import "node_modules/bootstrap/scss/mixins";
|
|
5
5
|
@import "../helpers/index.scss";
|
|
6
6
|
|
|
7
|
+
@import "app.scss";
|
|
8
|
+
@import "header.scss";
|
|
9
|
+
@import "main.scss";
|
|
10
|
+
@import "footer.scss";
|
|
7
11
|
@import "klaro.scss";
|
|
8
12
|
@import "fonts.scss";
|
|
9
13
|
@import "loading-animation.scss";
|
|
@@ -13,6 +17,7 @@
|
|
|
13
17
|
// bootstrap component styles
|
|
14
18
|
@import "btn.scss";
|
|
15
19
|
@import "card/index.scss";
|
|
20
|
+
@import "card-group.scss";
|
|
16
21
|
@import "checkbox.scss";
|
|
17
22
|
@import "checkbox-group.scss";
|
|
18
23
|
@import "form.scss";
|
|
@@ -37,14 +42,10 @@ a, a:hover {
|
|
|
37
42
|
color: inherit;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
p
|
|
45
|
+
p {
|
|
41
46
|
margin-bottom: 0;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
&:not(.splash) {
|
|
48
|
-
background-color: $c-grey-midnight;
|
|
49
|
-
}
|
|
49
|
+
p + p {
|
|
50
|
+
margin-top: 1rem;
|
|
50
51
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
table.etickets {
|
|
2
|
+
|
|
3
|
+
$mq: md;
|
|
4
|
+
|
|
5
|
+
thead {
|
|
6
|
+
background-color: $c-grey-alpine;
|
|
7
|
+
margin-bottom: 1rem;
|
|
8
|
+
font-weight: 700;
|
|
9
|
+
display: block;
|
|
10
|
+
|
|
11
|
+
@include media-breakpoint-down($mq) {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
tr {
|
|
17
|
+
border: 1px solid $c-grey-pearl;
|
|
18
|
+
display: grid;
|
|
19
|
+
|
|
20
|
+
@include media-breakpoint-up($mq) {
|
|
21
|
+
grid-template-columns: 9rem auto 9rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include media-breakpoint-down($mq) {
|
|
25
|
+
border-radius: $border-radius-lg;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
th, td {
|
|
30
|
+
padding: 0.75rem;
|
|
31
|
+
|
|
32
|
+
@include media-breakpoint-up($mq) {
|
|
33
|
+
&:not(:last-of-type) {
|
|
34
|
+
border-right: 1px solid $c-grey-pearl;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:last-of-type {
|
|
38
|
+
text-align: right;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
label {
|
|
44
|
+
font-size: $font-size-lg;
|
|
45
|
+
|
|
46
|
+
@include media-breakpoint-up($mq) {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
tbody > div:not(:last-of-type) {
|
|
52
|
+
margin-bottom: 1rem;
|
|
53
|
+
}
|
|
54
|
+
}
|
package/scss/table/_orders.scss
CHANGED
package/scss/table/index.scss
CHANGED
package/components/card_deck.vue
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<b-card-group deck>
|
|
3
|
-
<slot />
|
|
4
|
-
</b-card-group>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import { BCard } from 'bootstrap-vue'
|
|
9
|
-
export default {
|
|
10
|
-
name: 'CardDeck',
|
|
11
|
-
components: { BCard },
|
|
12
|
-
}
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<style lang="scss" scoped>
|
|
16
|
-
|
|
17
|
-
.card-deck {
|
|
18
|
-
justify-content: center;
|
|
19
|
-
display: grid;
|
|
20
|
-
gap: 2rem;
|
|
21
|
-
|
|
22
|
-
@include media-breakpoint-up(md) {
|
|
23
|
-
align-items: flex-start;
|
|
24
|
-
grid-auto-flow: column;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.card-deck .card {
|
|
29
|
-
margin-bottom: 0;
|
|
30
|
-
max-width: 20rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.card-deck .card-title {
|
|
34
|
-
font-size: $h3-font-size;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.card-deck .card-text {
|
|
38
|
-
margin-bottom: 1rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
</style>
|
package/components/table_row.vue
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="styleRow" :style="`grid-template-columns: ${columns};`">
|
|
3
|
-
<slot></slot>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'TableRow',
|
|
10
|
-
props: {
|
|
11
|
-
header: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: false
|
|
14
|
-
},
|
|
15
|
-
columns: {
|
|
16
|
-
type: String
|
|
17
|
-
},
|
|
18
|
-
mobile: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
computed: {
|
|
24
|
-
styleRow() {
|
|
25
|
-
if (this.header) {
|
|
26
|
-
if (this.mobile) {
|
|
27
|
-
return this.$style.mobile_header_row;
|
|
28
|
-
} else {
|
|
29
|
-
return this.$style.header_row;
|
|
30
|
-
}
|
|
31
|
-
} else {
|
|
32
|
-
if (this.mobile) {
|
|
33
|
-
return this.$style.mobile_row;
|
|
34
|
-
} else {
|
|
35
|
-
return this.$style.row;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<style lang="scss" module>
|
|
44
|
-
|
|
45
|
-
.row {
|
|
46
|
-
border: 1px solid $input-border-color;
|
|
47
|
-
grid-auto-flow: column;
|
|
48
|
-
margin-top: 0.625rem;
|
|
49
|
-
display: grid;
|
|
50
|
-
|
|
51
|
-
> div {
|
|
52
|
-
padding: 0.5rem 0.75rem;
|
|
53
|
-
|
|
54
|
-
&:not(:last-of-type) {
|
|
55
|
-
border-right: 1px solid $input-border-color;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
> label {
|
|
59
|
-
font-size: $font-size-lg;
|
|
60
|
-
font-weight: 700;
|
|
61
|
-
display: none;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.mobile_row {
|
|
67
|
-
composes: row;
|
|
68
|
-
|
|
69
|
-
@include media-breakpoint-down(md) {
|
|
70
|
-
border-radius: $border-radius-lg;
|
|
71
|
-
display: block;
|
|
72
|
-
|
|
73
|
-
> div:not(:last-of-type) {
|
|
74
|
-
border-right: none;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.header_row {
|
|
80
|
-
composes: row;
|
|
81
|
-
background-color: $c-grey-alpine;
|
|
82
|
-
font-weight: 700;
|
|
83
|
-
margin-top: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.mobile_header_row {
|
|
87
|
-
composes: header_row;
|
|
88
|
-
|
|
89
|
-
@include media-breakpoint-down(md) {
|
|
90
|
-
display: none;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
</style>
|