barbican-reset 1.2.7 → 1.2.8
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/alert.vue +28 -49
- package/components/event_summary.vue +1 -1
- package/components/footer_logos.vue +30 -0
- package/components/footer_upper.vue +6 -2
- package/components/radio_group.vue +27 -0
- package/helpers/mixins/_buttons.scss +14 -0
- package/icons/.DS_Store +0 -0
- package/icons/account/index.js +6 -6
- package/icons/account/{MembershipIcon.vue → membership.vue} +0 -0
- package/icons/account/{OrdersIcon.vue → orders.vue} +0 -0
- package/icons/account/{PaymentIcon.vue → payment.vue} +0 -0
- package/icons/account/{PersonalIcon.vue → personal.vue} +0 -0
- package/icons/account/{SupportIcon.vue → support.vue} +0 -0
- package/icons/account/{VideoIcon.vue → video.vue} +0 -0
- package/icons/{arrow_icon.vue → arrow.vue} +0 -0
- package/icons/{barbican/index.vue → barbican.vue} +8 -1
- package/icons/index.js +1 -1
- package/icons/password/index.js +2 -2
- package/icons/password/{RequestIcon.vue → request.vue} +0 -0
- package/icons/password/{ResetIcon.vue → reset.vue} +0 -0
- package/icons/power/{AlleyneIcon.vue → alleyne.vue} +0 -0
- package/icons/power/{BanffIcon.vue → banff.vue} +0 -0
- package/icons/power/{CouncilIcon.vue → council.vue} +0 -0
- package/icons/power/index.js +3 -3
- package/icons/snippets/{BarbicanIcon.vue → barbican.vue} +0 -0
- package/icons/snippets/{ContributorIcon.vue → contributor.vue} +0 -0
- package/icons/snippets/index.js +4 -4
- package/icons/snippets/{OtherIcon.vue → other.vue} +0 -0
- package/icons/snippets/{PinIcon.vue → pin.vue} +0 -0
- package/icons/stream/{AirplayIcon.vue → airplay.vue} +0 -0
- package/icons/stream/{CastIcon.vue → cast.vue} +0 -0
- package/icons/stream/{ChatIcon.vue → chat.vue} +0 -0
- package/icons/stream/close.vue +7 -0
- package/icons/stream/{CogIcon.vue → cog.vue} +0 -0
- package/icons/stream/index.js +7 -7
- package/icons/stream/{LiveIcon/index.vue → live.vue} +46 -1
- package/icons/stream/{VolumeIcon.vue → volume.vue} +0 -0
- package/index.js +4 -2
- package/package.json +1 -1
- package/scss/_btn.scss +4 -0
- package/scss/_radio-group.scss +4 -8
- package/scss/card/_account.scss +16 -0
- package/scss/card/index.scss +1 -0
- package/scss/index.scss +8 -1
- package/scss/table/_preferences.scss +73 -0
- package/scss/table/index.scss +1 -0
- package/components/account_card.vue +0 -31
- package/icons/barbican/index.scss +0 -5
- package/icons/stream/LiveIcon/live_icon.scss +0 -42
- package/icons/stream/close_icon.vue +0 -23
- package/scss/_radio.scss +0 -4
package/components/alert.vue
CHANGED
|
@@ -5,18 +5,20 @@
|
|
|
5
5
|
<div :class="$style.title" v-if="title.length > 0 && !toggle">{{ title }}</div>
|
|
6
6
|
<slot />
|
|
7
7
|
</span>
|
|
8
|
-
<button v-if="toggle" :class="
|
|
9
|
-
<close-icon
|
|
10
|
-
</button>
|
|
8
|
+
<b-button v-if="toggle" variant="invisible" :class="styleButton" @click="$emit('close')">
|
|
9
|
+
<close-icon />
|
|
10
|
+
</b-button>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script>
|
|
16
|
+
import { BButton } from 'bootstrap-vue'
|
|
16
17
|
import { CloseIcon } from 'barbican-reset/icons/stream'
|
|
17
18
|
export default {
|
|
18
19
|
name: "Alert",
|
|
19
20
|
components: {
|
|
21
|
+
BButton,
|
|
20
22
|
CloseIcon,
|
|
21
23
|
},
|
|
22
24
|
props: {
|
|
@@ -57,7 +59,6 @@ export default {
|
|
|
57
59
|
styleContainer() {
|
|
58
60
|
let style = this.$style;
|
|
59
61
|
let output = [style.container];
|
|
60
|
-
|
|
61
62
|
if (this.center) { output.push(style.center); }
|
|
62
63
|
if (this.margin) {
|
|
63
64
|
switch (this.margin) {
|
|
@@ -66,35 +67,29 @@ export default {
|
|
|
66
67
|
default: output.push(style.margin_sm); break;
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
|
-
|
|
70
70
|
return output;
|
|
71
71
|
},
|
|
72
72
|
styleWrap() {
|
|
73
73
|
let style = this.$style;
|
|
74
74
|
let output = [style.wrap];
|
|
75
|
-
|
|
76
75
|
if (this.error) { output.push(style.error, 'error'); }
|
|
77
76
|
if (this.success) { output.push(style.success, 'success'); }
|
|
78
77
|
if (this.inline) { output.push(style.inline); }
|
|
79
78
|
if (this.toggle) { output.push(style.toggle); }
|
|
80
|
-
|
|
81
79
|
return output;
|
|
82
80
|
},
|
|
83
81
|
styleSpan() {
|
|
84
82
|
let style = this.$style;
|
|
85
83
|
let output = [];
|
|
86
|
-
|
|
87
84
|
if (this.flex) { output.push(style.flex); }
|
|
88
|
-
|
|
89
85
|
return output;
|
|
90
86
|
},
|
|
91
|
-
|
|
87
|
+
styleButton() {
|
|
92
88
|
let style = this.$style;
|
|
93
|
-
let output = [style.
|
|
94
|
-
|
|
89
|
+
let output = [style.button];
|
|
95
90
|
if (this.error) { output.push(style.error); }
|
|
96
|
-
if (this.success) { output.push(style.success); }
|
|
97
|
-
|
|
91
|
+
else if (this.success) { output.push(style.success); }
|
|
92
|
+
else { output.push(style.neutral); }
|
|
98
93
|
return output;
|
|
99
94
|
}
|
|
100
95
|
}
|
|
@@ -103,29 +98,21 @@ export default {
|
|
|
103
98
|
|
|
104
99
|
<style lang="scss" module>
|
|
105
100
|
|
|
101
|
+
$neutral-colors: $c-status-neutral, $c-status-neutral-fade;
|
|
106
102
|
$success-colors: $c-status-success, $c-status-success-fade;
|
|
107
103
|
$error-colors: $c-status-error, $c-status-error-fade;
|
|
108
104
|
|
|
109
|
-
@mixin icon(
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
path[data-fill] { fill: $fade; }
|
|
114
|
-
path[data-outline],
|
|
115
|
-
path[data-cross] { fill: $color; }
|
|
105
|
+
@mixin icon($color, $fade) {
|
|
106
|
+
[data-fill] { fill: $fade; }
|
|
107
|
+
[data-outline],
|
|
108
|
+
[data-cross] { fill: $color; }
|
|
116
109
|
|
|
117
110
|
@include focus {
|
|
118
|
-
|
|
119
|
-
|
|
111
|
+
[data-fill] { fill: $color; }
|
|
112
|
+
[data-cross] { fill: $fade; }
|
|
120
113
|
}
|
|
121
114
|
}
|
|
122
115
|
|
|
123
|
-
@mixin invisible {
|
|
124
|
-
background: transparent;
|
|
125
|
-
line-height: 1;
|
|
126
|
-
padding: 0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
116
|
.container {
|
|
130
117
|
@include media-breakpoint-down(xs) {
|
|
131
118
|
font-size: $font-size-sm;
|
|
@@ -205,26 +192,6 @@ $error-colors: $c-status-error, $c-status-error-fade;
|
|
|
205
192
|
}
|
|
206
193
|
}
|
|
207
194
|
|
|
208
|
-
.button, .button:focus {
|
|
209
|
-
@include invisible;
|
|
210
|
-
@include focus {
|
|
211
|
-
@include invisible;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.icon {
|
|
216
|
-
@include icon;
|
|
217
|
-
width: 1.375rem;
|
|
218
|
-
|
|
219
|
-
&.error {
|
|
220
|
-
@include icon($error-colors...);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
&.success {
|
|
224
|
-
@include icon($success-colors...);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
195
|
.title {
|
|
229
196
|
margin-bottom: 0.25rem;
|
|
230
197
|
font-weight: 700;
|
|
@@ -235,6 +202,18 @@ $error-colors: $c-status-error, $c-status-error-fade;
|
|
|
235
202
|
display: flex;
|
|
236
203
|
}
|
|
237
204
|
|
|
205
|
+
.button.neutral {
|
|
206
|
+
@include icon($neutral-colors...);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.button.success {
|
|
210
|
+
@include icon($success-colors...);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.button.error {
|
|
214
|
+
@include icon($error-colors...);
|
|
215
|
+
}
|
|
216
|
+
|
|
238
217
|
</style>
|
|
239
218
|
|
|
240
219
|
<style lang="scss" scoped>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="$style.logos">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'FooterLogos'
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style lang="scss" module>
|
|
14
|
+
|
|
15
|
+
.logos {
|
|
16
|
+
margin: -1rem;
|
|
17
|
+
|
|
18
|
+
> * {
|
|
19
|
+
margin: 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
> svg {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
height: 3rem;
|
|
25
|
+
fill: $white;
|
|
26
|
+
width: auto;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
</style>
|
|
@@ -28,8 +28,12 @@ export default {
|
|
|
28
28
|
|
|
29
29
|
.upper {
|
|
30
30
|
padding-top: 3.75rem;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
|
|
32
|
+
@include media-breakpoint-up(md) {
|
|
33
|
+
grid-template-columns: 11rem auto;
|
|
34
|
+
display: grid;
|
|
35
|
+
gap: 1rem;
|
|
36
|
+
}
|
|
33
37
|
|
|
34
38
|
&:not(.splash) {
|
|
35
39
|
padding-bottom: 3.75rem;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="styleGroup">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script type="text/javascript">
|
|
8
|
+
export default {
|
|
9
|
+
name: 'RadioGroup',
|
|
10
|
+
props: {
|
|
11
|
+
error: {
|
|
12
|
+
type: Boolean
|
|
13
|
+
},
|
|
14
|
+
success: {
|
|
15
|
+
type: Boolean
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
computed: {
|
|
19
|
+
styleGroup() {
|
|
20
|
+
let styles = ['radio-group'];
|
|
21
|
+
if (this.error) { styles.push('error'); }
|
|
22
|
+
if (this.success) { styles.push('success'); }
|
|
23
|
+
return styles;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
@@ -188,6 +188,20 @@
|
|
|
188
188
|
);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
@mixin btn-invisible {
|
|
192
|
+
&, &:focus {
|
|
193
|
+
background: transparent;
|
|
194
|
+
line-height: 1;
|
|
195
|
+
padding: 0;
|
|
196
|
+
|
|
197
|
+
@include focus {
|
|
198
|
+
background: transparent;
|
|
199
|
+
line-height: 1;
|
|
200
|
+
padding: 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
191
205
|
@mixin btn-expand {
|
|
192
206
|
display: block;
|
|
193
207
|
}
|
package/icons/.DS_Store
ADDED
|
Binary file
|
package/icons/account/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import PersonalIcon from './
|
|
2
|
-
import MembershipIcon from './
|
|
3
|
-
import VideoIcon from './
|
|
4
|
-
import PaymentIcon from './
|
|
5
|
-
import OrdersIcon from './
|
|
6
|
-
import SupportIcon from './
|
|
1
|
+
import PersonalIcon from './personal'
|
|
2
|
+
import MembershipIcon from './membership'
|
|
3
|
+
import VideoIcon from './video'
|
|
4
|
+
import PaymentIcon from './payment'
|
|
5
|
+
import OrdersIcon from './orders'
|
|
6
|
+
import SupportIcon from './support'
|
|
7
7
|
|
|
8
8
|
export {
|
|
9
9
|
PersonalIcon,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/icons/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BarbicanLogo from './barbican'
|
|
2
2
|
import CityOfLondonLogo from './city_of_london'
|
|
3
3
|
import CityOfLondonLockup from './city_of_london_lockup'
|
|
4
|
-
import ArrowIcon from './
|
|
4
|
+
import ArrowIcon from './arrow'
|
|
5
5
|
import BackArrow from './back_arrow'
|
|
6
6
|
import CartIcon from './cart'
|
|
7
7
|
|
package/icons/password/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/icons/power/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/icons/snippets/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import BarbicanIcon from './
|
|
2
|
-
import ContributorIcon from './
|
|
3
|
-
import OtherIcon from './
|
|
4
|
-
import PinIcon from './
|
|
1
|
+
import BarbicanIcon from './barbican'
|
|
2
|
+
import ContributorIcon from './contributor'
|
|
3
|
+
import OtherIcon from './other'
|
|
4
|
+
import PinIcon from './pin'
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
BarbicanIcon,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="28" viewBox="0 0 20 20">
|
|
3
|
+
<path data-fill fill="#fefbfa" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z" />
|
|
4
|
+
<path data-outline fill="#353535" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z M10,18c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8 S14.4,18,10,18z" />
|
|
5
|
+
<path data-cross fill="#353535" d="M12.6,6L10,8.6L7.4,6L6,7.4L8.6,10L6,12.6L7.4,14l2.6-2.6l2.6,2.6l1.4-1.4L11.4,10L14,7.4L12.6,6z" />
|
|
6
|
+
</svg>
|
|
7
|
+
</template>
|
|
File without changes
|
package/icons/stream/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import AirplayIcon from './
|
|
2
|
-
import CastIcon from './
|
|
3
|
-
import ChatIcon from './
|
|
4
|
-
import CogIcon from './
|
|
5
|
-
import VolumeIcon from './
|
|
6
|
-
import LiveIcon from './
|
|
7
|
-
import CloseIcon from './
|
|
1
|
+
import AirplayIcon from './airplay'
|
|
2
|
+
import CastIcon from './cast'
|
|
3
|
+
import ChatIcon from './chat'
|
|
4
|
+
import CogIcon from './cog'
|
|
5
|
+
import VolumeIcon from './volume'
|
|
6
|
+
import LiveIcon from './live'
|
|
7
|
+
import CloseIcon from './close'
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
AirplayIcon,
|
|
@@ -58,4 +58,49 @@ export default {
|
|
|
58
58
|
};
|
|
59
59
|
</script>
|
|
60
60
|
|
|
61
|
-
<style
|
|
61
|
+
<style lang="scss" scoped>
|
|
62
|
+
|
|
63
|
+
.live-icon {
|
|
64
|
+
&__container {
|
|
65
|
+
background-color: $c-grey-midnight;
|
|
66
|
+
border-radius: $border-radius;
|
|
67
|
+
font-size: $font-size-sm;
|
|
68
|
+
padding: 0.6rem 0.8rem;
|
|
69
|
+
border-color: white;
|
|
70
|
+
position: absolute;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
border: 1px solid;
|
|
73
|
+
color: white;
|
|
74
|
+
right: 1rem;
|
|
75
|
+
top: 1rem;
|
|
76
|
+
|
|
77
|
+
@include media-breakpoint-up(sm) {
|
|
78
|
+
font-size: $font-size-base;
|
|
79
|
+
padding: 0.8rem 1rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include media-breakpoint-up(md) {
|
|
83
|
+
right: 2rem;
|
|
84
|
+
top: 2rem;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__title {
|
|
89
|
+
vertical-align: middle;
|
|
90
|
+
display: inline-block;
|
|
91
|
+
margin-right: 0.5rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__svg {
|
|
95
|
+
vertical-align: middle;
|
|
96
|
+
display: inline-block;
|
|
97
|
+
height: 1.5rem;
|
|
98
|
+
fill: white;
|
|
99
|
+
|
|
100
|
+
@include media-breakpoint-up(sm) {
|
|
101
|
+
height: 1.75rem;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
</style>
|
|
File without changes
|
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import Card from './components/card'
|
|
|
3
3
|
import Container from './components/container'
|
|
4
4
|
import Block from './components/block'
|
|
5
5
|
import EventSummary from './components/event_summary'
|
|
6
|
-
import AccountCard from './components/account_card'
|
|
7
6
|
import AccountTitle from './components/account_title'
|
|
8
7
|
import Wrap from './components/wrap'
|
|
9
8
|
import TableRow from './components/table_row'
|
|
@@ -18,7 +17,9 @@ import CardDeck from './components/card_deck'
|
|
|
18
17
|
import FormSection from './components/form_section'
|
|
19
18
|
import FormUpdate from './components/form_update'
|
|
20
19
|
import FormGroup from './components/form_group'
|
|
20
|
+
import RadioGroup from './components/radio_group'
|
|
21
21
|
import FooterUpper from './components/footer_upper'
|
|
22
|
+
import FooterLogos from './components/footer_logos'
|
|
22
23
|
import FooterLower from './components/footer_lower'
|
|
23
24
|
|
|
24
25
|
export {
|
|
@@ -31,16 +32,17 @@ export {
|
|
|
31
32
|
Card,
|
|
32
33
|
Carousel,
|
|
33
34
|
Banner,
|
|
34
|
-
AccountCard,
|
|
35
35
|
AccountTitle,
|
|
36
36
|
Placeholder,
|
|
37
37
|
FormSection,
|
|
38
38
|
FormUpdate,
|
|
39
39
|
FormGroup,
|
|
40
|
+
RadioGroup,
|
|
40
41
|
TableRow,
|
|
41
42
|
Block,
|
|
42
43
|
EventSummary,
|
|
43
44
|
CardDeck,
|
|
44
45
|
FooterUpper,
|
|
46
|
+
FooterLogos,
|
|
45
47
|
FooterLower
|
|
46
48
|
};
|
package/package.json
CHANGED
package/scss/_btn.scss
CHANGED
package/scss/_radio-group.scss
CHANGED
|
@@ -29,13 +29,8 @@ $margin-radio: 0.25rem;
|
|
|
29
29
|
border: 1px solid $c-status-neutral;
|
|
30
30
|
color: $c-status-neutral;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
&:focus {
|
|
35
|
-
box-shadow: none;
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
|
|
33
|
+
@include focus {
|
|
39
34
|
~ label {
|
|
40
35
|
@include single-box($c-grey-steel, 0.0625rem);
|
|
41
36
|
border: 1px solid $c-grey-steel;
|
|
@@ -59,6 +54,7 @@ $margin-radio: 0.25rem;
|
|
|
59
54
|
border-radius: $border-radius-lg;
|
|
60
55
|
background-color: $white;
|
|
61
56
|
color: $c-grey-night;
|
|
57
|
+
font-weight: 400;
|
|
62
58
|
cursor: pointer;
|
|
63
59
|
}
|
|
64
60
|
}
|
|
@@ -67,7 +63,7 @@ $margin-radio: 0.25rem;
|
|
|
67
63
|
@if $status != 'neutral' {
|
|
68
64
|
.radio-group.#{$status} {
|
|
69
65
|
input[type=radio] {
|
|
70
|
-
|
|
66
|
+
@include focus {
|
|
71
67
|
&:checked ~ label {
|
|
72
68
|
@include single-box(map-get($color, base), 0.0625rem);
|
|
73
69
|
border: 1px solid map-get($color, base);
|
package/scss/card/index.scss
CHANGED
package/scss/index.scss
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
@import "list.scss";
|
|
21
21
|
@import "input.scss";
|
|
22
22
|
@import "radio-group.scss";
|
|
23
|
-
@import "radio.scss";
|
|
24
23
|
|
|
25
24
|
// atomic helper styles
|
|
26
25
|
@import "atomic.scss";
|
|
@@ -41,4 +40,12 @@ a, a:hover {
|
|
|
41
40
|
|
|
42
41
|
p:last-of-type:not([class^=margin]) {
|
|
43
42
|
margin-bottom: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
footer {
|
|
46
|
+
color: $white;
|
|
47
|
+
|
|
48
|
+
&:not(.splash) {
|
|
49
|
+
background-color: $c-grey-midnight;
|
|
50
|
+
}
|
|
44
51
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
table.preferences {
|
|
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
|
+
&:not(:last-of-type) {
|
|
21
|
+
margin-bottom: 1rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include media-breakpoint-up($mq) {
|
|
25
|
+
grid-template-columns: auto repeat(2, 5rem);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@include media-breakpoint-down($mq) {
|
|
29
|
+
border-radius: $border-radius-lg;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
th, td {
|
|
34
|
+
padding: 0.75rem;
|
|
35
|
+
|
|
36
|
+
@include media-breakpoint-up($mq) {
|
|
37
|
+
text-align: center;
|
|
38
|
+
|
|
39
|
+
&:not(:last-of-type) {
|
|
40
|
+
border-right: 1px solid $c-grey-pearl;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:first-of-type {
|
|
44
|
+
text-align: left;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include media-breakpoint-down($mq) {
|
|
49
|
+
&:not(:first-of-type) {
|
|
50
|
+
padding-top: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
label {
|
|
56
|
+
font-size: $font-size-lg;
|
|
57
|
+
|
|
58
|
+
@include media-breakpoint-up($mq) {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.custom-radio {
|
|
64
|
+
@include media-breakpoint-up($mq) {
|
|
65
|
+
margin: 0;
|
|
66
|
+
|
|
67
|
+
input[type=radio] {
|
|
68
|
+
position: relative;
|
|
69
|
+
inset: auto;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
package/scss/table/index.scss
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="$style.container">
|
|
3
|
-
<slot></slot>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'AccountCard'
|
|
10
|
-
}
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<style lang="scss" module>
|
|
14
|
-
|
|
15
|
-
.container {
|
|
16
|
-
border-radius: $border-radius-lg;
|
|
17
|
-
border: 1px solid $c-grey-pearl;
|
|
18
|
-
background-color: $white;
|
|
19
|
-
padding: $gap-account;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
|
|
22
|
-
&:first-of-type {
|
|
23
|
-
margin-top: $gap-account;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:not(:last-of-type) {
|
|
27
|
-
margin-bottom: $gap-account;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
</style>
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.live-icon {
|
|
2
|
-
&__container {
|
|
3
|
-
background-color: $c-grey-midnight;
|
|
4
|
-
border-radius: $border-radius;
|
|
5
|
-
font-size: $font-size-sm;
|
|
6
|
-
padding: 0.6rem 0.8rem;
|
|
7
|
-
border-color: white;
|
|
8
|
-
position: absolute;
|
|
9
|
-
font-weight: bold;
|
|
10
|
-
border: 1px solid;
|
|
11
|
-
color: white;
|
|
12
|
-
right: 1rem;
|
|
13
|
-
top: 1rem;
|
|
14
|
-
|
|
15
|
-
@include media-breakpoint-up(sm) {
|
|
16
|
-
font-size: $font-size-base;
|
|
17
|
-
padding: 0.8rem 1rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@include media-breakpoint-up(md) {
|
|
21
|
-
right: 2rem;
|
|
22
|
-
top: 2rem;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__title {
|
|
27
|
-
vertical-align: middle;
|
|
28
|
-
display: inline-block;
|
|
29
|
-
margin-right: 0.5rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__svg {
|
|
33
|
-
vertical-align: middle;
|
|
34
|
-
display: inline-block;
|
|
35
|
-
height: 1.5rem;
|
|
36
|
-
fill: white;
|
|
37
|
-
|
|
38
|
-
@include media-breakpoint-up(sm) {
|
|
39
|
-
height: 1.75rem;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg viewBox="0 0 20 20">
|
|
3
|
-
<path class="fill" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z" />
|
|
4
|
-
<path class="outline" d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z M10,18c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8 S14.4,18,10,18z" />
|
|
5
|
-
<path class="cross" d="M12.6,6L10,8.6L7.4,6L6,7.4L8.6,10L6,12.6L7.4,14l2.6-2.6l2.6,2.6l1.4-1.4L11.4,10L14,7.4L12.6,6z" />
|
|
6
|
-
</svg>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<style lang="scss" scoped>
|
|
10
|
-
|
|
11
|
-
svg {
|
|
12
|
-
width: 1.875rem;
|
|
13
|
-
|
|
14
|
-
path.outline, path.cross {
|
|
15
|
-
fill: $c-grey-night;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
path.fill {
|
|
19
|
-
fill: $c-page-global-content-bg-alt;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
</style>
|
package/scss/_radio.scss
DELETED