barbican-reset 2.53.0 → 2.55.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/components/BrCard.vue +48 -4
- package/components/BrCardBody.vue +20 -0
- package/components/BrCardTitle.vue +1 -1
- package/components/BrFormBlock.vue +1 -1
- package/components/BrFormCheckbox/Component.vue +22 -5
- package/components/BrFormCheckboxGroup/Component.vue +13 -9
- package/components/BrFormInput/Component.vue +7 -4
- package/components/BrFormPassword.vue +8 -12
- package/components/BrFormRadio/Component.vue +30 -11
- package/components/BrFormRadioGroup/Component.vue +25 -8
- package/components/BrFormTextarea/Component.vue +5 -5
- package/components/EventSummary.vue +7 -4
- package/css/index.css +333 -175
- package/index.js +16 -7
- package/package.json +1 -1
- package/patterns/scss/styles.scss +1 -2
- package/scss/_atomic.scss +9 -83
- package/scss/_br-button.scss +1 -1
- package/scss/_br-form-row.scss +1 -1
- package/scss/_btn.scss +1 -1
- package/scss/_font.scss +51 -0
- package/scss/_form.scss +3 -3
- package/scss/_klaro.scss +6 -6
- package/scss/_list.scss +0 -1
- package/scss/_table.scss +42 -13
- package/scss/atomic/font-weights.scss +11 -0
- package/scss/atomic/margins.scss +17 -0
- package/scss/atomic/min-heights.scss +9 -0
- package/scss/atomic/paddings.scss +16 -0
- package/scss/atomic/text-aligns.scss +11 -0
- package/scss/card/_account.scss +1 -0
- package/scss/card/_login.scss +1 -2
- package/scss/card/index.scss +5 -95
- package/scss/helpers/mixins/_br-alert.scss +1 -1
- package/scss/helpers/mixins/_br-card.scss +14 -7
- package/scss/helpers/mixins/_buttons.scss +3 -2
- package/scss/helpers/mixins/_headings.scss +1 -1
- package/scss/helpers/mixins/buttons/_setup.scss +3 -14
- package/scss/helpers/mixins/index.scss +0 -1
- package/scss/helpers/mixins/input/_generic.scss +1 -1
- package/scss/helpers/mixins/input/_radio.scss +1 -1
- package/scss/helpers/mixins/input/_select.scss +1 -1
- package/scss/helpers/mixins/table/_basket.scss +8 -9
- package/scss/helpers/mixins/table/_details.scss +1 -1
- package/scss/helpers/mixins/table/_etickets.scss +1 -1
- package/scss/helpers/mixins/table/_gifts.scss +1 -1
- package/scss/helpers/mixins/table/_orders.scss +1 -1
- package/scss/helpers/mixins/table/_preferences.scss +1 -1
- package/scss/helpers/mixins/table/_tickets.scss +1 -1
- package/scss/helpers/variables/_typography.scss +0 -10
- package/scss/index.scss +2 -9
- package/components/BrFormCheckbox/Demo.vue +0 -27
- package/components/BrFormCheckboxGroup/Demo.vue +0 -42
- package/components/BrFormInput/Demo.vue +0 -64
- package/components/BrFormRadio/Demo.vue +0 -33
- package/components/BrFormRadioGroup/Demo.vue +0 -22
- package/components/BrFormTextarea/Demo.vue +0 -22
- package/scss/helpers/mixins/_font.scss +0 -49
package/index.js
CHANGED
|
@@ -1,28 +1,36 @@
|
|
|
1
1
|
import BrAlert from "./components/BrAlert";
|
|
2
2
|
import BrAnchor from "./components/BrAnchor";
|
|
3
3
|
import BrButton from "./components/BrButton";
|
|
4
|
+
|
|
4
5
|
import BrCard from "./components/BrCard";
|
|
6
|
+
import BrCardBody from "./components/BrCardBody";
|
|
5
7
|
import BrCardText from "./components/BrCardText";
|
|
6
8
|
import BrCardTitle from "./components/BrCardTitle";
|
|
7
9
|
import BrCardSubTitle from "./components/BrCardSubTitle";
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
+
|
|
11
|
+
import BrCollapseButton from "./components/BrCollapse/Button";
|
|
12
|
+
import BrCollapseContent from "./components/BrCollapse/Content";
|
|
13
|
+
|
|
10
14
|
import BrConfirmDone from "./components/BrConfirmDone";
|
|
11
15
|
import BrConfirmEmail from "./components/BrConfirmEmail";
|
|
16
|
+
|
|
12
17
|
import BrContainer from "./components/BrContainer";
|
|
18
|
+
|
|
13
19
|
import BrFooterLower from "./components/BrFooterLower";
|
|
14
20
|
import BrFooterUpper from "./components/BrFooterUpper";
|
|
21
|
+
|
|
15
22
|
import BrFormBlock from "./components/BrFormBlock";
|
|
16
23
|
import BrFormCheckbox from "./components/BrFormCheckbox/Component";
|
|
17
24
|
import BrFormCheckboxGroup from "./components/BrFormCheckboxGroup/Component";
|
|
18
|
-
import BrFormGroup from
|
|
19
|
-
import BrFormInput from
|
|
25
|
+
import BrFormGroup from "./components/BrFormGroup/Component";
|
|
26
|
+
import BrFormInput from "./components/BrFormInput/Component";
|
|
20
27
|
import BrFormPassword from "./components/BrFormPassword";
|
|
21
|
-
import BrFormRadio from
|
|
22
|
-
import BrFormRadioGroup from
|
|
28
|
+
import BrFormRadio from "./components/BrFormRadio/Component";
|
|
29
|
+
import BrFormRadioGroup from "./components/BrFormRadioGroup/Component";
|
|
23
30
|
import BrFormRow from "./components/BrFormRow";
|
|
24
|
-
import BrFormTextarea from
|
|
31
|
+
import BrFormTextarea from "./components/BrFormTextarea/Component";
|
|
25
32
|
import BrFormUpdate from "./components/BrFormUpdate";
|
|
33
|
+
|
|
26
34
|
import BrLoader from "./components/BrLoader";
|
|
27
35
|
import BrSkiplink from "./components/BrSkiplink";
|
|
28
36
|
import BrWrap from "./components/BrWrap";
|
|
@@ -38,6 +46,7 @@ export {
|
|
|
38
46
|
BrAnchor,
|
|
39
47
|
BrButton,
|
|
40
48
|
BrCard,
|
|
49
|
+
BrCardBody,
|
|
41
50
|
BrCardSubTitle,
|
|
42
51
|
BrCardText,
|
|
43
52
|
BrCardTitle,
|
package/package.json
CHANGED
package/scss/_atomic.scss
CHANGED
|
@@ -1,66 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/// @group Atomic
|
|
7
|
-
/// Generator for gap classes. Creates 5 variations
|
|
8
|
-
/// @example .margin-top-1, .margin-top-2, .margin-top-3, .margin-top-4, .margin-top-5
|
|
9
|
-
@mixin printGapClasses {
|
|
10
|
-
@each $gap in $gaps {
|
|
11
|
-
@for $i from 1 to 5 {
|
|
12
|
-
.#{$gap}-#{$i} {
|
|
13
|
-
#{$gap}: 1rem * $i;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/// @group Atomic
|
|
20
|
-
/// Generator for text-align classes. Creates 3 variations
|
|
21
|
-
/// @example .text-align-left, .text-align-center, .text-align-right
|
|
22
|
-
@mixin printTextAlignClasses {
|
|
23
|
-
@each $align in $text-aligns {
|
|
24
|
-
.text-align-#{$align} {
|
|
25
|
-
text-align: #{$align};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/// @group Atomic
|
|
31
|
-
/// Generator for margin half classes. Creates 4 variations
|
|
32
|
-
/// @example .margin-top-05, .margin-bottom-05, .margin-right-05, .margin-left-05
|
|
33
|
-
@mixin printMarginClasses {
|
|
34
|
-
@each $margin in $margins05 {
|
|
35
|
-
.#{$margin}-05 {
|
|
36
|
-
#{$margin}: 0.5rem;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/// @group Atomic
|
|
42
|
-
/// Generator for padding half classes. Creates 4 variations
|
|
43
|
-
/// @example .padding-top-05, .padding-bottom-05, .padding-right-05, .padding-left-05
|
|
44
|
-
@mixin printPaddingClasses {
|
|
45
|
-
@each $padding in $paddings05 {
|
|
46
|
-
.#{$padding}-05 {
|
|
47
|
-
#{$padding}: 0.5rem;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@include printGapClasses;
|
|
53
|
-
@include printTextAlignClasses;
|
|
54
|
-
@include printMarginClasses;
|
|
55
|
-
@include printPaddingClasses;
|
|
56
|
-
|
|
57
|
-
.font-weight-700 {
|
|
58
|
-
@include fontfamily-black;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.font-weight-400 {
|
|
62
|
-
@include fontfamily-light;
|
|
63
|
-
}
|
|
1
|
+
@import "atomic/font-weights";
|
|
2
|
+
@import "atomic/margins";
|
|
3
|
+
@import "atomic/min-heights";
|
|
4
|
+
@import "atomic/paddings";
|
|
5
|
+
@import "atomic/text-aligns";
|
|
64
6
|
|
|
65
7
|
.border-radius-lg {
|
|
66
8
|
border-radius: $br-border-radius-lg;
|
|
@@ -84,22 +26,6 @@ $paddings05: 'padding-top', 'padding-bottom', 'padding-right', 'padding-left';
|
|
|
84
26
|
margin: 0;
|
|
85
27
|
}
|
|
86
28
|
|
|
87
|
-
.margin-0 {
|
|
88
|
-
margin: 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.padding-0 {
|
|
92
|
-
padding: 0;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.margin-bottom-0 {
|
|
96
|
-
margin-bottom: 0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.margin-top-025 {
|
|
100
|
-
margin-top: 0.25rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
29
|
.overflow-hidden {
|
|
104
30
|
overflow: hidden;
|
|
105
31
|
}
|
|
@@ -108,14 +34,14 @@ $paddings05: 'padding-top', 'padding-bottom', 'padding-right', 'padding-left';
|
|
|
108
34
|
width: 100%;
|
|
109
35
|
}
|
|
110
36
|
|
|
111
|
-
.background-color-alt {
|
|
112
|
-
background-color: brandColor(generic, tint-95);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
37
|
.min-width-3 {
|
|
116
38
|
min-width: 3rem;
|
|
117
39
|
}
|
|
118
40
|
|
|
41
|
+
.background-color-alt {
|
|
42
|
+
background-color: brandColor(generic, tint-95);
|
|
43
|
+
}
|
|
44
|
+
|
|
119
45
|
/// Class for visually hiding markup, while still allowing screen readers to parse the content
|
|
120
46
|
.sr-only {
|
|
121
47
|
@include sr-only;
|
package/scss/_br-button.scss
CHANGED
package/scss/_br-form-row.scss
CHANGED
package/scss/_btn.scss
CHANGED
package/scss/_font.scss
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
$name: "Supreme";
|
|
2
|
+
$variant: "LLWeb";
|
|
3
|
+
$path: "https://static.barbican.org.uk/systems-public/fonts";
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: $name;
|
|
7
|
+
src: url("#{$path}/#{$name}#{$variant}-Black.woff") format("woff"),
|
|
8
|
+
url("#{$path}/#{$name}#{$variant}-Black.woff2") format("woff2");
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: $name;
|
|
15
|
+
src: url("#{$path}/#{$name}#{$variant}-BlackItalic.woff") format("woff"),
|
|
16
|
+
url("#{$path}/#{$name}#{$variant}-BlackItalic.woff2") format("woff2");
|
|
17
|
+
font-style: italic;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: $name;
|
|
23
|
+
src: url("#{$path}/#{$name}#{$variant}-Regular.woff") format("woff"),
|
|
24
|
+
url("#{$path}/#{$name}#{$variant}-Regular.woff2") format("woff2");
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: bolder;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: $name;
|
|
31
|
+
src: url("#{$path}/#{$name}#{$variant}-Italic.woff") format("woff"),
|
|
32
|
+
url("#{$path}/#{$name}#{$variant}-Italic.woff2") format("woff2");
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-weight: bolder;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: "Supreme";
|
|
39
|
+
src: url("#{$path}/#{$name}#{$variant}-Light.woff") format("woff"),
|
|
40
|
+
url("#{$path}/#{$name}#{$variant}-Light.woff2") format("woff2");
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Supreme";
|
|
47
|
+
src: url("#{$path}/#{$name}#{$variant}-LightItalic.woff") format("woff"),
|
|
48
|
+
url("#{$path}/#{$name}#{$variant}-LightItalic.woff2") format("woff2");
|
|
49
|
+
font-style: italic;
|
|
50
|
+
font-weight: normal;
|
|
51
|
+
}
|
package/scss/_form.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
label {
|
|
2
|
-
|
|
2
|
+
font-weight: bold;
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ label {
|
|
|
9
9
|
p {
|
|
10
10
|
margin-bottom: 0;
|
|
11
11
|
|
|
12
|
-
+
|
|
12
|
+
+p {
|
|
13
13
|
margin-top: 0.5rem;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -17,4 +17,4 @@ label {
|
|
|
17
17
|
&.center {
|
|
18
18
|
text-align: center;
|
|
19
19
|
}
|
|
20
|
-
}
|
|
20
|
+
}
|
package/scss/_klaro.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@mixin cm-button {
|
|
2
|
-
@include fontfamily-black;
|
|
3
|
-
background: $c-grey-l44;
|
|
4
2
|
border-radius: $br-border-radius;
|
|
5
3
|
font-size: $font-size-sm;
|
|
4
|
+
background: $c-grey-l44;
|
|
6
5
|
padding: 0.5em 0.75em;
|
|
7
6
|
margin-right: 1em;
|
|
8
|
-
|
|
7
|
+
font-weight: bold;
|
|
9
8
|
color: $br-white;
|
|
9
|
+
cursor: pointer;
|
|
10
10
|
border: 0;
|
|
11
11
|
|
|
12
12
|
&:focus {
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
span.cm-list-title {
|
|
297
|
-
|
|
297
|
+
font-weight: bold;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
p.purposes {
|
|
@@ -420,14 +420,14 @@
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.cn-learn-more {
|
|
423
|
-
@include fontfamily-black;
|
|
424
423
|
border-radius: $br-border-radius;
|
|
425
424
|
font-size: $font-size-sm;
|
|
426
425
|
background: $c-grey-l44;
|
|
427
426
|
text-decoration: none;
|
|
428
427
|
display: inline-block;
|
|
429
|
-
|
|
428
|
+
font-weight: bold;
|
|
430
429
|
color: $br-white;
|
|
430
|
+
padding: 0.5rem;
|
|
431
431
|
|
|
432
432
|
@include small-down {
|
|
433
433
|
margin-bottom: 1rem;
|
package/scss/_list.scss
CHANGED
package/scss/_table.scss
CHANGED
|
@@ -1,18 +1,48 @@
|
|
|
1
|
-
|
|
2
1
|
table {
|
|
2
|
+
border-collapse: collapse;
|
|
3
3
|
border-spacing: 0;
|
|
4
|
+
text-align: left;
|
|
4
5
|
width: 100%;
|
|
5
6
|
|
|
6
|
-
&.basket {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
&.details
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
&.
|
|
15
|
-
|
|
7
|
+
&.basket {
|
|
8
|
+
@include basket-table;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&.details {
|
|
12
|
+
@include details-table;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.gifts {
|
|
16
|
+
@include gifts-table;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.etickets {
|
|
20
|
+
@include etickets-table;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.details.membership {
|
|
24
|
+
@include membership-table;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.details.simple {
|
|
28
|
+
@include simple-table;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.preferences {
|
|
32
|
+
@include preferences-table;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.resale {
|
|
36
|
+
@include resale-table;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.section {
|
|
40
|
+
@include section-table;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.tickets {
|
|
44
|
+
@include tickets-table;
|
|
45
|
+
}
|
|
16
46
|
}
|
|
17
47
|
|
|
18
48
|
table.orders {
|
|
@@ -28,5 +58,4 @@ tr {
|
|
|
28
58
|
|
|
29
59
|
td {
|
|
30
60
|
padding: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
61
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$margins: 'margin', 'margin-top', 'margin-bottom', 'margin-right', 'margin-left';
|
|
2
|
+
|
|
3
|
+
@mixin printMarginClasses($name, $value) {
|
|
4
|
+
@each $margin in $margins {
|
|
5
|
+
.#{$margin}-#{$name} {
|
|
6
|
+
#{$margin}: #{$value}rem;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@include printMarginClasses("0", 0);
|
|
12
|
+
@include printMarginClasses("025", 0.25);
|
|
13
|
+
@include printMarginClasses("05", 0.5);
|
|
14
|
+
|
|
15
|
+
@for $i from 1 to 5 {
|
|
16
|
+
@include printMarginClasses($i, $i);
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$paddings: 'padding', 'padding-top', 'padding-bottom', 'padding-right', 'padding-left';
|
|
2
|
+
|
|
3
|
+
@mixin printPaddingClasses($name, $value) {
|
|
4
|
+
@each $padding in $paddings {
|
|
5
|
+
.#{$padding}-#{$name} {
|
|
6
|
+
#{$padding}: #{$value}rem;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@include printPaddingClasses("0", 0);
|
|
12
|
+
@include printPaddingClasses("05", 0.5);
|
|
13
|
+
|
|
14
|
+
@for $i from 1 to 5 {
|
|
15
|
+
@include printPaddingClasses($i, $i);
|
|
16
|
+
}
|
package/scss/card/_account.scss
CHANGED
package/scss/card/_login.scss
CHANGED
package/scss/card/index.scss
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
@include br-card-header;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.card-title {
|
|
20
|
+
@include br-card-title;
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
.card-subtitle {
|
|
20
24
|
@include br-card-subtitle;
|
|
21
25
|
}
|
|
@@ -30,98 +34,4 @@
|
|
|
30
34
|
|
|
31
35
|
.card-footer {
|
|
32
36
|
@include br-card-footer;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// legacy code from bootstrap removal ********************
|
|
36
|
-
|
|
37
|
-
// .card {
|
|
38
|
-
// border: 1px solid hsl(0deg, 0%, 85%);
|
|
39
|
-
// background-color: white;
|
|
40
|
-
// background-clip: border-box;
|
|
41
|
-
// border-radius: 0.375rem;
|
|
42
|
-
// flex-direction: column;
|
|
43
|
-
// word-wrap: break-word;
|
|
44
|
-
// position: relative;
|
|
45
|
-
// display: flex;
|
|
46
|
-
// min-width: 0;
|
|
47
|
-
// }
|
|
48
|
-
|
|
49
|
-
// .card[login] .card-header {
|
|
50
|
-
// border-bottom: 1px solid hsl(0deg, 0%, 85%);
|
|
51
|
-
// padding: 1.5rem 1.75rem 1.25rem;
|
|
52
|
-
// justify-content: space-between;
|
|
53
|
-
// background-color: transparent;
|
|
54
|
-
// align-items: center;
|
|
55
|
-
// display: flex;
|
|
56
|
-
// }
|
|
57
|
-
|
|
58
|
-
// .card[login] .card-body {
|
|
59
|
-
// color: rgb(51, 51, 51);
|
|
60
|
-
// padding: 1.75rem;
|
|
61
|
-
// flex: 1 1 auto;
|
|
62
|
-
// }
|
|
63
|
-
|
|
64
|
-
// .card[confirm] {
|
|
65
|
-
// margin-right: auto;
|
|
66
|
-
// text-align: center;
|
|
67
|
-
// margin-left: auto;
|
|
68
|
-
// max-width: 20rem;
|
|
69
|
-
// }
|
|
70
|
-
|
|
71
|
-
// .card[confirm] .card-body {
|
|
72
|
-
// padding: 1.75rem;
|
|
73
|
-
// }
|
|
74
|
-
|
|
75
|
-
// .card[block] {
|
|
76
|
-
// box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
|
|
77
|
-
// border: none;
|
|
78
|
-
// }
|
|
79
|
-
|
|
80
|
-
// .card[slim] .card-body {
|
|
81
|
-
// padding: 1.25rem;
|
|
82
|
-
// }
|
|
83
|
-
|
|
84
|
-
// .card[membership] {
|
|
85
|
-
// box-shadow: 0 0 0.375rem rgba(89, 89, 89, 0.5);
|
|
86
|
-
// background: hsl(0deg, 0%, 20%);
|
|
87
|
-
// width: calc(100% - 1rem);
|
|
88
|
-
// display: inline-block;
|
|
89
|
-
// margin: 0.5rem;
|
|
90
|
-
// color: #fff;
|
|
91
|
-
// border: none;
|
|
92
|
-
// }
|
|
93
|
-
|
|
94
|
-
// .card[membership] > .card-body {
|
|
95
|
-
// align-items: flex-start;
|
|
96
|
-
// row-gap: 0.75rem;
|
|
97
|
-
// display: grid;
|
|
98
|
-
// }
|
|
99
|
-
|
|
100
|
-
// @media only screen and (min-width: 520px) {
|
|
101
|
-
// .card[membership] {
|
|
102
|
-
// width: 23rem;
|
|
103
|
-
// }
|
|
104
|
-
|
|
105
|
-
// .card[membership] > .card-body {
|
|
106
|
-
// row-gap: 2rem;
|
|
107
|
-
// }
|
|
108
|
-
// }
|
|
109
|
-
|
|
110
|
-
// .card[password] .card-header {
|
|
111
|
-
// border-bottom: 1px solid hsl(0deg, 0%, 85%);
|
|
112
|
-
// padding: 1.5rem 1.75rem 1.25rem;
|
|
113
|
-
// background-color: transparent;
|
|
114
|
-
// }
|
|
115
|
-
|
|
116
|
-
// .card[password] .card-body {
|
|
117
|
-
// padding: 1.75rem;
|
|
118
|
-
// }
|
|
119
|
-
|
|
120
|
-
// .card[account] {
|
|
121
|
-
// margin-top: 2rem;
|
|
122
|
-
// margin-bottom: 0;
|
|
123
|
-
// }
|
|
124
|
-
|
|
125
|
-
// .card[account] > .card-body {
|
|
126
|
-
// padding: 2rem;
|
|
127
|
-
// }
|
|
37
|
+
}
|
|
@@ -9,20 +9,32 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@mixin br-card-header {
|
|
12
|
-
border-bottom: 1px solid $c-grey-l87;
|
|
13
12
|
padding: 1.5rem 1.75rem 1.25rem;
|
|
14
13
|
background-color: transparent;
|
|
14
|
+
|
|
15
|
+
&:not(.noborder) {
|
|
16
|
+
border-bottom: 1px solid $c-grey-l87;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin br-card-title {
|
|
21
|
+
margin: 0;
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
@mixin br-card-subtitle {
|
|
18
25
|
color: $c-grey-l44 !important;
|
|
19
26
|
font-size: $font-size-sm;
|
|
20
|
-
font-weight:
|
|
27
|
+
font-weight: normal;
|
|
21
28
|
margin: 0;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
@mixin br-card-body {
|
|
25
32
|
padding: 1.75rem;
|
|
33
|
+
|
|
34
|
+
&.wide {
|
|
35
|
+
padding-right: 0;
|
|
36
|
+
padding-left: 0;
|
|
37
|
+
}
|
|
26
38
|
}
|
|
27
39
|
|
|
28
40
|
@mixin br-card-footer {
|
|
@@ -47,9 +59,4 @@
|
|
|
47
59
|
.card-body {
|
|
48
60
|
@include br-card-body;
|
|
49
61
|
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@mixin br-form-card-title {
|
|
53
|
-
font-size: $h1-font-size;
|
|
54
|
-
margin: 0;
|
|
55
62
|
}
|