barbican-reset 1.3.3 → 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.
@@ -129,6 +129,13 @@
129
129
  @include button-solid($c-power-blue);
130
130
  }
131
131
 
132
+ @mixin btn-power-login {
133
+ @include button-solid(
134
+ $background: $white,
135
+ $color: $c-power-blue
136
+ );
137
+ }
138
+
132
139
  @mixin btn-info {
133
140
  @include button-solid($c-status-neutral);
134
141
  }
@@ -195,6 +202,14 @@
195
202
  $color: $white,
196
203
  $background: transparent
197
204
  );
205
+ @include focus {
206
+ &.member {
207
+ color: $c-member;
208
+ }
209
+ &.member-plus {
210
+ color: $c-member-dark;
211
+ }
212
+ }
198
213
  }
199
214
 
200
215
  @mixin btn-video-login {
@@ -204,6 +219,13 @@
204
219
  );
205
220
  }
206
221
 
222
+ @mixin btn-cta {
223
+ @include button-solid(
224
+ $background: $c-grey-night,
225
+ $display: 'flex');
226
+ fill: $white;
227
+ }
228
+
207
229
  @mixin btn-invisible {
208
230
  &, &:focus {
209
231
  background: transparent;
@@ -1,5 +1,7 @@
1
1
  <template>
2
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 7H3.83L9.42 1.41L8 0L0 8L8 16L9.41 14.59L3.83 9H16V7Z" fill="black"/></svg>
2
+ <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M16 7H3.83L9.42 1.41L8 0L0 8L8 16L9.41 14.59L3.83 9H16V7Z" />
4
+ </svg>
3
5
  </template>
4
6
 
5
7
  <script>
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.3",
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/_app.scss CHANGED
@@ -5,9 +5,8 @@
5
5
  display: flex;
6
6
  }
7
7
 
8
- #app.splash {
9
- &.powerDashboard,
10
- &.powerStream {
8
+ #app {
9
+ &.powerSplash {
11
10
  background-position: center -15rem;
12
11
  background-color: $c-power-blue;
13
12
  background-repeat: no-repeat;
@@ -22,13 +21,10 @@
22
21
  }
23
22
  }
24
23
 
25
- &.videos,
26
- &.cinemaDashboard,
27
- &.cinemaStream,
28
- &.concertDashboard,
29
- &.concertStream,
30
- &.theatreDashboard,
31
- &.theatreStream {
24
+ &.videoSplash,
25
+ &.cinemaSplash,
26
+ &.concertSplash,
27
+ &.theatreSplash {
32
28
  background-image: url("/img/videos/splash-bg.jpg");
33
29
  background-color: $c-splash-videos;
34
30
  background-position: center -4rem;
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
  }
package/scss/_btn.scss CHANGED
@@ -60,6 +60,14 @@
60
60
  @include btn-video-login;
61
61
  }
62
62
 
63
+ &.btn-power-login {
64
+ @include btn-power-login;
65
+ }
66
+
67
+ &.btn-cta {
68
+ @include btn-cta;
69
+ }
70
+
63
71
  &.btn-invisible {
64
72
  @include btn-invisible;
65
73
  }
package/scss/_header.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  header {
2
2
  background-color: $c-page-header-bg;
3
3
 
4
- &.splash {
4
+ &.videoSplash, &.powerSplash, &.cinemaSplash, &.concertSplash, &.theatreSplash {
5
5
  display: none;
6
6
  }
7
7
  }
package/scss/_main.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  main {
2
- &.splash {
2
+ &.videoSplash, &.powerSplash, &.cinemaSplash, &.concertSplash, &.theatreSplash {
3
3
  padding-top: 2rem;
4
4
  color: $white;
5
5
 
@@ -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;
package/scss/index.scss CHANGED
@@ -42,6 +42,10 @@ a, a:hover {
42
42
  color: inherit;
43
43
  }
44
44
 
45
- p:last-of-type:not([class^=margin]) {
45
+ p {
46
46
  margin-bottom: 0;
47
+ }
48
+
49
+ p + p {
50
+ margin-top: 1rem;
47
51
  }
@@ -0,0 +1,54 @@
1
+ table.etickets {
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
+ @include media-breakpoint-up($mq) {
21
+ grid-template-columns: 9rem auto 9rem;
22
+ }
23
+
24
+ @include media-breakpoint-down($mq) {
25
+ border-radius: $border-radius-lg;
26
+ }
27
+ }
28
+
29
+ th, td {
30
+ padding: 0.75rem;
31
+
32
+ @include media-breakpoint-up($mq) {
33
+ &:not(:last-of-type) {
34
+ border-right: 1px solid $c-grey-pearl;
35
+ }
36
+
37
+ &:last-of-type {
38
+ text-align: right;
39
+ }
40
+ }
41
+ }
42
+
43
+ label {
44
+ font-size: $font-size-lg;
45
+
46
+ @include media-breakpoint-up($mq) {
47
+ display: none;
48
+ }
49
+ }
50
+
51
+ tbody > div:not(:last-of-type) {
52
+ margin-bottom: 1rem;
53
+ }
54
+ }
@@ -47,4 +47,8 @@ table.orders {
47
47
  display: none;
48
48
  }
49
49
  }
50
+
51
+ tbody > div:not(:last-of-type) {
52
+ margin-bottom: 1rem;
53
+ }
50
54
  }
@@ -5,6 +5,7 @@
5
5
  @import "orders.scss";
6
6
  @import "details.scss";
7
7
  @import "preferences.scss";
8
+ @import "etickets.scss";
8
9
 
9
10
  table {
10
11
  border-spacing: 0;
@@ -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>