barbican-reset 1.3.2 → 1.3.6

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.
@@ -7,8 +7,8 @@ export default {
7
7
  name: 'Placeholder',
8
8
  props: {
9
9
  margin: {
10
- type: Number,
11
- default: 0
10
+ type: String,
11
+ default: "0"
12
12
  },
13
13
  height: {
14
14
  type: Number,
@@ -16,7 +16,7 @@ export default {
16
16
  },
17
17
  width: {
18
18
  type: String,
19
- default: 100
19
+ default: "100"
20
20
  },
21
21
  right: {
22
22
  type: Boolean,
@@ -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
  }
@@ -204,6 +211,13 @@
204
211
  );
205
212
  }
206
213
 
214
+ @mixin btn-cta {
215
+ @include button-solid(
216
+ $background: $c-grey-night,
217
+ $display: 'flex');
218
+ fill: $white;
219
+ }
220
+
207
221
  @mixin btn-invisible {
208
222
  &, &:focus {
209
223
  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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.3.2",
3
+ "version": "1.3.6",
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/_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
 
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;