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.
@@ -202,6 +202,14 @@
202
202
  $color: $white,
203
203
  $background: transparent
204
204
  );
205
+ @include focus {
206
+ &.member {
207
+ color: $c-member;
208
+ }
209
+ &.member-plus {
210
+ color: $c-member-dark;
211
+ }
212
+ }
205
213
  }
206
214
 
207
215
  @mixin btn-video-login {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/_atomic.scss CHANGED
@@ -32,6 +32,10 @@ $aligns: "left", "center", "right";
32
32
  font-weight: 700;
33
33
  }
34
34
 
35
+ .font-weight-400 {
36
+ font-weight: 400;
37
+ }
38
+
35
39
  .font-size-lg {
36
40
  font-size: $font-size-lg;
37
41
  }
@@ -3,7 +3,7 @@
3
3
  margin-top: $gap-account;
4
4
  margin-bottom: 0;
5
5
 
6
- .card-body {
6
+ > .card-body {
7
7
  padding: $gap-account;
8
8
  }
9
9
 
@@ -0,0 +1,5 @@
1
+
2
+ .card[block] {
3
+ box-shadow: 0 0 0.625rem rgba($black, 0.1);
4
+ border: none;
5
+ }
@@ -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
+ }
@@ -5,6 +5,8 @@
5
5
  @import "account.scss";
6
6
  @import "video-help.scss";
7
7
  @import "related.scss";
8
+ @import "block.scss";
9
+ @import "membership.scss";
8
10
 
9
11
  .card {
10
12
  border: 1px solid $c-grey-pearl;
@@ -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>
@@ -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>
@@ -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>