@dynamic-framework/ui-react 1.16.2 → 1.17.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/css/dynamic-ui-non-root.css +3466 -1149
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +20 -14
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +3485 -1162
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +88 -78
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +88 -77
- package/dist/index.js.map +1 -1
- package/dist/types/components/DTabs/DTabs.d.ts +3 -2
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useDisableInputWheel.d.ts +4 -0
- package/dist/types/hooks/useInputCurrency.d.ts +1 -2
- package/package.json +3 -3
- package/src/style/abstracts/_utilities.scss +12 -3
- package/src/style/abstracts/variables/_+import.scss +6 -81
- package/src/style/abstracts/variables/_accordion.scss +3 -23
- package/src/style/abstracts/variables/_alerts.scss +7 -13
- package/src/style/abstracts/variables/_badges.scss +2 -2
- package/src/style/abstracts/variables/_body.scss +1 -21
- package/src/style/abstracts/variables/_border.scss +5 -17
- package/src/style/abstracts/variables/_box-file.scss +3 -3
- package/src/style/abstracts/variables/_buttons.scss +8 -27
- package/src/style/abstracts/variables/_cards.scss +0 -16
- package/src/style/abstracts/variables/_carousel.scss +0 -25
- package/src/style/abstracts/variables/_chips.scss +1 -1
- package/src/style/abstracts/variables/_close.scss +0 -6
- package/src/style/abstracts/variables/_code.scss +0 -10
- package/src/style/abstracts/variables/_collapse-icon-text.scss +1 -1
- package/src/style/abstracts/variables/_dropdowns.scss +3 -27
- package/src/style/abstracts/variables/_forms.scss +20 -160
- package/src/style/abstracts/variables/_list-group.scss +6 -12
- package/src/style/abstracts/variables/_modals.scss +11 -31
- package/src/style/abstracts/variables/_navbar.scss +0 -28
- package/src/style/abstracts/variables/_navs.scss +11 -20
- package/src/style/abstracts/variables/_offcanvas.scss +6 -13
- package/src/style/abstracts/variables/_pagination.scss +20 -25
- package/src/style/abstracts/variables/_progress.scss +0 -3
- package/src/style/abstracts/variables/_quick-action-button.scss +3 -3
- package/src/style/abstracts/variables/_quick-action-check.scss +2 -2
- package/src/style/abstracts/variables/_quick-action-select.scss +1 -1
- package/src/style/abstracts/variables/_quick-action-switch.scss +1 -1
- package/src/style/abstracts/variables/_spacers.scss +20 -8
- package/src/style/abstracts/variables/_tables.scss +0 -18
- package/src/style/abstracts/variables/_typography.scss +3 -33
- package/src/style/base/_+import.scss +5 -0
- package/src/style/base/_body.scss +3 -0
- package/src/style/base/_collapse.scss +5 -5
- package/src/style/base/_form-control.scss +10 -0
- package/src/style/base/_form-text.scss +12 -0
- package/src/style/base/_input-group.scss +114 -0
- package/src/style/base/_label.scss +15 -0
- package/src/style/base/_pagination.scss +12 -82
- package/src/style/base/_tables.scss +1 -1
- package/src/style/components/_+import.scss +0 -2
- package/src/style/components/_d-card-account.scss +2 -2
- package/src/style/components/_d-carousel.scss +2 -2
- package/src/style/components/_d-datepicker.scss +9 -9
- package/src/style/components/_d-icon.scss +1 -1
- package/src/style/components/_d-input-pin.scss +14 -63
- package/src/style/components/_d-modal.scss +1 -1
- package/src/style/components/_d-monthpicker.scss +3 -3
- package/src/style/components/_d-offcanvas.scss +1 -1
- package/src/style/components/_d-select.scss +59 -111
- package/src/style/components/_d-stepper-desktop.scss +12 -8
- package/src/style/components/_d-stepper-mobile.scss +1 -1
- package/src/style/components/_d-tabs.scss +22 -29
- package/src/style/helpers/_+import.scss +2 -0
- package/src/style/helpers/_overlay.scss +17 -0
- package/src/style/abstracts/variables/_breadcrumb.scss +0 -15
- package/src/style/abstracts/variables/_figures.scss +0 -6
- package/src/style/abstracts/variables/_grid.scss +0 -41
- package/src/style/abstracts/variables/_popovers.scss +0 -31
- package/src/style/abstracts/variables/_spinners.scss +0 -13
- package/src/style/abstracts/variables/_thumbnails.scss +0 -10
- package/src/style/abstracts/variables/_toasts.scss +0 -19
- package/src/style/abstracts/variables/_tooltips.scss +0 -29
- package/src/style/abstracts/variables/_z-index.scss +0 -28
- package/src/style/components/_d-input-select.scss +0 -27
- package/src/style/components/_d-input.scss +0 -178
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Breadcrumbs
|
|
2
|
-
|
|
3
|
-
// scss-docs-start breadcrumb-variables
|
|
4
|
-
$breadcrumb-font-size: null !default;
|
|
5
|
-
$breadcrumb-padding-y: 0 !default;
|
|
6
|
-
$breadcrumb-padding-x: 0 !default;
|
|
7
|
-
$breadcrumb-item-padding-x: .5rem !default;
|
|
8
|
-
$breadcrumb-margin-bottom: 1rem !default;
|
|
9
|
-
$breadcrumb-bg: null !default;
|
|
10
|
-
$breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
|
|
11
|
-
$breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
|
|
12
|
-
$breadcrumb-divider: quote("/") !default;
|
|
13
|
-
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
|
14
|
-
$breadcrumb-border-radius: null !default;
|
|
15
|
-
// scss-docs-end breadcrumb-variables
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// Grid breakpoints
|
|
2
|
-
//
|
|
3
|
-
// Define the minimum dimensions at which your layout will change,
|
|
4
|
-
// adapting to different screen sizes, for use in media queries.
|
|
5
|
-
|
|
6
|
-
// scss-docs-start grid-breakpoints
|
|
7
|
-
$grid-breakpoints: (
|
|
8
|
-
xs: 0,
|
|
9
|
-
sm: 576px,
|
|
10
|
-
md: 768px,
|
|
11
|
-
lg: 992px,
|
|
12
|
-
xl: 1200px,
|
|
13
|
-
xxl: 1400px
|
|
14
|
-
) !default;
|
|
15
|
-
// scss-docs-end grid-breakpoints
|
|
16
|
-
|
|
17
|
-
// Grid containers
|
|
18
|
-
//
|
|
19
|
-
// Define the maximum width of `.container` for different screen sizes.
|
|
20
|
-
|
|
21
|
-
// scss-docs-start container-max-widths
|
|
22
|
-
$container-max-widths: (
|
|
23
|
-
sm: 540px,
|
|
24
|
-
md: 720px,
|
|
25
|
-
lg: 960px,
|
|
26
|
-
xl: 1140px,
|
|
27
|
-
xxl: 1320px
|
|
28
|
-
) !default;
|
|
29
|
-
// scss-docs-end container-max-widths
|
|
30
|
-
|
|
31
|
-
// Grid columns
|
|
32
|
-
//
|
|
33
|
-
// Set the number of columns and specify the width of the gutters.
|
|
34
|
-
|
|
35
|
-
$grid-columns: 12 !default;
|
|
36
|
-
$grid-gutter-width: 1.5rem !default;
|
|
37
|
-
$grid-row-columns: 6 !default;
|
|
38
|
-
|
|
39
|
-
// Container padding
|
|
40
|
-
|
|
41
|
-
$container-padding-x: $grid-gutter-width !default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Popovers
|
|
2
|
-
|
|
3
|
-
// scss-docs-start popover-variables
|
|
4
|
-
$popover-font-size: $font-size-sm !default;
|
|
5
|
-
$popover-bg: var(--#{$prefix}body-bg) !default;
|
|
6
|
-
$popover-max-width: 276px !default;
|
|
7
|
-
$popover-border-width: var(--#{$prefix}border-width) !default;
|
|
8
|
-
$popover-border-color: var(--#{$prefix}border-color-translucent) !default;
|
|
9
|
-
$popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
|
10
|
-
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default;
|
|
11
|
-
$popover-box-shadow: $box-shadow !default;
|
|
12
|
-
|
|
13
|
-
$popover-header-font-size: $font-size-base !default;
|
|
14
|
-
$popover-header-bg: var(--#{$prefix}secondary-bg) !default;
|
|
15
|
-
$popover-header-color: $headings-color !default;
|
|
16
|
-
$popover-header-padding-y: .5rem !default;
|
|
17
|
-
$popover-header-padding-x: $spacer !default;
|
|
18
|
-
|
|
19
|
-
$popover-body-color: var(--#{$prefix}body-color) !default;
|
|
20
|
-
$popover-body-padding-y: $spacer !default;
|
|
21
|
-
$popover-body-padding-x: $spacer !default;
|
|
22
|
-
|
|
23
|
-
$popover-arrow-width: 1rem !default;
|
|
24
|
-
$popover-arrow-height: .5rem !default;
|
|
25
|
-
// scss-docs-end popover-variables
|
|
26
|
-
|
|
27
|
-
// fusv-disable
|
|
28
|
-
// Deprecated in Bootstrap 5.2.0 for CSS variables
|
|
29
|
-
$popover-arrow-color: $popover-bg !default;
|
|
30
|
-
$popover-arrow-outer-color: var(--#{$prefix}border-color-translucent) !default;
|
|
31
|
-
// fusv-enable
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Spinners
|
|
2
|
-
|
|
3
|
-
// scss-docs-start spinner-variables
|
|
4
|
-
$spinner-width: 2rem !default;
|
|
5
|
-
$spinner-height: $spinner-width !default;
|
|
6
|
-
$spinner-vertical-align: -.125em !default;
|
|
7
|
-
$spinner-border-width: .25em !default;
|
|
8
|
-
$spinner-animation-speed: .75s !default;
|
|
9
|
-
|
|
10
|
-
$spinner-width-sm: 1rem !default;
|
|
11
|
-
$spinner-height-sm: $spinner-width-sm !default;
|
|
12
|
-
$spinner-border-width-sm: .2em !default;
|
|
13
|
-
// scss-docs-end spinner-variables
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Image thumbnails
|
|
2
|
-
|
|
3
|
-
// scss-docs-start thumbnail-variables
|
|
4
|
-
$thumbnail-padding: .25rem !default;
|
|
5
|
-
$thumbnail-bg: var(--#{$prefix}body-bg) !default;
|
|
6
|
-
$thumbnail-border-width: var(--#{$prefix}border-width) !default;
|
|
7
|
-
$thumbnail-border-color: var(--#{$prefix}border-color) !default;
|
|
8
|
-
$thumbnail-border-radius: var(--#{$prefix}border-radius) !default;
|
|
9
|
-
$thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
|
|
10
|
-
// scss-docs-end thumbnail-variables
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Toasts
|
|
2
|
-
|
|
3
|
-
// scss-docs-start toast-variables
|
|
4
|
-
$toast-max-width: 350px !default;
|
|
5
|
-
$toast-padding-x: .75rem !default;
|
|
6
|
-
$toast-padding-y: .5rem !default;
|
|
7
|
-
$toast-font-size: $small-font-size !default;
|
|
8
|
-
$toast-color: null !default;
|
|
9
|
-
$toast-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
|
10
|
-
$toast-border-width: var(--#{$prefix}border-width) !default;
|
|
11
|
-
$toast-border-color: var(--#{$prefix}border-color-translucent) !default;
|
|
12
|
-
$toast-border-radius: var(--#{$prefix}border-radius) !default;
|
|
13
|
-
$toast-box-shadow: var(--#{$prefix}box-shadow) !default;
|
|
14
|
-
$toast-spacing: $container-padding-x !default;
|
|
15
|
-
|
|
16
|
-
$toast-header-color: var(--#{$prefix}secondary-color) !default;
|
|
17
|
-
$toast-header-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
|
18
|
-
$toast-header-border-color: $toast-border-color !default;
|
|
19
|
-
// scss-docs-end toast-variables
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Tooltips
|
|
2
|
-
|
|
3
|
-
// scss-docs-start tooltip-variables
|
|
4
|
-
$tooltip-font-size: $font-size-sm !default;
|
|
5
|
-
$tooltip-max-width: 200px !default;
|
|
6
|
-
$tooltip-color: var(--#{$prefix}body-bg) !default;
|
|
7
|
-
$tooltip-bg: var(--#{$prefix}emphasis-color) !default;
|
|
8
|
-
$tooltip-border-radius: var(--#{$prefix}border-radius) !default;
|
|
9
|
-
$tooltip-opacity: .9 !default;
|
|
10
|
-
$tooltip-padding-y: $spacer * .25 !default;
|
|
11
|
-
$tooltip-padding-x: $spacer * .5 !default;
|
|
12
|
-
$tooltip-margin: null !default; // TODO: remove this in v6
|
|
13
|
-
|
|
14
|
-
$tooltip-arrow-width: .8rem !default;
|
|
15
|
-
$tooltip-arrow-height: .4rem !default;
|
|
16
|
-
// fusv-disable
|
|
17
|
-
$tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
|
|
18
|
-
// fusv-enable
|
|
19
|
-
// scss-docs-end tooltip-variables
|
|
20
|
-
|
|
21
|
-
// Form tooltips must come after regular tooltips
|
|
22
|
-
// scss-docs-start tooltip-feedback-variables
|
|
23
|
-
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
|
24
|
-
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
|
25
|
-
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
|
26
|
-
$form-feedback-tooltip-line-height: null !default;
|
|
27
|
-
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
|
28
|
-
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
|
29
|
-
// scss-docs-end tooltip-feedback-variables
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Z-index master list
|
|
2
|
-
//
|
|
3
|
-
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
4
|
-
// of components dependent on the z-axis and are designed to all work together.
|
|
5
|
-
|
|
6
|
-
// scss-docs-start zindex-stack
|
|
7
|
-
$zindex-dropdown: 1000 !default;
|
|
8
|
-
$zindex-sticky: 1020 !default;
|
|
9
|
-
$zindex-fixed: 1030 !default;
|
|
10
|
-
$zindex-offcanvas-backdrop: 1040 !default;
|
|
11
|
-
$zindex-offcanvas: 1045 !default;
|
|
12
|
-
$zindex-modal-backdrop: 1050 !default;
|
|
13
|
-
$zindex-modal: 1055 !default;
|
|
14
|
-
$zindex-popover: 1070 !default;
|
|
15
|
-
$zindex-tooltip: 1080 !default;
|
|
16
|
-
$zindex-toast: 1090 !default;
|
|
17
|
-
// scss-docs-end zindex-stack
|
|
18
|
-
|
|
19
|
-
// scss-docs-start zindex-levels-map
|
|
20
|
-
$zindex-levels: (
|
|
21
|
-
n1: -1,
|
|
22
|
-
0: 0,
|
|
23
|
-
1: 1,
|
|
24
|
-
2: 2,
|
|
25
|
-
3: 3
|
|
26
|
-
) !default;
|
|
27
|
-
// scss-docs-end zindex-levels-map
|
|
28
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.d-input {
|
|
2
|
-
&:has(.form-select:not(:disabled)) {
|
|
3
|
-
--#{$prefix}input-group-border-color: var(--#{$prefix}input-group-hover-border-color);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.form-floating:not(:last-child) {
|
|
7
|
-
.form-select {
|
|
8
|
-
padding-right: $form-select-padding-x * 2;
|
|
9
|
-
background-position: right center;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.form-select {
|
|
14
|
-
text-align: var(--#{$prefix}input-form-control-text-align);
|
|
15
|
-
border-width: 0;
|
|
16
|
-
box-shadow: none;
|
|
17
|
-
|
|
18
|
-
&:not(:last-child, .floating-label) {
|
|
19
|
-
padding-right: $form-select-padding-x * 2;
|
|
20
|
-
background-position: right center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:not(:first-child) {
|
|
24
|
-
padding-left: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
.d-input {
|
|
2
|
-
--#{$prefix}input-gap: #{$spacer-2};
|
|
3
|
-
// label
|
|
4
|
-
--#{$prefix}input-label-color: #{$form-label-color};
|
|
5
|
-
--#{$prefix}input-label-font-weight: #{$form-label-font-weight};
|
|
6
|
-
--#{$prefix}input-label-font-size: #{$form-label-font-size};
|
|
7
|
-
--#{$prefix}input-label-padding-x: #{$form-label-padding-x};
|
|
8
|
-
--#{$prefix}input-label-padding-y: #{$form-label-padding-y};
|
|
9
|
-
--#{$prefix}input-label-gap: #{$form-label-gap};
|
|
10
|
-
|
|
11
|
-
// input group
|
|
12
|
-
--#{$prefix}input-group-border-color: #{$input-group-border-color};
|
|
13
|
-
--#{$prefix}input-group-border-width: #{$input-group-border-width};
|
|
14
|
-
--#{$prefix}input-group-border-radius: #{$input-group-border-radius};
|
|
15
|
-
// input group hover
|
|
16
|
-
--#{$prefix}input-group-hover-border-color: #{$input-group-hover-border-color};
|
|
17
|
-
// input group focus
|
|
18
|
-
--#{$prefix}input-group-focus-border-color: #{$input-group-focus-border-color};
|
|
19
|
-
--#{$prefix}input-group-focus-box-shadow: #{$input-group-focus-box-shadow};
|
|
20
|
-
|
|
21
|
-
// input
|
|
22
|
-
--#{$prefix}input-form-control-text-align: var(--#{$prefix}input-component-form-control-text-align, "left");
|
|
23
|
-
|
|
24
|
-
// hint
|
|
25
|
-
--#{$prefix}input-form-text-padding: #{$form-control-padding-y} #{$form-control-padding-x};
|
|
26
|
-
--#{$prefix}input-form-text-gap: #{$form-control-gap};
|
|
27
|
-
--#{$prefix}input-form-text-color: #{$form-control-color};
|
|
28
|
-
|
|
29
|
-
// input disabled
|
|
30
|
-
--#{$prefix}input-group-disabled-border-color: #{$input-disabled-border-color};
|
|
31
|
-
--#{$prefix}input-group-disabled-bg: #{$input-disabled-bg};
|
|
32
|
-
--#{$prefix}input-group-disabled-color: #{$input-disabled-color};
|
|
33
|
-
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
gap: var(--#{$prefix}input-gap);
|
|
37
|
-
align-items: flex-start;
|
|
38
|
-
|
|
39
|
-
// focus
|
|
40
|
-
&:focus-within {
|
|
41
|
-
.input-group {
|
|
42
|
-
border-color: var(--#{$prefix}input-group-focus-border-color);
|
|
43
|
-
box-shadow: var(--#{$prefix}input-group-focus-box-shadow);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// form-control container
|
|
48
|
-
.d-input-control {
|
|
49
|
-
display: flex;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
gap: var(--#{$prefix}input-gap);
|
|
52
|
-
width: 100%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
label {
|
|
56
|
-
display: inline-flex;
|
|
57
|
-
flex-direction: row;
|
|
58
|
-
gap: var(--#{$prefix}input-label-gap);
|
|
59
|
-
align-items: center;
|
|
60
|
-
|
|
61
|
-
.d-input-icon {
|
|
62
|
-
.d-icon {
|
|
63
|
-
--#{$prefix}icon-color: var(--#{$prefix}focus-ring-color);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// input with elements
|
|
69
|
-
.input-group {
|
|
70
|
-
border: var(--#{$prefix}input-group-border-width) solid var(--#{$prefix}input-group-border-color);
|
|
71
|
-
border-radius: var(--#{$prefix}input-group-border-radius);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// not empty
|
|
75
|
-
.input-group:not(:focus-within):not(.has-validation):has(.form-control:not(:placeholder-shown)) {
|
|
76
|
-
border-color: var(--#{$prefix}input-group-hover-border-color);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// validation states
|
|
80
|
-
@each $state, $data in $form-validation-states {
|
|
81
|
-
$border-color: map-get($data, "border-color");
|
|
82
|
-
$tooltip-bg-color: map-get($data, "tooltip-bg-color");
|
|
83
|
-
$box-shadow: map-get($data, "focus-box-shadow");
|
|
84
|
-
|
|
85
|
-
&:has(.form-control.is-#{$state}) {
|
|
86
|
-
.input-group {
|
|
87
|
-
border-color: $border-color;
|
|
88
|
-
box-shadow: $box-shadow;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.input-group ~ .form-text {
|
|
92
|
-
color: $border-color;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.d-input-validation-icon {
|
|
96
|
-
--#{$prefix}icon-color: #{$tooltip-bg-color};
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// input hint
|
|
102
|
-
.input-group ~ .form-text {
|
|
103
|
-
display: inline-flex;
|
|
104
|
-
flex-direction: row;
|
|
105
|
-
gap: var(--#{$prefix}input-form-text-gap);
|
|
106
|
-
align-items: center;
|
|
107
|
-
padding: var(--#{$prefix}input-form-text-padding);
|
|
108
|
-
color: var(--#{$prefix}input-form-text-color);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// input element
|
|
112
|
-
.form-control {
|
|
113
|
-
text-align: var(--#{$prefix}input-form-control-text-align);
|
|
114
|
-
border-width: 0;
|
|
115
|
-
box-shadow: none;
|
|
116
|
-
|
|
117
|
-
&:not(:last-child) {
|
|
118
|
-
padding-right: 0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:not(:first-child) {
|
|
122
|
-
padding-left: 0;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.form-control::-webkit-inner-spin-button,
|
|
127
|
-
.form-control::-webkit-outer-spin-button {
|
|
128
|
-
margin: 0;
|
|
129
|
-
appearance: none;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// disable original form-control styles on d-input
|
|
133
|
-
.form-control.is-invalid:focus,
|
|
134
|
-
.form-control.is-valid:focus {
|
|
135
|
-
border: 0;
|
|
136
|
-
box-shadow: unset;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// input addons
|
|
140
|
-
.input-group-text {
|
|
141
|
-
border: 0;
|
|
142
|
-
outline: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// input disabled
|
|
146
|
-
.form-control:disabled {
|
|
147
|
-
background: var(--#{$prefix}input-group-disabled-bg);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
&:has(.form-control:disabled) {
|
|
152
|
-
|
|
153
|
-
// input addons disabled
|
|
154
|
-
.input-group-text {
|
|
155
|
-
background: var(--#{$prefix}input-group-disabled-bg);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// icon disabled
|
|
159
|
-
.d-input-icon {
|
|
160
|
-
.d-icon {
|
|
161
|
-
color: var(--#{$prefix}input-group-disabled-color);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// input with elements disabled
|
|
166
|
-
.input-group {
|
|
167
|
-
border-color: var(--#{$prefix}input-group-disabled-border-color);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.label,
|
|
173
|
-
label {
|
|
174
|
-
padding: var(--#{$prefix}input-label-padding-y, var(--#{$prefix}label-padding-y)) var(--#{$prefix}input-label-padding-x, var(--#{$prefix}label-padding-x));
|
|
175
|
-
font-size: var(--#{$prefix}input-label-font-size, var(--#{$prefix}label-font-size));
|
|
176
|
-
font-weight: var(--#{$prefix}input-label-font-weight, var(--#{$prefix}label-font-weight));
|
|
177
|
-
color: var(--#{$prefix}input-label-color, var(--#{$prefix}label-color));
|
|
178
|
-
}
|