@castlabs/ui 7.4.1 → 7.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@castlabs/ui",
3
- "version": "7.4.1",
3
+ "version": "7.5.1",
4
4
  "repository": "https://github.com/castlabs/ui-styleguide",
5
5
  "private": false,
6
6
  "description": "A vanilla HTML/CS/JS & Vue.js component library for Castlabs.",
@@ -39,44 +39,44 @@
39
39
  "main": "./dist/castlabs-ui.common.js",
40
40
  "dependencies": {
41
41
  "bootstrap": "5.3.8",
42
- "simplebar": "6.3.0"
42
+ "simplebar": "6.3.3"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@rollup/rollup-linux-x64-gnu": "4.50.2"
45
+ "@rollup/rollup-linux-x64-gnu": "4.53.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@castlabs/ui-editor": "file:../castlabs-ui-editor",
49
- "@tsconfig/node22": "22.0.2",
50
- "@types/jsdom": "21.1.7",
51
- "@types/node": "24.5.0",
52
- "@vitejs/plugin-vue": "6.0.1",
53
- "@vitest/eslint-plugin": "1.3.10",
49
+ "@tsconfig/node22": "22.0.5",
50
+ "@types/jsdom": "27.0.0",
51
+ "@types/node": "24.10.1",
52
+ "@vitejs/plugin-vue": "6.0.2",
53
+ "@vitest/eslint-plugin": "1.4.3",
54
54
  "@vue/eslint-config-prettier": "10.2.0",
55
55
  "@vue/eslint-config-typescript": "14.6.0",
56
56
  "@vue/test-utils": "2.4.6",
57
57
  "@vue/tsconfig": "0.8.1",
58
- "core-js": "3.45.1",
58
+ "core-js": "3.47.0",
59
59
  "dree": "5.1.5",
60
60
  "eslint-plugin-import": "2.32.0",
61
- "eslint-plugin-n": "17.23.0",
61
+ "eslint-plugin-n": "17.23.1",
62
62
  "eslint-plugin-promise": "7.2.1",
63
- "eslint-plugin-vue": "10.4.0",
64
- "eslint": "9.35.0",
63
+ "eslint-plugin-vue": "10.5.1",
64
+ "eslint": "9.39.1",
65
65
  "gulp-concat": "2.6.1",
66
66
  "gulp-replace": "1.1.4",
67
67
  "gulp": "5.0.1",
68
- "jsdom": "27.0.0",
68
+ "jsdom": "27.2.0",
69
69
  "npm-run-all": "4.1.5",
70
- "sass": "1.92.1",
70
+ "sass": "1.94.1",
71
71
  "stylelint-config-sass-guidelines": "12.1.0",
72
72
  "stylelint-config-standard-vue": "1.0.0",
73
- "stylelint-config-standard": "39.0.0",
73
+ "stylelint-config-standard": "39.0.1",
74
74
  "stylelint-order": "7.0.0",
75
75
  "stylelint-scss": "6.12.1",
76
- "typescript": "5.9.2",
77
- "vite": "7.1.5",
78
- "vitest": "3.2.4",
79
- "vue-tsc": "3.0.7",
80
- "vue": "3.5.21"
76
+ "typescript": "5.9.3",
77
+ "vite": "7.2.2",
78
+ "vitest": "4.0.10",
79
+ "vue-tsc": "3.1.4",
80
+ "vue": "3.5.24"
81
81
  }
82
82
  }
@@ -23,9 +23,9 @@
23
23
 
24
24
  &:disabled,
