barbican-reset 2.32.0 → 2.34.0

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/README.md +147 -0
  2. package/components/br_alert.vue +10 -9
  3. package/components/br_form_row.vue +4 -1
  4. package/components/br_skiplink.vue +17 -0
  5. package/helpers/mixins/_br-form-row.scss +4 -0
  6. package/helpers/mixins/_br-skiplink.scss +16 -0
  7. package/helpers/mixins/_buttons.scss +0 -7
  8. package/helpers/mixins/_focus.scss +2 -2
  9. package/helpers/mixins/index.scss +9 -7
  10. package/helpers/mixins/input/_generic.scss +1 -1
  11. package/helpers/variables/_columns.scss +0 -1
  12. package/helpers/variables/_typography.scss +5 -1
  13. package/{patterns/scss → helpers/variables}/colors/_grey.scss +3 -1
  14. package/{patterns/scss → helpers/variables}/colors/index.scss +1 -1
  15. package/helpers/variables/index.scss +2 -2
  16. package/index.js +34 -35
  17. package/package.json +7 -4
  18. package/patterns/components/alert.pug +8 -0
  19. package/patterns/components/section.pug +3 -0
  20. package/patterns/html/blocks.html +1 -0
  21. package/patterns/html/index.html +1 -0
  22. package/patterns/html/layouts.html +1 -0
  23. package/patterns/index.js +19 -7
  24. package/patterns/layouts/main.pug +21 -0
  25. package/patterns/layouts/page.pug +2 -0
  26. package/patterns/pages/alerts.pug +9 -0
  27. package/patterns/pages/colors.pug +25 -0
  28. package/patterns/scss/styles.scss +67 -2
  29. package/patterns/static/favicon.ico +0 -0
  30. package/patterns/static/styles.css +2206 -26
  31. package/patterns/views/blocks.pug +7 -0
  32. package/patterns/views/index.pug +5 -28
  33. package/patterns/views/layouts.pug +4 -0
  34. package/scss/_br-button.scss +159 -0
  35. package/scss/_br-skiplink.scss +3 -0
  36. package/scss/card/_confirm.scss +2 -4
  37. package/scss/index.scss +2 -1
  38. package/components/skip_link.vue +0 -38
  39. package/patterns/views/layout.pug +0 -8
  40. /package/{patterns/scss → helpers/variables}/colors/_brand.scss +0 -0
  41. /package/{patterns/scss → helpers/variables}/colors/_docs.scss +0 -0
  42. /package/{patterns/scss → helpers/variables}/colors/_llf.scss +0 -0
  43. /package/{patterns/scss → helpers/variables}/colors/_status.scss +0 -0
  44. /package/{patterns/scss → helpers/variables}/colors/_wgp.scss +0 -0
  45. /package/patterns/{views/mixins.pug → components/samples.pug} +0 -0
@@ -0,0 +1,25 @@
1
+ extends ../layouts/page
2
+
3
+ include ../components/samples
4
+
5
+ block content
6
+
7
+ h3 Grey
8
+ ul.list.list-palette.grey
9
+ li.item.item-palette.l11
10
+ li.item.item-palette.l21
11
+ li.item.item-palette.l44
12
+ li.item.item-palette.l65
13
+ li.item.item-palette.l87
14
+ li.item.item-palette.l96
15
+
16
+ +Samples('Contemporary','contemporary-music')
17
+ +Samples('Theatre','theatre--dance')
18
+ +Samples('Talks','talks--events')
19
+ +Samples('Art','art--design')
20
+ +Samples('Programme','programme')
21
+ +Samples('Cinema','cinema')
22
+ +Samples('Shop','shop')
23
+ +Samples('Generic / Library / Tours / Hire','generic')
24
+ +Samples('Classical','classical-music')
25
+ +Samples('Membership','membership--support')
@@ -1,9 +1,11 @@
1
1
  @import "../../node_modules/bootstrap/scss/functions";
2
2
  @import "../../node_modules/bootstrap/scss/variables";
3
3
  @import "../../node_modules/bootstrap/scss/mixins";
4
+
4
5
  @import "../../helpers/index";
5
6
 
6
- @import "../../scss/fonts";
7
+ @import "../../scss/br-alert";
8
+ @import "../../scss/br-button";
7
9
  @import "../../scss/br-container";
8
10
 
9
11
  $shades: "65", "20", "10";
@@ -21,14 +23,69 @@ body {
21
23
  @include fontfamily-light;
22
24
  line-height: $line-height-md;
23
25
  color: $c-grey-l21;
26
+ margin: 0;
27
+ background-color: $c-grey-l96;
28
+ }
29
+
30
+ .topbar {
31
+ justify-content: space-between;
32
+ border-bottom: 1px solid grey;
33
+ background-color: white;
34
+ line-height: 60px;
35
+ display: flex;
36
+ }
37
+
38
+ .topbar .sections {
39
+ display: flex;
40
+
41
+ h3 {
42
+ margin-bottom: 0;
43
+ }
44
+
45
+ a {
46
+ padding-right: 1rem;
47
+ padding-left: 1rem;
48
+ color: inherit;
49
+
50
+ @include focus {
51
+ background-color: $c-grey-l96;
52
+ }
53
+ }
54
+ }
55
+
56
+ .page {
57
+ background-color: #ffffff;
58
+ padding: 1.25rem;
59
+
60
+ +.page {
61
+ margin-top: 1.25rem;
62
+ }
63
+
64
+ +.section-header {
65
+ margin-top: 2.5rem;
66
+ }
67
+ }
68
+
69
+ .section-header {
70
+ background-color: black;
71
+ padding: 1.25rem;
72
+ color: white;
73
+
74
+ h3 {
75
+ margin-bottom: 0;
76
+ }
77
+
78
+ +.page {
79
+ margin-top: 1.25rem;
80
+ }
24
81
  }
25
82
 
26
83
  .list.list-palette {
27
84
  list-style: none;
28
- margin: 0 0 2rem;
29
85
  display: flex;
30
86
  gap: 0.125rem;
31
87
  padding: 0;
88
+ margin: 0;
32
89
 
33
90
  @include brand using($color, $variant) {
34
91
  .item.item-palette {
@@ -49,6 +106,10 @@ body {
49
106
  }
50
107
  }
51
108
 
109
+ .list.list-palette+.title.title-palette {
110
+ margin-top: 2rem;
111
+ }
112
+
52
113
  .list.list-palette.grey {
53
114
  .item.item-palette {
54
115
  &.l11 {
@@ -101,4 +162,8 @@ h2 {
101
162
 
102
163
  h3 {
103
164
  margin: 0 0 0.5rem;
165
+ }
166
+
167
+ .br-alert+.br-alert {
168
+ margin-top: 1.25rem;
104
169
  }
Binary file