gd-bs 5.9.3 → 5.9.5
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/build/bs.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +8 -0
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/styles/_custom.scss +32 -4
package/package.json
CHANGED
package/src/styles/_custom.scss
CHANGED
|
@@ -163,10 +163,19 @@
|
|
|
163
163
|
.dropdown-menu {
|
|
164
164
|
display: inherit;
|
|
165
165
|
}
|
|
166
|
-
/* Show
|
|
167
|
-
.form-check-input {
|
|
166
|
+
/* Show checkboxes & toggles as buttons */
|
|
167
|
+
.form-check .form-check-input {
|
|
168
168
|
cursor: pointer;
|
|
169
|
-
|
|
169
|
+
}
|
|
170
|
+
/* Adjust checkbox size */
|
|
171
|
+
.form-check:not(.form-switch) .form-check-input[type=checkbox] {
|
|
172
|
+
height: 1.25rem;
|
|
173
|
+
width: 1.25rem;
|
|
174
|
+
margin-left: -0.5rem;
|
|
175
|
+
}
|
|
176
|
+
/* Fix checkbox label alignment */
|
|
177
|
+
.form-check:not(.form-switch) .form-check-label {
|
|
178
|
+
margin-left: 0.5rem;
|
|
170
179
|
}
|
|
171
180
|
/** Color match the toggle background color to 'SharePoint Blue' */
|
|
172
181
|
.form-check-input:checked {
|
|
@@ -185,7 +194,7 @@
|
|
|
185
194
|
}
|
|
186
195
|
/* Bootstrap Icon: Custom - caret-up-fill + caret-down-fill */
|
|
187
196
|
.form-select {
|
|
188
|
-
background:
|
|
197
|
+
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 16 25.333' fill='%236c757d' width='1em' height='1em'><path d='M0.34 8.03C-0.44 8.92 0.2 10.32 1.38 10.32C2.71 10.32 13.3 10.32 14.62 10.32C15.38 10.32 16 9.7 16 8.94C16 8.61 15.88 8.28 15.66 8.03C15 7.28 9.7 1.23 9.04 0.47C8.54 -0.1 7.67 -0.16 7.09 0.34C7.05 0.38 7 0.43 6.96 0.47C6.96 0.47 1.01 7.28 0.34 8.03Z'/><path d='M0.34 17.3C-0.44 16.41 0.2 15.01 1.38 15.01C2.71 15.01 13.3 15.01 14.62 15.01C15.38 15.01 16 15.63 16 16.39C16 16.73 15.88 17.05 15.66 17.3C15 18.06 9.7 24.11 9.04 24.86C8.54 25.43 7.67 25.49 7.09 24.99C7.05 24.95 7 24.91 6.96 24.86C6.96 24.86 1.01 18.06 0.34 17.3Z'/></svg>");
|
|
189
198
|
border: 1px solid #6c757d;
|
|
190
199
|
}
|
|
191
200
|
/* Set cursor on hover */
|
|
@@ -200,8 +209,12 @@
|
|
|
200
209
|
}
|
|
201
210
|
/* Fix text width on dataTables_length */
|
|
202
211
|
.form-select-sm {
|
|
212
|
+
background-size: 8px 10px;
|
|
203
213
|
padding-right: 1.65rem;
|
|
204
214
|
}
|
|
215
|
+
.form-switch .form-check-input {
|
|
216
|
+
height: 1.25em;
|
|
217
|
+
}
|
|
205
218
|
/* Color match the toggle on focus */
|
|
206
219
|
.form-switch .form-check-input:focus {
|
|
207
220
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232d8ad6'/%3e%3c/svg%3e");
|
|
@@ -407,6 +420,21 @@
|
|
|
407
420
|
.w-5 {
|
|
408
421
|
width: 5% !important;
|
|
409
422
|
}
|
|
423
|
+
/* Fix validation styling */
|
|
424
|
+
.form-control.is-invalid {
|
|
425
|
+
border-color: #dc3545;
|
|
426
|
+
background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/></svg>");
|
|
427
|
+
}
|
|
428
|
+
.form-control.is-valid {
|
|
429
|
+
border-color: #198754;
|
|
430
|
+
background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/></svg>");
|
|
431
|
+
}
|
|
432
|
+
.form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
|
|
433
|
+
background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 viewBox=%270 0 16 25.333%27 fill=%27%236c757d%27 width=%271em%27 height=%271em%27><path d=%27M0.34 8.03C-0.44 8.92 0.2 10.32 1.38 10.32C2.71 10.32 13.3 10.32 14.62 10.32C15.38 10.32 16 9.7 16 8.94C16 8.61 15.88 8.28 15.66 8.03C15 7.28 9.7 1.23 9.04 0.47C8.54 -0.1 7.67 -0.16 7.09 0.34C7.05 0.38 7 0.43 6.96 0.47C6.96 0.47 1.01 7.28 0.34 8.03Z%27/><path d=%27M0.34 17.3C-0.44 16.41 0.2 15.01 1.38 15.01C2.71 15.01 13.3 15.01 14.62 15.01C15.38 15.01 16 15.63 16 16.39C16 16.73 15.88 17.05 15.66 17.3C15 18.06 9.7 24.11 9.04 24.86C8.54 25.43 7.67 25.49 7.09 24.99C7.05 24.95 7 24.91 6.96 24.86C6.96 24.86 1.01 18.06 0.34 17.3Z%27/></svg>"),url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e");
|
|
434
|
+
}
|
|
435
|
+
.form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
|
|
436
|
+
background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 viewBox=%270 0 16 25.333%27 fill=%27%236c757d%27 width=%271em%27 height=%271em%27><path d=%27M0.34 8.03C-0.44 8.92 0.2 10.32 1.38 10.32C2.71 10.32 13.3 10.32 14.62 10.32C15.38 10.32 16 9.7 16 8.94C16 8.61 15.88 8.28 15.66 8.03C15 7.28 9.7 1.23 9.04 0.47C8.54 -0.1 7.67 -0.16 7.09 0.34C7.05 0.38 7 0.43 6.96 0.47C6.96 0.47 1.01 7.28 0.34 8.03Z%27/><path d=%27M0.34 17.3C-0.44 16.41 0.2 15.01 1.38 15.01C2.71 15.01 13.3 15.01 14.62 15.01C15.38 15.01 16 15.63 16 16.39C16 16.73 15.88 17.05 15.66 17.3C15 18.06 9.7 24.11 9.04 24.86C8.54 25.43 7.67 25.49 7.09 24.99C7.05 24.95 7 24.91 6.96 24.86C6.96 24.86 1.01 18.06 0.34 17.3Z%27/></svg>"),url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e");
|
|
437
|
+
}
|
|
410
438
|
}
|
|
411
439
|
|
|
412
440
|
/** Modal background - Shouldn't be under the .bs class */
|