barbican-reset 1.7.0 → 1.7.1

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.
Files changed (45) hide show
  1. package/components/br_container.vue +2 -2
  2. package/components/br_footer/lower.vue +11 -0
  3. package/components/br_footer/upper.vue +17 -0
  4. package/components/footer_logos.vue +1 -0
  5. package/helpers/mixins/_br-alert.scss +99 -0
  6. package/helpers/mixins/_br-footer.scss +27 -0
  7. package/helpers/mixins/_br-form-row.scss +29 -0
  8. package/helpers/mixins/_card.scss +46 -2
  9. package/helpers/mixins/_content.scss +3 -3
  10. package/helpers/mixins/_table.scss +29 -28
  11. package/helpers/mixins/index.scss +3 -0
  12. package/helpers/mixins/input/_generic.scss +1 -0
  13. package/helpers/mixins/table/_basket.scss +33 -0
  14. package/{scss → helpers/mixins}/table/_details.scss +2 -3
  15. package/{scss → helpers/mixins}/table/_etickets.scss +2 -2
  16. package/{scss → helpers/mixins}/table/_gifts.scss +2 -2
  17. package/helpers/mixins/table/_membership.scss +8 -0
  18. package/{scss → helpers/mixins}/table/_orders.scss +2 -12
  19. package/{scss → helpers/mixins}/table/_preferences.scss +2 -2
  20. package/{scss → helpers/mixins}/table/_resale.scss +2 -1
  21. package/{scss → helpers/mixins}/table/_section.scss +1 -1
  22. package/{scss → helpers/mixins}/table/_tickets.scss +2 -2
  23. package/helpers/variables/_alerts.scss +7 -0
  24. package/helpers/variables/_layout.scss +3 -6
  25. package/helpers/variables/_typography.scss +0 -4
  26. package/helpers/variables/colors/_brand.scss +1 -0
  27. package/helpers/variables/index.scss +1 -0
  28. package/index.js +2 -2
  29. package/package.json +1 -1
  30. package/scss/_br-alert.scss +49 -0
  31. package/scss/_br-footer.scss +8 -0
  32. package/scss/{_form-row.scss → _br-form-row.scss} +1 -25
  33. package/scss/_br-wrap.scss +3 -3
  34. package/scss/_fonts.scss +11 -9
  35. package/scss/_input.scss +1 -1
  36. package/scss/_list.scss +1 -1
  37. package/scss/_table.scss +25 -0
  38. package/scss/card/index.scss +6 -21
  39. package/scss/index.scss +7 -5
  40. package/components/footer_lower.vue +0 -20
  41. package/components/footer_upper.vue +0 -51
  42. package/scss/_alert.scss +0 -132
  43. package/scss/table/_basket.scss +0 -31
  44. package/scss/table/_membership.scss +0 -6
  45. package/scss/table/index.scss +0 -20
@@ -70,7 +70,7 @@ export default {
70
70
  }
71
71
 
