@castlabs/ui 7.0.1 → 7.0.2
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/dist/castlabs-ui.common.js +4 -4
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +2 -2
- package/dist/castlabs-ui.umd.js +7 -7
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClBadge/style.variables.scss +9 -7
- package/src/components/ClButton/style.scss +3 -3
- package/src/components/ClCard/style.scss +1 -0
- package/src/components/ClCard/style.variables.scss +1 -1
- package/src/components/ClDropdown/style.scss +9 -8
- package/src/components/ClPagination/style.scss +1 -1
- package/src/components/ClTabs/style.scss +6 -0
- package/src/components/ClToggle/style.scss +6 -1
- package/src/components/form/ClFieldFile/style.scss +2 -1
- package/src/components/form/ClForm/style.scss +1 -1
- package/src/components/modal/ClModal/style.scss +1 -1
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +16 -13
- package/src/components/navigation/ClNavTop/style.scss +2 -1
- package/src/components/table/ClTableCel/Audit/style.scss +1 -1
- package/src/components/table/ClTableCel/Boolean/style.scss +1 -1
- package/src/components/text/ClLinkExternal/style.scss +1 -1
- package/src/components/widget/ClCookieBanner/style.scss +9 -2
- package/src/styles/abstracts/color.scss +27 -8
- package/src/styles/components/button.variables.scss +2 -2
- package/src/styles/layout/typography.scss +1 -0
- package/src/styles/layout/typography.variables.scss +2 -2
- package/src/styles/vendors/castlabs.scss +2 -2
package/package.json
CHANGED
|
@@ -44,17 +44,19 @@ $badge-baseline-shift: 0.055555em; // 1px @ 14pt
|
|
|
44
44
|
%cl-badge-derived {
|
|
45
45
|
@extend %cl-badge;
|
|
46
46
|
|
|
47
|
+
border: 0;
|
|
47
48
|
content: ' ';
|
|
48
|
-
padding
|
|
49
|
-
padding-right: 0;
|
|
50
|
-
width: 3em;
|
|
49
|
+
padding: 0 0 0 $spacing-tiny;
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
margin-left: -
|
|
51
|
+
> .cl-badge {
|
|
52
|
+
margin-left: -1em;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
> .cl-badge.cl-badge-sm,
|
|
56
|
+
> .cl-plan,
|
|
57
|
+
> .cl-role,
|
|
58
|
+
> .cl-hashtag {
|
|
59
|
+
margin-left: -1.25em;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
&::before {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@extend %cl-p-nav;
|
|
12
12
|
@include cl-button;
|
|
13
13
|
@include cl-button-color;
|
|
14
|
-
@include cl-button-focus-outline
|
|
14
|
+
@include cl-button-focus-outline;
|
|
15
15
|
|
|
16
16
|
&.cl-btn-icon {
|
|
17
17
|
min-width: 2.1em;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
.cl-btn-ghost {
|
|
70
70
|
// an accessible, invisible button that can trigger clicks
|
|
71
|
-
@include cl-button-focus-outline
|
|
71
|
+
@include cl-button-focus-outline;
|
|
72
72
|
|
|
73
73
|
background: transparent;
|
|
74
74
|
border: 0;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
// --- responsive tweaks -------------------------------------------------------
|
|
131
131
|
|
|
132
|
-
.btn:not(
|
|
132
|
+
.btn:not([class*='cl-btn-']) {
|
|
133
133
|
@include media-breakpoint-down(sm) {
|
|
134
134
|
width: 100%;
|
|
135
135
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
$dropdown-border: 0.125rem; // a 2px border to add so there is space for the outline
|
|
10
10
|
$dropdown-color-chevron: rgba($color-ci-white, 0.5);
|
|
11
|
-
$dropdown-color-chevron-bright: rgba($color-ci-
|
|
11
|
+
$dropdown-color-chevron-bright: rgba($color-ci-clay, 0.5);
|
|
12
12
|
$dropdown-line-height: 1.25em;
|
|
13
13
|
|
|
14
14
|
.cl-dropdown {
|
|
@@ -22,7 +22,7 @@ $dropdown-line-height: 1.25em;
|
|
|
22
22
|
summary {
|
|
23
23
|
@extend %cl-p-nav;
|
|
24
24
|
|
|
25
|
-
@include cl-color-focus-outline
|
|
25
|
+
@include cl-color-focus-outline;
|
|
26
26
|
|
|
27
27
|
border: $dropdown-border solid var(--cl-color-background); // border need so that outline is not behind ::after
|
|
28
28
|
color: var(--cl-color-text);
|
|
@@ -44,12 +44,13 @@ $dropdown-line-height: 1.25em;
|
|
|
44
44
|
box-shadow: -8px 0 4px var(--cl-color-background);
|
|
45
45
|
color: $dropdown-color-chevron-bright;
|
|
46
46
|
display: flex;
|
|
47
|
-
|
|
47
|
+
font-size: px(18);
|
|
48
|
+
height: calc(100% - 8px);
|
|
48
49
|
justify-content: flex-start;
|
|
49
50
|
position: absolute;
|
|
50
|
-
right:
|
|
51
|
-
top:
|
|
52
|
-
width: $spacing-small * 2;
|
|
51
|
+
right: 4px;
|
|
52
|
+
top: 4px;
|
|
53
|
+
width: calc($spacing-small * 2 - 2px);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
> span,
|
|
@@ -144,7 +145,7 @@ div.cl-dropdown summary {
|
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
.cl-dropdown-arrow {
|
|
147
|
-
background-color: $color-ci-
|
|
148
|
+
background-color: $color-ci-eggshell;
|
|
148
149
|
content: '';
|
|
149
150
|
display: inline-block;
|
|
150
151
|
height: 1rem;
|
|
@@ -164,7 +165,7 @@ div.cl-dropdown summary {
|
|
|
164
165
|
@extend %cl-p-nav;
|
|
165
166
|
|
|
166
167
|
@include typography-link(var(--cl-color-text), var(--cl-color-text), 0);
|
|
167
|
-
@include cl-color-focus-outline
|
|
168
|
+
@include cl-color-focus-outline;
|
|
168
169
|
|
|
169
170
|
display: block;
|
|
170
171
|
line-height: $dropdown-line-height;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// This file defines castlabs toggle/checkboxes.
|
|
7
7
|
|
|
8
8
|
.cl-toggle-checkbox {
|
|
9
|
-
@include cl-button-focus-outline
|
|
9
|
+
@include cl-button-focus-outline;
|
|
10
10
|
|
|
11
11
|
// hide checkbox but keep it tab-able
|
|
12
12
|
display: inline-block;
|
|
@@ -34,9 +34,14 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
&:focus + .cl-badge {
|
|
38
|
+
@include cl-color-focus-outline-raw;
|
|
39
|
+
}
|
|
40
|
+
|
|
37
41
|
&:not(:checked) + .cl-badge {
|
|
38
42
|
background-color: transparent;
|
|
39
43
|
color: var(--cl-color-background);
|
|
44
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
40
45
|
|
|
41
46
|
i:nth-of-type(1) {
|
|
42
47
|
display: none;
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
|
|
24
24
|
&:focus + .cl-file-companion {
|
|
25
25
|
@include form-focus-embed();
|
|
26
|
+
@include cl-color-focus-outline-raw;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
&[invalid]:focus + .cl-file-companion,
|
|
29
30
|
&.invalid:focus + .cl-file-companion {
|
|
30
|
-
border-color: $color-ci-
|
|
31
|
+
border-color: $color-ci-clay;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.form-label + & {
|
|
@@ -68,13 +68,13 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
68
68
|
// ------------------------------------------------------------
|
|
69
69
|
@extend %cl-p-nav;
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
#{'--cl-color-background'}: $sidenav-color-account;
|
|
72
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
73
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
74
74
|
align-items: center;
|
|
75
|
-
background-color:
|
|
75
|
+
background-color: var(--cl-color-background);
|
|
76
76
|
border-bottom: 0;
|
|
77
|
-
color:
|
|
77
|
+
color: var(--cl-color-text);
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: row;
|
|
80
80
|
font-weight: 500;
|
|
@@ -84,15 +84,15 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
84
84
|
padding: 0 $spacing-small;
|
|
85
85
|
|
|
86
86
|
a {
|
|
87
|
-
@include typography-link(
|
|
88
|
-
@include cl-color-focus-outline(
|
|
87
|
+
@include typography-link(var(--cl-color-text), var(--cl-color-text), 0);
|
|
88
|
+
@include cl-color-focus-outline(var(--cl-color-focus), 0);
|
|
89
89
|
|
|
90
90
|
line-height: 1;
|
|
91
91
|
padding-bottom: 0;
|
|
92
92
|
|
|
93
93
|
&:first-of-type {
|
|
94
94
|
// the username
|
|
95
|
-
@include cl-nav-fadeout(
|
|
95
|
+
@include cl-nav-fadeout(var(--cl-color-background));
|
|
96
96
|
|
|
97
97
|
margin-right: $spacing-micro;
|
|
98
98
|
width: 100%;
|
|
@@ -101,7 +101,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
101
101
|
// user icon
|
|
102
102
|
@include cl-fontawesome('\f2bd');
|
|
103
103
|
|
|
104
|
-
color:
|
|
104
|
+
color: var(--cl-color-text);
|
|
105
105
|
font-size: px(22);
|
|
106
106
|
line-height: 1;
|
|
107
107
|
margin-right: $spacing-tiny;
|
|
@@ -120,6 +120,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
120
120
|
details.cl-nav-organization {
|
|
121
121
|
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
122
122
|
#{'--cl-color-background'}: $sidenav-color-organization;
|
|
123
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
123
124
|
background-color: var(--cl-color-background);
|
|
124
125
|
color: var(--cl-color-text);
|
|
125
126
|
display: block;
|
|
@@ -187,11 +188,12 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
187
188
|
box-shadow: -8px 0 4px var(--cl-color-background);
|
|
188
189
|
color: $color-ci-clay;
|
|
189
190
|
display: flex;
|
|
190
|
-
|
|
191
|
+
font-size: px(18);
|
|
192
|
+
height: calc(100% - 8px); // give room for focus outline
|
|
191
193
|
justify-content: flex-start;
|
|
192
194
|
position: absolute;
|
|
193
195
|
right: 4px;
|
|
194
|
-
top:
|
|
196
|
+
top: 4px;
|
|
195
197
|
width: calc($spacing-small * 2 - 2px);
|
|
196
198
|
}
|
|
197
199
|
|
|
@@ -203,7 +205,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
203
205
|
}
|
|
204
206
|
|
|
205
207
|
a.cl-nav-organization {
|
|
206
|
-
@include cl-color-focus-outline
|
|
208
|
+
@include cl-color-focus-outline;
|
|
207
209
|
}
|
|
208
210
|
|
|
209
211
|
details.cl-nav-organization {
|
|
@@ -271,7 +273,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
271
273
|
@extend %cl-p-nav;
|
|
272
274
|
|
|
273
275
|
@include typography-link($sidenav-color-text, $sidenav-color-text, 0);
|
|
274
|
-
@include cl-color-focus-outline
|
|
276
|
+
@include cl-color-focus-outline;
|
|
275
277
|
|
|
276
278
|
display: inline-block;
|
|
277
279
|
font-weight: 500;
|
|
@@ -335,6 +337,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
335
337
|
.cl-dropdown {
|
|
336
338
|
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
337
339
|
#{'--cl-color-background'}: $sidenav-color-app;
|
|
340
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
338
341
|
background-color: var(--cl-color-background);
|
|
339
342
|
color: var(--cl-color-text);
|
|
340
343
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
.cl-nav-top {
|
|
9
9
|
// first/top line in content area
|
|
10
10
|
@extend %section-padding;
|
|
11
|
+
@extend %cl-color-night;
|
|
11
12
|
|
|
12
13
|
@include spacing-before(0);
|
|
13
14
|
|
|
@@ -156,7 +157,7 @@
|
|
|
156
157
|
|
|
157
158
|
&::after {
|
|
158
159
|
// we use a block item, not a border, so content does not jump
|
|
159
|
-
background-color: $color-ci-
|
|
160
|
+
background-color: $color-ci-clay;
|
|
160
161
|
content: '';
|
|
161
162
|
display: block;
|
|
162
163
|
height: 100%;
|
|
@@ -29,8 +29,15 @@
|
|
|
29
29
|
width: calc(100% - $spacing-small);
|
|
30
30
|
|
|
31
31
|
.card-body {
|
|
32
|
-
padding-left:
|
|
33
|
-
padding-right:
|
|
32
|
+
padding-left: $spacing-small;
|
|
33
|
+
padding-right: $spacing-small;
|
|
34
|
+
|
|
35
|
+
.cl-spacing-box.text-center {
|
|
36
|
+
> * {
|
|
37
|
+
margin-left: $spacing-tiny;
|
|
38
|
+
margin-right: $spacing-tiny;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
34
41
|
}
|
|
35
42
|
}
|
|
36
43
|
|
|
@@ -32,7 +32,7 @@ $color-ci-cloud: $color-ci-ash;
|
|
|
32
32
|
$color-ci-silver: $color-ci-clay;
|
|
33
33
|
$color-ci-smoke: $color-ci-clay;
|
|
34
34
|
$color-ci-haze: $color-ci-eggshell;
|
|
35
|
-
$color-dark: $color-ci-
|
|
35
|
+
$color-dark: $color-ci-ash;
|
|
36
36
|
|
|
37
37
|
$color-ci-green: #8cd867; //2a7a5c;
|
|
38
38
|
$color-ci-orange: #d1ac00; // fec671; //f18f01;
|
|
@@ -55,19 +55,23 @@ $color-focus: $color-ci-night;
|
|
|
55
55
|
$color-background: $color-ci-white;
|
|
56
56
|
$color-code-background: rgb(16 0 0 / 5%); // transparent to work on different colors
|
|
57
57
|
|
|
58
|
-
$color-line: $color-ci-
|
|
59
|
-
$color-line-focus: $color-ci-
|
|
58
|
+
$color-line: $color-ci-clay;
|
|
59
|
+
$color-line-focus: $color-ci-clay;
|
|
60
60
|
|
|
61
61
|
$bar-ui-width: px(4);
|
|
62
62
|
|
|
63
|
-
@mixin cl-color-focus-outline($color:
|
|
63
|
+
@mixin cl-color-focus-outline-raw($color: var(--cl-color-focus), $offset: -3px) {
|
|
64
|
+
box-shadow: none; // disable BS outlines
|
|
65
|
+
outline: 1px dashed $color;
|
|
66
|
+
outline-offset: $offset;
|
|
67
|
+
z-index: 100;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@mixin cl-color-focus-outline($color: var(--cl-color-focus), $offset: -3px) {
|
|
64
71
|
&:focus,
|
|
65
72
|
&:focus-visible,
|
|
66
73
|
&:focus-within {
|
|
67
|
-
|
|
68
|
-
outline: 1px dashed $color;
|
|
69
|
-
outline-offset: $offset;
|
|
70
|
-
z-index: 100;
|
|
74
|
+
@include cl-color-focus-outline-raw($color, $offset);
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
77
|
|
|
@@ -131,6 +135,7 @@ $bar-ui-width: px(4);
|
|
|
131
135
|
#{'--cl-color-link'}: $color-ci-berry;
|
|
132
136
|
#{'--cl-color-active'}: $color-ci-berry;
|
|
133
137
|
#{'--cl-color-hover'}: $color-ci-red;
|
|
138
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
134
139
|
}
|
|
135
140
|
|
|
136
141
|
%cl-color-night-outline {
|
|
@@ -142,6 +147,7 @@ $bar-ui-width: px(4);
|
|
|
142
147
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
143
148
|
#{'--cl-color-highlight'}: rgba(#fff, 0.85);
|
|
144
149
|
#{'--cl-color-link'}: $color-ci-berry;
|
|
150
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
%cl-color-red {
|
|
@@ -152,6 +158,7 @@ $bar-ui-width: px(4);
|
|
|
152
158
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
153
159
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
154
160
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
161
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
155
162
|
}
|
|
156
163
|
|
|
157
164
|
%cl-color-red-outline {
|
|
@@ -161,6 +168,7 @@ $bar-ui-width: px(4);
|
|
|
161
168
|
#{'--cl-color-accent'}: $color-ci-red;
|
|
162
169
|
#{'--cl-color-highlight'}: rgba(#fff, 0.85);
|
|
163
170
|
#{'--cl-color-link'}: $color-ci-berry;
|
|
171
|
+
#{'--cl-color-focus'}: rgba($color-ci-red, 0.5);
|
|
164
172
|
}
|
|
165
173
|
|
|
166
174
|
%cl-color-sky {
|
|
@@ -171,6 +179,7 @@ $bar-ui-width: px(4);
|
|
|
171
179
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
172
180
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
173
181
|
#{'--cl-color-link'}: $color-ci-night;
|
|
182
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
174
183
|
}
|
|
175
184
|
|
|
176
185
|
%cl-color-night {
|
|
@@ -181,6 +190,7 @@ $bar-ui-width: px(4);
|
|
|
181
190
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
182
191
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
183
192
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
193
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
184
194
|
}
|
|
185
195
|
|
|
186
196
|
%cl-color-eggshell {
|
|
@@ -191,6 +201,7 @@ $bar-ui-width: px(4);
|
|
|
191
201
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
192
202
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
193
203
|
#{'--cl-color-link'}: $color-ci-berry;
|
|
204
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
194
205
|
}
|
|
195
206
|
|
|
196
207
|
%cl-color-clay {
|
|
@@ -201,6 +212,7 @@ $bar-ui-width: px(4);
|
|
|
201
212
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
202
213
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
203
214
|
#{'--cl-color-link'}: $color-ci-night;
|
|
215
|
+
#{'--cl-color-focus'}: rgba($color-ci-night, 0.5);
|
|
204
216
|
}
|
|
205
217
|
|
|
206
218
|
%cl-color-ash {
|
|
@@ -211,6 +223,7 @@ $bar-ui-width: px(4);
|
|
|
211
223
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
212
224
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
213
225
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
226
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
214
227
|
}
|
|
215
228
|
|
|
216
229
|
%cl-color-petrol {
|
|
@@ -221,6 +234,7 @@ $bar-ui-width: px(4);
|
|
|
221
234
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
222
235
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
223
236
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
237
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
224
238
|
}
|
|
225
239
|
|
|
226
240
|
%cl-color-berry {
|
|
@@ -231,6 +245,7 @@ $bar-ui-width: px(4);
|
|
|
231
245
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
232
246
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
233
247
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
248
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
234
249
|
}
|
|
235
250
|
|
|
236
251
|
%cl-color-transparent {
|
|
@@ -241,6 +256,7 @@ $bar-ui-width: px(4);
|
|
|
241
256
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
242
257
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
243
258
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
259
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
244
260
|
}
|
|
245
261
|
|
|
246
262
|
%cl-color-disabled {
|
|
@@ -251,6 +267,7 @@ $bar-ui-width: px(4);
|
|
|
251
267
|
#{'--cl-color-accent'}: $color-disabled;
|
|
252
268
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
253
269
|
#{'--cl-color-link'}: $color-disabled;
|
|
270
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
254
271
|
}
|
|
255
272
|
|
|
256
273
|
%cl-color-faded {
|
|
@@ -261,6 +278,7 @@ $bar-ui-width: px(4);
|
|
|
261
278
|
#{'--cl-color-accent'}: $color-ci-ash;
|
|
262
279
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
263
280
|
#{'--cl-color-link'}: $color-ci-ash;
|
|
281
|
+
#{'--cl-color-focus'}: rgba($color-ci-ash, 0.5);
|
|
264
282
|
}
|
|
265
283
|
|
|
266
284
|
%cl-color-none {
|
|
@@ -268,6 +286,7 @@ $bar-ui-width: px(4);
|
|
|
268
286
|
#{'--cl-color-border'}: transparent;
|
|
269
287
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
270
288
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
289
|
+
#{'--cl-color-focus'}: rgba($color-ci-eggshell, 0.75);
|
|
271
290
|
}
|
|
272
291
|
|
|
273
292
|
// ----------------------------------------------
|
|
@@ -92,7 +92,7 @@ $typography-monospace-line-height: 1.375;
|
|
|
92
92
|
|
|
93
93
|
@mixin typography-link-invisible {
|
|
94
94
|
@include typography-link(inherit, inherit, 0);
|
|
95
|
-
@include cl-color-focus-outline(
|
|
95
|
+
@include cl-color-focus-outline(var(--cl-color-focus), 1px);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@mixin cl-btn-a($line-height-px) {
|
|
@@ -129,7 +129,7 @@ $typography-monospace-line-height: 1.375;
|
|
|
129
129
|
|
|
130
130
|
%cl-a {
|
|
131
131
|
@include typography-link(var(--cl-color-link), $color-ci-red);
|
|
132
|
-
@include cl-color-focus-outline(var(--cl-color-
|
|
132
|
+
@include cl-color-focus-outline(var(--cl-color-focus), 1px);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
%cl-a-text {
|