25
25
  &.disabled {
26
- background-color: var(--cl-color-disabled-background);
27
- border-color: var(--cl-color-disabled-border);
28
- color: var(--cl-color-disabled-text);
26
+ background-color: var(--cl-color-disabled-background) !important;
27
+ border-color: var(--cl-color-disabled-border) !important;
28
+ color: var(--cl-color-disabled-text) !important;
29
29
  cursor: not-allowed;
30
30
  opacity: 1 !important; // sass-lint:disable-line no-important
31
31
  pointer-events: initial;
@@ -60,14 +60,20 @@ a.btn {
60
60
 
61
61
  background-color: transparent;
62
62
  border: 0;
63
+ color: var(--cl-color-text);
63
64
  font-weight: 500;
64
65
  line-height: 1;
65
66
  margin-left: $spacing-tiny;
66
67
  min-width: 0;
67
68
  padding: 0;
68
69
 
69
- &:not(:hover) {
70
- color: $color-ci-steel;
70
+ &:not(:hover, [class*='cl-color-']) {
71
+ #{'--cl-color-text'}: $color-ci-steel;
72
+ }
73
+
74
+ &.disabled,
75
+ &:disabled {
76
+ visibility: hidden;
71
77
  }
72
78
  }
73
79
 
@@ -49,7 +49,6 @@ $card-spacing-tight: $spacing-small;
49
49
 
50
50
  &.cl-color-red-outline:not([class*='cl-color-text-']) {
51
51
  #{'--cl-color-text'}: $color-ci-night;
52
- #{'--cl-color-accent'}: $color-accent;
53
52
  }
54
53
 
55
54
  a:not(.btn) {
@@ -5,7 +5,7 @@
5
5
 
6
6
  // This file adds & customizes the simplebar scrollbar.
7
7
 
8
- @use 'simplebar/dist/simplebar.min';
8
+ @use 'simplebar/dist/simplebar.min.css';
9
9
  @use '../../styles/global' as *;
10
10
 
11
11
  // --- scrollbar ---------------------------------------------------------------
@@ -21,7 +21,7 @@ $cl-url-postfix: '' !default;
21
21
  @extend %form-field-box;
22
22
  @extend %form-field-typography-monospace;
23
23
 
24
- @include cl-form-focus;
24
+ @include cl-form-focus(true);
25
25
 
26
26
  background-image: url('#{$cl-url-prefix}select.svg#{$cl-url-postfix}'), none, none;
27
27
  display: block;
@@ -117,6 +117,8 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
117
117
  .cl-nav-icon {
118
118
  flex-shrink: 0;
119
119
  font-size: px(22);
120
+ position: relative;
121
+ top: 0.05em;
120
122
  }
121
123
  }
122
124
 
@@ -20,6 +20,10 @@ $sidenav-z-index: $layer-z-sidenav;
20
20
  background-color: $color-ci-night;
21
21
  color: $color-ci-eggshell;
22
22
 
23
+ .row {
24
+ #{'--bs-gutter-x'}: $grid-spacing;
25
+ }
26
+
23
27
  a:not(.btn) {
24
28
  @include typography-link-invisible;
25
29
  }
@@ -48,6 +52,8 @@ $sidenav-z-index: $layer-z-sidenav;
48
52
  @extend %cl-p-label;
49
53
 
50
54
  color: $color-ci-eggshell;
55
+ flex-grow: 99;
56
+ letter-spacing: 0;
51
57
  margin: 0;
52
58
  padding: 0 $spacing-small;
53
59
 
@@ -74,6 +80,18 @@ $sidenav-z-index: $layer-z-sidenav;
74
80
  display: flex;
75
81
  font-size: $header-nav-height * 0.5; // logo scales 2x
76
82
 
83
+ &:first-child {
84
+ // move logo as logo's shape has 'padding' within the image bounds
85
+ left: -0.5em;
86
+ position: relative;
87
+ }
88
+
89
+ &:not(:first-child) {
90
+ // move logo as logo's shape has 'padding' within the image bounds
91
+ left: 0.5em;
92
+ position: relative;
93
+ }
94
+
77
95
  span {
78
96
  @extend %cl-p-label;
79
97
 
@@ -198,10 +216,10 @@ $navbar-item-spacing: $spacing-medium;
198
216
  }
199
217
 
200
218
  .navbar-brand {
201
- font-size: px(16);
219
+ font-size: $header-nav-height * 0.5; // logo scales 2x
202
220
  line-height: 1;
203
221
  margin: 0;
204
- padding: 0.5em 0;
222
+ padding: 0;
205
223
  }
206
224
 
207
225
  .nav-link {
@@ -10,10 +10,6 @@
10
10
  .cl-section-main-side {
11
11
  padding-top: 0;
12
12
 
13
- // .cl-section-primary + & { // first one right below header
14
- // padding-top: $spacing-small;
15
- // }
16
-
17
13
  .row > [class^='col-'] {
18
14
  margin-top: $spacing-small * 2;
19
15
  }
@@ -14,46 +14,6 @@ main a {
14
14
  @extend %cl-a;
15
15
  }
16
16
 
17
- // .cl-a-primary a:not(.btn),
18
- // .cl-a-secondary a.cl-a-primary:not(.btn),
19
- // .cl-a-text a.cl-a-primary:not(.btn),
20
- // .cl-a-transparent a.cl-a-primary:not(.btn),
21
- // a.cl-a-primary:not(.btn) {
22
- // @extend %cl-a-primary;
23
- // }
24
- //
25
- // .cl-a-secondary a:not(.btn),
26
- // .cl-a-primary a.cl-a-secondary:not(.btn),
27
- // .cl-a-text a.cl-a-secondary:not(.btn),
28
- // .cl-a-transparent a.cl-a-secondary:not(.btn),
29
- // a.cl-a-secondary:not(.btn) {
30
- // @extend %cl-a-secondary;
31
- // }
32
-
33
- // .cl-a-text a:not(.btn),
34
- // .cl-a-primary a.cl-a-text:not(.btn),
35
- // .cl-a-secondary a.cl-a-text:not(.btn),
36
- // .cl-a-transparent a.cl-a-text:not(.btn),
37
- // a.cl-a-text:not(.btn) {
38
- // @extend %cl-a-text;
39
- // }
40
-
41
- // .cl-a-transparent a:not(.btn),
42
- // .cl-a-primary a.cl-a-transparent:not(.btn),
43
- // .cl-a-secondary a.cl-a-transparent:not(.btn),
44
- // .cl-a-text a.cl-a-transparent:not(.btn),
45
- // a.cl-a-transparent:not(.btn) {
46
- // @extend %cl-a-transparent;
47
- // }
48
-
49
- // .cl-a-none a:not(.btn),
50
- // .cl-a-primary a.cl-a-none:not(.btn),
51
- // .cl-a-secondary a.cl-a-none:not(.btn),
52
- // .cl-a-text a.cl-a-none:not(.btn),
53
- // a.cl-a-none:not(.btn) {
54
- // @extend %cl-a-none;
55
- // }
56
-
57
17
  .cl-a-btn {
58
18
  // a link that is more an embedded button, e.g. in table actions
59
19
  @extend %cl-a-btn;
@@ -70,11 +30,17 @@ main a {
70
30
 
71
31
  background-color: transparent;
72
32
  border-radius: 0;
33
+ color: var(--cl-color-text);
73
34
  margin-left: $spacing-tiny;
74
35
  text-decoration: none;
75
36
 
76
- &:not(:hover) {
77
- color: $color-ci-steel;
37
+ &:not(:hover, [class*='cl-color-']) {
38
+ #{'--cl-color-text'}: $color-ci-steel;
39
+ }
40
+
41
+ &.disabled,
42
+ &:disabled {
43
+ visibility: hidden;
78
44
  }
79
45
  }
80
46
 
@@ -68,9 +68,10 @@
68
68
  &.active,
69
69
  .show > &.dropdown-toggle {
70
70
  // .dropdown-toggle is for topnav
71
- background-color: var(--cl-color-text);
72
- border-color: var(--cl-color-background);
73
- color: var(--cl-color-background);
71
+ background-color: var(--cl-color-background) !important;
72
+ border-color: var(--cl-color-border) !important;
73
+ color: var(--cl-color-text) !important;
74
+ opacity: var(--cl-opacity-active);
74
75
 
75
76
  &.cl-color-transparent {
76
77
  background-color: $color-ci-eggshell;
@@ -53,6 +53,7 @@ $color-background: $color-ci-white;
53
53
  $color-code-background: rgb(16 0 0 / 5%); // transparent to work on different colors
54
54
 
55
55
  $color-line: $color-ci-clay;
56
+ $color-opacity-active: 0.8;
56
57
 
57
58
  @mixin cl-color-focus-outline-raw($color: var(--cl-color-focus), $offset: -3px) {
58
59
  box-shadow: none; // disable BS outlines
@@ -117,6 +118,21 @@ $color-line: $color-ci-clay;
117
118
  #{'--cl-color-accent'}: $color-ci-berry;
118
119
  }
119
120
 
121
+ &.cl-accent-brick,
122
+ .cl-accent-brick {
123
+ #{'--cl-color-accent'}: $color-ci-brick;
124
+ }
125
+
126
+ &.cl-accent-honey,
127
+ .cl-accent-honey {
128
+ #{'--cl-color-accent'}: $color-ci-honey;
129
+ }
130
+
131
+ &.cl-accent-leaf,
132
+ .cl-accent-leaf {
133
+ #{'--cl-color-accent'}: $color-ci-leaf;
134
+ }
135
+
120
136
  &.cl-accent-none,
121
137
  .cl-accent-none,
122
138
  &.cl-accent-transparent,
@@ -166,6 +182,7 @@ $color-line: $color-ci-clay;
166
182
  #{'--cl-color-disabled-background'}: $color-disabled;
167
183
  #{'--cl-color-disabled-border'}: $color-disabled;
168
184
  #{'--cl-color-disabled-text'}: $color-ci-eggshell;
185
+ #{'--cl-opacity-active'}: $color-opacity-active;
169
186
  }
170
187
 
171
188
  %cl-color-night-outline {
@@ -174,13 +191,14 @@ $color-line: $color-ci-clay;
174
191
  #{'--cl-color-border'}: $color-ci-night;
175
192
  #{'--cl-color-text'}: $color-ci-night;
176
193
  #{'--cl-color-line'}: $color-line;
177
- #{'--cl-color-accent'}: $color-ci-night;
194
+ #{'--cl-color-accent'}: $color-accent;
178
195
  #{'--cl-color-highlight'}: rgba(#fff, 0.85);
179
196
  #{'--cl-color-link'}: inherit;
180
197
  #{'--cl-color-focus'}: $color-ci-night;
181
198
  #{'--cl-color-disabled-background'}: transparent;
182
199
  #{'--cl-color-disabled-border'}: $color-disabled;
183
200
  #{'--cl-color-disabled-text'}: $color-disabled;
201
+ #{'--cl-opacity-active'}: $color-opacity-active * 0.9;
184
202
  }
185
203
 
186
204
  %cl-color-text-light {
@@ -208,6 +226,7 @@ $color-line: $color-ci-clay;
208
226
 
209
227
  #{'--cl-color-background'}: $color-ci-red;
210
228
  #{'--cl-color-border'}: $color-ci-red;
229
+ #{'--cl-opacity-active'}: $color-opacity-active;
211
230
  }
212
231
 
213
232
  %cl-color-red-outline {
@@ -242,21 +261,16 @@ $color-line: $color-ci-clay;
242
261
  #{'--cl-color-border'}: $color-ci-eggshell;
243
262
  #{'--cl-color-text'}: $color-ci-night;
244
263
  #{'--cl-color-line'}: $color-line;
245
- #{'--cl-color-accent'}: $color-ci-night;
264
+ #{'--cl-color-accent'}: $color-accent;
246
265
  #{'--cl-color-highlight'}: rgba(#fff, 0.1);
247
266
  #{'--cl-color-link'}: inherit;
248
267
  #{'--cl-color-focus'}: $color-ci-night;
249
268
  }
250
269
 
251
- %cl-color-eggshell-alternate {
270
+ %cl-color-haze {
271
+ @extend %cl-color-night-outline;
272
+
252
273
  #{'--cl-color-background'}: $color-ci-haze;
253
- #{'--cl-color-border'}: $color-ci-haze;
254
- #{'--cl-color-text'}: $color-ci-night;
255
- #{'--cl-color-line'}: $color-line;
256
- #{'--cl-color-accent'}: $color-ci-night;
257
- #{'--cl-color-highlight'}: rgba(#fff, 0.1);
258
- #{'--cl-color-link'}: inherit;
259
- #{'--cl-color-focus'}: $color-ci-night;
260
274
  }
261
275
 
262
276
  %cl-color-clay {
@@ -334,6 +348,10 @@ $color-line: $color-ci-clay;
334
348
 
335
349
  #{'--cl-color-background'}: transparent;
336
350
  #{'--cl-color-border'}: $color-ci-eggshell;
351
+ #{'--cl-color-disabled-background'}: transparent;
352
+ #{'--cl-color-disabled-border'}: $color-disabled;
353
+ #{'--cl-color-disabled-text'}: $color-disabled;
354
+ #{'--cl-opacity-active'}: $color-opacity-active * 0.9;
337
355
  }
338
356
 
339
357
  %cl-color-disabled {
@@ -351,7 +369,7 @@ $color-line: $color-ci-clay;
351
369
  #{'--cl-color-background'}: transparent;
352
370
  #{'--cl-color-border'}: $color-ci-ash;
353
371
  #{'--cl-color-text'}: $color-ci-ash;
354
- #{'--cl-color-line'}: $color-ci-ash;
372
+ #{'--cl-color-line'}: $color-line;
355
373
  #{'--cl-color-accent'}: $color-ci-ash;
356
374
  #{'--cl-color-highlight'}: rgba(#fff, 0.1);
357
375
  #{'--cl-color-link'}: inherit;
@@ -364,4 +382,7 @@ $color-line: $color-ci-clay;
364
382
  #{'--cl-color-highlight'}: rgba(#fff, 0.1);
365
383
  #{'--cl-color-link'}: $color-ci-eggshell;
366
384
  #{'--cl-color-focus'}: $color-ci-eggshell;
385
+ #{'--cl-color-disabled-background'}: transparent;
386
+ #{'--cl-color-disabled-border'}: transparent;
387
+ #{'--cl-color-disabled-text'}: $color-disabled;
367
388
  }
@@ -39,7 +39,8 @@ $form-spacing-label-input: px(2);
39
39
  $typography-sans-font-list,
40
40
  400,
41
41
  $form-field-fontsize,
42
- $form-field-line-height
42
+ $form-field-line-height,
43
+ 0
43
44
  );
44
45
  }
45
46
 
@@ -49,7 +50,7 @@ $form-spacing-label-input: px(2);
49
50
  400,
50
51
  $form-field-fontsize,
51
52
  $form-field-line-height,
52
- 0.025em
53
+ 0
53
54
  );
54
55
  }
55
56
 
@@ -65,10 +66,19 @@ $form-spacing-label-input: px(2);
65
66
  }
66
67
  }
67
68
 
68
- @mixin cl-form-focus {
69
+ @mixin cl-form-focus($focus: false) {
69
70
  &:focus-visible,
70
71
  &:focus-visible:first-child,
71
72
  &:focus-visible:last-child {
72
73
  @include cl-form-focus-embed;
73
74
  }
75
+
76
+ @if $focus == true {
77
+ // sometimes we need to undo Bootstrap too
78
+ &:focus,
79
+ &:focus:first-child,
80
+ &:focus:last-child {
81
+ @include cl-form-focus-embed;
82
+ }
83
+ }
74
84
  }
@@ -18,7 +18,7 @@ $spacing-huge: px(48);
18
18
 
19
19
  $spacing-indent: $spacing-large; // uniform indent for lists, blockquotes, ...
20
20
 
21
- $header-nav-height: px(40);
21
+ $header-nav-height: px(48);
22
22
 
23
23
  @mixin spacing-before-auto($value) {
24
24
  margin-bottom: 0;
@@ -75,7 +75,7 @@ $typography-monospace-line-height: 1.375;
75
75
  }
76
76
 
77
77
  @mixin typography-link(
78
- $color: inherit,
78
+ $color: var(--cl-color-text),
79
79
  $color-hover: var(--cl-color-hover),
80
80
  $color-underline: var(--cl-color-link),
81
81
  $color-underline-hover: $color-hover
@@ -146,6 +146,14 @@ $typography-monospace-line-height: 1.375;
146
146
  background-color: transparent;
147
147
  color: var(--cl-color-hover);
148
148
  }
149
+
150
+ &.disabled,
151
+ &:disabled {
152
+ background-color: transparent;
153
+ color: var(--cl-color-text);
154
+ cursor: text;
155
+ text-decoration: none;
156
+ }
149
157
  }
150
158
 
151
159
  %cl-a {
@@ -78,23 +78,53 @@
78
78
  @extend %cl-color-faded;
79
79
  }
80
80
 
81
+ .cl-color-haze {
82
+ @extend %cl-color-haze;
83
+ }
84
+
81
85
  .cl-color-none {
82
86
  @extend %cl-color-none;
83
87
  }
84
88
 
89
+ .cl-color-red,
90
+ .cl-color-sky,
91
+ .cl-color-ash,
92
+ .cl-color-petrol,
93
+ .cl-color-berry,
94
+ .cl-color-black,
95
+ .cl-color-text,
96
+ .cl-color-dark,
97
+ .cl-color-night {
98
+ // on dark backgrounds secondary buttons need to be light
99
+ .cl-color-secondary {
100
+ @extend %cl-color-eggshell;
101
+ }
102
+
103
+ // on dark backgrounds secondary buttons need to be outlined
104
+ .cl-color-tertiary {
105
+ @extend %cl-color-transparent;
106
+ }
107
+ }
108
+
85
109
  // ----------------------------------------------
86
110
 
87
- span[class*='cl-color-text-'],
88
- div[class*='cl-color-text-'] {
89
- color: var(--cl-color-text);
111
+ a,
112
+ span,
113
+ div {
114
+ &[class*='cl-color-text-'] {
115
+ color: var(--cl-color-text);
116
+ text-decoration-color: var(--cl-color-text);
117
+ }
90
118
  }
91
119
 
92
120
  .cl-color-text-red {
93
121
  #{'--cl-color-text'}: $color-ci-red;
122
+ #{'--cl-color-link'}: $color-ci-red;
94
123
  }
95
124
 
96
125
  .cl-color-text-sky {
97
126
  #{'--cl-color-text'}: $color-ci-sky;
127
+ #{'--cl-color-link'}: $color-ci-sky;
98
128
  }
99
129
 
100
130
  .cl-color-text-night {
@@ -113,40 +143,50 @@ div[class*='cl-color-text-'] {
113
143
 
114
144
  .cl-color-text-ash {
115
145
  #{'--cl-color-text'}: $color-ci-ash;
146
+ #{'--cl-color-link'}: $color-ci-ash;
116
147
  }
117
148
 
118
149
  .cl-color-text-petrol {
119
150
  #{'--cl-color-text'}: $color-ci-petrol;
151
+ #{'--cl-color-link'}: $color-ci-petrol;
120
152
  }
121
153
 
122
154
  .cl-color-text-berry {
123
155
  #{'--cl-color-text'}: $color-ci-berry;
156
+ #{'--cl-color-link'}: $color-ci-berry;
124
157
  }
125
158
 
126
159
  .cl-color-text-none {
127
160
  #{'--cl-color-text'}: transparent;
161
+ #{'--cl-color-link'}: transparent;
128
162
  }
129
163
 
130
164
  .cl-color-text-brick {
131
165
  #{'--cl-color-text'}: $color-ci-brick;
166
+ #{'--cl-color-link'}: $color-ci-brick;
132
167
  }
133
168
 
134
169
  .cl-color-text-honey {
135
170
  #{'--cl-color-text'}: $color-ci-honey;
171
+ #{'--cl-color-link'}: $color-ci-honey;
136
172
  }
137
173
 
138
174
  .cl-color-text-leaf {
139
175
  #{'--cl-color-text'}: $color-ci-leaf;
176
+ #{'--cl-color-link'}: $color-ci-leaf;
140
177
  }
141
178
 
142
179
  .cl-color-text-sea {
143
180
  #{'--cl-color-text'}: $color-ci-sea;
181
+ #{'--cl-color-link'}: $color-ci-sea;
144
182
  }
145
183
 
146
184
  .cl-color-text-orchid {
147
185
  #{'--cl-color-text'}: $color-ci-orchid;
186
+ #{'--cl-color-link'}: $color-ci-orchid;
148
187
  }
149
188
 
150
189
  .cl-color-text-steel {
151
190
  #{'--cl-color-text'}: $color-ci-steel;
191
+ #{'--cl-color-link'}: $color-ci-steel;
152
192
  }
@@ -9,24 +9,36 @@
9
9
  @use 'sass:math';
10
10
 
11
11
  .cl-nowrap {
12
- text-wrap: nowrap;
12
+ text-wrap: nowrap !important;
13
13
  }
14
14
 
15
15
  .cl-rounded {
16
- border-radius: $brand-border-radius;
16
+ border-radius: $brand-border-radius !important;
17
17
  }
18
18
 
19
19
  .cl-hidden {
20
- visibility: hidden;
20
+ visibility: hidden !important;
21
21
  }
22
22
 
23
23
  .cl-cursor-pointer,
24
24
  .cl-cursor-link {
25
- cursor: pointer;
25
+ cursor: pointer !important;
26
26
  }
27
27
 
28
28
  .cl-cursor-not-allowed {
29
- cursor: not-allowed;
29
+ cursor: not-allowed !important;
30
+ }
31
+
32
+ @each $transform in uppercase, lowercase, capitalize {
33
+ .cl-#{$transform} {
34
+ text-transform: $transform !important;
35
+ }
36
+ }
37
+
38
+ @each $transform in uppercase, lowercase, capitalize {
39
+ .cl-#{$transform} {
40
+ text-transform: $transform;
41
+ }
30
42
  }
31
43
 
32
44
  .cl-faded {
@@ -62,7 +74,7 @@ h6.cl-faded,
62
74
 
63
75
  @for $i from 0 through 10 {
64
76
  .cl-w-#{$i * 10} {
65
- width: $i * 10;
77
+ width: $i * 10%;
66
78
  }
67
79
  }
68
80
 
@@ -23,17 +23,11 @@
23
23
  &.cl-color-petrol + &.cl-color-petrol,
24
24
  &.cl-color-berry + &.cl-color-berry {
25
25
  @include media-breakpoint-up(sm) {
26
- margin-top: $spacing-small * -3;
26
+ margin-top: $spacing-small * -2.5;
27
27
  }
28
28
  }
29
29
  }
30
30
 
31
- // .cl-section:not(.cl-color-red):not(.cl-color-sky):not(.cl-color-night):not(.cl-color-eggshell):not(.cl-color-clay):not(.cl-color-ash):not(.cl-color-petrol):not(.cl-color-berry) + .cl-section:not(.cl-color-red):not(.cl-color-sky):not(.cl-color-night):not(.cl-color-eggshell):not(.cl-color-clay):not(.cl-color-ash):not(.cl-color-petrol):not(.cl-color-berry) {
32
- // @include media-breakpoint-up(sm) {
33
- // margin-top: $spacing-small * -3;
34
- // }
35
- // }
36
-
37
31
  // pre-2005 legacy mappings
38
32
  .cl-section-regular {
39
33
  @extend %section-padding;
@@ -71,12 +65,10 @@
71
65
  .cl-section-light,
72
66
  .cl-section-alternate {
73
67
  @extend %section-padding;
74
- @extend %cl-color-eggshell-alternate;
68
+ @extend %cl-color-haze;
75
69
 
76
70
  background-color: var(--cl-color-background);
77
71
  color: var(--cl-color-text);
78
- // border-bottom: $brand-line-width solid $color-ci-clay;
79
- // border-top: $brand-line-width solid $color-ci-clay;
80
72
  }
81
73
 
82
74
  main {