@dialpad/dialtone 6.6.0 → 6.8.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 (64) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/lib/build/less/components/avatar.less +68 -56
  3. package/lib/build/less/components/badge.less +39 -28
  4. package/lib/build/less/components/banner.less +33 -36
  5. package/lib/build/less/components/breadcrumbs.less +7 -8
  6. package/lib/build/less/components/button.less +53 -56
  7. package/lib/build/less/components/forms.less +24 -28
  8. package/lib/build/less/components/input.less +69 -42
  9. package/lib/build/less/components/link.less +12 -15
  10. package/lib/build/less/components/list-group.less +5 -5
  11. package/lib/build/less/components/modal.less +39 -49
  12. package/lib/build/less/components/notice.less +27 -29
  13. package/lib/build/less/components/radio-checkbox.less +73 -66
  14. package/lib/build/less/components/selects.less +27 -23
  15. package/lib/build/less/components/table.less +14 -17
  16. package/lib/build/less/components/tabs.less +30 -31
  17. package/lib/build/less/components/toast.less +39 -40
  18. package/lib/build/less/components/tooltip.less +21 -22
  19. package/lib/build/less/dialtone-globals.less +11 -3
  20. package/lib/build/less/dialtone-reset.less +11 -11
  21. package/lib/build/less/dialtone-variables.less +8 -8
  22. package/lib/build/less/dialtone.less +37 -35
  23. package/lib/build/less/themes/default.less +9 -9
  24. package/lib/build/less/themes/example.less +4 -4
  25. package/lib/build/less/utilities/backgrounds.less +89 -86
  26. package/lib/build/less/utilities/borders.less +101 -87
  27. package/lib/build/less/utilities/colors.less +91 -80
  28. package/lib/build/less/utilities/effects.less +83 -63
  29. package/lib/build/less/utilities/flex.less +107 -107
  30. package/lib/build/less/utilities/grid.less +146 -146
  31. package/lib/build/less/utilities/interactivity.less +27 -27
  32. package/lib/build/less/utilities/internals.less +46 -46
  33. package/lib/build/less/utilities/layout.less +82 -81
  34. package/lib/build/less/utilities/responsive.less +6 -6
  35. package/lib/build/less/utilities/sizing.less +97 -97
  36. package/lib/build/less/utilities/spacing.less +26 -26
  37. package/lib/build/less/utilities/svg.less +9 -1
  38. package/lib/build/less/utilities/typography.less +122 -111
  39. package/lib/build/less/variables/colors.less +8 -8
  40. package/lib/build/less/variables/sizes.less +8 -8
  41. package/lib/build/less/variables/spacing.less +1 -1
  42. package/lib/build/less/variables/typography.less +8 -9
  43. package/lib/build/less/variables/visual-styles.less +27 -27
  44. package/lib/build/svg/brand/play-store-badge.svg +63 -1
  45. package/lib/build/svg/spot/browser-list-callout.svg +57 -0
  46. package/lib/build/svg/spot/browser-table-graph.svg +111 -0
  47. package/lib/build/svg/system/raise-hand.svg +1 -1
  48. package/lib/build/svg/system/thumb-down.svg +3 -0
  49. package/lib/build/svg/system/thumb-up.svg +3 -0
  50. package/lib/dist/css/dialtone.css +134 -128
  51. package/lib/dist/css/dialtone.min.css +1 -1
  52. package/lib/dist/svg/brand/play-store-badge.svg +1 -1
  53. package/lib/dist/svg/spot/browser-list-callout.svg +1 -0
  54. package/lib/dist/svg/spot/browser-table-graph.svg +1 -0
  55. package/lib/dist/svg/system/raise-hand.svg +1 -1
  56. package/lib/dist/svg/system/thumb-down.svg +1 -0
  57. package/lib/dist/svg/system/thumb-up.svg +1 -0
  58. package/lib/dist/vue/icons/IconPlayStoreBadge.vue +1 -1
  59. package/lib/dist/vue/icons/IconRaiseHand.vue +1 -1
  60. package/lib/dist/vue/icons/IconThumbDown.vue +3 -0
  61. package/lib/dist/vue/icons/IconThumbUp.vue +3 -0
  62. package/lib/dist/vue/spot/SpotBrowserListCallout.vue +3 -0
  63. package/lib/dist/vue/spot/SpotBrowserTableGraph.vue +3 -0
  64. package/package.json +17 -3