72
72
  .inner {
73
- max-width: $layout-width-wide;
73
+ max-width: $layout-width-lg;
74
74
  margin: 0 auto;
75
75
 
76
76
  &:not(.footer) {
@@ -89,7 +89,7 @@ export default {
89
89
  }
90
90
 
91
91
  &.thin {
92
- max-width: $layout-width-thin;
92
+ max-width: $layout-width-sm;
93
93
  }
94
94
 
95
95
  &.masthead {
@@ -0,0 +1,11 @@
1
+ <template>
2
+ <div class="br-footer-lower">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ name: 'BrFooterLower'
10
+ }
11
+ </script>
@@ -0,0 +1,17 @@
1
+ <template>
2
+ <div :class="[`br-footer-upper`, { splash }]">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ name: 'BrFooterUpper',
10
+ props: {
11
+ splash: {
12
+ type: Boolean,
13
+ default: false
14
+ }
15
+ }
16
+ }
17
+ </script>
@@ -5,6 +5,7 @@
5
5
  </template>
6
6
 
7
7
  <script>
8
+ // dont think we need this any longer
8
9
  export default {
9
10
  name: 'FooterLogos'
10
11
  }
@@ -0,0 +1,99 @@
1
+
2
+ @mixin br-alert-wrap--setup {
3
+ border-radius: $border-radius-lg;
4
+ border-width: $border-width;
5
+ padding: 0.75rem 0.875rem;
6
+ border-style: solid;
7
+ }
8
+
9
+ @mixin br-alert-wrap--colors($main, $fade, $light) {
10
+ background-color: $fade;
11
+ border-color: $light;
12
+ color: $main;
13
+ }
14
+
15
+ @mixin br-alert-wrap--toggle {
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ display: flex;
19
+ gap: 0.625rem;
20
+
21
+ &.inline {
22
+ display: inline-flex;
23
+ }
24
+ }
25
+
26
+ @mixin br-alert-link($main, $fade) {
27
+ @include focus {
28
+ @include single-box($main);
29
+ background-color: $main;
30
+ color: $fade;
31
+ }
32
+ }
33
+
34
+ @mixin br-alert-exit($main, $fade) {
35
+ path.cross {
36
+ fill: $main;
37
+ }
38
+ path.tint {
39
+ fill: $fade;
40
+ }
41
+
42
+ @include focus {
43
+ outline-color: $main;
44
+
45
+ path.cross {
46
+ fill: $fade;
47
+ }
48
+ path.tint {
49
+ fill: $main;
50
+ }
51
+ }
52
+ }
53
+
54
+ @mixin br-alert--center {
55
+ text-align: center;
56
+
57
+ .wrap {
58
+ justify-content: center;
59
+ }
60
+ }
61
+
62
+ @mixin br-alert--title {
63
+ margin-bottom: 0.25rem;
64
+ font-weight: 700;
65
+ }
66
+
67
+ @mixin br-alert--flex {
68
+ justify-content: space-between;
69
+ display: flex;
70
+ }
71
+
72
+ @mixin br-alert--setup {
73
+ @include media-breakpoint-down(xs) {
74
+ font-size: $font-size-sm;
75
+ }
76
+
77
+ .title {
78
+ @include br-alert--title;
79
+ }
80
+
81
+ .flex {
82
+ @include br-alert--flex;
83
+ }
84
+
85
+ .btn.btn-exit {
86
+
87
+ &.error {
88
+ @include br-alert-exit($error_focus...);
89
+ }
90
+
91
+ &.success {
92
+ @include br-alert-exit($success_focus...);
93
+ }
94
+
95
+ &.neutral {
96
+ @include br-alert-exit($neutral_focus...);
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,27 @@
1
+
2
+ @mixin br-footer-upper {
3
+ padding-top: 3.75rem;
4
+ display: grid;
5
+ gap: 1rem;
6
+
7
+ @include media-breakpoint-up(md) {
8
+ grid-template-columns: 11rem auto;
9
+ }
10
+
11
+ &:not(.splash) {
12
+ padding-bottom: 3.75rem;
13
+ }
14
+
15
+ nav a {
16
+ @include focus {
17
+ @include single-box($white);
18
+ background-color: $white;
19
+ color: $black;
20
+ }
21
+ }
22
+ }
23
+
24
+ @mixin br-footer-lower {
25
+ padding-bottom: 1.875rem;
26
+ padding-top: 1.875rem;
27
+ }
@@ -0,0 +1,29 @@
1
+
2
+ @mixin br-form-row {
3
+ &:not(:last-of-type) {
4
+ margin-bottom: 1rem;
5
+ }
6
+
7
+ @include media-breakpoint-up(sm) {
8
+ grid-template-columns: 33fr 67fr;
9
+ gap: $gap-account;
10
+ display: grid;
11
+ }
12
+
13
+ > label {
14
+ @include media-breakpoint-up(sm) {
15
+ margin-top: 1rem;
16
+ }
17
+ }
18
+
19
+ label {
20
+ @include media-breakpoint-down(sm) {
21
+ margin-bottom: 0.5rem;
22
+ }
23
+ }
24
+
25
+ input {
26
+ width: 100%;
27
+ margin: 0;
28
+ }
29
+ }
@@ -1,9 +1,53 @@
1
1
 
2
+ @mixin card {
3
+ border: 1px solid $c-grey-pearl;
4
+ border-radius: $border-radius-lg;
5
+ background-color: white;
6
+
7
+ &:not(:first-child) {
8
+ margin-top: 1.25rem;
9
+ }
10
+ }
11
+
12
+ @mixin card-header {
13
+ border-bottom: 1px solid $c-grey-pearl;
14
+ padding: 1.5rem 1.75rem 1.25rem;
15
+ background-color: transparent;
16
+ }
17
+
18
+ @mixin card-subtitle {
19
+ color: $c-grey-steel !important;
20
+ font-size: $font-size-sm;
21
+ font-weight: 400;
22
+ margin: 0;
23
+ }
24
+
25
+ @mixin card-body {
26
+ padding: 1.75rem 1.75rem 1.5rem;
27
+ // padding: 1.5rem;
28
+ }
29
+
30
+ @mixin card-footer {
31
+ padding: 1rem;
32
+
33
+ @include media-breakpoint-up(md) {
34
+ border-top: 1px solid $c-grey-concrete;
35
+ }
36
+ }
37
+
38
+ @mixin card-img {
39
+ border: 1px solid $c-grey-concrete;
40
+ margin-bottom: 1rem;
41
+ max-width: 100%;
42
+ }
43
+
2
44
  @mixin form-card {
3
45
  .card-header {
4
- padding: 1.5rem 1.75rem 1.25rem;
46
+ @include card-header;
47
+ // padding: 1.5rem 1.75rem 1.25rem;
5
48
  }
6
49
  .card-body {
7
- padding: 1.75rem 1.75rem 1.5rem;
50
+ @include card-body;
51
+ // padding: 1.75rem 1.75rem 1.5rem;
8
52
  }
9
53
  }
@@ -8,8 +8,8 @@
8
8
  }
9
9
 
10
10
  @mixin content_masthead__inner {
11
- max-width: $layout-width-wide;
12
- padding: $space--large * 2 0;
11
+ max-width: $layout-width-lg;
12
+ padding: 3.75rem 0;
13
13
  margin: 0 auto;
14
14
 
15
15
  h1 {
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  @mixin content-main-content__inner {
26
- max-width: $layout-width-wide;
26
+ max-width: $layout-width-lg;
27
27
  padding: 1.5rem 0;
28
28
  margin: 0 auto;
29
29
 
@@ -13,38 +13,39 @@
13
13
  }
14
14
  }
15
15
 
16
- @mixin table-details-row($type:"header") {
17
- grid-template-columns: auto 10rem 8rem;
16
+ @mixin default-table-style {
17
+ th, td {
18
+ @include media-breakpoint-up(md) {
19
+ &:not(:last-of-type) {
20
+ border-right: 1px solid $c-grey-pearl;
21
+ }
18
22
 
19
- @if $type == "checkbox" {
20
- grid-template-columns: 2.75rem auto 10rem 8rem;
23
+ &:last-of-type {
24
+ text-align: right;
25
+ }
26
+ }
21
27
  }
22
28
  }
23
29
 
24
- @mixin table-etickets-row {
25
- grid-template-columns: 10rem auto 8rem;
26
- }
27
-
28
- @mixin table-gifts-row {
29
- grid-template-columns: 3fr 5fr 5fr 2fr 2fr;
30
- }
31
-
32
- @mixin table-membership-row {
33
- grid-template-columns: auto 10rem 10rem 8rem;
34
- }
35
-
36
- @mixin table-orders-row {
37
- grid-template-columns: 10rem 8rem auto 8rem;
38
- }
39
-
40
- @mixin table-preferences-row {
41
- grid-template-columns: auto repeat(2, 5rem);
42
- }
43
-
44
- @mixin table-tickets-row {
45
- grid-template-columns: 2fr 5fr 5fr 2fr;
46
- }
47
-
30
+ $columns-orders: 10rem 8rem auto 8rem;
31
+ $columns-details--header: auto 10rem 8rem;
32
+ $columns-details--checkbox: 2.75rem auto 10rem 8rem;
33
+ $columns-etickets: 8rem auto 8rem;
34
+ $columns-gifts: 3fr 5fr 5fr 2fr 2fr;
35
+ $columns-membership: auto 10rem 10rem 8rem;
36
+ $columns-preferences: auto repeat(2, 5rem);
37
+ $columns-tickets: 2fr 5fr 5fr 2fr;
38
+
39
+ @import "table/basket";
40
+ @import "table/details";
41
+ @import "table/etickets";
42
+ @import "table/gifts";
43
+ @import "table/membership";
44
+ @import "table/orders";
45
+ @import "table/preferences";
46
+ @import "table/resale";
47
+ @import "table/section";
48
+ @import "table/tickets";
48
49
 
49
50
 
50
51
 
@@ -8,6 +8,9 @@
8
8
  top: $val;
9
9
  }
10
10
 
11
+ @import "br-alert";
12
+ @import "br-form-row";
13
+ @import "br-footer";
11
14
  @import "account/orders";
12
15
  @import "basket";
13
16
  @import "buttons";
@@ -47,6 +47,7 @@
47
47
  border-radius: $border-radius-lg;
48
48
  background-color: $white;
49
49
  font-weight: 400;
50
+ display: block;
50
51
 
51
52
  @if $state != disabled {
52
53
  color: $c-grey-night;
@@ -0,0 +1,33 @@
1
+
2
+ @mixin basket-table {
3
+ tr {
4
+ @include table-row;
5
+ justify-content: space-between;
6
+ display: flex;
7
+ gap: 0.75rem;
8
+
9
+ &.promo {
10
+ padding-bottom: 1rem;
11
+ }
12
+
13
+ &.donation {
14
+ @include basket-row-grid;
15
+ padding-bottom: 1rem;
16
+ padding-top: 1rem;
17
+ }
18
+
19
+ &.total {
20
+ font-size: $h4-font-size;
21
+ border-bottom: none;
22
+ font-weight: 700;
23
+ }
24
+
25
+ &.continue {
26
+ border-bottom: none;
27
+
28
+ td {
29
+ width: 100%;
30
+ }
31
+ }
32
+ }
33
+ }
@@ -1,6 +1,5 @@
1
1
 
2
- table.details {
3
-
2
+ @mixin details-table {
4
3
  $mq: md;
5
4
 
6
5
  thead {
@@ -22,7 +21,7 @@ table.details {
22
21
  display: grid;
23
22
 
24
23
  @include media-breakpoint-up($mq) {
25
- @include table-details-row;
24
+ grid-template-columns: $columns-details--header;
26
25
  }
27
26
 
28
27
  @include media-breakpoint-down($mq) {
@@ -1,5 +1,5 @@
1
- table.etickets {
2
1
 
2
+ @mixin etickets-table {
3
3
  $mq: md;
4
4
 
5
5
  thead {
@@ -22,7 +22,7 @@ table.etickets {
22
22
  }
23
23
 
24
24
  @include media-breakpoint-up($mq) {
25
- @include table-etickets-row;
25
+ grid-template-columns: $columns-etickets;
26
26
  }
27
27
 
28
28
  @include media-breakpoint-down($mq) {
@@ -1,5 +1,5 @@
1
- table.gifts {
2
1
 
2
+ @mixin gifts-table {
3
3
  $mq: xl;
4
4
 
5
5
  thead {
@@ -15,7 +15,7 @@ table.gifts {
15
15
  tr {
16
16
  @include media-breakpoint-up($mq) {
17
17
  @include table-row;
18
- @include table-gifts-row;
18
+ grid-template-columns: $columns-gifts;
19
19
  display: grid;
20
20
  gap: 0.75rem;
21
21
 
@@ -0,0 +1,8 @@
1
+
2
+ @mixin membership-table {
3
+ tr {
4
+ @include media-breakpoint-up(md) {
5
+ grid-template-columns: $columns-membership;
6
+ }
7
+ }
8
+ }
@@ -1,5 +1,5 @@
1
- table.orders {
2
1
 
2
+ @mixin orders-table($columns) {
3
3
  $mq: md;
4
4
 
5
5
  thead {
@@ -22,7 +22,7 @@ table.orders {
22
22
  }
23
23
 
24
24
  @include media-breakpoint-up($mq) {
25
- @include table-orders-row;
25
+ grid-template-columns: $columns;
26
26
  }
27
27
 
28
28
  @include media-breakpoint-down($mq) {
@@ -32,16 +32,6 @@ table.orders {
32
32
 
33
33
  th, td {
34
34
  padding: 0.75rem;
35
-
36
- @include media-breakpoint-up($mq) {
37
- &:not(:last-of-type) {
38
- border-right: 1px solid $c-grey-pearl;
39
- }
40
-
41
- &:last-of-type {
42
- text-align: right;
43
- }
44
- }
45
35
  }
46
36
 
47
37
  tr.full-width {
@@ -1,5 +1,5 @@
1
- table.preferences {
2
1
 
2
+ @mixin preferences-table {
3
3
  $mq: md;
4
4
 
5
5
  thead {
@@ -22,7 +22,7 @@ table.preferences {
22
22
  }
23
23
 
24
24
  @include media-breakpoint-up($mq) {
25
- @include table-preferences-row;
25
+ grid-template-columns: $columns-preferences;
26
26
  }
27
27
 
28
28
  @include media-breakpoint-down($mq) {
@@ -1,4 +1,5 @@
1
- table.resale {
1
+
2
+ @mixin resale-table {
2
3
  margin-right: auto;
3
4
  margin-left: auto;
4
5
  max-width: 11rem;
@@ -1,5 +1,5 @@
1
1
 
2
- table.section {
2
+ @mixin section-table {
3
3
  padding-bottom: 0.75rem;
4
4
  padding-top: 0.75rem;
5
5
  display: block;
@@ -1,5 +1,5 @@
1
- table.tickets {
2
1
 
2
+ @mixin tickets-table {
3
3
  $mq: sm;
4
4
 
5
5
  th {
@@ -9,7 +9,7 @@ table.tickets {
9
9
  tr {
10
10
  @include media-breakpoint-up($mq) {
11
11
  @include table-row;
12
- @include table-tickets-row;
12
+ grid-template-columns: $columns-tickets;
13
13
  display: grid;
14
14
  gap: 0.75rem;
15
15
 
@@ -0,0 +1,7 @@
1
+ $neutral_wrap: $c-status-neutral, $c-status-neutral-fade, $c-status-neutral-light;
2
+ $success_wrap: $c-status-success, $c-status-success-fade, $c-status-success-light;
3
+ $error_wrap: $c-status-error, $c-status-error-fade, $c-status-error-light;
4
+
5
+ $neutral_focus: $c-status-neutral, $c-status-neutral-fade;
6
+ $success_focus: $c-status-success, $c-status-success-fade;
7
+ $error_focus: $c-status-error, $c-status-error-fade;
@@ -1,13 +1,10 @@
1
1
  /// Constrained content
2
2
  $layout-padding: 5%;
3
3
  $layout-width-title: 20rem;
4
- $layout-width-thin: 50rem;
5
- $layout-width-videos: 60rem;
6
- $layout-width-wide: 75rem;
4
+ $layout-width-sm: 50rem;
5
+ $layout-width-md: 60rem;
6
+ $layout-width-lg: 75rem;
7
7
 
8
- $space: 0.625rem;
9
- // Default large amount of space.
10
- $space--large: $space * 3;
11
8
  $border-radius-lg: 0.375rem;
12
9
 
13
10
  // Basket layout
@@ -1,14 +1,10 @@
1
1
 
2
- $f-primary-name: "FuturaLTPro";
3
- $f-primary: #{$f-primary-name}, "Helvetica", "Arial", sans-serif;
4
-
5
2
  $line-height-xs: 1.1;
6
3
  $line-height-sm: 1.2;
7
4
  $line-height-md: 1.4;
8
5
  $line-height-lg: 1.8;
9
6
 
10
7
  $headings-line-height: $line-height-sm;
11
- $font-family-sans-serif: $f-primary;
12
8
  $headings-letter-spacing: -0.015em;
13
9
  $link-decoration: underline;
14
10
  $headings-font-weight: 700;
@@ -1,6 +1,7 @@
1
1
 
2
2
  $c-brand-orange-faint: hsl(21, 60%, 99%);
3
3
  $c-brand-orange-light: hsl(21, 100%, 95%);
4
+ $c-brand-orange-shade: hsl(21, 50%, 90%);
4
5
  $c-brand-orange: hsl(21, 100%, 41%);
5
6
  $c-brand-orange-dark: hsl(21, 100%, 38%);
6
7
 
@@ -1,5 +1,6 @@
1
1
  // paths more explicit for gulp-sass
2
2
  @import "colors/index";
3
+ @import "alerts";
3
4
  @import "layout";
4
5
  @import "breakpoints";
5
6
  @import "typography";
package/index.js CHANGED
@@ -6,7 +6,6 @@ import RelatedRow from './components/related_row'
6
6
  import TypeText from './components/type_text'
7
7
  import Placeholder from './components/placeholder'
8
8
  import CardDisplay from './components/card_display'
9
- import FooterUpper from './components/footer_upper'
10
9
  import FooterLogos from './components/footer_logos'
11
10
  import FooterLower from './components/footer_lower'
12
11
  import FluidIframe from './components/fluid_iframe'
@@ -26,6 +25,7 @@ import BrFormRow from './components/br_form_row'
26
25
  import BrFormUpdate from './components/br_form_update'
27
26
  import BrLoader from './components/br_loader'
28
27
  import BrWrap from './components/br_wrap'
28
+ import BrFooterUpper from './components/br_footer/upper'
29
29
 
30
30
  export {
31
31
  BrLoader,
@@ -41,7 +41,7 @@ export {
41
41
  BrFormUpdate,
42
42
  BrFormRow,
43
43
  EventSummary,
44
- FooterUpper,
44
+ BrFooterUpper,
45
45
  FooterLogos,
46
46
  FooterLower,
47
47
  FluidIframe,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
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": {
@@ -0,0 +1,49 @@
1
+
2
+ .br-alert {
3
+ @include br-alert--setup;
4
+
5
+ &.center {
6
+ @include br-alert--center;
7
+ }
8
+
9
+ .wrap {
10
+ @include br-alert-wrap--colors($neutral_wrap...);
11
+ @include br-alert-wrap--setup;
12
+
13
+ .btn.btn-link, a {
14
+ @include br-alert-link($neutral_focus...);
15
+ }
16
+
17
+ &.error {
18
+ @include br-alert-wrap--colors($error_wrap...);
19
+
20
+ .btn.btn-link, a {
21
+ @include br-alert-link($error_focus...);
22
+ }
23
+ }
24
+
25
+ &.success {
26
+ @include br-alert-wrap--colors($success_wrap...);
27
+
28
+ .btn.btn-link, a {
29
+ @include br-alert-link($success_focus...);
30
+ }
31
+ }
32
+
33
+ &.inline {
34
+ @include inline-block;
35
+ }
36
+
37
+ &.toggle {
38
+ @include br-alert-wrap--toggle;
39
+ }
40
+
41
+ p {
42
+ margin-bottom: 0;
43
+
44
+ + p {
45
+ margin-top: 1rem;
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,8 @@
1
+
2
+ .br-footer-upper {
3
+ @include br-footer-upper;
4
+ }
5
+
6
+ .br-footer-lower {
7
+ @include br-footer-lower;
8
+ }
@@ -1,33 +1,9 @@
1
1
 
2
2
  .br-form-row {
3
-
4
- &:not(:last-of-type) {
5
- margin-bottom: 1rem;
6
- }
7
-
8
- @include media-breakpoint-up(sm) {
9
- grid-template-columns: 33fr 67fr;
10
- gap: $gap-account;
11
- display: grid;
12
- }
13
-
14
- > label {
15
- @include media-breakpoint-up(sm) {
16
- margin-top: 1rem;
17
- }
18
- }
3
+ @include br-form-row;
19
4
 
20
5
  label {
21
6
  font-weight: normal;
22
-
23
- @include media-breakpoint-down(sm) {
24
- margin-bottom: 0.5rem;
25
- }
26
- }
27
-
28
- input {
29
- width: 100%;
30
- margin: 0;
31
7
  }
32
8
 
33
9
  .content {
@@ -1,6 +1,6 @@
1
1
 
2
2
  .br_wrap {
3
- max-width: $layout-width-wide;
3
+ max-width: $layout-width-lg;
4
4
  margin-right: auto;
5
5
  margin-left: auto;
6
6
 
@@ -9,10 +9,10 @@
9
9
  }
10
10
 
11
11
  &.videos {
12
- max-width: $layout-width-videos;
12
+ max-width: $layout-width-md;
13
13
  }
14
14
 
15
15
  &.thin {
16
- max-width: $layout-width-thin;
16
+ max-width: $layout-width-sm;
17
17
  }
18
18
  }
package/scss/_fonts.scss CHANGED
@@ -1,25 +1,27 @@
1
1
 
2
- $f-file-path: "~barbican-reset/fonts/";
2
+ $futura: "FuturaLTPro";
3
+ $font-family: #{$futura}, "Helvetica", "Arial", sans-serif;
4
+ $font-file-path: "../fonts/";
3
5
 
4
6
  @include font-face(
5
- "#{$f-primary-name}",
6
- "#{$f-file-path}#{$f-primary-name}-Book",
7
+ "#{$futura}",
8
+ "#{$font-file-path}#{$futura}-Book",
7
9
  ("woff", "woff2")
8
10
  ) {
9
11
  font-style: normal;
10
12
  }
11
13
 
12
14
  @include font-face(
13
- "#{$f-primary-name}",
14
- "#{$f-file-path}#{$f-primary-name}-BookOblique",
15
+ "#{$futura}",
16
+ "#{$font-file-path}#{$futura}-BookOblique",
15
17
  ("woff", "woff2")
16
18
  ) {
17
19
  font-style: italic;
18
20
  }
19
21
 
20
22
  @include font-face(
21
- "#{$f-primary-name}",
22
- "#{$f-file-path}#{$f-primary-name}-Bold",
23
+ "#{$futura}",
24
+ "#{$font-file-path}#{$futura}-Bold",
23
25
  ("woff", "woff2")
24
26
  ) {
25
27
  font-style: normal;
@@ -27,8 +29,8 @@ $f-file-path: "~barbican-reset/fonts/";
27
29
  }
28
30
 
29
31
  @include font-face(
30
- "#{$f-primary-name}",
31
- "#{$f-file-path}#{$f-primary-name}-BoldOblique",
32
+ "#{$futura}",
33
+ "#{$font-file-path}#{$futura}-BoldOblique",
32
34
  ("woff", "woff2")
33
35
  ) {
34
36
  font-style: italic;
package/scss/_input.scss CHANGED
@@ -12,7 +12,7 @@ input::placeholder {
12
12
  input[type=checkbox],
13
13
  input[type=radio] {
14
14
  margin-bottom: 0.5rem;
15
- margin-right: $space;
15
+ margin-right: 0.5rem;
16
16
  }
17
17
 
18
18
  input[type=button],
package/scss/_list.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  menu, ol, ul {
2
- padding: 0 0 0 ($space * 2);
2
+ padding: 0 0 0 1.25rem;
3
3
  }
4
4
 
5
5
  nav > ul {
@@ -0,0 +1,25 @@
1
+
2
+ table {
3
+ border-spacing: 0;
4
+ width: 100%;
5
+
6
+ &.basket { @include basket-table; }
7
+ &.details { @include details-table; }
8
+ &.gifts { @include gifts-table; }
9
+ &.etickets { @include etickets-table; }
10
+ &.details.membership { @include membership-table; }
11
+ &.preferences { @include preferences-table; }
12
+ &.resale { @include resale-table; }
13
+ &.section { @include section-table; }
14
+ &.tickets { @include tickets-table; }
15
+ }
16
+
17
+ table.orders {
18
+ @include orders-table($columns-orders);
19
+ @include default-table-style;
20
+ }
21
+
22
+ td {
23
+ padding: 0;
24
+ }
25
+
@@ -10,40 +10,25 @@
10
10
  @import "slim";
11
11
 
12
12
  .card {
13
- border: 1px solid $c-grey-pearl;
14
- border-radius: $border-radius-lg;
15
- }
16
-
17
- .card + .card {
18
- margin-top: 1.25rem;
13
+ @include card;
19
14
  }
20
15
 
21
16
  .card-header {
22
- border-bottom: 1px solid $c-grey-pearl;
23
- background-color: transparent;
17
+ @include card-header;
24
18
  }
25
19
 
26
20
  .card-subtitle {
27
- color: $c-grey-steel !important;
28
- font-size: $font-size-sm;
29
- font-weight: 400;
30
- margin: 0;
21
+ @include card-subtitle;
31
22
  }
32
23
 
33
24
  .card-body {
34
- padding: 1.5rem;
25
+ @include card-body;
35
26
  }
36
27
 
37
28
  .card-img {
38
- border: 1px solid $c-grey-concrete;
39
- margin-bottom: 1rem;
40
- max-width: 100%;
29
+ @include card-img;
41
30
  }
42
31
 
43
32
  .card-footer {
44
- padding: 1rem;
45
-
46
- @include media-breakpoint-up(md) {
47
- border-top: 1px solid $c-grey-concrete;
48
- }
33
+ @include card-footer;
49
34
  }
package/scss/index.scss CHANGED
@@ -10,13 +10,15 @@
10
10
  @import "footer";
11
11
  @import "klaro";
12
12
  @import "fonts";
13
- @import "br-loader";
14
13
  @import "close-icon";
15
- @import "table/index";
14
+ @import "table";
16
15
  @import "promo";
17
- @import "alert";
18
- @import "form-row";
16
+
17
+ @import "br-alert";
18
+ @import "br-form-row";
19
+ @import "br-loader";
19
20
  @import "br-wrap";
21
+ @import "br-footer";
20
22
 
21
23
  // bootstrap component styles
22
24
  @import "btn";
@@ -34,7 +36,7 @@
34
36
 
35
37
  body {
36
38
  line-height: $line-height-md;
37
- font-family: $f-primary;
39
+ font-family: $font-family;
38
40
  color: $c-grey-night;
39
41
  }
40
42
 
@@ -1,20 +0,0 @@
1
- <template>
2
- <div :class="$style.lower">
3
- <slot />
4
- </div>
5
- </template>
6
-
7
- <script>
8
- export default {
9
- name: 'FooterLower'
10
- }
11
- </script>
12
-
13
- <style lang="scss" module>
14
-
15
- .lower {
16
- padding-bottom: 1.875rem;
17
- padding-top: 1.875rem;
18
- }
19
-
20
- </style>
@@ -1,51 +0,0 @@
1
- <template>
2
- <div :class="styleUpper">
3
- <slot />
4
- </div>
5
- </template>
6
-
7
- <script>
8
- export default {
9
- name: 'FooterUpper',
10
- props: {
11
- splash: {
12
- type: Boolean,
13
- default: false
14
- }
15
- },
16
- computed: {
17
- styleUpper() {
18
- const style = this.$style;
19
- let output = [style.upper];
20
- if (this.splash) { output.push(style.splash); }
21
- return output;
22
- },
23
- }
24
- }
25
- </script>
26
-
27
- <style lang="scss" module>
28
-
29
- .upper {
30
- padding-top: 3.75rem;
31
-
32
- @include media-breakpoint-up(md) {
33
- grid-template-columns: 11rem auto;
34
- display: grid;
35
- gap: 1rem;
36
- }
37
-
38
- nav a {
39
- @include focus {
40
- @include single-box($white);
41
- background-color: $white;
42
- color: $black;
43
- }
44
- }
45
-
46
- &:not(.splash) {
47
- padding-bottom: 3.75rem;
48
- }
49
- }
50
-
51
- </style>
package/scss/_alert.scss DELETED
@@ -1,132 +0,0 @@
1
-
2
- $neutral_wrap: $c-status-neutral, $c-status-neutral-fade, $c-status-neutral-light;
3
- $success_wrap: $c-status-success, $c-status-success-fade, $c-status-success-light;
4
- $error_wrap: $c-status-error, $c-status-error-fade, $c-status-error-light;
5
-
6
- $neutral_focus: $c-status-neutral, $c-status-neutral-fade;
7
- $success_focus: $c-status-success, $c-status-success-fade;
8
- $error_focus: $c-status-error, $c-status-error-fade;
9
-
10
- @mixin status_focus($main, $fade) {
11
- @include focus {
12
- @include single-box($main);
13
- background-color: $main;
14
- color: $fade;
15
- }
16
- }
17
-
18
- @mixin exit($main, $fade) {
19
- path.cross {
20
- fill: $main;
21
- }
22
- path.tint {
23
- fill: $fade;
24
- }
25
-
26
- @include focus {
27
- outline-color: $main;
28
-
29
- path.cross {
30
- fill: $fade;
31
- }
32
- path.tint {
33
- fill: $main;
34
- }
35
- }
36
- }
37
-
38
- @mixin wrap($main, $fade, $light) {
39
- background-color: $fade;
40
- border-color: $light;
41
- color: $main;
42
- }
43
-
44
- .br-alert {
45
- @include media-breakpoint-down(xs) {
46
- font-size: $font-size-sm;
47
- }
48
-
49
- &.center {
50
- text-align: center;
51
-
52
- .wrap {
53
- justify-content: center;
54
- }
55
- }
56
-
57
- .wrap {
58
- @include wrap($neutral_wrap...);
59
- border-radius: $border-radius-lg;
60
- border-width: $border-width;
61
- padding: 0.75rem 0.875rem;
62
- border-style: solid;
63
-
64
- .btn.btn-link, a {
65
- @include status_focus($neutral_focus...);
66
- }
67
-
68
- &.error {
69
- @include wrap($error_wrap...);
70
-
71
- .btn.btn-link, a {
72
- @include status_focus($error_focus...);
73
- }
74
- }
75
-
76
- &.success {
77
- @include wrap($success_wrap...);
78
-
79
- .btn.btn-link, a {
80
- @include status_focus($success_focus...);
81
- }
82
- }
83
-
84
- &.inline {
85
- @include inline-block;
86
- }
87
-
88
- &.toggle {
89
- justify-content: space-between;
90
- align-items: center;
91
- display: flex;
92
- gap: $space;
93
-
94
- &.inline {
95
- display: inline-flex;
96
- }
97
- }
98
-
99
- p {
100
- margin-bottom: 0;
101
-
102
- + p {
103
- margin-top: 1rem;
104
- }
105
- }
106
- }
107
-
108
- .title {
109
- margin-bottom: 0.25rem;
110
- font-weight: 700;
111
- }
112
-
113
- .flex {
114
- justify-content: space-between;
115
- display: flex;
116
- }
117
-
118
- .btn.btn-exit {
119
-
120
- &.error {
121
- @include exit($error_focus...);
122
- }
123
-
124
- &.success {
125
- @include exit($success_focus...);
126
- }
127
-
128
- &.neutral {
129
- @include exit($neutral_focus...);
130
- }
131
- }
132
- }
@@ -1,31 +0,0 @@
1
-
2
- table.basket tr {
3
- @include table-row;
4
- justify-content: space-between;
5
- display: flex;
6
- gap: 0.75rem;
7
-
8
- &.promo {
9
- padding-bottom: 1rem;
10
- }
11
-
12
- &.donation {
13
- @include basket-row-grid;
14
- padding-bottom: 1rem;
15
- padding-top: 1rem;
16
- }
17
-
18
- &.total {
19
- font-size: $h4-font-size;
20
- border-bottom: none;
21
- font-weight: 700;
22
- }
23
-
24
- &.continue {
25
- border-bottom: none;
26
-
27
- td {
28
- width: 100%;
29
- }
30
- }
31
- }
@@ -1,6 +0,0 @@
1
-
2
- table.details.membership tr {
3
- @include media-breakpoint-up(md) {
4
- @include table-membership-row;
5
- }
6
- }
@@ -1,20 +0,0 @@
1
-
2
- @import "tickets";
3
- @import "basket";
4
- @import "section";
5
- @import "orders";
6
- @import "details";
7
- @import "resale";
8
- @import "preferences";
9
- @import "etickets";
10
- @import "membership";
11
- @import "gifts";
12
-
13
- table {
14
- border-spacing: 0;
15
- width: 100%;
16
- }
17
-
18
- td {
19
- padding: 0;
20
- }