barbican-reset 1.3.0 → 1.3.4
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} +19 -4
- package/components/container.vue +12 -2
- package/components/{loading_animation.vue → loader.vue} +1 -1
- package/components/placeholder.vue +3 -3
- package/components/wrap.vue +12 -3
- package/helpers/mixins/_buttons.scss +4 -0
- package/helpers/mixins/_content.scss +3 -3
- package/helpers/variables/layout/index.scss +5 -3
- package/index.js +4 -16
- package/package.json +1 -1
- package/scss/_app.scss +42 -0
- package/scss/_atomic.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 +20 -0
- package/scss/index.scss +5 -8
- 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/carousel.vue +0 -116
- package/components/new_carousel.vue +0 -31
- package/components/table_row.vue +0 -94
- package/components/videos_row.vue +0 -41
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="
|
|
2
|
+
<div :class="styleComponent">
|
|
3
3
|
<img :class="$style.image" :src="image">
|
|
4
4
|
<div v-if="expired" :class="$style.title">
|
|
5
5
|
<h4>Expired</h4>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<script>
|
|
11
11
|
export default {
|
|
12
|
-
name: "
|
|
12
|
+
name: "CardDisplay",
|
|
13
13
|
props: {
|
|
14
14
|
image: {
|
|
15
15
|
type: String,
|
|
@@ -18,7 +18,19 @@ export default {
|
|
|
18
18
|
expired: {
|
|
19
19
|
type: Boolean,
|
|
20
20
|
default: false,
|
|
21
|
+
},
|
|
22
|
+
hero: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false,
|
|
21
25
|
}
|
|
26
|
+
},
|
|
27
|
+
computed: {
|
|
28
|
+
styleComponent() {
|
|
29
|
+
const style = this.$style;
|
|
30
|
+
let output = [style.component];
|
|
31
|
+
if (this.hero) { output.push(style.hero); }
|
|
32
|
+
return output;
|
|
33
|
+
},
|
|
22
34
|
}
|
|
23
35
|
}
|
|
24
36
|
</script>
|
|
@@ -26,7 +38,6 @@ export default {
|
|
|
26
38
|
<style lang="scss" module>
|
|
27
39
|
|
|
28
40
|
.component {
|
|
29
|
-
border-radius: $border-radius-lg;
|
|
30
41
|
padding-top: 56.25%;
|
|
31
42
|
position: relative;
|
|
32
43
|
overflow: hidden;
|
|
@@ -40,12 +51,16 @@ export default {
|
|
|
40
51
|
}
|
|
41
52
|
|
|
42
53
|
.title {
|
|
43
|
-
background-color: rgba($c-grey-
|
|
54
|
+
background-color: rgba($c-grey-midnight, 0.85);
|
|
44
55
|
place-items: center;
|
|
45
56
|
position: absolute;
|
|
46
57
|
display: grid;
|
|
47
58
|
inset: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
48
61
|
|
|
62
|
+
.component.hero {
|
|
63
|
+
.title {
|
|
49
64
|
h4 {
|
|
50
65
|
font-size: $h2-font-size;
|
|
51
66
|
}
|
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
|
}
|
|
@@ -64,7 +69,7 @@ export default {
|
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
.inner {
|
|
67
|
-
max-width: $
|
|
72
|
+
max-width: $layout-width-wide;
|
|
68
73
|
margin: 0 auto;
|
|
69
74
|
|
|
70
75
|
&:not(.footer) {
|
|
@@ -76,9 +81,14 @@ 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
|
-
max-width: $
|
|
91
|
+
max-width: $layout-width-thin;
|
|
82
92
|
}
|
|
83
93
|
|
|
84
94
|
&.masthead {
|
|
@@ -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,
|
package/components/wrap.vue
CHANGED
|
@@ -14,6 +14,10 @@ export default {
|
|
|
14
14
|
thin: {
|
|
15
15
|
type: Boolean,
|
|
16
16
|
default: false,
|
|
17
|
+
},
|
|
18
|
+
videos: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: false,
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
computed: {
|
|
@@ -22,6 +26,7 @@ export default {
|
|
|
22
26
|
let output = [style.container];
|
|
23
27
|
if (this.title) { output.push(style.title); }
|
|
24
28
|
if (this.thin) { output.push(style.thin); }
|
|
29
|
+
if (this.videos) { output.push(style.videos); }
|
|
25
30
|
return output;
|
|
26
31
|
}
|
|
27
32
|
}
|
|
@@ -31,16 +36,20 @@ export default {
|
|
|
31
36
|
<style lang="scss" module>
|
|
32
37
|
|
|
33
38
|
.container {
|
|
34
|
-
max-width: $
|
|
39
|
+
max-width: $layout-width-wide;
|
|
35
40
|
margin-right: auto;
|
|
36
41
|
margin-left: auto;
|
|
37
42
|
|
|
38
43
|
&.title {
|
|
39
|
-
|
|
44
|
+
max-width: $layout-width-title;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.videos {
|
|
48
|
+
max-width: $layout-width-videos;
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
&.thin {
|
|
43
|
-
max-width: $
|
|
52
|
+
max-width: $layout-width-thin;
|
|
44
53
|
}
|
|
45
54
|
}
|
|
46
55
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
@mixin content_masthead {
|
|
3
3
|
background-color: white;
|
|
4
4
|
box-shadow: 0 5px 5px rgba(black, 0.1);
|
|
5
|
-
padding: 0 $
|
|
5
|
+
padding: 0 $layout-padding;
|
|
6
6
|
// Required to ensure the box-shadow is visible when div.content-main-content uses a background-color.
|
|
7
7
|
position: relative;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@mixin content_masthead__inner {
|
|
11
|
-
max-width: $
|
|
11
|
+
max-width: $layout-width-wide;
|
|
12
12
|
padding: $space--large * 2 0;
|
|
13
13
|
margin: 0 auto;
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@mixin content-main-content__inner {
|
|
26
|
-
max-width: $
|
|
26
|
+
max-width: $layout-width-wide;
|
|
27
27
|
padding: 1.5rem 0;
|
|
28
28
|
margin: 0 auto;
|
|
29
29
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// Constrained content
|
|
2
|
-
$
|
|
3
|
-
$
|
|
4
|
-
$
|
|
2
|
+
$layout-padding: 5%;
|
|
3
|
+
$layout-width-title: 20rem;
|
|
4
|
+
$layout-width-thin: 50rem;
|
|
5
|
+
$layout-width-videos: 60rem;
|
|
6
|
+
$layout-width-wide: 75rem;
|
|
5
7
|
|
|
6
8
|
$space: 0.625rem;
|
|
7
9
|
// Default large amount of space.
|
package/index.js
CHANGED
|
@@ -5,18 +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
|
|
18
|
-
import NewCarousel from './components/new_carousel'
|
|
19
|
-
import CardDeck from './components/card_deck'
|
|
15
|
+
import CardDisplay from './components/card_display'
|
|
20
16
|
import FormSection from './components/form_section'
|
|
21
17
|
import FormUpdate from './components/form_update'
|
|
22
18
|
import FormGroup from './components/form_group'
|
|
@@ -26,11 +22,9 @@ import FooterLogos from './components/footer_logos'
|
|
|
26
22
|
import FooterLower from './components/footer_lower'
|
|
27
23
|
import FluidIframe from './components/fluid_iframe'
|
|
28
24
|
import HelpRow from './components/help_row'
|
|
29
|
-
import DisplayStream from './components/display_stream'
|
|
30
|
-
import VideosRow from './components/videos_row'
|
|
31
25
|
|
|
32
26
|
export {
|
|
33
|
-
|
|
27
|
+
Loader,
|
|
34
28
|
Alert,
|
|
35
29
|
RelatedTitle,
|
|
36
30
|
RelatedCard,
|
|
@@ -39,24 +33,18 @@ export {
|
|
|
39
33
|
Container,
|
|
40
34
|
Wrap,
|
|
41
35
|
Card,
|
|
42
|
-
Carousel,
|
|
43
|
-
NewCarousel,
|
|
44
|
-
Banner,
|
|
45
36
|
AccountTitle,
|
|
46
37
|
Placeholder,
|
|
47
38
|
FormSection,
|
|
48
39
|
FormUpdate,
|
|
49
40
|
FormGroup,
|
|
50
41
|
RadioGroup,
|
|
51
|
-
TableRow,
|
|
52
42
|
Block,
|
|
53
43
|
EventSummary,
|
|
54
|
-
CardDeck,
|
|
55
44
|
FooterUpper,
|
|
56
45
|
FooterLogos,
|
|
57
46
|
FooterLower,
|
|
58
47
|
FluidIframe,
|
|
59
48
|
HelpRow,
|
|
60
|
-
|
|
61
|
-
VideosRow
|
|
49
|
+
CardDisplay,
|
|
62
50
|
};
|
package/package.json
CHANGED
package/scss/_app.scss
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#app {
|
|
2
|
+
flex-direction: column;
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
min-width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
#app.splash {
|
|
9
|
+
&.powerDashboard,
|
|
10
|
+
&.powerStream {
|
|
11
|
+
background-position: center -15rem;
|
|
12
|
+
background-color: $c-power-blue;
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
|
|
15
|
+
@include media-breakpoint-up(lg) {
|
|
16
|
+
background-image: url("/img/power/bg.jpg");
|
|
17
|
+
background-size: 36rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include media-breakpoint-up(xxl) {
|
|
21
|
+
background-size: 40rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.videos,
|
|
26
|
+
&.cinemaDashboard,
|
|
27
|
+
&.cinemaStream,
|
|
28
|
+
&.concertDashboard,
|
|
29
|
+
&.concertStream,
|
|
30
|
+
&.theatreDashboard,
|
|
31
|
+
&.theatreStream {
|
|
32
|
+
background-image: url("/img/videos/splash-bg.jpg");
|
|
33
|
+
background-color: $c-splash-videos;
|
|
34
|
+
background-position: center -4rem;
|
|
35
|
+
background-repeat: no-repeat;
|
|
36
|
+
background-size: 72rem;
|
|
37
|
+
|
|
38
|
+
@include media-breakpoint-up(xxl) {
|
|
39
|
+
background-position: center top;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
package/scss/_atomic.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
package/scss/card/_related.scss
CHANGED
|
@@ -3,7 +3,27 @@
|
|
|
3
3
|
border: 1px solid $c-grey-pearl;
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
|
|
6
|
+
img {
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.card-title {
|
|
11
|
+
font-size: $font-size-lg;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.card-text:not(:last-child) {
|
|
15
|
+
margin-bottom: 0.5rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card[related][hero=true] {
|
|
20
|
+
|
|
6
21
|
.card-title {
|
|
22
|
+
font-size: $h2-font-size;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.card-text {
|
|
7
26
|
font-size: $font-size-lg;
|
|
8
27
|
}
|
|
28
|
+
|
|
9
29
|
}
|
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";
|
|
@@ -39,12 +44,4 @@ a, a:hover {
|
|
|
39
44
|
|
|
40
45
|
p:last-of-type:not([class^=margin]) {
|
|
41
46
|
margin-bottom: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
footer {
|
|
45
|
-
color: $white;
|
|
46
|
-
|
|
47
|
-
&:not(.splash) {
|
|
48
|
-
background-color: $c-grey-midnight;
|
|
49
|
-
}
|
|
50
47
|
}
|
|
@@ -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/carousel.vue
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="slick-carousel__container">
|
|
3
|
-
<VueSlickCarousel v-bind="settings">
|
|
4
|
-
<slot />
|
|
5
|
-
</VueSlickCarousel>
|
|
6
|
-
</div>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<script>
|
|
10
|
-
import VueSlickCarousel from 'vue-slick-carousel'
|
|
11
|
-
import 'vue-slick-carousel/dist/vue-slick-carousel.css'
|
|
12
|
-
import 'vue-slick-carousel/dist/vue-slick-carousel-theme.css'
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
components: { VueSlickCarousel },
|
|
16
|
-
props: {
|
|
17
|
-
infinite: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: true,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
data() {
|
|
23
|
-
return {
|
|
24
|
-
settings: {
|
|
25
|
-
slidesToScroll: 1,
|
|
26
|
-
slidesToShow: 4,
|
|
27
|
-
infinite: this.infinite,
|
|
28
|
-
arrows: true,
|
|
29
|
-
speed: 500,
|
|
30
|
-
responsive: [
|
|
31
|
-
{
|
|
32
|
-
breakpoint: 1024,
|
|
33
|
-
settings: {
|
|
34
|
-
slidesToShow: 3,
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
breakpoint: 768,
|
|
39
|
-
settings: {
|
|
40
|
-
slidesToShow: 2,
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
</script>
|
|
49
|
-
|
|
50
|
-
<style lang="scss" scoped>
|
|
51
|
-
|
|
52
|
-
.slick {
|
|
53
|
-
&-carousel {
|
|
54
|
-
&__container:hover {
|
|
55
|
-
.slick-arrow {
|
|
56
|
-
opacity: 1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&-arrow {
|
|
61
|
-
margin-top: -1.25rem;
|
|
62
|
-
border-radius: 0;
|
|
63
|
-
height: 2.5rem;
|
|
64
|
-
width: 2.5rem;
|
|
65
|
-
z-index: 2;
|
|
66
|
-
top: 28%;
|
|
67
|
-
|
|
68
|
-
@media only screen and (min-width: 400px) {
|
|
69
|
-
top: 32%;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@include media-breakpoint-up(sm) {
|
|
73
|
-
top: 38%;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&:before {
|
|
77
|
-
font-size: $h1-font-size;
|
|
78
|
-
color: $c-page-footer-bg;
|
|
79
|
-
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&-slide {
|
|
84
|
-
.video-item {
|
|
85
|
-
&__container {
|
|
86
|
-
padding-right: 0.25rem;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
.video-status__wrap {
|
|
90
|
-
opacity: 0.8;
|
|
91
|
-
}
|
|
92
|
-
&:hover {
|
|
93
|
-
.video-status__wrap {
|
|
94
|
-
@include media-breakpoint-up(md) {
|
|
95
|
-
opacity: 1;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&-prev {
|
|
102
|
-
left: -1.25rem;
|
|
103
|
-
@include media-breakpoint-up(lg) {
|
|
104
|
-
left: -3.75rem;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
&-next {
|
|
108
|
-
right: -1.25rem;
|
|
109
|
-
@include media-breakpoint-up(lg) {
|
|
110
|
-
right: -3.75rem;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</style>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="$style.component">
|
|
3
|
-
<slot />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
name: "NewCarousel",
|
|
11
|
-
};
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<style lang="scss" module>
|
|
15
|
-
|
|
16
|
-
.component {
|
|
17
|
-
column-gap: 0.75rem;
|
|
18
|
-
display: grid;
|
|
19
|
-
|
|
20
|
-
@include media-breakpoint-up(sm) {
|
|
21
|
-
grid-template-columns: repeat(2, 1fr);
|
|
22
|
-
}
|
|
23
|
-
@include media-breakpoint-up(md) {
|
|
24
|
-
grid-template-columns: repeat(3, 1fr);
|
|
25
|
-
}
|
|
26
|
-
@include media-breakpoint-up(lg) {
|
|
27
|
-
grid-template-columns: repeat(4, 1fr);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
</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>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<h4 :class="$style.title">{{ title }}</h4>
|
|
4
|
-
<div :class="$style.slider">
|
|
5
|
-
<b-button @click="$emit('back')">back</b-button>
|
|
6
|
-
<new-carousel>
|
|
7
|
-
<slot />
|
|
8
|
-
</new-carousel>
|
|
9
|
-
<b-button @click="$emit('next')">next</b-button>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { NewCarousel, Alert } from '../index'
|
|
16
|
-
export default {
|
|
17
|
-
name: "VideosRow",
|
|
18
|
-
components: { NewCarousel, Alert },
|
|
19
|
-
props: {
|
|
20
|
-
title: {
|
|
21
|
-
type: String
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<style lang="scss" module>
|
|
28
|
-
|
|
29
|
-
.title {
|
|
30
|
-
border-bottom: 1px solid $c-grey-steel;
|
|
31
|
-
margin-bottom: 1.5rem;
|
|
32
|
-
padding-bottom: 1rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.slider {
|
|
36
|
-
align-items: center;
|
|
37
|
-
display: flex;
|
|
38
|
-
gap: 1.5rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
</style>
|