@@ -15,23 +15,23 @@
15
15
  .d-notice {
16
16
  // Component CSS Vars
17
17
  // ------------------------------------------------------------------------
18
- --notice--bgc: var(--black-025);
19
- --notice--fc: var(--fc-dark);
18
+ --notice--bgc: var(--black-025);
19
+ --notice--fc: var(--fc-dark);
20
+
21
+ display: flex;
22
+ align-items: center;
20
23
 
21
24
  // Base Styles
22
25
  // ------------------------------------------------------------------------
23
26
  box-sizing: border-box;
24
- display: flex;
25
- align-items: center;
26
- padding: var(--su12);
27
27
  width: 100%;
28
28
  max-width: var(--size628);
29
-
30
- border-radius: var(--br4);
31
- background-color: var(--notice--bgc);
29
+ padding: var(--su12);
30
+ color: var(--notice--fc);
32
31
  font-size: var(--fs14);
33
32
  line-height: var(--lh6);
34
- color: var(--notice--fc);
33
+ background-color: var(--notice--bgc);
34
+ border-radius: var(--br4);
35
35
 
36
36
  .d-toast & {
37
37
  max-width: var(--size464);
@@ -47,9 +47,8 @@
47
47
  // ----------------------------------------------------------------------------
48
48
  .d-notice__content {
49
49
  display: flex;
50
- flex-direction: column;
51
50
  flex: 1 auto;
52
-
51
+ flex-direction: column;
53
52
  margin-right: var(--su16);
54
53
  }
55
54
 
@@ -68,9 +67,8 @@
68
67
  .d-notice__icon {
69
68
  display: flex;
70
69
  flex: 0 auto;
71
- color: inherit;
72
-
73
70
  margin-right: var(--su8);
71
+ color: inherit;
74
72
  }
75
73
 
76
74
  // ============================================================================
@@ -87,8 +85,8 @@
87
85
  // $$ DEFAULT IMPORTANT
88
86
  // ----------------------------------------------------------------------------
89
87
  .d-notice.d-notice--important {
90
- --notice--bgc: var(--black-800);
91
- --notice--fc: var(--black-025);
88
+ --notice--bgc: var(--black-800);
89
+ --notice--fc: var(--black-025);
92
90
  }
93
91
 
94
92
  // $$ ERROR
@@ -96,14 +94,14 @@
96
94
  .d-notice--error,
97
95
  .d-banner--error,
98
96
  .d-toast--error {
99
- --notice--bgc: var(--red-100);
100
- --notice--fc: var(--red-700);
97
+ --notice--bgc: var(--red-100);
98
+ --notice--fc: var(--red-700);
101
99
 
102
100
  &.d-notice--important,
103
101
  &.d-banner--important,
104
102
  &.d-toast--important {
105
- --notice--bgc: var(--red-500);
106
- --notice--fc: var(--white);
103
+ --notice--bgc: var(--red-500);
104
+ --notice--fc: var(--white);
107
105
  }
108
106
  }
109
107
 
@@ -112,13 +110,13 @@
112
110
  .d-notice--info,
113
111
  .d-banner--info,
114
112
  .d-toast--info {
115
- --notice--bgc: var(--purple-100);
113
+ --notice--bgc: var(--purple-100);
116
114
 
117
115
  &.d-notice--important,
118
116
  &.d-banner--important,
119
117
  &.d-toast--important {
120
- --notice--bgc: var(--purple-500);
121
- --notice--fc: var(--white);
118
+ --notice--bgc: var(--purple-500);
119
+ --notice--fc: var(--white);
122
120
  }
123
121
  }
124
122
 
@@ -127,14 +125,14 @@
127
125
  .d-notice--success,
128
126
  .d-banner--success,
129
127
  .d-toast--success {
130
- --notice--bgc: var(--green-100);
131
- --notice--fc: var(--green-700);
128
+ --notice--bgc: var(--green-100);
129
+ --notice--fc: var(--green-700);
132
130
 
133
131
  &.d-notice--important,
134
132
  &.d-banner--important,
135
133
  &.d-toast--important {
136
- --notice--bgc: var(--green-300);
137
- --notice--fc: var(--green-700);
134
+ --notice--bgc: var(--green-300);
135
+ --notice--fc: var(--green-700);
138
136
  }
139
137
  }
140
138
 
@@ -143,12 +141,12 @@
143
141
  .d-notice--warning,
144
142
  .d-banner--warning,
145
143
  .d-toast--warning {
146
- --notice--bgc: var(--yellow-100);
144
+ --notice--bgc: var(--yellow-100);
147
145
 
148
146
  &.d-notice--important,
149
147
  &.d-banner--important,
150
148
  &.d-toast--important {
151
- --notice--bgc: var(--yellow-400);
152
- --notice--fc: var(--fc-dark);
149
+ --notice--bgc: var(--yellow-400);
150
+ --notice--fc: var(--fc-dark);
153
151
  }
154
152
  }
@@ -25,38 +25,39 @@
25
25
  .d-radio {
26
26
  // Component specific CSS Vars
27
27
  // ------------------------------------------------------------------------
28
- --check-radio--color: var(--primary-color);
29
- --check-radio--bc: var(--black-500);
30
- --check-radio--bgc: var(--white);
28
+ --check-radio--color: var(--primary-color);
29
+ --check-radio--bc: var(--black-500);
30
+ --check-radio--bgc: var(--white);
31
31
 
32
32
  // [1] Check to see if we can use custom styles, if so reset the defaults
33
33
  // ------------------------------------------------------------------------
34
34
  @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
35
- -webkit-appearance: none;
36
- -moz-appearance: none;
37
- appearance: none;
38
-
39
- &::-ms-check {
40
- display: none;
41
- }
35
+ width: 1em;
36
+ height: 1em;
42
37
 
43
38
  // [2] Now re-style the checkboxes and radios
44
39
  // --------------------------------------------------------------------
45
40
  margin: 0;
46
- width: 1em;
47
- height: 1em;
48
- border: var(--su1) solid var(--check-radio--bc);
41
+ font-size: inherit;
49
42
  background-color: var(--check-radio--bgc);
50
- box-shadow: none;
43
+ border: var(--su1) solid var(--check-radio--bc);
51
44
  outline: 0;
52
- font-size: inherit;
45
+ box-shadow: none;
53
46
  cursor: pointer;
47
+ -webkit-appearance: none;
48
+ -moz-appearance: none;
49
+ appearance: none;
50
+
51
+ &::-ms-check {
52
+ display: none;
53
+ }
54
54
 
55
55
  &:focus,
56
56
  &:checked:focus {
57
57
  --check-radio--bc: var(--check-radio--color);
58
- box-shadow: var(--bs-focus-ring);
58
+
59
59
  outline: 0;
60
+ box-shadow: var(--bs-focus-ring);
60
61
  }
61
62
 
62
63
  &:checked {
@@ -70,10 +71,11 @@
70
71
  // -- DISABLED
71
72
  &[disabled],
72
73
  &--disabled {
73
- --check-radio--color: var(--black-200);
74
- --check-radio--bc: var(--black-200);
75
- --check-radio--bgc: var(--black-075);
76
- cursor: not-allowed;
74
+ --check-radio--color: var(--black-200);
75
+ --check-radio--bc: var(--black-200);
76
+ --check-radio--bgc: var(--black-075);
77
+
78
+ cursor: not-allowed;
77
79
  }
78
80
  }
79
81
 
@@ -85,8 +87,8 @@
85
87
  .d-radio-group {
86
88
  display: flex;
87
89
  padding-right: var(--su1);
88
- padding-left: var(--su1);
89
90
  padding-bottom: var(--su2);
91
+ padding-left: var(--su1);
90
92
 
91
93
  // -- Wrapper Disabled State
92
94
  &.d-checkbox-group--disabled,
@@ -120,22 +122,19 @@
120
122
  .d-radio__copy {
121
123
  display: inline-flex;
122
124
  flex-direction: column;
123
-
124
- margin-left: var(--su8);
125
125
  max-width: var(--size464);
126
+ margin-left: var(--su8);
126
127
  }
127
128
 
128
129
  .d-checkbox__label,
129
130
  .d-radio__label {
130
131
  display: inline-flex;
131
- flex-direction: column;
132
132
  flex: 1 auto;
133
-
133
+ flex-direction: column;
134
134
  color: var(--black-800);
135
+ font-weight: var(--fw-normal);
135
136
  font-size: var(--fs14);
136
137
  line-height: calc(20/14);
137
- font-weight: var(--fw-normal);
138
-
139
138
  cursor: pointer;
140
139
  }
141
140
 
@@ -145,10 +144,10 @@
145
144
  // ----------------------------------------------------------------------------
146
145
  .d-checkbox {
147
146
  @supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
148
- border-radius: var(--br2);
149
- background-position: center center;
150
147
  background-repeat: no-repeat;
148
+ background-position: center center;
151
149
  background-size: contain;
150
+ border-radius: var(--br2);
152
151
 
153
152
  &:focus,
154
153
  &:checked:focus {
@@ -156,76 +155,83 @@
156
155
  }
157
156
 
158
157
  &:checked {
159
- --check-radio--bgc: var(--check-radio--color);
158
+ --check-radio--bgc: var(--check-radio--color);
159
+
160
160
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='%23fff'/%3E%3C/svg%3E");
161
161
 
162
162
  // Disabled
163
163
  &[disabled] {
164
- --check-radio--bgc: var(--black-075);
164
+ --check-radio--bgc: var(--black-075);
165
+
165
166
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
166
167
  }
167
168
  }
168
169
 
169
170
  &--disabled:checked {
170
- --check-radio--bgc: var(--black-075);
171
+ --check-radio--bgc: var(--black-075);
172
+
171
173
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
172
174
  }
173
175
 
174
176
  &--indeterminate,
175
177
  &:indeterminate {
176
- --check-radio--bgc: var(--check-radio--color);
178
+ --check-radio--bgc: var(--check-radio--color);
179
+
177
180
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='%23fff'/%3E%3C/svg%3E");
178
181
 
179
182
  &[disabled] {
180
- --check-radio--bgc: var(--black-075);
183
+ --check-radio--bgc: var(--black-075);
184
+
181
185
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
182
186
  }
183
187
  }
184
188
 
185
189
  &--indeterminate&--disabled,
186
190
  &:indeterminate&--disabled {
187
- --check-radio--bgc: var(--black-075);
191
+ --check-radio--bgc: var(--black-075);
192
+
188
193
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
189
194
  }
190
195
 
191
196
  // Disabled
192
197
  &[disabled],
193
198
  &--disabled {
194
- --check-radio--color: var(--black-200);
195
- --check-radio--bc: var(--black-200);
196
- --check-radio--bgc: var(--black-075);
199
+ --check-radio--color: var(--black-200);
200
+ --check-radio--bc: var(--black-200);
201
+ --check-radio--bgc: var(--black-075);
197
202
  }
198
-
199
203
  }
200
204
  }
201
205
 
202
206
  // $$ CHECKBOX VALIDATION STATES
203
207
  // ----------------------------------------------------------------------------
204
208
  .d-checkbox--warning {
205
- --check-radio--color: var(--warning-color);
206
- --check-radio--bc: var(--check-radio--color);
209
+ --check-radio--color: var(--warning-color);
210
+ --check-radio--bc: var(--check-radio--color);
207
211
 
208
212
  &:focus,
209
213
  &:checked:focus {
210
- box-shadow: var(--bs-focus-ring-warning);
214
+ box-shadow: var(--bs-focus-ring-warning);
211
215
  }
212
216
  }
217
+
213
218
  .d-checkbox--error {
214
- --check-radio--color: var(--error-color);
215
- --check-radio--bc: var(--check-radio--color);
219
+ --check-radio--color: var(--error-color);
220
+ --check-radio--bc: var(--check-radio--color);
216
221
 
217
222
  &:focus,
218
223
  &:checked:focus {
219
- box-shadow: var(--bs-focus-ring-error);
224
+ box-shadow: var(--bs-focus-ring-error);
220
225
  }
221
226
  }
227
+
222
228
  .d-checkbox--success {
223
- --check-radio--color: var(--success-color);
224
- --check-radio--bc: var(--check-radio--color);
229
+ --check-radio--color: var(--success-color);
230
+ --check-radio--bc: var(--check-radio--color);
225
231
 
226
232
  &:focus,
227
233
  &:checked:focus {
228
- box-shadow: var(--bs-focus-ring-success);
234
+ box-shadow: var(--bs-focus-ring-success);
229
235
  }
230
236
  }
231
237
 
@@ -240,28 +246,29 @@
240
246
  // Disabled
241
247
  &[disabled],
242
248
  &--disabled {
243
- --check-radio--color: var(--black-200);
244
- --check-radio--bc: var(--black-200);
245
- --check-radio--bgc: var(--black-075);
249
+ --check-radio--color: var(--black-200);
250
+ --check-radio--bc: var(--black-200);
251
+ --check-radio--bgc: var(--black-075);
246
252
  }
247
253
 
248
254
  &:focus,
249
255
  &:checked:focus {
250
- box-shadow: var(--bs-focus-ring), inset 0 0 0 var(--su2) var(--white);
256
+ box-shadow: var(--bs-focus-ring), inset 0 0 0 var(--su2) var(--white);
251
257
  }
252
258
 
253
259
  &:checked {
254
- --check-radio--bgc: var(--check-radio--color);
255
- box-shadow: inset 0 0 0 var(--su2) var(--white);
260
+ --check-radio--bgc: var(--check-radio--color);
261
+
262
+ box-shadow: inset 0 0 0 var(--su2) var(--white);
256
263
 
257
264
  // Disabled
258
265
  &[disabled] {
259
- --check-radio--bgc: var(--black-200);
266
+ --check-radio--bgc: var(--black-200);
260
267
  }
261
268
  }
262
269
 
263
270
  &--disabled:checked {
264
- --check-radio--bgc: var(--black-200);
271
+ --check-radio--bgc: var(--black-200);
265
272
  }
266
273
  }
267
274
  }
@@ -269,31 +276,31 @@
269
276
  // $$ RADIO VALIDATION STATES
270
277
  // ----------------------------------------------------------------------------
271
278
  .d-radio--warning {
272
- --check-radio--color: var(--warning-color);
273
- --check-radio--bc: var(--check-radio--color);
279
+ --check-radio--color: var(--warning-color);
280
+ --check-radio--bc: var(--check-radio--color);
274
281
 
275
282
  &:focus,
276
283
  &:checked:focus {
277
- box-shadow: var(--bs-focus-ring-warning), inset 0 0 0 var(--su2) var(--white);
284
+ box-shadow: var(--bs-focus-ring-warning), inset 0 0 0 var(--su2) var(--white);
278
285
  }
279
286
  }
280
287
 
281
288
  .d-radio--error {
282
- --check-radio--color: var(--error-color);
283
- --check-radio--bc: var(--check-radio--color);
289
+ --check-radio--color: var(--error-color);
290
+ --check-radio--bc: var(--check-radio--color);
284
291
 
285
292
  &:focus,
286
293
  &:checked:focus {
287
- box-shadow: var(--bs-focus-ring-error), inset 0 0 0 var(--su2) var(--white);
294
+ box-shadow: var(--bs-focus-ring-error), inset 0 0 0 var(--su2) var(--white);
288
295
  }
289
296
  }
290
297
 
291
298
  .d-radio--success {
292
- --check-radio--color: var(--success-color);
293
- --check-radio--bc: var(--check-radio--color);
299
+ --check-radio--color: var(--success-color);
300
+ --check-radio--bc: var(--check-radio--color);
294
301
 
295
302
  &:focus,
296
303
  &:checked:focus {
297
- box-shadow: var(--bs-focus-ring-success), inset 0 0 0 var(--su2) var(--white);
304
+ box-shadow: var(--bs-focus-ring-success), inset 0 0 0 var(--su2) var(--white);
298
305
  }
299
- }
306
+ }
@@ -23,42 +23,41 @@
23
23
  .d-select {
24
24
  // Component CSS Vars
25
25
  // --------------------------------------------------------------------------
26
- --select--bc: var(--black-400);
27
- --select--bgc: var(--white);
28
- --select--fc: var(--black-800);
29
- --select--bs: var(--focus-ring);
26
+ --select--bc: var(--black-400);
27
+ --select--bgc: var(--white);
28
+ --select--fc: var(--black-800);
29
+ --select--bs: var(--focus-ring);
30
30
 
31
- box-sizing: border-box;
32
31
  position: relative;
33
32
  display: inline-flex; // important to the children alignment
33
+ box-sizing: border-box;
34
34
  width: 100%; // important to fill the available space
35
35
  width: -webkit-fill-available; // important to fill the available space
36
-
37
36
  font-weight: inherit;
38
37
  font-size: var(--fs18);
39
38
  font-family: inherit;
40
39
  line-height: var(--lh-tight);
41
40
 
42
41
  // -- Arrows
43
- &:before,
44
- &:after {
45
- content: "";
42
+ &::before,
43
+ &::after {
46
44
  position: absolute;
47
- z-index: var(--zi-selected);
48
45
  right: 0.75em;
46
+ z-index: var(--zi-selected);
49
47
  border-color: var(--black-900) transparent;
50
48
  border-style: solid;
51
49
  border-width: 0.25em;
50
+ content: '';
52
51
  pointer-events: none;
53
52
  }
54
53
 
55
- &:before {
56
- top: calc(~"50% - 0.25em");
54
+ &::before {
55
+ top: calc(~'50% - 0.25em');
57
56
  border-top-width: 0;
58
57
  }
59
58
 
60
- &:after {
61
- top: calc(~"50% + 0.125em");
59
+ &::after {
60
+ top: calc(~'50% + 0.125em');
62
61
  border-bottom-width: 0;
63
62
  }
64
63
  }
@@ -100,6 +99,11 @@
100
99
  // $ SELECT MENU INPUT
101
100
  // ----------------------------------------------------------------------------
102
101
  .d-select__input {
102
+ height: 100%; // Fill the height of its parent
103
+ padding: 0.7rem 2em 0.7rem 0.8rem;
104
+ color: var(--select--fc);
105
+ background-color: var(--select--bgc);
106
+ border-color: var(--select--bc);
103
107
  // [1] Reset the appearance
104
108
  -webkit-appearance: none;
105
109
  -moz-appearance: none;
@@ -110,30 +114,27 @@
110
114
 
111
115
  --select--bc: var(--black-500);
112
116
 
113
- padding: 0.7rem 2em 0.7rem 0.8rem;
114
- height: 100%; // Fill the height of its parent
115
-
116
- color: var(--select--fc);
117
- background-color: var(--select--bgc);
118
- border-color: var(--select--bc);
119
-
120
117
  &:focus {
121
118
  --select--bc: var(--primary-color);
122
119
 
123
120
  box-shadow: var(--bs-focus-ring);
124
121
  }
122
+
125
123
  &:disabled {
126
124
  color: var(--black-400);
127
125
  background: var(--black-075);
128
126
  border: 1px solid var(--black-200);
129
127
  }
128
+
130
129
  &::-moz-focus-inner {
131
130
  outline: none !important;
132
131
  }
132
+
133
133
  &:-moz-focusring {
134
134
  color: transparent;
135
135
  text-shadow: 0 0 0 var(--black-900);
136
136
  }
137
+
137
138
  &::-ms-expand {
138
139
  display: none;
139
140
  }
@@ -146,6 +147,7 @@
146
147
 
147
148
  &:focus {
148
149
  --select--bc: var(--success-color);
150
+
149
151
  box-shadow: var(--bs-focus-ring-success);
150
152
  }
151
153
  }
@@ -155,6 +157,7 @@
155
157
 
156
158
  &:focus {
157
159
  --select--bc: var(--error-color);
160
+
158
161
  box-shadow: var(--bs-focus-ring-error);
159
162
  }
160
163
  }
@@ -164,13 +167,14 @@
164
167
 
165
168
  &:focus {
166
169
  --select--bc: var(--warning-color);
170
+
167
171
  box-shadow: var(--bs-focus-ring-warning);
168
172
  }
169
173
  }
170
174
 
171
175
  .d-select--disabled {
172
- &:before,
173
- &:after {
176
+ &::before,
177
+ &::after {
174
178
  border-color: var(--black-400) transparent;
175
179
  }
176
180
  }
@@ -17,29 +17,26 @@
17
17
  .d-table {
18
18
  // Component CSS Vars
19
19
  // ------------------------------------------------------------------------
20
- --table--th: var(--black-700);
21
- --table--td: var(--black-600);
22
- --table--bc: var(--black-200);
23
-
24
- box-sizing: border-box;
20
+ --table--th: var(--black-700);
21
+ --table--td: var(--black-600);
22
+ --table--bc: var(--black-200);
25
23
 
26
24
  display: table;
27
- max-width: 100%;
25
+ box-sizing: border-box;
28
26
  width: 100%;
27
+ max-width: 100%;
29
28
  margin: var(--su0);
30
-
31
- border-spacing: 0;
32
- border-collapse: collapse;
33
-
34
29
  font-size: var(--fs14);
35
30
  line-height: var(--lh2);
31
+ border-collapse: collapse;
32
+ border-spacing: 0;
36
33
 
37
34
  // Caption styles
38
35
  .d-table__caption {
36
+ margin-bottom: var(--su8);
39
37
  color: var(--table--th);
40
- font-size: var(--fs18);
41
38
  font-weight: var(--fw-bold);
42
- margin-bottom: var(--su8);
39
+ font-size: var(--fs18);
43
40
  .d-ta-unset();
44
41
  }
45
42
 
@@ -96,9 +93,9 @@
96
93
  // $ INVERTED STYLE
97
94
  // ----------------------------------------------------------------------------
98
95
  .d-table--inverted {
99
- --table--th: var(--black-050);
100
- --table--td: var(--black-100);
101
- --table--bc: var(--black-050);
96
+ --table--th: var(--black-050);
97
+ --table--td: var(--black-100);
98
+ --table--bc: var(--black-050);
102
99
  }
103
100
 
104
101
  // ============================================================================
@@ -107,13 +104,13 @@
107
104
  .d-table--striped {
108
105
  // Row Styles
109
106
  tr:nth-child(even) {
110
- background-color: hsl(var(--black-400-h),var(--black-400-s),var(--black-400-l), .1)
107
+ background-color: hsl(var(--black-400-h), var(--black-400-s), var(--black-400-l), 0.1);
111
108
  }
112
109
 
113
110
  &.d-table--inverted {
114
111
  // Row Styles
115
112
  tr:nth-child(even) {
116
- background-color: hsl(var(--black-050-h),var(--black-050-s),var(--black-050-l), .1);
113
+ background-color: hsl(var(--black-050-h), var(--black-050-s), var(--black-050-l), 0.1);
117
114
  }
118
115
  }
119
116
  }