barbican-reset 1.2.0 → 1.2.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/card_deck.vue +41 -0
- package/components/form_section.vue +23 -0
- package/components/form_update.vue +32 -0
- package/helpers/mixins/_buttons.scss +28 -20
- package/helpers/mixins/_card.scss +15 -0
- package/helpers/mixins/_content.scss +0 -12
- package/helpers/mixins/_core.scss +0 -7
- package/helpers/mixins/_font.scss +7 -0
- package/helpers/mixins/index.scss +1 -0
- package/icons/password/RequestIcon.vue +16 -0
- package/icons/password/{ResetIcon/index.vue → ResetIcon.vue} +8 -1
- package/index.js +7 -5
- package/package.json +1 -1
- package/scss/_btn.scss +5 -1
- package/scss/_checkbox.scss +4 -0
- package/scss/_form-group.scss +59 -0
- package/scss/_input.scss +1 -4
- package/scss/_klaro.scss +2 -0
- package/scss/_radio.scss +4 -0
- package/scss/card/_confirm.scss +21 -0
- package/scss/card/_login.scss +15 -0
- package/scss/card/_password.scss +8 -0
- package/scss/{_card.scss → card/index.scss} +13 -1
- package/scss/index.scss +6 -4
- package/scss/table/_basket.scss +31 -0
- package/scss/table/_section.scss +12 -0
- package/scss/table/index.scss +2 -43
- package/components/form_row.vue +0 -91
- package/components/login_form.vue +0 -54
- package/icons/password/RequestIcon/index.vue +0 -32
- package/icons/password/RequestIcon/request_icon.scss +0 -5
- package/icons/password/ResetIcon/reset_icon.scss +0 -4
|
@@ -0,0 +1,41 @@
|
|
|
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>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="$style.container">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script type="text/javascript">
|
|
8
|
+
export default {
|
|
9
|
+
name: 'FormSection',
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style lang="scss" module>
|
|
14
|
+
|
|
15
|
+
.container {
|
|
16
|
+
padding: 0.875rem 0.75rem 0.625rem 0.75rem;
|
|
17
|
+
border-left: 0.25rem solid;
|
|
18
|
+
background: $c-grey-alpine;
|
|
19
|
+
margin-bottom: 1rem;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
</style>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
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>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script type="text/javascript">
|
|
9
|
+
export default {
|
|
10
|
+
name: 'FormUpdate',
|
|
11
|
+
}
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<style lang="scss" module>
|
|
15
|
+
|
|
16
|
+
.container {
|
|
17
|
+
grid-template-columns: auto 6rem;
|
|
18
|
+
column-gap: 0.5rem;
|
|
19
|
+
display: grid;
|
|
20
|
+
|
|
21
|
+
@include media-breakpoint-up(sm) {
|
|
22
|
+
column-gap: 1rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.input {
|
|
27
|
+
@include all-text-inputs;
|
|
28
|
+
user-select: none;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
@mixin
|
|
2
|
+
@mixin button-setup {
|
|
3
3
|
-webkit-font-smoothing: antialiased;
|
|
4
4
|
-moz-osx-font-smoothing: grayscale;
|
|
5
5
|
border-radius: $border-radius-lg;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding: 1em;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
@mixin
|
|
14
|
+
@mixin button-display($display:'ib',$gap:1rem) {
|
|
15
15
|
@if $display == 'ib' {
|
|
16
16
|
vertical-align: middle;
|
|
17
17
|
display: inline-block;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
@mixin
|
|
31
|
+
@mixin button-solid(
|
|
32
32
|
$background: $c-brand-orange,
|
|
33
33
|
$color: $white,
|
|
34
34
|
$border: 1px,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
padding: $padding;
|
|
41
41
|
color: $color;
|
|
42
42
|
|
|
43
|
-
@if $display { @include
|
|
43
|
+
@if $display { @include button-display($display, $padding * 0.625); }
|
|
44
44
|
@if $line { line-height: $line; }
|
|
45
45
|
|
|
46
46
|
@include focus {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
@mixin
|
|
54
|
+
@mixin button-outline(
|
|
55
55
|
$color: $c-brand-orange,
|
|
56
56
|
$background: $white,
|
|
57
57
|
$border: 1px,
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
padding: $padding;
|
|
64
64
|
color: $color;
|
|
65
65
|
|
|
66
|
-
@if $display { @include
|
|
66
|
+
@if $display { @include button-display($display, $padding * 0.625); }
|
|
67
67
|
@if $line { line-height: $line; }
|
|
68
68
|
|
|
69
69
|
@include focus {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
@mixin
|
|
76
|
+
@mixin button-link(
|
|
77
77
|
$color: inherit,
|
|
78
78
|
$background: transparent,
|
|
79
79
|
$padding: 0,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@mixin btn-outline-header {
|
|
96
|
-
@include
|
|
96
|
+
@include button-outline(
|
|
97
97
|
$color: $white,
|
|
98
98
|
$background: $c-brand-orange,
|
|
99
99
|
$border: 0.125rem,
|
|
@@ -101,46 +101,47 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@mixin btn-primary {
|
|
104
|
-
@include
|
|
104
|
+
@include button-solid;
|
|
105
|
+
min-width: 8rem;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
@mixin btn-outline-primary {
|
|
108
|
-
@include
|
|
109
|
+
@include button-outline;
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
@mixin btn-secondary {
|
|
112
|
-
@include
|
|
113
|
+
@include button-solid($c-grey-night);
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
@mixin btn-outline-secondary {
|
|
116
|
-
@include
|
|
117
|
+
@include button-outline($c-grey-night);
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
@mixin btn-cinema {
|
|
120
|
-
@include
|
|
121
|
+
@include button-solid($c-brand-cinema);
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
@mixin btn-power {
|
|
124
|
-
@include
|
|
125
|
+
@include button-solid($c-power-blue);
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
@mixin btn-info {
|
|
128
|
-
@include
|
|
129
|
+
@include button-solid($c-status-neutral);
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
@mixin btn-outline-cinema {
|
|
132
|
-
@include
|
|
133
|
+
@include button-outline($c-brand-cinema);
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
@mixin btn-remove {
|
|
136
|
-
@include
|
|
137
|
+
@include button-solid(
|
|
137
138
|
$background: $c-grey-night,
|
|
138
139
|
$padding: 0.625rem,
|
|
139
140
|
$line: 1.375);
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
@mixin btn-link {
|
|
143
|
-
@include
|
|
144
|
+
@include button-link {
|
|
144
145
|
@include single-box($c-grey-night);
|
|
145
146
|
background-color: $c-grey-night;
|
|
146
147
|
color: $white;
|
|
@@ -148,7 +149,7 @@
|
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
@mixin btn-exit {
|
|
151
|
-
@include
|
|
152
|
+
@include button-link {
|
|
152
153
|
@include single-box($c-grey-night);
|
|
153
154
|
background-color: $white;
|
|
154
155
|
border-radius: 50%;
|
|
@@ -174,12 +175,19 @@
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
@mixin btn-membership-card {
|
|
177
|
-
@include
|
|
178
|
+
@include button-outline(
|
|
178
179
|
$color: $white,
|
|
179
180
|
$background: transparent
|
|
180
181
|
);
|
|
181
182
|
}
|
|
182
183
|
|
|
184
|
+
@mixin btn-video-login {
|
|
185
|
+
@include button-solid(
|
|
186
|
+
$background: $white,
|
|
187
|
+
$color: $c-splash-videos
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
183
191
|
@mixin btn-expand {
|
|
184
192
|
display: block;
|
|
185
193
|
}
|
|
@@ -32,18 +32,6 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
// @mixin all-text-inputs {
|
|
36
|
-
// border: solid $border-width $c-border-strong;
|
|
37
|
-
// $background: lighten($c-grey-alpine, 1%);
|
|
38
|
-
// border-radius: $border-radius-sm;
|
|
39
|
-
// background-color: $background;
|
|
40
|
-
// // padding: 0.8rem 0.8rem 0.6rem;
|
|
41
|
-
|
|
42
|
-
// &:focus {
|
|
43
|
-
// background-color: $background;
|
|
44
|
-
// }
|
|
45
|
-
// }
|
|
46
|
-
|
|
47
35
|
@mixin card-container {
|
|
48
36
|
border-radius: $border-radius-lg;
|
|
49
37
|
background-color: $white;
|
|
@@ -8,4 +8,11 @@
|
|
|
8
8
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
9
9
|
-moz-osx-font-smoothing: auto;
|
|
10
10
|
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin all-text-inputs {
|
|
14
|
+
border: solid $border-width $c-border-strong;
|
|
15
|
+
padding: 0.875rem 0.875rem 0.75rem;
|
|
16
|
+
background-color: $c-grey-alpine;
|
|
17
|
+
border-radius: $border-radius-lg;
|
|
11
18
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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/index.js
CHANGED
|
@@ -6,8 +6,6 @@ import EventSummary from './components/event_summary'
|
|
|
6
6
|
import AccountCard from './components/account_card'
|
|
7
7
|
import AccountTitle from './components/account_title'
|
|
8
8
|
import Wrap from './components/wrap'
|
|
9
|
-
import LoginForm from './components/login_form'
|
|
10
|
-
import FormRow from './components/form_row'
|
|
11
9
|
import TableRow from './components/table_row'
|
|
12
10
|
import Banner from './components/banner'
|
|
13
11
|
import Notification from './components/notification'
|
|
@@ -16,6 +14,9 @@ import RelatedTitle from './components/related_title'
|
|
|
16
14
|
import TypeText from './components/type_text'
|
|
17
15
|
import Placeholder from './components/placeholder'
|
|
18
16
|
import Carousel from './components/carousel'
|
|
17
|
+
import CardDeck from './components/card_deck'
|
|
18
|
+
import FormSection from './components/form_section'
|
|
19
|
+
import FormUpdate from './components/form_update'
|
|
19
20
|
|
|
20
21
|
export {
|
|
21
22
|
LoadingAnimation,
|
|
@@ -30,9 +31,10 @@ export {
|
|
|
30
31
|
AccountCard,
|
|
31
32
|
AccountTitle,
|
|
32
33
|
Placeholder,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
FormSection,
|
|
35
|
+
FormUpdate,
|
|
35
36
|
TableRow,
|
|
36
37
|
Block,
|
|
37
|
-
EventSummary
|
|
38
|
+
EventSummary,
|
|
39
|
+
CardDeck
|
|
38
40
|
};
|
package/package.json
CHANGED
package/scss/_btn.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.btn {
|
|
2
|
-
@include
|
|
2
|
+
@include button-setup;
|
|
3
3
|
|
|
4
4
|
&.btn-primary {
|
|
5
5
|
// solid orange
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
@include btn-membership-card;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
&.btn-video-login {
|
|
56
|
+
@include btn-video-login;
|
|
57
|
+
}
|
|
58
|
+
|
|
55
59
|
// modifyers
|
|
56
60
|
&.expand {
|
|
57
61
|
@include btn-expand;
|
package/scss/_checkbox.scss
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
form > .form-group {
|
|
3
|
+
@include media-breakpoint-up(sm) {
|
|
4
|
+
grid-template-columns: 33fr 67fr;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: $gap-account;
|
|
7
|
+
display: grid;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
> div:first-child {
|
|
11
|
+
@include media-breakpoint-up(sm) {
|
|
12
|
+
grid-column: 2 / 3;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.form-group {
|
|
18
|
+
&:not(:last-of-type) {
|
|
19
|
+
margin-bottom: 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
legend {
|
|
23
|
+
padding: 0 !important;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
|
|
26
|
+
@include media-breakpoint-down(sm) {
|
|
27
|
+
margin-bottom: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.form-group[submit] {
|
|
33
|
+
text-align: right;
|
|
34
|
+
|
|
35
|
+
@include media-breakpoint-down(sm) {
|
|
36
|
+
button {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin label-status($content: '(required)') {
|
|
43
|
+
margin-left: 0.375rem;
|
|
44
|
+
display: inline-block;
|
|
45
|
+
content: $content;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.form-group[required] {
|
|
50
|
+
legend::after {
|
|
51
|
+
@include label-status;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.form-group[optional] {
|
|
56
|
+
legend::after {
|
|
57
|
+
@include label-status('(optional)');
|
|
58
|
+
}
|
|
59
|
+
}
|
package/scss/_input.scss
CHANGED
package/scss/_klaro.scss
CHANGED
package/scss/_radio.scss
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
.card[confirm] {
|
|
3
|
+
@include form-card;
|
|
4
|
+
max-width: 16.25rem;
|
|
5
|
+
margin-right: auto;
|
|
6
|
+
text-align: center;
|
|
7
|
+
margin-left: auto;
|
|
8
|
+
|
|
9
|
+
.card-title {
|
|
10
|
+
font-size: $h2-font-size;
|
|
11
|
+
margin-bottom: 1.5rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.card[confirm].request .clone {
|
|
16
|
+
@include clone;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card[confirm].reset .clone {
|
|
20
|
+
@include clone(3.3125);
|
|
21
|
+
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
@import "confirm.scss";
|
|
3
|
+
@import "login.scss";
|
|
4
|
+
@import "password.scss";
|
|
5
|
+
|
|
1
6
|
.card {
|
|
2
7
|
border: 1px solid $c-grey-pearl;
|
|
3
8
|
border-radius: $border-radius-lg;
|
|
@@ -14,7 +19,14 @@
|
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
.card-subtitle {
|
|
17
|
-
|
|
22
|
+
color: $c-grey-steel !important;
|
|
23
|
+
font-size: $font-size-sm;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
margin: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card-body {
|
|
29
|
+
padding: 1.5rem;
|
|
18
30
|
}
|
|
19
31
|
|
|
20
32
|
.card-img {
|
package/scss/index.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// paths more explicit for gulp-sass
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
2
|
+
@import "node_modules/bootstrap/scss/functions";
|
|
3
|
+
@import "node_modules/bootstrap/scss/variables";
|
|
4
|
+
@import "node_modules/bootstrap/scss/mixins";
|
|
5
5
|
@import "../helpers/index.scss";
|
|
6
6
|
|
|
7
7
|
@import "klaro.scss";
|
|
@@ -13,13 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
// bootstrap component styles
|
|
15
15
|
@import "btn.scss";
|
|
16
|
-
@import "card.scss";
|
|
16
|
+
@import "card/index.scss";
|
|
17
17
|
@import "checkbox.scss";
|
|
18
18
|
@import "checkbox-group.scss";
|
|
19
19
|
@import "form.scss";
|
|
20
|
+
@import "form-group.scss";
|
|
20
21
|
@import "list.scss";
|
|
21
22
|
@import "input.scss";
|
|
22
23
|
@import "radio-group.scss";
|
|
24
|
+
@import "radio.scss";
|
|
23
25
|
|
|
24
26
|
// atomic helper styles
|
|
25
27
|
@import "atomic.scss";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
table.basket tr {
|
|
3
|
+
@include table-row;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: 0.75rem;
|
|
7
|
+
|
|
8
|
+
&.promo {
|
|
9
|
+
padding-bottom: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.donation {
|
|
13
|
+
@include basket-row-grid;
|
|
14
|
+
padding-bottom: 1rem;
|
|
15
|
+
padding-top: 1rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.total {
|
|
19
|
+
font-size: $h4-font-size;
|
|
20
|
+
border-bottom: none;
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.continue {
|
|
25
|
+
border-bottom: none;
|
|
26
|
+
|
|
27
|
+
td {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
package/scss/table/index.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
@import "tickets.scss";
|
|
3
|
+
@import "basket.scss";
|
|
4
|
+
@import "section.scss";
|
|
3
5
|
|
|
4
6
|
table {
|
|
5
7
|
border-spacing: 0;
|
|
@@ -8,47 +10,4 @@ table {
|
|
|
8
10
|
|
|
9
11
|
td {
|
|
10
12
|
padding: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
table.basket tr {
|
|
14
|
-
@include table-row;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 0.75rem;
|
|
18
|
-
|
|
19
|
-
&.promo {
|
|
20
|
-
padding-bottom: 1rem;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.donation {
|
|
24
|
-
@include basket-row-grid;
|
|
25
|
-
padding-bottom: 1rem;
|
|
26
|
-
padding-top: 1rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.total {
|
|
30
|
-
font-size: $h4-font-size;
|
|
31
|
-
border-bottom: none;
|
|
32
|
-
font-weight: 700;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.continue {
|
|
36
|
-
border-bottom: none;
|
|
37
|
-
|
|
38
|
-
td {
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
table.section {
|
|
45
|
-
padding-bottom: 0.75rem;
|
|
46
|
-
padding-top: 0.75rem;
|
|
47
|
-
display: block;
|
|
48
|
-
|
|
49
|
-
tr:not(:first-of-type) {
|
|
50
|
-
@include summary-lg {
|
|
51
|
-
margin-left: 0.75rem;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
13
|
}
|
package/components/form_row.vue
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="$style.container">
|
|
3
|
-
<label v-if="label" :for="id">
|
|
4
|
-
<strong>{{ label }}</strong> <span v-if="label && required">(required)</span><span v-if="label && optional">(optional)</span>
|
|
5
|
-
</label>
|
|
6
|
-
<div :class="styleContent">
|
|
7
|
-
<slot />
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script type="text/javascript">
|
|
13
|
-
export default {
|
|
14
|
-
name: 'FormRow',
|
|
15
|
-
props: {
|
|
16
|
-
label: {
|
|
17
|
-
type: String
|
|
18
|
-
},
|
|
19
|
-
id: {
|
|
20
|
-
type: String
|
|
21
|
-
},
|
|
22
|
-
required: {
|
|
23
|
-
type: Boolean
|
|
24
|
-
},
|
|
25
|
-
optional: {
|
|
26
|
-
type: Boolean
|
|
27
|
-
},
|
|
28
|
-
submit: {
|
|
29
|
-
type: Boolean
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
styleContent() {
|
|
34
|
-
const style = this.$style;
|
|
35
|
-
let output = [style.content];
|
|
36
|
-
if (!this.label) { output.push(style.no_label); }
|
|
37
|
-
if (this.submit) { output.push(style.submit); }
|
|
38
|
-
return output;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
<style lang="scss" module>
|
|
45
|
-
|
|
46
|
-
.container {
|
|
47
|
-
|
|
48
|
-
&:not(:last-of-type) {
|
|
49
|
-
margin-bottom: 1rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@include media-breakpoint-up(sm) {
|
|
53
|
-
grid-template-columns: 33fr 67fr;
|
|
54
|
-
align-items: center;
|
|
55
|
-
gap: $gap-account;
|
|
56
|
-
display: grid;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
label {
|
|
60
|
-
font-weight: normal;
|
|
61
|
-
|
|
62
|
-
@include media-breakpoint-down(sm) {
|
|
63
|
-
margin-bottom: 0.5rem;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
input {
|
|
68
|
-
margin: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.content {
|
|
73
|
-
|
|
74
|
-
&.no_label {
|
|
75
|
-
@include media-breakpoint-up(sm) {
|
|
76
|
-
grid-column: 2 / 3;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.submit {
|
|
81
|
-
text-align: right;
|
|
82
|
-
|
|
83
|
-
@include media-breakpoint-down(sm) {
|
|
84
|
-
> button {
|
|
85
|
-
width: 100%;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
</style>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<b-card no-body>
|
|
3
|
-
<div v-if="headerSlot" class="card-header">
|
|
4
|
-
<slot name="header" />
|
|
5
|
-
</div>
|
|
6
|
-
<div v-if="defaultSlot" class="card-body">
|
|
7
|
-
<slot />
|
|
8
|
-
</div>
|
|
9
|
-
<div v-if="footerSlot" class="card-footer">
|
|
10
|
-
<slot name="footer" />
|
|
11
|
-
</div>
|
|
12
|
-
</b-card>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
import { BCard } from 'bootstrap-vue'
|
|
17
|
-
export default {
|
|
18
|
-
name: 'LoginForm',
|
|
19
|
-
components: { BCard },
|
|
20
|
-
computed: {
|
|
21
|
-
headerSlot() {
|
|
22
|
-
return this.$slots.header ? true : false;
|
|
23
|
-
},
|
|
24
|
-
defaultSlot() {
|
|
25
|
-
return this.$slots.default ? true : false;
|
|
26
|
-
},
|
|
27
|
-
footerSlot() {
|
|
28
|
-
return this.$slots.footer ? true : false;
|
|
29
|
-
},
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<style lang="scss" scoped>
|
|
35
|
-
|
|
36
|
-
.card {
|
|
37
|
-
|
|
38
|
-
.card-header {
|
|
39
|
-
padding: 1.5rem 1.75rem 1.25rem;
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
align-items: center;
|
|
42
|
-
display: flex;
|
|
43
|
-
|
|
44
|
-
h1 {
|
|
45
|
-
margin: 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.card-body {
|
|
50
|
-
padding: 1.75rem 1.75rem 1.5rem;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
</style>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
class="request-success__svg"
|
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
viewBox="0 0 100 80"
|
|
6
|
-
version="1.1"
|
|
7
|
-
width="100"
|
|
8
|
-
height="80"
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
class="request-success__arrow"
|
|
12
|
-
d="M72.6,45.6L87,60L72.6,74.4V63.6H58.2v-7.2h14.4V45.6z"
|
|
13
|
-
/>
|
|
14
|
-
<path
|
|
15
|
-
class="request-success__outline"
|
|
16
|
-
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"
|
|
17
|
-
fill="none"
|
|
18
|
-
stroke-width="7"
|
|
19
|
-
stroke-linejoin="round"
|
|
20
|
-
stroke-miterlimit="10"
|
|
21
|
-
/>
|
|
22
|
-
<path
|
|
23
|
-
class="request-success__fold"
|
|
24
|
-
d="M15.2,14.5l32.3,20.2l32.2-20.2"
|
|
25
|
-
fill="none"
|
|
26
|
-
stroke-width="6"
|
|
27
|
-
stroke-miterlimit="10"
|
|
28
|
-
/>
|
|
29
|
-
</svg>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<style src="./request_icon.scss" lang="scss"></style>
|