sdga-ui 1.0.1 → 1.0.3
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/.editorconfig +23 -23
- package/.github/workflows/publish.yml +38 -0
- package/.prettierignore +73 -73
- package/.prettierrc +17 -17
- package/LICENSE +21 -21
- package/README.md +167 -167
- package/css/dga-ui.css +27286 -27286
- package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
- package/package.json +51 -37
- package/theme/_fonts.scss +58 -58
- package/theme/_functions.scss +11 -11
- package/theme/_variables.scss +50 -50
- package/theme/components/_accordion.scss +35 -35
- package/theme/components/_alerts.scss +11 -11
- package/theme/components/_badges.scss +8 -8
- package/theme/components/_breadcrumb.scss +13 -13
- package/theme/components/_buttons.scss +270 -270
- package/theme/components/_cards.scss +21 -21
- package/theme/components/_carousel.scss +33 -33
- package/theme/components/_content.scss +211 -211
- package/theme/components/_dropdowns.scss +45 -45
- package/theme/components/_forms-check.scss +124 -124
- package/theme/components/_forms-floating.scss +17 -17
- package/theme/components/_forms-inputs.scss +70 -70
- package/theme/components/_forms-range.scss +26 -26
- package/theme/components/_forms-select.scss +47 -47
- package/theme/components/_forms-switch.scss +63 -63
- package/theme/components/_forms-validation.scss +16 -16
- package/theme/components/_forms.scss +14 -14
- package/theme/components/_list-group.scss +26 -26
- package/theme/components/_modals.scss +42 -42
- package/theme/components/_navbar.scss +40 -40
- package/theme/components/_navigation.scss +151 -151
- package/theme/components/_offcanvas.scss +15 -15
- package/theme/components/_overlays.scss +112 -112
- package/theme/components/_pagination.scss +39 -39
- package/theme/components/_popovers.scss +26 -26
- package/theme/components/_progress.scss +11 -11
- package/theme/components/_spinners.scss +11 -11
- package/theme/components/_tables.scss +47 -47
- package/theme/components/_toasts.scss +16 -16
- package/theme/components/_tooltips.scss +15 -15
- package/theme/config/_base.scss +111 -111
- package/theme/config/_colors.scss +303 -303
- package/theme/config/_effects.scss +227 -227
- package/theme/config/_radius.scss +78 -78
- package/theme/config/_spacing.scss +155 -155
- package/theme/config/_typography.scss +118 -118
- package/theme/customizations/_alerts.scss +242 -242
- package/theme/customizations/_badges.scss +15 -15
- package/theme/customizations/_buttons.scss +209 -209
- package/theme/customizations/_cards.scss +117 -117
- package/theme/customizations/_forms-check.scss +278 -278
- package/theme/customizations/_forms-inputs.scss +9 -9
- package/theme/customizations/_forms-switch.scss +91 -91
- package/theme/customizations/_forms.scss +5 -5
- package/theme/customizations/_global.scss +25 -25
- package/theme/customizations/_links.scss +46 -46
- package/theme/customizations/_tables.scss +67 -67
- package/theme/customizations/_toasts.scss +221 -221
- package/theme/customizations/_utilities.scss +138 -138
- package/theme/dga-ui.scss +28 -28
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Form Check Variables (Checkbox & Radio)
|
|
2
|
-
|
|
3
|
-
// ============================================
|
|
4
|
-
// FORM CHECK (CHECKBOX & RADIO)
|
|
5
|
-
// ============================================
|
|
6
|
-
|
|
7
|
-
$form-check-input-width: 1.5em;
|
|
8
|
-
$form-check-min-height: $font-size-base * $line-height-base;
|
|
9
|
-
$form-check-padding-start: 0;
|
|
10
|
-
$form-check-margin-bottom: 0;
|
|
11
|
-
$form-check-label-color: null;
|
|
12
|
-
$form-check-label-cursor: null;
|
|
13
|
-
$form-check-transition: null;
|
|
14
|
-
|
|
15
|
-
$form-check-input-active-filter: none;
|
|
16
|
-
|
|
17
|
-
$form-check-input-bg: $input-bg;
|
|
18
|
-
$form-check-input-border: $border-width solid $border-color;
|
|
19
|
-
$form-check-input-border-radius: .125rem;
|
|
20
|
-
$form-check-input-focus-border: $border-color;
|
|
21
|
-
$form-check-input-focus-box-shadow: none;
|
|
22
|
-
|
|
23
|
-
// ============================================
|
|
24
|
-
// PRIMARY HOVER & ACTIVE STATES
|
|
25
|
-
// ============================================
|
|
26
|
-
// Unchecked state
|
|
27
|
-
$form-check-input-unchecked-hover-border: $gray-500;
|
|
28
|
-
$form-check-input-unchecked-hover-bg: $gray-100;
|
|
29
|
-
$form-check-input-unchecked-active-border: $gray-500;
|
|
30
|
-
$form-check-input-unchecked-active-bg: $gray-300;
|
|
31
|
-
|
|
32
|
-
// Checked state
|
|
33
|
-
$form-check-input-checked-hover-border: $primary-700;
|
|
34
|
-
$form-check-input-checked-hover-bg: $primary-700;
|
|
35
|
-
$form-check-input-checked-active-border: $primary-800;
|
|
36
|
-
$form-check-input-checked-active-bg: $primary-800;
|
|
37
|
-
|
|
38
|
-
// Indeterminate state
|
|
39
|
-
$form-check-input-indeterminate-hover-border: $primary-800;
|
|
40
|
-
$form-check-input-indeterminate-hover-bg: $primary-800;
|
|
41
|
-
$form-check-input-indeterminate-active-border: $primary-900;
|
|
42
|
-
$form-check-input-indeterminate-active-bg: $primary-900;
|
|
43
|
-
|
|
44
|
-
$form-check-input-checked-color: $component-active-color;
|
|
45
|
-
$form-check-input-checked-bg-color: $component-active-bg;
|
|
46
|
-
$form-check-input-checked-border-color: $form-check-input-checked-bg-color;
|
|
47
|
-
$form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
|
|
48
|
-
$form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='none' stroke='#{$form-check-input-checked-color}'/></svg>");
|
|
49
|
-
|
|
50
|
-
$form-check-input-indeterminate-color: $component-active-color;
|
|
51
|
-
$form-check-input-indeterminate-bg-color: $component-active-bg;
|
|
52
|
-
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color;
|
|
53
|
-
$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
|
|
54
|
-
|
|
55
|
-
$form-check-input-disabled-opacity: 1;
|
|
56
|
-
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity;
|
|
57
|
-
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity;
|
|
58
|
-
|
|
59
|
-
// ============================================
|
|
60
|
-
// DISABLED STATE
|
|
61
|
-
// ============================================
|
|
62
|
-
$form-check-input-disabled-bg: $gray-200;
|
|
63
|
-
$form-check-input-disabled-border-color: $border-color;
|
|
64
|
-
$form-check-input-disabled-checked-bg: $gray-400;
|
|
65
|
-
$form-check-input-disabled-checked-color: $white;
|
|
66
|
-
$form-check-input-disabled-indeterminate-bg: $gray-400;
|
|
67
|
-
$form-check-input-disabled-indeterminate-color: $white;
|
|
68
|
-
$form-check-input-disabled-box-shadow: none;
|
|
69
|
-
|
|
70
|
-
// ============================================
|
|
71
|
-
// READONLY STATE
|
|
72
|
-
// ============================================
|
|
73
|
-
$form-check-input-readonly-bg: $white;
|
|
74
|
-
$form-check-input-readonly-border-color: $border-color;
|
|
75
|
-
$form-check-input-readonly-checked-bg: $white;
|
|
76
|
-
$form-check-input-readonly-checked-color: $component-active-bg;
|
|
77
|
-
$form-check-input-readonly-indeterminate-bg: $white;
|
|
78
|
-
$form-check-input-readonly-indeterminate-color: $component-active-bg;
|
|
79
|
-
$form-check-input-readonly-cursor: default;
|
|
80
|
-
$form-check-input-readonly-box-shadow: none;
|
|
81
|
-
|
|
82
|
-
// Radio-specific readonly variables
|
|
83
|
-
$form-check-radio-readonly-checked-bg: $gray-400;
|
|
84
|
-
$form-check-radio-readonly-checked-border: $border-color;
|
|
85
|
-
$form-check-radio-readonly-checked-color: $white;
|
|
86
|
-
|
|
87
|
-
$form-check-inline-margin-end: 1rem;
|
|
88
|
-
|
|
89
|
-
// ============================================
|
|
90
|
-
// VARIANTS (PRIMARY & NEUTRAL)
|
|
91
|
-
// ============================================
|
|
92
|
-
// Neutral variant
|
|
93
|
-
$form-check-neutral-checked-bg-color: $neutral;
|
|
94
|
-
$form-check-neutral-checked-color: $white;
|
|
95
|
-
$form-check-neutral-indeterminate-bg-color: $neutral;
|
|
96
|
-
$form-check-neutral-indeterminate-color: $white;
|
|
97
|
-
|
|
98
|
-
// ============================================
|
|
99
|
-
// NEUTRAL HOVER & ACTIVE STATES
|
|
100
|
-
// ============================================
|
|
101
|
-
// Unchecked state
|
|
102
|
-
$form-check-neutral-unchecked-hover-border: $gray-500;
|
|
103
|
-
$form-check-neutral-unchecked-hover-bg: $gray-100;
|
|
104
|
-
$form-check-neutral-unchecked-active-border: $gray-500;
|
|
105
|
-
$form-check-neutral-unchecked-active-bg: $gray-300;
|
|
106
|
-
|
|
107
|
-
// Checked state
|
|
108
|
-
$form-check-neutral-checked-hover-border: $neutral-600;
|
|
109
|
-
$form-check-neutral-checked-hover-bg: $neutral-600;
|
|
110
|
-
$form-check-neutral-checked-active-border: $neutral-500;
|
|
111
|
-
$form-check-neutral-checked-active-bg: $neutral-500;
|
|
112
|
-
|
|
113
|
-
// Indeterminate state
|
|
114
|
-
$form-check-neutral-indeterminate-hover-border: $neutral-800;
|
|
115
|
-
$form-check-neutral-indeterminate-hover-bg: $neutral-800;
|
|
116
|
-
$form-check-neutral-indeterminate-active-border: $neutral-900;
|
|
117
|
-
$form-check-neutral-indeterminate-active-bg: $neutral-900;
|
|
118
|
-
// ============================================
|
|
119
|
-
// SIZE VARIABLES (MD default, SM, XS)
|
|
120
|
-
// ============================================
|
|
121
|
-
|
|
122
|
-
$form-check-input-width-md: $form-check-input-width; // baseline 24px at root 16px
|
|
123
|
-
$form-check-input-width-sm: 1.25em; // ~20px
|
|
124
|
-
$form-check-input-width-xs: 1em; // ~12px (below recommended 16px target)
|
|
1
|
+
// Bootstrap 5.3 - Form Check Variables (Checkbox & Radio)
|
|
2
|
+
|
|
3
|
+
// ============================================
|
|
4
|
+
// FORM CHECK (CHECKBOX & RADIO)
|
|
5
|
+
// ============================================
|
|
6
|
+
|
|
7
|
+
$form-check-input-width: 1.5em;
|
|
8
|
+
$form-check-min-height: $font-size-base * $line-height-base;
|
|
9
|
+
$form-check-padding-start: 0;
|
|
10
|
+
$form-check-margin-bottom: 0;
|
|
11
|
+
$form-check-label-color: null;
|
|
12
|
+
$form-check-label-cursor: null;
|
|
13
|
+
$form-check-transition: null;
|
|
14
|
+
|
|
15
|
+
$form-check-input-active-filter: none;
|
|
16
|
+
|
|
17
|
+
$form-check-input-bg: $input-bg;
|
|
18
|
+
$form-check-input-border: $border-width solid $border-color;
|
|
19
|
+
$form-check-input-border-radius: .125rem;
|
|
20
|
+
$form-check-input-focus-border: $border-color;
|
|
21
|
+
$form-check-input-focus-box-shadow: none;
|
|
22
|
+
|
|
23
|
+
// ============================================
|
|
24
|
+
// PRIMARY HOVER & ACTIVE STATES
|
|
25
|
+
// ============================================
|
|
26
|
+
// Unchecked state
|
|
27
|
+
$form-check-input-unchecked-hover-border: $gray-500;
|
|
28
|
+
$form-check-input-unchecked-hover-bg: $gray-100;
|
|
29
|
+
$form-check-input-unchecked-active-border: $gray-500;
|
|
30
|
+
$form-check-input-unchecked-active-bg: $gray-300;
|
|
31
|
+
|
|
32
|
+
// Checked state
|
|
33
|
+
$form-check-input-checked-hover-border: $primary-700;
|
|
34
|
+
$form-check-input-checked-hover-bg: $primary-700;
|
|
35
|
+
$form-check-input-checked-active-border: $primary-800;
|
|
36
|
+
$form-check-input-checked-active-bg: $primary-800;
|
|
37
|
+
|
|
38
|
+
// Indeterminate state
|
|
39
|
+
$form-check-input-indeterminate-hover-border: $primary-800;
|
|
40
|
+
$form-check-input-indeterminate-hover-bg: $primary-800;
|
|
41
|
+
$form-check-input-indeterminate-active-border: $primary-900;
|
|
42
|
+
$form-check-input-indeterminate-active-bg: $primary-900;
|
|
43
|
+
|
|
44
|
+
$form-check-input-checked-color: $component-active-color;
|
|
45
|
+
$form-check-input-checked-bg-color: $component-active-bg;
|
|
46
|
+
$form-check-input-checked-border-color: $form-check-input-checked-bg-color;
|
|
47
|
+
$form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
|
|
48
|
+
$form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='none' stroke='#{$form-check-input-checked-color}'/></svg>");
|
|
49
|
+
|
|
50
|
+
$form-check-input-indeterminate-color: $component-active-color;
|
|
51
|
+
$form-check-input-indeterminate-bg-color: $component-active-bg;
|
|
52
|
+
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color;
|
|
53
|
+
$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
|
|
54
|
+
|
|
55
|
+
$form-check-input-disabled-opacity: 1;
|
|
56
|
+
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity;
|
|
57
|
+
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity;
|
|
58
|
+
|
|
59
|
+
// ============================================
|
|
60
|
+
// DISABLED STATE
|
|
61
|
+
// ============================================
|
|
62
|
+
$form-check-input-disabled-bg: $gray-200;
|
|
63
|
+
$form-check-input-disabled-border-color: $border-color;
|
|
64
|
+
$form-check-input-disabled-checked-bg: $gray-400;
|
|
65
|
+
$form-check-input-disabled-checked-color: $white;
|
|
66
|
+
$form-check-input-disabled-indeterminate-bg: $gray-400;
|
|
67
|
+
$form-check-input-disabled-indeterminate-color: $white;
|
|
68
|
+
$form-check-input-disabled-box-shadow: none;
|
|
69
|
+
|
|
70
|
+
// ============================================
|
|
71
|
+
// READONLY STATE
|
|
72
|
+
// ============================================
|
|
73
|
+
$form-check-input-readonly-bg: $white;
|
|
74
|
+
$form-check-input-readonly-border-color: $border-color;
|
|
75
|
+
$form-check-input-readonly-checked-bg: $white;
|
|
76
|
+
$form-check-input-readonly-checked-color: $component-active-bg;
|
|
77
|
+
$form-check-input-readonly-indeterminate-bg: $white;
|
|
78
|
+
$form-check-input-readonly-indeterminate-color: $component-active-bg;
|
|
79
|
+
$form-check-input-readonly-cursor: default;
|
|
80
|
+
$form-check-input-readonly-box-shadow: none;
|
|
81
|
+
|
|
82
|
+
// Radio-specific readonly variables
|
|
83
|
+
$form-check-radio-readonly-checked-bg: $gray-400;
|
|
84
|
+
$form-check-radio-readonly-checked-border: $border-color;
|
|
85
|
+
$form-check-radio-readonly-checked-color: $white;
|
|
86
|
+
|
|
87
|
+
$form-check-inline-margin-end: 1rem;
|
|
88
|
+
|
|
89
|
+
// ============================================
|
|
90
|
+
// VARIANTS (PRIMARY & NEUTRAL)
|
|
91
|
+
// ============================================
|
|
92
|
+
// Neutral variant
|
|
93
|
+
$form-check-neutral-checked-bg-color: $neutral;
|
|
94
|
+
$form-check-neutral-checked-color: $white;
|
|
95
|
+
$form-check-neutral-indeterminate-bg-color: $neutral;
|
|
96
|
+
$form-check-neutral-indeterminate-color: $white;
|
|
97
|
+
|
|
98
|
+
// ============================================
|
|
99
|
+
// NEUTRAL HOVER & ACTIVE STATES
|
|
100
|
+
// ============================================
|
|
101
|
+
// Unchecked state
|
|
102
|
+
$form-check-neutral-unchecked-hover-border: $gray-500;
|
|
103
|
+
$form-check-neutral-unchecked-hover-bg: $gray-100;
|
|
104
|
+
$form-check-neutral-unchecked-active-border: $gray-500;
|
|
105
|
+
$form-check-neutral-unchecked-active-bg: $gray-300;
|
|
106
|
+
|
|
107
|
+
// Checked state
|
|
108
|
+
$form-check-neutral-checked-hover-border: $neutral-600;
|
|
109
|
+
$form-check-neutral-checked-hover-bg: $neutral-600;
|
|
110
|
+
$form-check-neutral-checked-active-border: $neutral-500;
|
|
111
|
+
$form-check-neutral-checked-active-bg: $neutral-500;
|
|
112
|
+
|
|
113
|
+
// Indeterminate state
|
|
114
|
+
$form-check-neutral-indeterminate-hover-border: $neutral-800;
|
|
115
|
+
$form-check-neutral-indeterminate-hover-bg: $neutral-800;
|
|
116
|
+
$form-check-neutral-indeterminate-active-border: $neutral-900;
|
|
117
|
+
$form-check-neutral-indeterminate-active-bg: $neutral-900;
|
|
118
|
+
// ============================================
|
|
119
|
+
// SIZE VARIABLES (MD default, SM, XS)
|
|
120
|
+
// ============================================
|
|
121
|
+
|
|
122
|
+
$form-check-input-width-md: $form-check-input-width; // baseline 24px at root 16px
|
|
123
|
+
$form-check-input-width-sm: 1.25em; // ~20px
|
|
124
|
+
$form-check-input-width-xs: 1em; // ~12px (below recommended 16px target)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Form Floating Variables
|
|
2
|
-
|
|
3
|
-
// ============================================
|
|
4
|
-
// FORM FLOATING LABELS
|
|
5
|
-
// ============================================
|
|
6
|
-
|
|
7
|
-
$form-floating-height: calc(3.5rem + #{$input-height-border});
|
|
8
|
-
$form-floating-line-height: 1.25;
|
|
9
|
-
$form-floating-padding-x: $input-padding-x;
|
|
10
|
-
$form-floating-padding-y: 1rem;
|
|
11
|
-
$form-floating-input-padding-t: 1.625rem;
|
|
12
|
-
$form-floating-input-padding-b: 0.625rem;
|
|
13
|
-
$form-floating-label-height: 1.5em;
|
|
14
|
-
$form-floating-label-opacity: 0.65;
|
|
15
|
-
$form-floating-label-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
|
|
16
|
-
$form-floating-label-disabled-color: $gray-600;
|
|
17
|
-
$form-floating-transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
|
|
1
|
+
// Bootstrap 5.3 - Form Floating Variables
|
|
2
|
+
|
|
3
|
+
// ============================================
|
|
4
|
+
// FORM FLOATING LABELS
|
|
5
|
+
// ============================================
|
|
6
|
+
|
|
7
|
+
$form-floating-height: calc(3.5rem + #{$input-height-border});
|
|
8
|
+
$form-floating-line-height: 1.25;
|
|
9
|
+
$form-floating-padding-x: $input-padding-x;
|
|
10
|
+
$form-floating-padding-y: 1rem;
|
|
11
|
+
$form-floating-input-padding-t: 1.625rem;
|
|
12
|
+
$form-floating-input-padding-b: 0.625rem;
|
|
13
|
+
$form-floating-label-height: 1.5em;
|
|
14
|
+
$form-floating-label-opacity: 0.65;
|
|
15
|
+
$form-floating-label-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
|
|
16
|
+
$form-floating-label-disabled-color: $gray-600;
|
|
17
|
+
$form-floating-transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Form Input Variables
|
|
2
|
-
|
|
3
|
-
@use 'sass:color';
|
|
4
|
-
|
|
5
|
-
// ============================================
|
|
6
|
-
// FORM INPUTS
|
|
7
|
-
// ============================================
|
|
8
|
-
|
|
9
|
-
// Form Controls
|
|
10
|
-
$input-padding-y: 0.5rem;
|
|
11
|
-
$input-padding-x: 0.75rem;
|
|
12
|
-
$input-font-family: $font-family-base;
|
|
13
|
-
$input-font-size: $font-size-base;
|
|
14
|
-
$input-font-weight: $font-weight-base;
|
|
15
|
-
$input-line-height: $line-height-base;
|
|
16
|
-
|
|
17
|
-
$input-padding-y-sm: 0.375rem;
|
|
18
|
-
$input-padding-x-sm: 0.625rem;
|
|
19
|
-
$input-font-size-sm: $font-size-sm;
|
|
20
|
-
|
|
21
|
-
$input-padding-y-lg: 0.625rem;
|
|
22
|
-
$input-padding-x-lg: 1rem;
|
|
23
|
-
$input-font-size-lg: $font-size-lg;
|
|
24
|
-
|
|
25
|
-
$input-bg: $white;
|
|
26
|
-
$input-disabled-color: null;
|
|
27
|
-
$input-disabled-bg: $gray-200;
|
|
28
|
-
$input-disabled-border-color: null;
|
|
29
|
-
|
|
30
|
-
$input-color: $body-color;
|
|
31
|
-
$input-border-color: $gray-300;
|
|
32
|
-
$input-border-width: $border-width;
|
|
33
|
-
$input-box-shadow: inset 0 1px 2px rgba($black, 0.075);
|
|
34
|
-
|
|
35
|
-
$input-border-radius: $radius-sm;
|
|
36
|
-
$input-border-radius-sm: $radius-sm;
|
|
37
|
-
$input-border-radius-lg: $radius-lg;
|
|
38
|
-
|
|
39
|
-
$input-focus-bg: $input-bg;
|
|
40
|
-
$input-focus-border-color: color.scale($primary, $lightness: 50%);
|
|
41
|
-
$input-focus-color: $input-color;
|
|
42
|
-
$input-focus-width: 0.25rem;
|
|
43
|
-
$input-focus-box-shadow: 0 0 0 $input-focus-width rgba($primary, 0.25);
|
|
44
|
-
|
|
45
|
-
$input-placeholder-color: $gray-500;
|
|
46
|
-
$input-plaintext-color: $body-color;
|
|
47
|
-
|
|
48
|
-
$input-height-border: calc(#{$input-border-width} * 2);
|
|
49
|
-
$input-height-inner: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2});
|
|
50
|
-
$input-height-inner-half: calc(#{$input-line-height * 0.5em} + #{$input-padding-y});
|
|
51
|
-
$input-height-inner-quarter: calc(#{$input-line-height * 0.25em} + calc(#{$input-padding-y} / 2));
|
|
52
|
-
$input-height: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2} + #{$input-height-border});
|
|
53
|
-
$input-height-sm: calc(#{$input-line-height * 1em} + #{$input-padding-y-sm * 2} + #{$input-height-border});
|
|
54
|
-
$input-height-lg: calc(#{$input-line-height * 1em} + #{$input-padding-y-lg * 2} + #{$input-height-border});
|
|
55
|
-
|
|
56
|
-
$input-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
57
|
-
|
|
58
|
-
// Form Labels
|
|
59
|
-
$form-label-margin-bottom: 0.5rem;
|
|
60
|
-
$form-label-font-size: $font-size-base;
|
|
61
|
-
$form-label-font-style: null;
|
|
62
|
-
$form-label-font-weight: 500;
|
|
63
|
-
$form-label-color: $body-color;
|
|
64
|
-
|
|
65
|
-
// Form Text
|
|
66
|
-
$form-text-margin-top: 0.25rem;
|
|
67
|
-
$form-text-font-size: $font-size-sm;
|
|
68
|
-
$form-text-font-style: null;
|
|
69
|
-
$form-text-font-weight: null;
|
|
70
|
-
$form-text-color: $gray-600;
|
|
1
|
+
// Bootstrap 5.3 - Form Input Variables
|
|
2
|
+
|
|
3
|
+
@use 'sass:color';
|
|
4
|
+
|
|
5
|
+
// ============================================
|
|
6
|
+
// FORM INPUTS
|
|
7
|
+
// ============================================
|
|
8
|
+
|
|
9
|
+
// Form Controls
|
|
10
|
+
$input-padding-y: 0.5rem;
|
|
11
|
+
$input-padding-x: 0.75rem;
|
|
12
|
+
$input-font-family: $font-family-base;
|
|
13
|
+
$input-font-size: $font-size-base;
|
|
14
|
+
$input-font-weight: $font-weight-base;
|
|
15
|
+
$input-line-height: $line-height-base;
|
|
16
|
+
|
|
17
|
+
$input-padding-y-sm: 0.375rem;
|
|
18
|
+
$input-padding-x-sm: 0.625rem;
|
|
19
|
+
$input-font-size-sm: $font-size-sm;
|
|
20
|
+
|
|
21
|
+
$input-padding-y-lg: 0.625rem;
|
|
22
|
+
$input-padding-x-lg: 1rem;
|
|
23
|
+
$input-font-size-lg: $font-size-lg;
|
|
24
|
+
|
|
25
|
+
$input-bg: $white;
|
|
26
|
+
$input-disabled-color: null;
|
|
27
|
+
$input-disabled-bg: $gray-200;
|
|
28
|
+
$input-disabled-border-color: null;
|
|
29
|
+
|
|
30
|
+
$input-color: $body-color;
|
|
31
|
+
$input-border-color: $gray-300;
|
|
32
|
+
$input-border-width: $border-width;
|
|
33
|
+
$input-box-shadow: inset 0 1px 2px rgba($black, 0.075);
|
|
34
|
+
|
|
35
|
+
$input-border-radius: $radius-sm;
|
|
36
|
+
$input-border-radius-sm: $radius-sm;
|
|
37
|
+
$input-border-radius-lg: $radius-lg;
|
|
38
|
+
|
|
39
|
+
$input-focus-bg: $input-bg;
|
|
40
|
+
$input-focus-border-color: color.scale($primary, $lightness: 50%);
|
|
41
|
+
$input-focus-color: $input-color;
|
|
42
|
+
$input-focus-width: 0.25rem;
|
|
43
|
+
$input-focus-box-shadow: 0 0 0 $input-focus-width rgba($primary, 0.25);
|
|
44
|
+
|
|
45
|
+
$input-placeholder-color: $gray-500;
|
|
46
|
+
$input-plaintext-color: $body-color;
|
|
47
|
+
|
|
48
|
+
$input-height-border: calc(#{$input-border-width} * 2);
|
|
49
|
+
$input-height-inner: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2});
|
|
50
|
+
$input-height-inner-half: calc(#{$input-line-height * 0.5em} + #{$input-padding-y});
|
|
51
|
+
$input-height-inner-quarter: calc(#{$input-line-height * 0.25em} + calc(#{$input-padding-y} / 2));
|
|
52
|
+
$input-height: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2} + #{$input-height-border});
|
|
53
|
+
$input-height-sm: calc(#{$input-line-height * 1em} + #{$input-padding-y-sm * 2} + #{$input-height-border});
|
|
54
|
+
$input-height-lg: calc(#{$input-line-height * 1em} + #{$input-padding-y-lg * 2} + #{$input-height-border});
|
|
55
|
+
|
|
56
|
+
$input-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
57
|
+
|
|
58
|
+
// Form Labels
|
|
59
|
+
$form-label-margin-bottom: 0.5rem;
|
|
60
|
+
$form-label-font-size: $font-size-base;
|
|
61
|
+
$form-label-font-style: null;
|
|
62
|
+
$form-label-font-weight: 500;
|
|
63
|
+
$form-label-color: $body-color;
|
|
64
|
+
|
|
65
|
+
// Form Text
|
|
66
|
+
$form-text-margin-top: 0.25rem;
|
|
67
|
+
$form-text-font-size: $font-size-sm;
|
|
68
|
+
$form-text-font-style: null;
|
|
69
|
+
$form-text-font-weight: null;
|
|
70
|
+
$form-text-color: $gray-600;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Form Range Variables
|
|
2
|
-
|
|
3
|
-
@use 'sass:color';
|
|
4
|
-
|
|
5
|
-
// ============================================
|
|
6
|
-
// FORM RANGE
|
|
7
|
-
// ============================================
|
|
8
|
-
|
|
9
|
-
$form-range-track-width: 100%;
|
|
10
|
-
$form-range-track-height: 0.5rem;
|
|
11
|
-
$form-range-track-cursor: pointer;
|
|
12
|
-
$form-range-track-bg: $gray-200;
|
|
13
|
-
$form-range-track-border-radius: 1rem;
|
|
14
|
-
$form-range-track-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1);
|
|
15
|
-
|
|
16
|
-
$form-range-thumb-width: 1rem;
|
|
17
|
-
$form-range-thumb-height: $form-range-thumb-width;
|
|
18
|
-
$form-range-thumb-bg: $primary;
|
|
19
|
-
$form-range-thumb-border: 0;
|
|
20
|
-
$form-range-thumb-border-radius: 1rem;
|
|
21
|
-
$form-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1);
|
|
22
|
-
$form-range-thumb-focus-box-shadow: 0 0 0 1px var(--#{$prefix}body-bg)$body-bg, $input-focus-box-shadow;
|
|
23
|
-
$form-range-thumb-focus-box-shadow-width: $input-focus-width;
|
|
24
|
-
$form-range-thumb-active-bg: color.scale($primary, $lightness: 51%);
|
|
25
|
-
$form-range-thumb-disabled-bg: $gray-400;
|
|
26
|
-
$form-range-thumb-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
1
|
+
// Bootstrap 5.3 - Form Range Variables
|
|
2
|
+
|
|
3
|
+
@use 'sass:color';
|
|
4
|
+
|
|
5
|
+
// ============================================
|
|
6
|
+
// FORM RANGE
|
|
7
|
+
// ============================================
|
|
8
|
+
|
|
9
|
+
$form-range-track-width: 100%;
|
|
10
|
+
$form-range-track-height: 0.5rem;
|
|
11
|
+
$form-range-track-cursor: pointer;
|
|
12
|
+
$form-range-track-bg: $gray-200;
|
|
13
|
+
$form-range-track-border-radius: 1rem;
|
|
14
|
+
$form-range-track-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1);
|
|
15
|
+
|
|
16
|
+
$form-range-thumb-width: 1rem;
|
|
17
|
+
$form-range-thumb-height: $form-range-thumb-width;
|
|
18
|
+
$form-range-thumb-bg: $primary;
|
|
19
|
+
$form-range-thumb-border: 0;
|
|
20
|
+
$form-range-thumb-border-radius: 1rem;
|
|
21
|
+
$form-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1);
|
|
22
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px var(--#{$prefix}body-bg)$body-bg, $input-focus-box-shadow;
|
|
23
|
+
$form-range-thumb-focus-box-shadow-width: $input-focus-width;
|
|
24
|
+
$form-range-thumb-active-bg: color.scale($primary, $lightness: 51%);
|
|
25
|
+
$form-range-thumb-disabled-bg: $gray-400;
|
|
26
|
+
$form-range-thumb-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Form Select Variables
|
|
2
|
-
|
|
3
|
-
// ============================================
|
|
4
|
-
// FORM SELECT
|
|
5
|
-
// ============================================
|
|
6
|
-
|
|
7
|
-
$form-select-padding-y: $input-padding-y;
|
|
8
|
-
$form-select-padding-x: $input-padding-x;
|
|
9
|
-
$form-select-font-family: $input-font-family;
|
|
10
|
-
$form-select-font-size: $input-font-size;
|
|
11
|
-
$form-select-indicator-padding: 1rem;
|
|
12
|
-
$form-select-font-weight: $input-font-weight;
|
|
13
|
-
$form-select-line-height: $input-line-height;
|
|
14
|
-
$form-select-color: $input-color;
|
|
15
|
-
$form-select-bg: $input-bg;
|
|
16
|
-
$form-select-disabled-color: null;
|
|
17
|
-
$form-select-disabled-bg: $gray-200;
|
|
18
|
-
$form-select-disabled-border-color: $input-disabled-border-color;
|
|
19
|
-
$form-select-bg-position: right $form-select-padding-x center;
|
|
20
|
-
$form-select-bg-size: 16px 12px;
|
|
21
|
-
$form-select-indicator-color: $gray-800;
|
|
22
|
-
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
|
|
23
|
-
|
|
24
|
-
$form-select-feedback-icon-padding-end: calc((1em + #{$form-select-padding-x * 2}) * 3 / 4 + #{$form-select-indicator-padding});
|
|
25
|
-
$form-select-feedback-icon-position: center right $form-select-indicator-padding;
|
|
26
|
-
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half;
|
|
27
|
-
|
|
28
|
-
$form-select-border-width: $input-border-width;
|
|
29
|
-
$form-select-border-color: $input-border-color;
|
|
30
|
-
$form-select-border-radius: $input-border-radius;
|
|
31
|
-
$form-select-box-shadow: $input-box-shadow;
|
|
32
|
-
|
|
33
|
-
$form-select-focus-border-color: $input-focus-border-color;
|
|
34
|
-
$form-select-focus-width: $input-focus-width;
|
|
35
|
-
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width rgba($primary, 0.25);
|
|
36
|
-
|
|
37
|
-
$form-select-padding-y-sm: $input-padding-y-sm;
|
|
38
|
-
$form-select-padding-x-sm: $input-padding-x-sm;
|
|
39
|
-
$form-select-font-size-sm: $input-font-size-sm;
|
|
40
|
-
$form-select-border-radius-sm: $input-border-radius-sm;
|
|
41
|
-
|
|
42
|
-
$form-select-padding-y-lg: $input-padding-y-lg;
|
|
43
|
-
$form-select-padding-x-lg: $input-padding-x-lg;
|
|
44
|
-
$form-select-font-size-lg: $input-font-size-lg;
|
|
45
|
-
$form-select-border-radius-lg: $input-border-radius-lg;
|
|
46
|
-
|
|
47
|
-
$form-select-transition: $input-transition;
|
|
1
|
+
// Bootstrap 5.3 - Form Select Variables
|
|
2
|
+
|
|
3
|
+
// ============================================
|
|
4
|
+
// FORM SELECT
|
|
5
|
+
// ============================================
|
|
6
|
+
|
|
7
|
+
$form-select-padding-y: $input-padding-y;
|
|
8
|
+
$form-select-padding-x: $input-padding-x;
|
|
9
|
+
$form-select-font-family: $input-font-family;
|
|
10
|
+
$form-select-font-size: $input-font-size;
|
|
11
|
+
$form-select-indicator-padding: 1rem;
|
|
12
|
+
$form-select-font-weight: $input-font-weight;
|
|
13
|
+
$form-select-line-height: $input-line-height;
|
|
14
|
+
$form-select-color: $input-color;
|
|
15
|
+
$form-select-bg: $input-bg;
|
|
16
|
+
$form-select-disabled-color: null;
|
|
17
|
+
$form-select-disabled-bg: $gray-200;
|
|
18
|
+
$form-select-disabled-border-color: $input-disabled-border-color;
|
|
19
|
+
$form-select-bg-position: right $form-select-padding-x center;
|
|
20
|
+
$form-select-bg-size: 16px 12px;
|
|
21
|
+
$form-select-indicator-color: $gray-800;
|
|
22
|
+
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
|
|
23
|
+
|
|
24
|
+
$form-select-feedback-icon-padding-end: calc((1em + #{$form-select-padding-x * 2}) * 3 / 4 + #{$form-select-indicator-padding});
|
|
25
|
+
$form-select-feedback-icon-position: center right $form-select-indicator-padding;
|
|
26
|
+
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half;
|
|
27
|
+
|
|
28
|
+
$form-select-border-width: $input-border-width;
|
|
29
|
+
$form-select-border-color: $input-border-color;
|
|
30
|
+
$form-select-border-radius: $input-border-radius;
|
|
31
|
+
$form-select-box-shadow: $input-box-shadow;
|
|
32
|
+
|
|
33
|
+
$form-select-focus-border-color: $input-focus-border-color;
|
|
34
|
+
$form-select-focus-width: $input-focus-width;
|
|
35
|
+
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width rgba($primary, 0.25);
|
|
36
|
+
|
|
37
|
+
$form-select-padding-y-sm: $input-padding-y-sm;
|
|
38
|
+
$form-select-padding-x-sm: $input-padding-x-sm;
|
|
39
|
+
$form-select-font-size-sm: $input-font-size-sm;
|
|
40
|
+
$form-select-border-radius-sm: $input-border-radius-sm;
|
|
41
|
+
|
|
42
|
+
$form-select-padding-y-lg: $input-padding-y-lg;
|
|
43
|
+
$form-select-padding-x-lg: $input-padding-x-lg;
|
|
44
|
+
$form-select-font-size-lg: $input-font-size-lg;
|
|
45
|
+
$form-select-border-radius-lg: $input-border-radius-lg;
|
|
46
|
+
|
|
47
|
+
$form-select-transition: $input-transition;
|