barbican-reset 1.3.6 → 1.3.7
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/helpers/mixins/_buttons.scss +8 -0
- package/index.js +0 -4
- package/package.json +1 -1
- package/scss/_atomic.scss +4 -0
- package/scss/card/_account.scss +1 -1
- package/scss/card/_block.scss +5 -0
- package/scss/card/_membership.scss +45 -0
- package/scss/card/index.scss +2 -0
- package/components/banner.vue +0 -19
- package/components/block.vue +0 -30
- package/components/card.vue +0 -59
package/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import Card from './components/card'
|
|
3
2
|
import Container from './components/container'
|
|
4
|
-
import Block from './components/block'
|
|
5
3
|
import EventSummary from './components/event_summary'
|
|
6
4
|
import AccountTitle from './components/account_title'
|
|
7
5
|
import Wrap from './components/wrap'
|
|
@@ -32,14 +30,12 @@ export {
|
|
|
32
30
|
TypeText,
|
|
33
31
|
Container,
|
|
34
32
|
Wrap,
|
|
35
|
-
Card,
|
|
36
33
|
AccountTitle,
|
|
37
34
|
Placeholder,
|
|
38
35
|
FormSection,
|
|
39
36
|
FormUpdate,
|
|
40
37
|
FormGroup,
|
|
41
38
|
RadioGroup,
|
|
42
|
-
Block,
|
|
43
39
|
EventSummary,
|
|
44
40
|
FooterUpper,
|
|
45
41
|
FooterLogos,
|
package/package.json
CHANGED
package/scss/_atomic.scss
CHANGED
package/scss/card/_account.scss
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
$angle: 120deg;
|
|
3
|
+
|
|
4
|
+
.card[membership] {
|
|
5
|
+
box-shadow: 0 0 0.375rem rgba($c-grey-steel, 0.5);
|
|
6
|
+
background: $c-grey-night;
|
|
7
|
+
width: calc(100% - 1rem);
|
|
8
|
+
display: inline-block;
|
|
9
|
+
margin: 0.5rem;
|
|
10
|
+
color: $white;
|
|
11
|
+
border: none;
|
|
12
|
+
|
|
13
|
+
@include media-breakpoint-up(sm) {
|
|
14
|
+
width: 23rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
> .card-body {
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
row-gap: 0.75rem;
|
|
20
|
+
display: grid;
|
|
21
|
+
|
|
22
|
+
@include media-breakpoint-up(sm) {
|
|
23
|
+
row-gap: 2rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.member {
|
|
28
|
+
background-color: $c-member;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.member-plus {
|
|
32
|
+
background-color: $c-member-dark;
|
|
33
|
+
background-image: linear-gradient($angle, $c-member-dark 20%, $c-member 100%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.patron, &.premier-patron {
|
|
37
|
+
background-color: $c-patron;
|
|
38
|
+
background-image: linear-gradient($angle, $c-patron 60%, $c-patron-light 75%, $c-patron 90%);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.principle-patron, &.directors-circle {
|
|
42
|
+
background-color: $c-principle;
|
|
43
|
+
background-image: linear-gradient($angle, $c-principle 60%, $c-principle-light 75%, $c-principle 90%);
|
|
44
|
+
}
|
|
45
|
+
}
|
package/scss/card/index.scss
CHANGED
package/components/banner.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="$style.outer">
|
|
3
|
-
<div :class="$style.inner">
|
|
4
|
-
<slot />
|
|
5
|
-
</div>
|
|
6
|
-
</div>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<style lang="scss" module>
|
|
10
|
-
|
|
11
|
-
.outer {
|
|
12
|
-
@include content_masthead;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.inner {
|
|
16
|
-
@include content_masthead__inner;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
</style>
|
package/components/block.vue
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="styleContainer">
|
|
3
|
-
<slot />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
computed: {
|
|
10
|
-
styleContainer() {
|
|
11
|
-
return this.$style.container;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<style lang="scss" module>
|
|
18
|
-
|
|
19
|
-
@import "../helpers/mixins";
|
|
20
|
-
|
|
21
|
-
.container {
|
|
22
|
-
@include card-container;
|
|
23
|
-
box-shadow: 0 0 0.625rem rgba($black, 0.1);
|
|
24
|
-
|
|
25
|
-
&:not(:last-of-type) {
|
|
26
|
-
margin-bottom: $gap-basket;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
</style>
|
package/components/card.vue
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="styleContainer">
|
|
3
|
-
<slot />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
props: {
|
|
10
|
-
wrap: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: false,
|
|
13
|
-
},
|
|
14
|
-
account: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false,
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
computed: {
|
|
20
|
-
styleContainer() {
|
|
21
|
-
let styles = [this.$style.container];
|
|
22
|
-
if (this.wrap) {
|
|
23
|
-
styles.push(this.$style.wrap);
|
|
24
|
-
}
|
|
25
|
-
if (this.account) {
|
|
26
|
-
styles.push(this.$style.account);
|
|
27
|
-
}
|
|
28
|
-
return styles;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<style lang="scss" module>
|
|
35
|
-
|
|
36
|
-
@import "../helpers/mixins";
|
|
37
|
-
|
|
38
|
-
.container {
|
|
39
|
-
@include card-container;
|
|
40
|
-
border: 1px solid $c-grey-pearl;
|
|
41
|
-
align-content: start;
|
|
42
|
-
display: grid;
|
|
43
|
-
gap: 1.25rem;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.container.wrap {
|
|
47
|
-
background-color: $gray-100;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.container.account {
|
|
51
|
-
padding: $gap-account;
|
|
52
|
-
display: block;
|
|
53
|
-
|
|
54
|
-
&:not(:last-of-type) {
|
|
55
|
-
margin-bottom: $gap-account;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
</style>
|