@wwtdev/bsds-css 1.16.5 → 2.0.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.
- package/dist/components/_accordions.scss +16 -16
- package/dist/components/_buttons.scss +2 -3
- package/dist/components/_dropdown-options.scss +2 -10
- package/dist/components/_form-booleans.scss +30 -14
- package/dist/components/_form-character-count.scss +4 -4
- package/dist/components/_form-elements.scss +6 -3
- package/dist/components/_form-labels.scss +9 -12
- package/dist/components/_form-text-fields.scss +33 -13
- package/dist/components/_loader.scss +7 -6
- package/dist/components/_profile-details.scss +14 -1
- package/dist/components/_tab-list.scss +0 -1
- package/dist/components/accordions.css +16 -16
- package/dist/components/buttons.css +2 -3
- package/dist/components/dropdown-options.css +2 -10
- package/dist/components/form-booleans.css +30 -14
- package/dist/components/form-character-count.css +4 -4
- package/dist/components/form-elements.css +6 -3
- package/dist/components/form-labels.css +8 -11
- package/dist/components/form-text-fields.css +33 -13
- package/dist/components/loader.css +7 -6
- package/dist/components/profile-details.css +14 -1
- package/dist/components/tab-list.css +0 -1
- package/dist/wwt-bsds.css +120 -79
- package/dist/wwt-bsds.min.css +1 -1
- package/package.json +1 -1
|
@@ -47,6 +47,22 @@
|
|
|
47
47
|
line-height: inherit;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
51
|
+
grid-area: main;
|
|
52
|
+
margin-right: var(--bs-space-2);
|
|
53
|
+
text-align: left;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
57
|
+
vertical-align: middle;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-width: 957px) {
|
|
61
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
62
|
+
margin-right: var(--bs-space-3);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
50
66
|
.bs-accordion :where(header button) :where([data-position]) {
|
|
51
67
|
width: var(--accordion-text-size);
|
|
52
68
|
}
|
|
@@ -66,22 +82,6 @@
|
|
|
66
82
|
transform: rotate(180deg);
|
|
67
83
|
}
|
|
68
84
|
|
|
69
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
70
|
-
grid-area: main;
|
|
71
|
-
margin-right: var(--bs-space-2);
|
|
72
|
-
text-align: left;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
76
|
-
vertical-align: middle;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media (min-width: 957px) {
|
|
80
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
81
|
-
margin-right: var(--bs-space-3);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
85
|
/* Accordion Content (the collapsible / expandible part) */
|
|
86
86
|
|
|
87
87
|
.bs-accordion :where(.bs-accordion-content) {
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
box-shadow: inset 0 0 0 1px var(--bs-gray-400);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.bs-button:where([data-text]:
|
|
170
|
-
.bs-button:where([data-text]:
|
|
169
|
+
.bs-button:where([data-text]:not([data-text="false"])):disabled,
|
|
170
|
+
.bs-button:where([data-text]:not([data-text="false"]))[aria-disabled="true"] {
|
|
171
171
|
background-color: transparent;
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -188,6 +188,5 @@ a.bs-button {
|
|
|
188
188
|
vertical-align: middle;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
|
|
192
191
|
}
|
|
193
192
|
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
--focus-border-color: var(--bs-blue-base);
|
|
108
108
|
border: 2px solid var(--focus-border-color);
|
|
109
109
|
outline: none;
|
|
110
|
-
padding-left:
|
|
110
|
+
padding-left: 1.375rem;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/* Navigation focus on a selected element should preserve 4px left border */
|
|
114
114
|
.bs-dropdown-options :where(li[data-selected]:focus-visible) {
|
|
115
115
|
border-left: 4px solid var(--focus-border-color);
|
|
116
|
-
padding-left:
|
|
116
|
+
padding-left: 1.25rem;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/* data-variant="negative" list option keyboard navigation focus */
|
|
@@ -126,14 +126,6 @@
|
|
|
126
126
|
padding-left: 0.5rem;
|
|
127
127
|
padding-right: 0.75rem;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
.bs-dropdown-options :where(li:focus-visible) {
|
|
131
|
-
padding-left: 0.625rem;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.bs-dropdown-options :where(li[data-selected]:focus-visible) {
|
|
135
|
-
padding-left: 0.5rem;
|
|
136
|
-
}
|
|
137
129
|
}
|
|
138
130
|
|
|
139
131
|
}
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
|
|
38
38
|
/* Checkbox & Radio Input */
|
|
39
39
|
|
|
40
|
-
:where(input[type='checkbox'], input[type='radio'])
|
|
40
|
+
:where(input[type='checkbox'], input[type='radio']),
|
|
41
|
+
.bs-boolean :where(input) {
|
|
41
42
|
--box-shadow: var(--bs-ink-base);
|
|
42
43
|
|
|
43
44
|
appearance: none;
|
|
@@ -52,23 +53,27 @@
|
|
|
52
53
|
width: 1rem;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
:where(input[type='checkbox'], input[type='radio']):focus-visible
|
|
56
|
+
:where(input[type='checkbox'], input[type='radio']):focus-visible,
|
|
57
|
+
.bs-boolean :where(input):focus-visible {
|
|
56
58
|
box-shadow: inset 0 0 0 0.125rem var(--box-shadow),
|
|
57
59
|
0 0 0 2px var(--offset-color, var(--bs-bg-base)),
|
|
58
60
|
0 0 0 4px var(--outline-color, var(--bs-blue-base));
|
|
59
61
|
outline: 2px solid transparent;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
:where(input[type='checkbox'])
|
|
64
|
+
:where(input[type='checkbox']),
|
|
65
|
+
.bs-boolean :where([type='checkbox']) {
|
|
63
66
|
border-radius: 0.125rem;
|
|
64
67
|
}
|
|
65
68
|
|
|
66
|
-
:where(input[type='radio'])
|
|
69
|
+
:where(input[type='radio']),
|
|
70
|
+
.bs-boolean :where([type='radio']) {
|
|
67
71
|
border-radius: 50%;
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
/* Checkbox's checkmark */
|
|
71
|
-
input:where([type='checkbox'])::before
|
|
75
|
+
input:where([type='checkbox'])::before,
|
|
76
|
+
.bs-boolean :where([type="checkbox"])::before {
|
|
72
77
|
--filled-size: 1rem;
|
|
73
78
|
--check-fill-color: var(--bs-blue-base);
|
|
74
79
|
|
|
@@ -80,7 +85,8 @@ input:where([type='checkbox'])::before {
|
|
|
80
85
|
width: var(--filled-size);
|
|
81
86
|
}
|
|
82
87
|
|
|
83
|
-
input:where([type='checkbox'])::after
|
|
88
|
+
input:where([type='checkbox'])::after,
|
|
89
|
+
.bs-boolean :where([type="checkbox"])::after {
|
|
84
90
|
border: solid var(--bs-white);
|
|
85
91
|
border-width: 0 0.125rem 0.125rem 0;
|
|
86
92
|
content: '';
|
|
@@ -94,7 +100,8 @@ input:where([type='checkbox'])::after {
|
|
|
94
100
|
width: 0.375em;
|
|
95
101
|
}
|
|
96
102
|
|
|
97
|
-
input:where([type='checkbox']):where(:indeterminate)::after
|
|
103
|
+
input:where([type='checkbox']):where(:indeterminate)::after,
|
|
104
|
+
.bs-boolean :where([type="checkbox"]):where(:indeterminate)::after {
|
|
98
105
|
border: none;
|
|
99
106
|
background-color: var(--bs-white);
|
|
100
107
|
height: 0.125rem;
|
|
@@ -103,7 +110,8 @@ input:where([type='checkbox']):where(:indeterminate)::after {
|
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
/* Radio's dot */
|
|
106
|
-
input:where([type='radio'])::before
|
|
113
|
+
input:where([type='radio'])::before,
|
|
114
|
+
.bs-boolean :where([type="radio"])::before {
|
|
107
115
|
--filled-size: 1rem;
|
|
108
116
|
--radio-fill-color: var(--bs-blue-base);
|
|
109
117
|
|
|
@@ -116,7 +124,8 @@ input:where([type='radio'])::before {
|
|
|
116
124
|
width: var(--filled-size);
|
|
117
125
|
}
|
|
118
126
|
|
|
119
|
-
input:where([type='radio'])::after
|
|
127
|
+
input:where([type='radio'])::after,
|
|
128
|
+
.bs-boolean :where([type="radio"])::after {
|
|
120
129
|
--inner-size: 0.375rem;
|
|
121
130
|
--inner-fill-color: var(--bs-white);
|
|
122
131
|
|
|
@@ -134,7 +143,9 @@ input:where([type='radio'])::after {
|
|
|
134
143
|
}
|
|
135
144
|
|
|
136
145
|
input:where([type='checkbox']:checked, [type='checkbox']:indeterminate, [type='radio']:checked)::before,
|
|
137
|
-
input:where([type='checkbox']:checked, [type='checkbox']:indeterminate, [type='radio']:checked)::after
|
|
146
|
+
input:where([type='checkbox']:checked, [type='checkbox']:indeterminate, [type='radio']:checked)::after,
|
|
147
|
+
.bs-boolean :where(:checked, :indeterminate)::before,
|
|
148
|
+
.bs-boolean :where(:checked, :indeterminate)::after {
|
|
138
149
|
visibility: visible;
|
|
139
150
|
}
|
|
140
151
|
|
|
@@ -159,25 +170,30 @@ input:where([type='checkbox']:checked, [type='checkbox']:indeterminate, [type='r
|
|
|
159
170
|
|
|
160
171
|
/* Disabled State */
|
|
161
172
|
|
|
162
|
-
input:where([type='checkbox'], [type='radio']):disabled
|
|
173
|
+
input:where([type='checkbox'], [type='radio']):disabled,
|
|
174
|
+
.bs-boolean :where(input):disabled {
|
|
163
175
|
--box-shadow: var(--bs-bg-disabled);
|
|
164
176
|
background-color: transparent;
|
|
165
177
|
cursor: default;
|
|
166
178
|
}
|
|
167
179
|
|
|
168
180
|
input:where([type='checkbox']):checked:disabled::before,
|
|
169
|
-
input:where([type='checkbox']):indeterminate:disabled::before
|
|
181
|
+
input:where([type='checkbox']):indeterminate:disabled::before,
|
|
182
|
+
.bs-boolean :where(input[type="checkbox"]):checked:disabled::before,
|
|
183
|
+
.bs-boolean :where(input[type="checkbox"]):indeterminate:disabled::before {
|
|
170
184
|
--check-fill-color: var(--bs-bg-disabled);
|
|
171
185
|
}
|
|
172
186
|
|
|
173
|
-
input:where([type='radio']):checked:disabled::before
|
|
187
|
+
input:where([type='radio']):checked:disabled::before,
|
|
188
|
+
.bs-boolean :where(input[type="radio"]):checked:disabled::before {
|
|
174
189
|
--radio-fill-color: var(--bs-bg-disabled);
|
|
175
190
|
}
|
|
176
191
|
|
|
177
192
|
|
|
178
193
|
/* Error state */
|
|
179
194
|
|
|
180
|
-
input:where([type='checkbox'], [type='radio'])[data-error]:where(:not([data-error="false"]))
|
|
195
|
+
input:where([type='checkbox'], [type='radio'])[data-error]:where(:not([data-error="false"])),
|
|
196
|
+
.bs-boolean :where(input[data-error="true"]) {
|
|
181
197
|
--box-shadow: var(--bs-red-base);
|
|
182
198
|
--outline-color: var(--bs-red-base);
|
|
183
199
|
}
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
:where(
|
|
11
|
-
:where(
|
|
12
|
-
.bs-character-count:where([data-disabled]) {
|
|
10
|
+
:where(:disabled, [data-disabled="true"]) + .bs-character-count,
|
|
11
|
+
:where(:disabled, [data-disabled="true"]) .bs-character-count,
|
|
12
|
+
.bs-character-count:where([data-disabled="true"]) {
|
|
13
13
|
color: var(--bs-ink-disabled);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.bs-character-count:where([data-error]) {
|
|
16
|
+
.bs-character-count:where([data-error="true"]) {
|
|
17
17
|
color: var(--bs-ink-red);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -9,15 +9,18 @@
|
|
|
9
9
|
color: var(--bs-gray-400);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
:where(.box) :is(input, textarea, select):where(:focus-visible)
|
|
12
|
+
:where(.box) :is(input, textarea, select):where(:focus-visible),
|
|
13
|
+
:where(.box) :is(.bs-input, .bs-textarea, .bs-select):where(:focus-visible) {
|
|
13
14
|
--offset-color: var(--bs-bg-medium);
|
|
14
15
|
}
|
|
15
|
-
:where(.box[data-invert]) :is(input, textarea, select):where(:focus-visible)
|
|
16
|
+
:where(.box[data-invert]) :is(input, textarea, select):where(:focus-visible),
|
|
17
|
+
:where(.box[data-invert]) :is(.bs-input, .bs-textarea, .bs-select):where(:focus-visible) {
|
|
16
18
|
--offset-color: var(--bs-bg-invert-base);
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
/* Errors and Messages */
|
|
20
|
-
:is(input, select, textarea):where([data-error]:not([data-error="false"]))
|
|
22
|
+
:is(input, select, textarea):where([data-error]:not([data-error="false"])),
|
|
23
|
+
:is(.bs-input, .bs-select, .bs-textarea):where([data-error]:not([data-error="false"])) {
|
|
21
24
|
--input-border: var(--bs-ink-red);
|
|
22
25
|
}
|
|
23
26
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@mixin form-labels() {
|
|
2
|
-
|
|
2
|
+
.bs-label,
|
|
3
|
+
:where(label, legend) {
|
|
3
4
|
--label-color: var(--bs-ink-base);
|
|
4
5
|
|
|
5
6
|
color: var(--label-color);
|
|
@@ -10,19 +11,15 @@
|
|
|
10
11
|
width: 100%;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
:where([data-required]:not([data-required="false"]))
|
|
14
|
-
|
|
14
|
+
:where([data-required]:not([data-required="false"])),
|
|
15
|
+
.bs-label :where([data-required="true"]) {
|
|
16
|
+
--label-color: var(--bs-ink-red);
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
:where(label[data-disabled]:not([data-disabled="false"]))
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
:where([data-disabled]:not([data-disabled="false"]) [data-required]:not([data-required="false"])) {
|
|
22
|
-
--label-color: var(--bs-ink-disabled);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:where([data-disabled]:not([data-disabled="false"])) label {
|
|
19
|
+
:where(label[data-disabled]:not([data-disabled="false"])),
|
|
20
|
+
:where(label[data-disabled]:not([data-disabled="false"])) *,
|
|
21
|
+
.bs-label:where([data-disabled="true"]),
|
|
22
|
+
.bs-label:where([data-disabled="true"]) * {
|
|
26
23
|
--label-color: var(--bs-ink-disabled);
|
|
27
24
|
}
|
|
28
25
|
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
input:where(:not([type='checkbox'], [type='radio'], [type='file'], [type='range'])),
|
|
9
|
-
textarea,
|
|
9
|
+
textarea,
|
|
10
|
+
select,
|
|
11
|
+
:is(.bs-input, .bs-select, .bs-textarea) {
|
|
10
12
|
--input-bg: var(--bs-bg-base);
|
|
11
13
|
--input-border: var(--bs-violet-medium);
|
|
12
14
|
appearance: none;
|
|
@@ -23,49 +25,62 @@ textarea, select {
|
|
|
23
25
|
line-height: var(--bs-leading-base);
|
|
24
26
|
min-height: 2.5rem;
|
|
25
27
|
padding-inline: 0.75rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
input:where(:not([type='checkbox'], [type='radio'], [type='file'], [type='range'])),
|
|
31
|
+
textarea,
|
|
32
|
+
select {
|
|
26
33
|
width: 100%;
|
|
27
34
|
}
|
|
28
35
|
|
|
29
36
|
input:where([type='text'], [type='email'], [type='url']),
|
|
30
|
-
select
|
|
37
|
+
select,
|
|
38
|
+
.bs-input:where([type='text'], [type='email'], [type='url']),
|
|
39
|
+
.bs-select {
|
|
31
40
|
text-overflow: ellipsis;
|
|
32
41
|
}
|
|
33
42
|
|
|
43
|
+
.bs-textarea,
|
|
34
44
|
textarea {
|
|
35
45
|
height: auto;
|
|
36
46
|
padding-block: 0.5rem;
|
|
37
47
|
resize: vertical;
|
|
38
48
|
}
|
|
39
49
|
|
|
40
|
-
:is(input, textarea, select)::placeholder
|
|
50
|
+
:is(input, textarea, select)::placeholder,
|
|
51
|
+
:is(.bs-input, .bs-select, .bs-textarea)::placeholder {
|
|
41
52
|
color: var(--bs-violet-lightest);
|
|
42
53
|
}
|
|
43
|
-
:is(input, textarea, select):where(:focus-visible)::placeholder
|
|
54
|
+
:is(input, textarea, select):where(:focus-visible)::placeholder,
|
|
55
|
+
:is(.bs-input, .bs-select, .bs-textarea):where(:focus-visible)::placeholder {
|
|
44
56
|
opacity: 0;
|
|
45
57
|
}
|
|
46
58
|
|
|
47
|
-
:is(input:where(:not([type='checkbox'], [type='radio'])), textarea, select):where(:focus-visible)
|
|
59
|
+
:is(input:where(:not([type='checkbox'], [type='radio'])), textarea, select):where(:focus-visible),
|
|
60
|
+
:is(.bs-input, .bs-select, .bs-textarea):where(:focus-visible) {
|
|
48
61
|
--input-border: var(--bs-blue-base);
|
|
49
62
|
outline-width: 0px;
|
|
50
63
|
}
|
|
51
64
|
|
|
52
|
-
:is(input:where(:not([type='checkbox'],[type='radio'])), textarea, select):where(:disabled)
|
|
65
|
+
:is(input:where(:not([type='checkbox'],[type='radio'])), textarea, select):where(:disabled),
|
|
66
|
+
:is(.bs-input, .bs-select, .bs-textarea):where(:disabled) {
|
|
53
67
|
--input-border: var(--bs-ink-disabled);
|
|
54
68
|
--input-bg: var(--bs-bg-disabled);
|
|
55
69
|
color: var(--bs-ink-disabled);
|
|
56
70
|
}
|
|
57
71
|
|
|
58
72
|
/* Errors and Messages */
|
|
59
|
-
:is(input, select, textarea):where([data-error]:not([data-error="false"]))
|
|
73
|
+
:is(input, select, textarea):where([data-error]:not([data-error="false"])),
|
|
74
|
+
:is(.bs-input, .bs-select, .bs-textarea):where([data-error="true"]) {
|
|
60
75
|
--input-border: var(--bs-ink-red);
|
|
61
76
|
}
|
|
62
77
|
|
|
63
78
|
/*
|
|
64
79
|
Removes the built-in 'margin' on bottom of textarea
|
|
65
80
|
see https://bugs.chromium.org/p/chromium/issues/detail?id=89530
|
|
66
|
-
:has not fully supported yet but will work for most
|
|
67
81
|
*/
|
|
68
|
-
:has(> textarea:only-child)
|
|
82
|
+
:has(> textarea:only-child),
|
|
83
|
+
:has(> .bs-textarea:only-child) {
|
|
69
84
|
display: block;
|
|
70
85
|
line-height: 0;
|
|
71
86
|
}
|
|
@@ -76,14 +91,17 @@ see https://bugs.chromium.org/p/chromium/issues/detail?id=89530
|
|
|
76
91
|
}
|
|
77
92
|
|
|
78
93
|
:is(input, textarea, select):disabled::placeholder,
|
|
79
|
-
:is(input, textarea, select)[disabled]::placeholder
|
|
94
|
+
:is(input, textarea, select)[disabled]::placeholder,
|
|
95
|
+
:is(.bs-input, .bs-textarea, .bs-select):disabled::placeholder,
|
|
96
|
+
:is(.bs-input, .bs-textarea, .bs-select)[disabled]::placeholder {
|
|
80
97
|
color: var(--bs-ink-disabled);
|
|
81
98
|
opacity: 1;
|
|
82
99
|
}
|
|
83
100
|
|
|
84
101
|
/* Select */
|
|
85
102
|
|
|
86
|
-
select
|
|
103
|
+
select,
|
|
104
|
+
.bs-select {
|
|
87
105
|
/* URL Encoded SVG dropdown caret so there is something there */
|
|
88
106
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%230A0B19' d='M8.048 13.375a.745.745 0 0 1-.526-.217L0 5.686l1.053-1.061 6.995 6.95 6.897-6.85 1.053 1.06-7.423 7.373a.745.745 0 0 1-.527.217Z'/%3E%3C/svg%3E");
|
|
89
107
|
background-position: right 0.75rem center;
|
|
@@ -91,12 +109,14 @@ select {
|
|
|
91
109
|
background-size: 1em 1em;
|
|
92
110
|
padding-right: var(--bs-space-9);
|
|
93
111
|
}
|
|
94
|
-
.dark select
|
|
112
|
+
.dark select,
|
|
113
|
+
.dark .bs-select {
|
|
95
114
|
/* URL Encoded SVG dropdown caret so there is something there */
|
|
96
115
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8.048 13.375a.745.745 0 0 1-.526-.217L0 5.686l1.053-1.061 6.995 6.95 6.897-6.85 1.053 1.06-7.423 7.373a.745.745 0 0 1-.527.217Z'/%3E%3C/svg%3E");
|
|
97
116
|
}
|
|
98
117
|
|
|
99
|
-
.dark select:disabled
|
|
118
|
+
.dark select:disabled,
|
|
119
|
+
.dark .bs-select:disabled {
|
|
100
120
|
/* URL Encoded SVG dropdown caret so there is something there */
|
|
101
121
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23555775' d='M8.048 13.375a.745.745 0 0 1-.526-.217L0 5.686l1.053-1.061 6.995 6.95 6.897-6.85 1.053 1.06-7.423 7.373a.745.745 0 0 1-.527.217Z'/%3E%3C/svg%3E");
|
|
102
122
|
}
|
|
@@ -33,31 +33,32 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* ----- loader dots ----- */
|
|
36
|
-
.bs-loader > :where(
|
|
36
|
+
.bs-loader > :where(*:not(.visually-hidden)) {
|
|
37
37
|
background-color: var(--loader-dot-bg);
|
|
38
38
|
border-radius: 50%;
|
|
39
|
+
display: block;
|
|
39
40
|
height: var(--loader-dot-size);
|
|
40
41
|
position: absolute;
|
|
41
42
|
top: var(--loader-dot-top);
|
|
42
43
|
width: var(--loader-dot-size);
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
.bs-loader > :where(
|
|
46
|
+
.bs-loader > :where(*:not(.visually-hidden)) {
|
|
46
47
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
47
48
|
}
|
|
48
|
-
.bs-loader > :where(
|
|
49
|
+
.bs-loader > :where(*:nth-child(1)) {
|
|
49
50
|
animation: loading-1 0.6s infinite;
|
|
50
51
|
left: 0%;
|
|
51
52
|
}
|
|
52
|
-
.bs-loader > :where(
|
|
53
|
+
.bs-loader > :where(*:nth-child(2)) {
|
|
53
54
|
animation: loading-2 0.6s infinite;
|
|
54
55
|
left: 0%;
|
|
55
56
|
}
|
|
56
|
-
.bs-loader > :where(
|
|
57
|
+
.bs-loader > :where(*:nth-child(3)) {
|
|
57
58
|
animation: loading-2 0.6s infinite;
|
|
58
59
|
left: 40%;
|
|
59
60
|
}
|
|
60
|
-
.bs-loader > :where(
|
|
61
|
+
.bs-loader > :where(*:nth-child(4)) {
|
|
61
62
|
animation: loading-3 0.6s infinite;
|
|
62
63
|
left: 80%;
|
|
63
64
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
.bs-profile-details {
|
|
3
3
|
color: var(--bs-ink-light);
|
|
4
4
|
font-size: var(--bs-text-sm);
|
|
5
|
+
line-height: 1.3;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.bs-profile-details > :where(*) {
|
|
@@ -18,14 +19,26 @@
|
|
|
18
19
|
color: var(--profile-action-color, var(--bs-orange-warning));
|
|
19
20
|
font-size: inherit;
|
|
20
21
|
}
|
|
22
|
+
.bs-profile-details > :where(button:first-child:hover) {
|
|
23
|
+
text-decoration: underline;
|
|
24
|
+
}
|
|
25
|
+
/* Remove the profile name underline when hovering on the action button. */
|
|
26
|
+
.bs-profile-details:has(:where(button:first-child:hover)) {
|
|
27
|
+
--profile-name-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
21
30
|
/* Action button and optional meta details w/ icon */
|
|
22
31
|
.bs-profile-details > :where([data-icon]) {
|
|
23
|
-
align-items:
|
|
32
|
+
align-items: center;
|
|
24
33
|
column-gap: 0.5rem;
|
|
25
34
|
cursor: pointer;
|
|
26
35
|
display: flex;
|
|
27
36
|
font-size: inherit;
|
|
28
37
|
}
|
|
38
|
+
.bs-profile-details .bs-icon {
|
|
39
|
+
height: .75rem;
|
|
40
|
+
width: .75rem;
|
|
41
|
+
}
|
|
29
42
|
|
|
30
43
|
}
|
|
31
44
|
|
|
@@ -46,6 +46,22 @@
|
|
|
46
46
|
line-height: inherit;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
50
|
+
grid-area: main;
|
|
51
|
+
margin-right: var(--bs-space-2);
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
56
|
+
vertical-align: middle;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-width: 957px) {
|
|
60
|
+
.bs-accordion :where(header button) > :where(span) {
|
|
61
|
+
margin-right: var(--bs-space-3);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
49
65
|
.bs-accordion :where(header button) :where([data-position]) {
|
|
50
66
|
width: var(--accordion-text-size);
|
|
51
67
|
}
|
|
@@ -65,22 +81,6 @@
|
|
|
65
81
|
transform: rotate(180deg);
|
|
66
82
|
}
|
|
67
83
|
|
|
68
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
69
|
-
grid-area: main;
|
|
70
|
-
margin-right: var(--bs-space-2);
|
|
71
|
-
text-align: left;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
75
|
-
vertical-align: middle;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@media (min-width: 957px) {
|
|
79
|
-
.bs-accordion :where(header button) > :where(span) {
|
|
80
|
-
margin-right: var(--bs-space-3);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
84
|
/* Accordion Content (the collapsible / expandible part) */
|
|
85
85
|
|
|
86
86
|
.bs-accordion :where(.bs-accordion-content) {
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
box-shadow: inset 0 0 0 1px var(--bs-gray-400);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.bs-button:where([data-text]:
|
|
169
|
-
.bs-button:where([data-text]:
|
|
168
|
+
.bs-button:where([data-text]:not([data-text="false"])):disabled,
|
|
169
|
+
.bs-button:where([data-text]:not([data-text="false"]))[aria-disabled="true"] {
|
|
170
170
|
background-color: transparent;
|
|
171
171
|
}
|
|
172
172
|
|
|
@@ -186,4 +186,3 @@ a.bs-button {
|
|
|
186
186
|
outline: none;
|
|
187
187
|
vertical-align: middle;
|
|
188
188
|
}
|
|
189
|
-
|
|
@@ -106,13 +106,13 @@
|
|
|
106
106
|
--focus-border-color: var(--bs-blue-base);
|
|
107
107
|
border: 2px solid var(--focus-border-color);
|
|
108
108
|
outline: none;
|
|
109
|
-
padding-left:
|
|
109
|
+
padding-left: 1.375rem;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/* Navigation focus on a selected element should preserve 4px left border */
|
|
113
113
|
.bs-dropdown-options :where(li[data-selected]:focus-visible) {
|
|
114
114
|
border-left: 4px solid var(--focus-border-color);
|
|
115
|
-
padding-left:
|
|
115
|
+
padding-left: 1.25rem;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/* data-variant="negative" list option keyboard navigation focus */
|
|
@@ -125,12 +125,4 @@
|
|
|
125
125
|
padding-left: 0.5rem;
|
|
126
126
|
padding-right: 0.75rem;
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
.bs-dropdown-options :where(li:focus-visible) {
|
|
130
|
-
padding-left: 0.625rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.bs-dropdown-options :where(li[data-selected]:focus-visible) {
|
|
134
|
-
padding-left: 0.5rem;
|
|
135
|
-
}
|
|
136
128
|
}
|