@sd-angular/core 19.0.0-beta.83 → 19.0.0-beta.85
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/README.md +716 -716
- package/assets/fonts/fonts.scss +115 -115
- package/assets/scss/bootstrap-4.6.2/_alert.scss +52 -52
- package/assets/scss/bootstrap-4.6.2/_badge.scss +54 -54
- package/assets/scss/bootstrap-4.6.2/_breadcrumb.scss +42 -42
- package/assets/scss/bootstrap-4.6.2/_button-group.scss +163 -163
- package/assets/scss/bootstrap-4.6.2/_buttons.scss +142 -142
- package/assets/scss/bootstrap-4.6.2/_card.scss +286 -286
- package/assets/scss/bootstrap-4.6.2/_carousel.scss +200 -200
- package/assets/scss/bootstrap-4.6.2/_close.scss +40 -40
- package/assets/scss/bootstrap-4.6.2/_code.scss +48 -48
- package/assets/scss/bootstrap-4.6.2/_custom-forms.scss +526 -526
- package/assets/scss/bootstrap-4.6.2/_dropdown.scss +192 -192
- package/assets/scss/bootstrap-4.6.2/_forms.scss +347 -347
- package/assets/scss/bootstrap-4.6.2/_functions.scss +190 -190
- package/assets/scss/bootstrap-4.6.2/_grid.scss +73 -73
- package/assets/scss/bootstrap-4.6.2/_images.scss +42 -42
- package/assets/scss/bootstrap-4.6.2/_input-group.scss +211 -211
- package/assets/scss/bootstrap-4.6.2/_jumbotron.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/_list-group.scss +154 -154
- package/assets/scss/bootstrap-4.6.2/_media.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/_mixins.scss +47 -47
- package/assets/scss/bootstrap-4.6.2/_modal.scss +240 -240
- package/assets/scss/bootstrap-4.6.2/_nav.scss +125 -125
- package/assets/scss/bootstrap-4.6.2/_navbar.scss +332 -332
- package/assets/scss/bootstrap-4.6.2/_pagination.scss +74 -74
- package/assets/scss/bootstrap-4.6.2/_popover.scss +170 -170
- package/assets/scss/bootstrap-4.6.2/_print.scss +132 -132
- package/assets/scss/bootstrap-4.6.2/_progress.scss +47 -47
- package/assets/scss/bootstrap-4.6.2/_reboot.scss +484 -484
- package/assets/scss/bootstrap-4.6.2/_root.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/_spinners.scss +65 -65
- package/assets/scss/bootstrap-4.6.2/_tables.scss +185 -185
- package/assets/scss/bootstrap-4.6.2/_toasts.scss +46 -46
- package/assets/scss/bootstrap-4.6.2/_tooltip.scss +115 -115
- package/assets/scss/bootstrap-4.6.2/_transitions.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/_type.scss +125 -125
- package/assets/scss/bootstrap-4.6.2/_utilities.scss +18 -18
- package/assets/scss/bootstrap-4.6.2/_variables.scss +1150 -1150
- package/assets/scss/bootstrap-4.6.2/bootstrap-grid.scss +30 -30
- package/assets/scss/bootstrap-4.6.2/bootstrap-reboot.scss +12 -12
- package/assets/scss/bootstrap-4.6.2/bootstrap.scss +44 -44
- package/assets/scss/bootstrap-4.6.2/mixins/_alert.scss +13 -13
- package/assets/scss/bootstrap-4.6.2/mixins/_background-variant.scss +23 -23
- package/assets/scss/bootstrap-4.6.2/mixins/_badge.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_border-radius.scss +76 -76
- package/assets/scss/bootstrap-4.6.2/mixins/_box-shadow.scss +20 -20
- package/assets/scss/bootstrap-4.6.2/mixins/_breakpoints.scss +123 -123
- package/assets/scss/bootstrap-4.6.2/mixins/_buttons.scss +110 -110
- package/assets/scss/bootstrap-4.6.2/mixins/_caret.scss +62 -62
- package/assets/scss/bootstrap-4.6.2/mixins/_clearfix.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_deprecate.scss +10 -10
- package/assets/scss/bootstrap-4.6.2/mixins/_float.scss +14 -14
- package/assets/scss/bootstrap-4.6.2/mixins/_forms.scss +195 -195
- package/assets/scss/bootstrap-4.6.2/mixins/_gradients.scss +45 -45
- package/assets/scss/bootstrap-4.6.2/mixins/_grid-framework.scss +80 -80
- package/assets/scss/bootstrap-4.6.2/mixins/_grid.scss +69 -69
- package/assets/scss/bootstrap-4.6.2/mixins/_hover.scss +37 -37
- package/assets/scss/bootstrap-4.6.2/mixins/_image.scss +36 -36
- package/assets/scss/bootstrap-4.6.2/mixins/_list-group.scss +21 -21
- package/assets/scss/bootstrap-4.6.2/mixins/_lists.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_nav-divider.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_pagination.scss +22 -22
- package/assets/scss/bootstrap-4.6.2/mixins/_reset-text.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_resize.scss +6 -6
- package/assets/scss/bootstrap-4.6.2/mixins/_screen-reader.scss +34 -34
- package/assets/scss/bootstrap-4.6.2/mixins/_size.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_table-row.scss +39 -39
- package/assets/scss/bootstrap-4.6.2/mixins/_text-emphasis.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_text-hide.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_text-truncate.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/mixins/_transition.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/mixins/_visibility.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_align.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_background.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_borders.scss +75 -75
- package/assets/scss/bootstrap-4.6.2/utilities/_clearfix.scss +3 -3
- package/assets/scss/bootstrap-4.6.2/utilities/_display.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/utilities/_embed.scss +39 -39
- package/assets/scss/bootstrap-4.6.2/utilities/_flex.scss +51 -51
- package/assets/scss/bootstrap-4.6.2/utilities/_float.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_interactions.scss +5 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_overflow.scss +5 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_position.scss +32 -32
- package/assets/scss/bootstrap-4.6.2/utilities/_screenreaders.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_shadows.scss +6 -6
- package/assets/scss/bootstrap-4.6.2/utilities/_sizing.scss +20 -20
- package/assets/scss/bootstrap-4.6.2/utilities/_spacing.scss +73 -73
- package/assets/scss/bootstrap-4.6.2/utilities/_stretched-link.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_text.scss +72 -72
- package/assets/scss/bootstrap-4.6.2/utilities/_visibility.scss +13 -13
- package/assets/scss/bootstrap-4.6.2/vendor/_rfs.scss +228 -228
- package/assets/scss/core/print.scss +47 -47
- package/assets/scss/core/scrollbar.scss +30 -30
- package/assets/scss/core/typography.scss +121 -121
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs +11 -11
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-anchor.mjs +12 -12
- package/fesm2022/sd-angular-core-components-avatar.mjs +4 -4
- package/fesm2022/sd-angular-core-components-avatar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-badge.mjs +3 -3
- package/fesm2022/sd-angular-core-components-base.mjs +3 -3
- package/fesm2022/sd-angular-core-components-button.mjs +3 -3
- package/fesm2022/sd-angular-core-components-chart.mjs +48 -48
- package/fesm2022/sd-angular-core-components-chart.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-code-editor.mjs +3 -3
- package/fesm2022/sd-angular-core-components-document-builder.mjs +6 -6
- package/fesm2022/sd-angular-core-components-editor.mjs +3 -3
- package/fesm2022/sd-angular-core-components-history.mjs +7 -7
- package/fesm2022/sd-angular-core-components-import-excel.mjs +10 -10
- package/fesm2022/sd-angular-core-components-mini-editor.mjs +3 -3
- package/fesm2022/sd-angular-core-components-modal.mjs +3 -3
- package/fesm2022/sd-angular-core-components-preview.mjs +3 -3
- package/fesm2022/sd-angular-core-components-query-builder.mjs +3 -3
- package/fesm2022/sd-angular-core-components-quick-action.mjs +3 -3
- package/fesm2022/sd-angular-core-components-quick-action.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-section.mjs +6 -6
- package/fesm2022/sd-angular-core-components-side-drawer.mjs +3 -3
- package/fesm2022/sd-angular-core-components-tab-router.mjs +20 -20
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +112 -108
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +17 -17
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-view.mjs +3 -3
- package/fesm2022/sd-angular-core-components-workflow.mjs +198 -198
- package/fesm2022/sd-angular-core-directives.mjs +21 -21
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-checkbox.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +6 -6
- package/fesm2022/sd-angular-core-forms-chip.mjs +6 -6
- package/fesm2022/sd-angular-core-forms-date-range.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-date.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-datetime.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-directives.mjs +12 -12
- package/fesm2022/sd-angular-core-forms-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-input.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-label.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-select.mjs +4 -4
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs +3 -3
- package/fesm2022/sd-angular-core-forms-textarea.mjs +3 -3
- package/fesm2022/sd-angular-core-forms.mjs +4 -4
- package/fesm2022/sd-angular-core-forms.mjs.map +1 -1
- package/fesm2022/sd-angular-core-handlers.mjs +3 -3
- package/fesm2022/sd-angular-core-interceptors.mjs +3 -3
- package/fesm2022/sd-angular-core-modules-auth.mjs +9 -9
- package/fesm2022/sd-angular-core-modules-authom.mjs +7 -7
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-keycloak.mjs +7 -7
- package/fesm2022/sd-angular-core-modules-layout.mjs +74 -74
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs +9 -9
- package/fesm2022/sd-angular-core-pipes.mjs +14 -14
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs +10 -10
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-cache.mjs +3 -3
- package/fesm2022/sd-angular-core-services-cache.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +6 -6
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-docx.mjs +3 -3
- package/fesm2022/sd-angular-core-services-excel.mjs +3 -3
- package/fesm2022/sd-angular-core-services-firebase.mjs +3 -3
- package/fesm2022/sd-angular-core-services-firebase.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-license.mjs +3 -3
- package/fesm2022/sd-angular-core-services-license.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-loading.mjs +3 -3
- package/fesm2022/sd-angular-core-services-notify.mjs +9 -9
- package/fesm2022/sd-angular-core-services-storage.mjs +3 -3
- package/fesm2022/sd-angular-core-services-storage.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-extensions.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core.mjs.map +1 -1
- package/package.json +70 -70
- package/sd-angular-core-19.0.0-beta.85.tgz +0 -0
- package/sd-angular-core-19.0.0-beta.83.tgz +0 -0
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// Base styles
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
.input-group {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-wrap: wrap; // For form validation feedback
|
|
11
|
-
align-items: stretch;
|
|
12
|
-
width: 100%;
|
|
13
|
-
|
|
14
|
-
> .form-control,
|
|
15
|
-
> .form-control-plaintext,
|
|
16
|
-
> .custom-select,
|
|
17
|
-
> .custom-file {
|
|
18
|
-
position: relative; // For focus state's z-index
|
|
19
|
-
flex: 1 1 auto;
|
|
20
|
-
width: 1%;
|
|
21
|
-
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
|
|
22
|
-
margin-bottom: 0;
|
|
23
|
-
|
|
24
|
-
+ .form-control,
|
|
25
|
-
+ .custom-select,
|
|
26
|
-
+ .custom-file {
|
|
27
|
-
margin-left: -$input-border-width;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// Bring the "active" form control to the top of surrounding elements
|
|
32
|
-
> .form-control:focus,
|
|
33
|
-
> .custom-select:focus,
|
|
34
|
-
> .custom-file .custom-file-input:focus ~ .custom-file-label {
|
|
35
|
-
z-index: 3;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Bring the custom file input above the label
|
|
39
|
-
> .custom-file .custom-file-input:focus {
|
|
40
|
-
z-index: 4;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
> .form-control,
|
|
44
|
-
> .custom-select {
|
|
45
|
-
&:not(:first-child) { @include border-left-radius(0); }
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Custom file inputs have more complex markup, thus requiring different
|
|
49
|
-
// border-radius overrides.
|
|
50
|
-
> .custom-file {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
|
|
54
|
-
&:not(:last-child) .custom-file-label,
|
|
55
|
-
&:not(:last-child) .custom-file-label::after { @include border-right-radius(0); }
|
|
56
|
-
&:not(:first-child) .custom-file-label { @include border-left-radius(0); }
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&:not(.has-validation) {
|
|
60
|
-
> .form-control:not(:last-child),
|
|
61
|
-
> .custom-select:not(:last-child),
|
|
62
|
-
> .custom-file:not(:last-child) .custom-file-label,
|
|
63
|
-
> .custom-file:not(:last-child) .custom-file-label::after {
|
|
64
|
-
@include border-right-radius(0);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.has-validation {
|
|
69
|
-
> .form-control:nth-last-child(n + 3),
|
|
70
|
-
> .custom-select:nth-last-child(n + 3),
|
|
71
|
-
> .custom-file:nth-last-child(n + 3) .custom-file-label,
|
|
72
|
-
> .custom-file:nth-last-child(n + 3) .custom-file-label::after {
|
|
73
|
-
@include border-right-radius(0);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
// Prepend and append
|
|
80
|
-
//
|
|
81
|
-
// While it requires one extra layer of HTML for each, dedicated prepend and
|
|
82
|
-
// append elements allow us to 1) be less clever, 2) simplify our selectors, and
|
|
83
|
-
// 3) support HTML5 form validation.
|
|
84
|
-
|
|
85
|
-
.input-group-prepend,
|
|
86
|
-
.input-group-append {
|
|
87
|
-
display: flex;
|
|
88
|
-
|
|
89
|
-
// Ensure buttons are always above inputs for more visually pleasing borders.
|
|
90
|
-
// This isn't needed for `.input-group-text` since it shares the same border-color
|
|
91
|
-
// as our inputs.
|
|
92
|
-
.btn {
|
|
93
|
-
position: relative;
|
|
94
|
-
z-index: 2;
|
|
95
|
-
|
|
96
|
-
&:focus {
|
|
97
|
-
z-index: 3;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.btn + .btn,
|
|
102
|
-
.btn + .input-group-text,
|
|
103
|
-
.input-group-text + .input-group-text,
|
|
104
|
-
.input-group-text + .btn {
|
|
105
|
-
margin-left: -$input-border-width;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.input-group-prepend { margin-right: -$input-border-width; }
|
|
110
|
-
.input-group-append { margin-left: -$input-border-width; }
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
// Textual addons
|
|
114
|
-
//
|
|
115
|
-
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
|
116
|
-
// to prepend or append to an input.
|
|
117
|
-
|
|
118
|
-
.input-group-text {
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
padding: $input-padding-y $input-padding-x;
|
|
122
|
-
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
|
123
|
-
@include font-size($input-font-size); // Match inputs
|
|
124
|
-
font-weight: $font-weight-normal;
|
|
125
|
-
line-height: $input-line-height;
|
|
126
|
-
color: $input-group-addon-color;
|
|
127
|
-
text-align: center;
|
|
128
|
-
white-space: nowrap;
|
|
129
|
-
background-color: $input-group-addon-bg;
|
|
130
|
-
border: $input-border-width solid $input-group-addon-border-color;
|
|
131
|
-
@include border-radius($input-border-radius);
|
|
132
|
-
|
|
133
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
|
134
|
-
input[type="radio"],
|
|
135
|
-
input[type="checkbox"] {
|
|
136
|
-
margin-top: 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
// Sizing
|
|
142
|
-
//
|
|
143
|
-
// Remix the default form control sizing classes into new ones for easier
|
|
144
|
-
// manipulation.
|
|
145
|
-
|
|
146
|
-
.input-group-lg > .form-control:not(textarea),
|
|
147
|
-
.input-group-lg > .custom-select {
|
|
148
|
-
height: $input-height-lg;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.input-group-lg > .form-control,
|
|
152
|
-
.input-group-lg > .custom-select,
|
|
153
|
-
.input-group-lg > .input-group-prepend > .input-group-text,
|
|
154
|
-
.input-group-lg > .input-group-append > .input-group-text,
|
|
155
|
-
.input-group-lg > .input-group-prepend > .btn,
|
|
156
|
-
.input-group-lg > .input-group-append > .btn {
|
|
157
|
-
padding: $input-padding-y-lg $input-padding-x-lg;
|
|
158
|
-
@include font-size($input-font-size-lg);
|
|
159
|
-
line-height: $input-line-height-lg;
|
|
160
|
-
@include border-radius($input-border-radius-lg);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.input-group-sm > .form-control:not(textarea),
|
|
164
|
-
.input-group-sm > .custom-select {
|
|
165
|
-
height: $input-height-sm;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.input-group-sm > .form-control,
|
|
169
|
-
.input-group-sm > .custom-select,
|
|
170
|
-
.input-group-sm > .input-group-prepend > .input-group-text,
|
|
171
|
-
.input-group-sm > .input-group-append > .input-group-text,
|
|
172
|
-
.input-group-sm > .input-group-prepend > .btn,
|
|
173
|
-
.input-group-sm > .input-group-append > .btn {
|
|
174
|
-
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
175
|
-
@include font-size($input-font-size-sm);
|
|
176
|
-
line-height: $input-line-height-sm;
|
|
177
|
-
@include border-radius($input-border-radius-sm);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.input-group-lg > .custom-select,
|
|
181
|
-
.input-group-sm > .custom-select {
|
|
182
|
-
padding-right: $custom-select-padding-x + $custom-select-indicator-padding;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
// Prepend and append rounded corners
|
|
187
|
-
//
|
|
188
|
-
// These rulesets must come after the sizing ones to properly override sm and lg
|
|
189
|
-
// border-radius values when extending. They're more specific than we'd like
|
|
190
|
-
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
.input-group > .input-group-prepend > .btn,
|
|
194
|
-
.input-group > .input-group-prepend > .input-group-text,
|
|
195
|
-
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .btn,
|
|
196
|
-
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .input-group-text,
|
|
197
|
-
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .btn,
|
|
198
|
-
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .input-group-text,
|
|
199
|
-
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
|
200
|
-
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
|
|
201
|
-
@include border-right-radius(0);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.input-group > .input-group-append > .btn,
|
|
205
|
-
.input-group > .input-group-append > .input-group-text,
|
|
206
|
-
.input-group > .input-group-prepend:not(:first-child) > .btn,
|
|
207
|
-
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
|
|
208
|
-
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
|
|
209
|
-
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
|
|
210
|
-
@include border-left-radius(0);
|
|
211
|
-
}
|
|
1
|
+
// stylelint-disable selector-no-qualifying-type
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Base styles
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.input-group {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap; // For form validation feedback
|
|
11
|
+
align-items: stretch;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
> .form-control,
|
|
15
|
+
> .form-control-plaintext,
|
|
16
|
+
> .custom-select,
|
|
17
|
+
> .custom-file {
|
|
18
|
+
position: relative; // For focus state's z-index
|
|
19
|
+
flex: 1 1 auto;
|
|
20
|
+
width: 1%;
|
|
21
|
+
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
|
|
24
|
+
+ .form-control,
|
|
25
|
+
+ .custom-select,
|
|
26
|
+
+ .custom-file {
|
|
27
|
+
margin-left: -$input-border-width;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Bring the "active" form control to the top of surrounding elements
|
|
32
|
+
> .form-control:focus,
|
|
33
|
+
> .custom-select:focus,
|
|
34
|
+
> .custom-file .custom-file-input:focus ~ .custom-file-label {
|
|
35
|
+
z-index: 3;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Bring the custom file input above the label
|
|
39
|
+
> .custom-file .custom-file-input:focus {
|
|
40
|
+
z-index: 4;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
> .form-control,
|
|
44
|
+
> .custom-select {
|
|
45
|
+
&:not(:first-child) { @include border-left-radius(0); }
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Custom file inputs have more complex markup, thus requiring different
|
|
49
|
+
// border-radius overrides.
|
|
50
|
+
> .custom-file {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
|
|
54
|
+
&:not(:last-child) .custom-file-label,
|
|
55
|
+
&:not(:last-child) .custom-file-label::after { @include border-right-radius(0); }
|
|
56
|
+
&:not(:first-child) .custom-file-label { @include border-left-radius(0); }
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:not(.has-validation) {
|
|
60
|
+
> .form-control:not(:last-child),
|
|
61
|
+
> .custom-select:not(:last-child),
|
|
62
|
+
> .custom-file:not(:last-child) .custom-file-label,
|
|
63
|
+
> .custom-file:not(:last-child) .custom-file-label::after {
|
|
64
|
+
@include border-right-radius(0);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.has-validation {
|
|
69
|
+
> .form-control:nth-last-child(n + 3),
|
|
70
|
+
> .custom-select:nth-last-child(n + 3),
|
|
71
|
+
> .custom-file:nth-last-child(n + 3) .custom-file-label,
|
|
72
|
+
> .custom-file:nth-last-child(n + 3) .custom-file-label::after {
|
|
73
|
+
@include border-right-radius(0);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
// Prepend and append
|
|
80
|
+
//
|
|
81
|
+
// While it requires one extra layer of HTML for each, dedicated prepend and
|
|
82
|
+
// append elements allow us to 1) be less clever, 2) simplify our selectors, and
|
|
83
|
+
// 3) support HTML5 form validation.
|
|
84
|
+
|
|
85
|
+
.input-group-prepend,
|
|
86
|
+
.input-group-append {
|
|
87
|
+
display: flex;
|
|
88
|
+
|
|
89
|
+
// Ensure buttons are always above inputs for more visually pleasing borders.
|
|
90
|
+
// This isn't needed for `.input-group-text` since it shares the same border-color
|
|
91
|
+
// as our inputs.
|
|
92
|
+
.btn {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 2;
|
|
95
|
+
|
|
96
|
+
&:focus {
|
|
97
|
+
z-index: 3;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.btn + .btn,
|
|
102
|
+
.btn + .input-group-text,
|
|
103
|
+
.input-group-text + .input-group-text,
|
|
104
|
+
.input-group-text + .btn {
|
|
105
|
+
margin-left: -$input-border-width;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.input-group-prepend { margin-right: -$input-border-width; }
|
|
110
|
+
.input-group-append { margin-left: -$input-border-width; }
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
// Textual addons
|
|
114
|
+
//
|
|
115
|
+
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
|
116
|
+
// to prepend or append to an input.
|
|
117
|
+
|
|
118
|
+
.input-group-text {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
padding: $input-padding-y $input-padding-x;
|
|
122
|
+
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
|
|
123
|
+
@include font-size($input-font-size); // Match inputs
|
|
124
|
+
font-weight: $font-weight-normal;
|
|
125
|
+
line-height: $input-line-height;
|
|
126
|
+
color: $input-group-addon-color;
|
|
127
|
+
text-align: center;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
background-color: $input-group-addon-bg;
|
|
130
|
+
border: $input-border-width solid $input-group-addon-border-color;
|
|
131
|
+
@include border-radius($input-border-radius);
|
|
132
|
+
|
|
133
|
+
// Nuke default margins from checkboxes and radios to vertically center within.
|
|
134
|
+
input[type="radio"],
|
|
135
|
+
input[type="checkbox"] {
|
|
136
|
+
margin-top: 0;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
// Sizing
|
|
142
|
+
//
|
|
143
|
+
// Remix the default form control sizing classes into new ones for easier
|
|
144
|
+
// manipulation.
|
|
145
|
+
|
|
146
|
+
.input-group-lg > .form-control:not(textarea),
|
|
147
|
+
.input-group-lg > .custom-select {
|
|
148
|
+
height: $input-height-lg;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.input-group-lg > .form-control,
|
|
152
|
+
.input-group-lg > .custom-select,
|
|
153
|
+
.input-group-lg > .input-group-prepend > .input-group-text,
|
|
154
|
+
.input-group-lg > .input-group-append > .input-group-text,
|
|
155
|
+
.input-group-lg > .input-group-prepend > .btn,
|
|
156
|
+
.input-group-lg > .input-group-append > .btn {
|
|
157
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
|
158
|
+
@include font-size($input-font-size-lg);
|
|
159
|
+
line-height: $input-line-height-lg;
|
|
160
|
+
@include border-radius($input-border-radius-lg);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.input-group-sm > .form-control:not(textarea),
|
|
164
|
+
.input-group-sm > .custom-select {
|
|
165
|
+
height: $input-height-sm;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.input-group-sm > .form-control,
|
|
169
|
+
.input-group-sm > .custom-select,
|
|
170
|
+
.input-group-sm > .input-group-prepend > .input-group-text,
|
|
171
|
+
.input-group-sm > .input-group-append > .input-group-text,
|
|
172
|
+
.input-group-sm > .input-group-prepend > .btn,
|
|
173
|
+
.input-group-sm > .input-group-append > .btn {
|
|
174
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
175
|
+
@include font-size($input-font-size-sm);
|
|
176
|
+
line-height: $input-line-height-sm;
|
|
177
|
+
@include border-radius($input-border-radius-sm);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.input-group-lg > .custom-select,
|
|
181
|
+
.input-group-sm > .custom-select {
|
|
182
|
+
padding-right: $custom-select-padding-x + $custom-select-indicator-padding;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
// Prepend and append rounded corners
|
|
187
|
+
//
|
|
188
|
+
// These rulesets must come after the sizing ones to properly override sm and lg
|
|
189
|
+
// border-radius values when extending. They're more specific than we'd like
|
|
190
|
+
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
.input-group > .input-group-prepend > .btn,
|
|
194
|
+
.input-group > .input-group-prepend > .input-group-text,
|
|
195
|
+
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .btn,
|
|
196
|
+
.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .input-group-text,
|
|
197
|
+
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .btn,
|
|
198
|
+
.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .input-group-text,
|
|
199
|
+
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
|
200
|
+
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
|
|
201
|
+
@include border-right-radius(0);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.input-group > .input-group-append > .btn,
|
|
205
|
+
.input-group > .input-group-append > .input-group-text,
|
|
206
|
+
.input-group > .input-group-prepend:not(:first-child) > .btn,
|
|
207
|
+
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
|
|
208
|
+
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
|
|
209
|
+
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
|
|
210
|
+
@include border-left-radius(0);
|
|
211
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.jumbotron {
|
|
2
|
-
padding: $jumbotron-padding ($jumbotron-padding * .5);
|
|
3
|
-
margin-bottom: $jumbotron-padding;
|
|
4
|
-
color: $jumbotron-color;
|
|
5
|
-
background-color: $jumbotron-bg;
|
|
6
|
-
@include border-radius($border-radius-lg);
|
|
7
|
-
|
|
8
|
-
@include media-breakpoint-up(sm) {
|
|
9
|
-
padding: ($jumbotron-padding * 2) $jumbotron-padding;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.jumbotron-fluid {
|
|
14
|
-
padding-right: 0;
|
|
15
|
-
padding-left: 0;
|
|
16
|
-
@include border-radius(0);
|
|
17
|
-
}
|
|
1
|
+
.jumbotron {
|
|
2
|
+
padding: $jumbotron-padding ($jumbotron-padding * .5);
|
|
3
|
+
margin-bottom: $jumbotron-padding;
|
|
4
|
+
color: $jumbotron-color;
|
|
5
|
+
background-color: $jumbotron-bg;
|
|
6
|
+
@include border-radius($border-radius-lg);
|
|
7
|
+
|
|
8
|
+
@include media-breakpoint-up(sm) {
|
|
9
|
+
padding: ($jumbotron-padding * 2) $jumbotron-padding;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.jumbotron-fluid {
|
|
14
|
+
padding-right: 0;
|
|
15
|
+
padding-left: 0;
|
|
16
|
+
@include border-radius(0);
|
|
17
|
+
}
|