@syncfusion/ej2-splitbuttons 27.2.2 → 28.1.33
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 +4 -4
- package/dist/ej2-splitbuttons.min.js +3 -3
- package/dist/ej2-splitbuttons.umd.min.js +3 -3
- package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es2015.js +140 -46
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +146 -46
- package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-splitbuttons.min.js +3 -3
- package/dist/global/ej2-splitbuttons.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +8 -8
- package/src/common/common.d.ts +5 -0
- package/src/common/common.js +2 -2
- package/src/drop-down-button/drop-down-button-model.d.ts +63 -1
- package/src/drop-down-button/drop-down-button.d.ts +60 -3
- package/src/drop-down-button/drop-down-button.js +146 -45
- package/styles/bds-lite.css +1937 -0
- package/styles/bds-lite.scss +13 -0
- package/styles/bds.css +2148 -0
- package/styles/bds.scss +17 -0
- package/styles/bootstrap-dark-lite.css +11 -0
- package/styles/bootstrap-dark.css +11 -1
- package/styles/bootstrap-lite.css +11 -0
- package/styles/bootstrap.css +11 -1
- package/styles/bootstrap4-lite.css +11 -0
- package/styles/bootstrap4.css +11 -1
- package/styles/bootstrap5-dark-lite.css +11 -0
- package/styles/bootstrap5-dark.css +11 -1
- package/styles/bootstrap5-lite.css +11 -0
- package/styles/bootstrap5.3-lite.css +11 -0
- package/styles/bootstrap5.3.css +11 -1
- package/styles/bootstrap5.css +11 -1
- package/styles/button-group/_group-button-mixin.scss +2 -2
- package/styles/button-group/_layout.scss +1 -1
- package/styles/button-group/_tailwind3-definition.scss +31 -0
- package/styles/button-group/_theme.scss +83 -12
- package/styles/button-group/bds.css +861 -0
- package/styles/button-group/bds.scss +5 -0
- package/styles/button-group/tailwind3.css +847 -0
- package/styles/button-group/tailwind3.scss +5 -0
- package/styles/drop-down-button/_bigger.scss +20 -0
- package/styles/drop-down-button/_layout.scss +36 -3
- package/styles/drop-down-button/_tailwind3-definition.scss +53 -0
- package/styles/drop-down-button/_theme.scss +7 -0
- package/styles/drop-down-button/bds.css +372 -0
- package/styles/drop-down-button/bds.scss +7 -0
- package/styles/drop-down-button/bootstrap-dark.css +11 -1
- package/styles/drop-down-button/bootstrap.css +11 -1
- package/styles/drop-down-button/bootstrap4.css +11 -1
- package/styles/drop-down-button/bootstrap5-dark.css +11 -1
- package/styles/drop-down-button/bootstrap5.3.css +11 -1
- package/styles/drop-down-button/bootstrap5.css +11 -1
- package/styles/drop-down-button/fabric-dark.css +11 -1
- package/styles/drop-down-button/fabric.css +11 -1
- package/styles/drop-down-button/fluent-dark.css +11 -1
- package/styles/drop-down-button/fluent.css +11 -1
- package/styles/drop-down-button/fluent2.css +11 -1
- package/styles/drop-down-button/highcontrast-light.css +11 -1
- package/styles/drop-down-button/highcontrast.css +11 -1
- package/styles/drop-down-button/icons/_tailwind3.scss +10 -0
- package/styles/drop-down-button/material-dark.css +11 -1
- package/styles/drop-down-button/material.css +11 -1
- package/styles/drop-down-button/material3-dark.css +11 -1
- package/styles/drop-down-button/material3.css +11 -1
- package/styles/drop-down-button/tailwind-dark.css +11 -1
- package/styles/drop-down-button/tailwind.css +11 -1
- package/styles/drop-down-button/tailwind3.css +295 -0
- package/styles/drop-down-button/tailwind3.scss +7 -0
- package/styles/fabric-dark-lite.css +11 -0
- package/styles/fabric-dark.css +11 -1
- package/styles/fabric-lite.css +11 -0
- package/styles/fabric.css +11 -1
- package/styles/fluent-dark-lite.css +11 -0
- package/styles/fluent-dark.css +11 -1
- package/styles/fluent-lite.css +11 -0
- package/styles/fluent.css +11 -1
- package/styles/fluent2-lite.css +11 -0
- package/styles/fluent2.css +11 -1
- package/styles/highcontrast-light-lite.css +11 -0
- package/styles/highcontrast-light.css +11 -1
- package/styles/highcontrast-lite.css +11 -0
- package/styles/highcontrast.css +11 -1
- package/styles/material-dark-lite.css +11 -0
- package/styles/material-dark.css +11 -1
- package/styles/material-lite.css +11 -0
- package/styles/material.css +11 -1
- package/styles/material3-dark-lite.css +11 -0
- package/styles/material3-dark.css +11 -1
- package/styles/material3-lite.css +11 -0
- package/styles/material3.css +11 -1
- package/styles/progress-button/_tailwind3-definition.scss +20 -0
- package/styles/progress-button/_theme.scss +70 -0
- package/styles/progress-button/bds.css +683 -0
- package/styles/progress-button/bds.scss +6 -0
- package/styles/progress-button/tailwind3.css +636 -0
- package/styles/progress-button/tailwind3.scss +6 -0
- package/styles/split-button/_layout.scss +2 -2
- package/styles/split-button/_tailwind3-definition.scss +23 -0
- package/styles/split-button/_theme.scss +6 -1
- package/styles/split-button/bds.css +461 -0
- package/styles/split-button/bds.scss +7 -0
- package/styles/split-button/tailwind3.css +342 -0
- package/styles/split-button/tailwind3.scss +7 -0
- package/styles/tailwind-dark-lite.css +11 -0
- package/styles/tailwind-dark.css +11 -1
- package/styles/tailwind-lite.css +11 -0
- package/styles/tailwind.css +11 -1
- package/styles/tailwind3-lite.css +1891 -0
- package/styles/tailwind3-lite.scss +13 -0
- package/styles/tailwind3.css +2110 -0
- package/styles/tailwind3.scss +17 -0
package/styles/bds.scss
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import 'ej2-base/styles/definition/bds.scss';
|
|
2
|
+
@import 'ej2-buttons/styles/button/bds-definition.scss';
|
|
3
|
+
@import 'ej2-popups/styles/popup/bds-definition.scss';
|
|
4
|
+
@import 'drop-down-button/bds-definition.scss';
|
|
5
|
+
@import 'drop-down-button/icons/bds.scss';
|
|
6
|
+
@import 'drop-down-button/all.scss';
|
|
7
|
+
@import 'drop-down-button/bigger.scss';
|
|
8
|
+
@import 'split-button/bds-definition.scss';
|
|
9
|
+
@import 'split-button/all.scss';
|
|
10
|
+
@import 'split-button/bigger.scss';
|
|
11
|
+
@import 'button-group/bds-definition.scss';
|
|
12
|
+
@import 'button-group/all.scss';
|
|
13
|
+
@import 'button-group/bigger.scss';
|
|
14
|
+
@import 'ej2-popups/styles/spinner/bds-definition.scss';
|
|
15
|
+
@import 'progress-button/bds-definition.scss';
|
|
16
|
+
@import 'progress-button/all.scss';
|
|
17
|
+
@import 'progress-button/bigger.scss';
|
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: #2a2a2a;
|
|
149
160
|
color: #f0f0f0;
|
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: #2a2a2a;
|
|
149
160
|
color: #f0f0f0;
|
|
@@ -215,7 +226,6 @@
|
|
|
215
226
|
line-height: 1;
|
|
216
227
|
padding: 8px 16px;
|
|
217
228
|
}
|
|
218
|
-
|
|
219
229
|
*.e-bigger .e-dropdown-popup ul,
|
|
220
230
|
*.e-bigger.e-dropdown-popup ul {
|
|
221
231
|
-webkit-box-shadow: 0 6px 12px rgba(26, 26, 26, 0.175);
|
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: #fff;
|
|
149
160
|
color: #333;
|
package/styles/bootstrap.css
CHANGED
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: #fff;
|
|
149
160
|
color: #333;
|
|
@@ -215,7 +226,6 @@
|
|
|
215
226
|
line-height: 1;
|
|
216
227
|
padding: 8px 16px;
|
|
217
228
|
}
|
|
218
|
-
|
|
219
229
|
*.e-bigger .e-dropdown-popup ul,
|
|
220
230
|
*.e-bigger.e-dropdown-popup ul {
|
|
221
231
|
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
@@ -137,6 +137,17 @@
|
|
|
137
137
|
margin-right: 0;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
.e-dropdown-popup-width ul {
|
|
141
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.e-dropdown-popup-width ul li {
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
white-space: nowrap;
|
|
147
|
+
text-overflow: ellipsis;
|
|
148
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
140
151
|
.e-dropdown-popup {
|
|
141
152
|
background: #fff;
|
|
142
153
|
color: #212529;
|
package/styles/bootstrap4.css
CHANGED
|
@@ -137,6 +137,17 @@
|
|
|
137
137
|
margin-right: 0;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
.e-dropdown-popup-width ul {
|
|
141
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.e-dropdown-popup-width ul li {
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
white-space: nowrap;
|
|
147
|
+
text-overflow: ellipsis;
|
|
148
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
140
151
|
.e-dropdown-popup {
|
|
141
152
|
background: #fff;
|
|
142
153
|
color: #212529;
|
|
@@ -208,7 +219,6 @@
|
|
|
208
219
|
line-height: 1;
|
|
209
220
|
padding: 8px 16px;
|
|
210
221
|
}
|
|
211
|
-
|
|
212
222
|
*.e-bigger .e-dropdown-popup ul,
|
|
213
223
|
*.e-bigger.e-dropdown-popup ul {
|
|
214
224
|
-webkit-box-shadow: none;
|
|
@@ -140,6 +140,17 @@
|
|
|
140
140
|
margin-right: 0;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
.e-dropdown-popup-width ul {
|
|
144
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.e-dropdown-popup-width ul li {
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
152
|
+
}
|
|
153
|
+
|
|
143
154
|
.e-dropdown-popup {
|
|
144
155
|
background: #343a40;
|
|
145
156
|
color: #fff;
|
|
@@ -140,6 +140,17 @@
|
|
|
140
140
|
margin-right: 0;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
.e-dropdown-popup-width ul {
|
|
144
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.e-dropdown-popup-width ul li {
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
152
|
+
}
|
|
153
|
+
|
|
143
154
|
.e-dropdown-popup {
|
|
144
155
|
background: #343a40;
|
|
145
156
|
color: #fff;
|
|
@@ -211,7 +222,6 @@
|
|
|
211
222
|
line-height: 1;
|
|
212
223
|
padding: 8px 16px;
|
|
213
224
|
}
|
|
214
|
-
|
|
215
225
|
*.e-bigger .e-dropdown-popup {
|
|
216
226
|
background-color: transparent;
|
|
217
227
|
border-radius: 4px;
|
|
@@ -140,6 +140,17 @@
|
|
|
140
140
|
margin-right: 0;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
.e-dropdown-popup-width ul {
|
|
144
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.e-dropdown-popup-width ul li {
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
152
|
+
}
|
|
153
|
+
|
|
143
154
|
.e-dropdown-popup {
|
|
144
155
|
background: #fff;
|
|
145
156
|
color: #212529;
|
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: var(--color-sf-flyout-bg-color);
|
|
149
160
|
color: var(--color-sf-content-text-color);
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -144,6 +144,17 @@
|
|
|
144
144
|
margin-right: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.e-dropdown-popup-width ul {
|
|
148
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.e-dropdown-popup-width ul li {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
156
|
+
}
|
|
157
|
+
|
|
147
158
|
.e-dropdown-popup {
|
|
148
159
|
background: var(--color-sf-flyout-bg-color);
|
|
149
160
|
color: var(--color-sf-content-text-color);
|
|
@@ -215,7 +226,6 @@
|
|
|
215
226
|
line-height: 1;
|
|
216
227
|
padding: 8px 16px;
|
|
217
228
|
}
|
|
218
|
-
|
|
219
229
|
*.e-bigger .e-dropdown-popup {
|
|
220
230
|
background-color: transparent;
|
|
221
231
|
border-radius: 4px;
|
package/styles/bootstrap5.css
CHANGED
|
@@ -140,6 +140,17 @@
|
|
|
140
140
|
margin-right: 0;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
.e-dropdown-popup-width ul {
|
|
144
|
+
min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.e-dropdown-popup-width ul li {
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
display: block !important; /* stylelint-disable-line declaration-no-important */
|
|
152
|
+
}
|
|
153
|
+
|
|
143
154
|
.e-dropdown-popup {
|
|
144
155
|
background: #fff;
|
|
145
156
|
color: #212529;
|
|
@@ -211,7 +222,6 @@
|
|
|
211
222
|
line-height: 1;
|
|
212
223
|
padding: 8px 16px;
|
|
213
224
|
}
|
|
214
|
-
|
|
215
225
|
*.e-bigger .e-dropdown-popup {
|
|
216
226
|
background-color: transparent;
|
|
217
227
|
border-radius: 4px;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
@mixin box-shadow-theme {
|
|
75
|
-
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
|
|
75
|
+
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' and $skin-name != 'tailwind3' {
|
|
76
76
|
box-shadow: none;
|
|
77
77
|
}
|
|
78
78
|
@if $skin-name == 'fabric' {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
@mixin outline-box-shadow-theme {
|
|
84
|
-
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
|
|
84
|
+
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' and $skin-name != 'tailwind3' {
|
|
85
85
|
box-shadow: none;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
input:focus+label.e-btn,
|
|
17
17
|
.e-btn:focus,
|
|
18
18
|
.e-btn:hover {
|
|
19
|
-
@if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'bootstrap4' {
|
|
19
|
+
@if $skin-name == 'tailwind' or $skin-name == 'tailwind3' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'bootstrap4' {
|
|
20
20
|
z-index: 2;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//layout variables
|
|
2
|
+
$btn-grp-margin: -1px !default;
|
|
3
|
+
$btn-grp-margin-left: -1px !default;
|
|
4
|
+
$btn-grp-wrapper-border: 4px !default;
|
|
5
|
+
$btn-grp-round-radius: 20px !default;
|
|
6
|
+
$btn-grp-icon-font-size: $text-base !default;
|
|
7
|
+
$btn-grp-icon-font-size-bigger: $text-xl !default;
|
|
8
|
+
|
|
9
|
+
//Normal Outline GroupButton
|
|
10
|
+
$btn-grp-outline-focus-border-color: $secondary-border-color !default;
|
|
11
|
+
$btn-grp-outline-focus-color: inherit !default;
|
|
12
|
+
|
|
13
|
+
//Outline Primary
|
|
14
|
+
$btn-grp-outline-primary-focus-border-color: $primary !default;
|
|
15
|
+
$btn-grp-outline-focus-primary-color: inherit !default;
|
|
16
|
+
|
|
17
|
+
//Outline Success
|
|
18
|
+
$btn-grp-outline-success-focus-border-color: $btn-success-focus-border-color !default;
|
|
19
|
+
$btn-grp-outline-focus-success-color: inherit !default;
|
|
20
|
+
|
|
21
|
+
//Outline Info
|
|
22
|
+
$btn-grp-outline-info-focus-border-color: $btn-info-focus-border-color !default;
|
|
23
|
+
$btn-grp-outline-focus-info-color: inherit !default;
|
|
24
|
+
|
|
25
|
+
//Outline warning
|
|
26
|
+
$btn-grp-outline-warning-focus-border-color: $btn-warning-focus-border-color !default;
|
|
27
|
+
$btn-grp-outline-focus-warning-color: inherit !default;
|
|
28
|
+
|
|
29
|
+
//Outline danger
|
|
30
|
+
$btn-grp-outline-danger-focus-border-color: $btn-danger-focus-border-color !default;
|
|
31
|
+
$btn-grp-outline-focus-danger-color: inherit !default;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
input:focus-visible+label.e-btn,
|
|
69
69
|
input:focus+label.e-btn {
|
|
70
70
|
@include button-focus;
|
|
71
|
-
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap5.3' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
|
|
71
|
+
@if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap5.3' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' and $skin-name != 'tailwind3' {
|
|
72
72
|
box-shadow: none;
|
|
73
73
|
}
|
|
74
74
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
@@ -83,6 +83,12 @@
|
|
|
83
83
|
outline-offset: -4px;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
@if $skin-name == 'tailwind3' {
|
|
87
|
+
background: $btn-bgcolor;
|
|
88
|
+
color: $btn-color;
|
|
89
|
+
box-shadow: $btn-focus-box-shadow;
|
|
90
|
+
}
|
|
91
|
+
|
|
86
92
|
&.e-primary {
|
|
87
93
|
@include primary-focus;
|
|
88
94
|
@include box-shadow-theme;
|
|
@@ -90,6 +96,11 @@
|
|
|
90
96
|
border-color: $btn-primary-focus-bgcolor;
|
|
91
97
|
}
|
|
92
98
|
outline-color: $btn-grp-outline-focus-primary-color;
|
|
99
|
+
@if $skin-name == 'tailwind3' {
|
|
100
|
+
background: $btn-primary-bgcolor;
|
|
101
|
+
color: $btn-primary-color;
|
|
102
|
+
box-shadow: $btn-focus-box-shadow;
|
|
103
|
+
}
|
|
93
104
|
}
|
|
94
105
|
|
|
95
106
|
&.e-success {
|
|
@@ -99,6 +110,11 @@
|
|
|
99
110
|
border-color: $btn-success-focus-bgcolor;
|
|
100
111
|
}
|
|
101
112
|
outline-color: $btn-grp-outline-focus-success-color;
|
|
113
|
+
@if $skin-name == 'tailwind3' {
|
|
114
|
+
background: $btn-success-bgcolor;
|
|
115
|
+
color: $btn-success-color;
|
|
116
|
+
box-shadow: $btn-focus-box-shadow;
|
|
117
|
+
}
|
|
102
118
|
}
|
|
103
119
|
|
|
104
120
|
&.e-info {
|
|
@@ -108,6 +124,11 @@
|
|
|
108
124
|
border-color: $btn-info-focus-bgcolor;
|
|
109
125
|
}
|
|
110
126
|
outline-color: $btn-grp-outline-focus-info-color;
|
|
127
|
+
@if $skin-name == 'tailwind3' {
|
|
128
|
+
background: $btn-info-bgcolor;
|
|
129
|
+
color: $btn-info-color;
|
|
130
|
+
box-shadow: $btn-focus-box-shadow;
|
|
131
|
+
}
|
|
111
132
|
}
|
|
112
133
|
|
|
113
134
|
&.e-warning {
|
|
@@ -117,6 +138,11 @@
|
|
|
117
138
|
border-color: $btn-warning-focus-bgcolor;
|
|
118
139
|
}
|
|
119
140
|
outline-color: $btn-grp-outline-focus-warning-color;
|
|
141
|
+
@if $skin-name == 'tailwind3' {
|
|
142
|
+
background: $btn-warning-bgcolor;
|
|
143
|
+
color: $btn-warning-color;
|
|
144
|
+
box-shadow: $btn-focus-box-shadow;
|
|
145
|
+
}
|
|
120
146
|
}
|
|
121
147
|
|
|
122
148
|
&.e-danger {
|
|
@@ -126,6 +152,11 @@
|
|
|
126
152
|
border-color: $btn-danger-focus-bgcolor;
|
|
127
153
|
}
|
|
128
154
|
outline-color: $btn-grp-outline-focus-danger-color;
|
|
155
|
+
@if $skin-name == 'tailwind3' {
|
|
156
|
+
background: $btn-danger-bgcolor;
|
|
157
|
+
color: $btn-danger-color;
|
|
158
|
+
box-shadow: $btn-focus-box-shadow;
|
|
159
|
+
}
|
|
129
160
|
}
|
|
130
161
|
|
|
131
162
|
&.e-link {
|
|
@@ -142,6 +173,11 @@
|
|
|
142
173
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
143
174
|
border-color: $btn-outline-focus-bgcolor;
|
|
144
175
|
}
|
|
176
|
+
@if $skin-name == 'tailwind3' {
|
|
177
|
+
background: $transparent;
|
|
178
|
+
color: $btn-color;
|
|
179
|
+
box-shadow: $btn-focus-box-shadow;
|
|
180
|
+
}
|
|
145
181
|
|
|
146
182
|
&.e-primary {
|
|
147
183
|
@include outline-primary-focus;
|
|
@@ -149,6 +185,11 @@
|
|
|
149
185
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
150
186
|
border-color: $btn-outline-primary-focus-bgcolor;
|
|
151
187
|
}
|
|
188
|
+
@if $skin-name == 'tailwind3' {
|
|
189
|
+
background: $transparent;
|
|
190
|
+
color: $btn-primary-bgcolor;
|
|
191
|
+
box-shadow: $btn-focus-box-shadow;
|
|
192
|
+
}
|
|
152
193
|
}
|
|
153
194
|
|
|
154
195
|
&.e-success {
|
|
@@ -157,6 +198,11 @@
|
|
|
157
198
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
158
199
|
border-color: $btn-success-focus-bgcolor;
|
|
159
200
|
}
|
|
201
|
+
@if $skin-name == 'tailwind3' {
|
|
202
|
+
background: $transparent;
|
|
203
|
+
color: $btn-success-bgcolor;
|
|
204
|
+
box-shadow: $btn-focus-box-shadow;
|
|
205
|
+
}
|
|
160
206
|
}
|
|
161
207
|
|
|
162
208
|
&.e-info {
|
|
@@ -165,6 +211,11 @@
|
|
|
165
211
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
166
212
|
border-color: $btn-info-hover-bgcolor;
|
|
167
213
|
}
|
|
214
|
+
@if $skin-name == 'tailwind3' {
|
|
215
|
+
background: $transparent;
|
|
216
|
+
color: $btn-info-bgcolor;
|
|
217
|
+
box-shadow: $btn-focus-box-shadow;
|
|
218
|
+
}
|
|
168
219
|
}
|
|
169
220
|
|
|
170
221
|
&.e-warning {
|
|
@@ -173,6 +224,11 @@
|
|
|
173
224
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
174
225
|
border-color: $btn-warning-hover-bgcolor;
|
|
175
226
|
}
|
|
227
|
+
@if $skin-name == 'tailwind3' {
|
|
228
|
+
background: $transparent;
|
|
229
|
+
color: $btn-warning-bgcolor;
|
|
230
|
+
box-shadow: $btn-focus-box-shadow;
|
|
231
|
+
}
|
|
176
232
|
}
|
|
177
233
|
|
|
178
234
|
&.e-danger {
|
|
@@ -181,6 +237,11 @@
|
|
|
181
237
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
|
|
182
238
|
border-color: $btn-danger-hover-bgcolor;
|
|
183
239
|
}
|
|
240
|
+
@if $skin-name == 'tailwind3' {
|
|
241
|
+
background: $transparent;
|
|
242
|
+
color: $btn-danger-bgcolor;
|
|
243
|
+
box-shadow: $btn-focus-box-shadow;
|
|
244
|
+
}
|
|
184
245
|
}
|
|
185
246
|
}
|
|
186
247
|
}
|
|
@@ -258,42 +319,42 @@
|
|
|
258
319
|
|
|
259
320
|
&.e-primary {
|
|
260
321
|
@include primary-disabled;
|
|
261
|
-
@if $skin-name != 'bootstrap4' {
|
|
322
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
262
323
|
border-color: $btn-primary-border-color;
|
|
263
324
|
}
|
|
264
325
|
}
|
|
265
326
|
|
|
266
327
|
&.e-success {
|
|
267
328
|
@include success-disabled;
|
|
268
|
-
@if $skin-name != 'bootstrap4' {
|
|
329
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
269
330
|
border-color: $btn-success-border-color;
|
|
270
331
|
}
|
|
271
332
|
}
|
|
272
333
|
|
|
273
334
|
&.e-info {
|
|
274
335
|
@include info-disabled;
|
|
275
|
-
@if $skin-name != 'bootstrap4' {
|
|
336
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
276
337
|
border-color: $btn-info-border-color;
|
|
277
338
|
}
|
|
278
339
|
}
|
|
279
340
|
|
|
280
341
|
&.e-warning {
|
|
281
342
|
@include warning-disabled;
|
|
282
|
-
@if $skin-name != 'bootstrap4' {
|
|
343
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
283
344
|
border-color: $btn-warning-border-color;
|
|
284
345
|
}
|
|
285
346
|
}
|
|
286
347
|
|
|
287
348
|
&.e-danger {
|
|
288
349
|
@include danger-disabled;
|
|
289
|
-
@if $skin-name != 'bootstrap4' {
|
|
350
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
290
351
|
border-color: $btn-danger-border-color;
|
|
291
352
|
}
|
|
292
353
|
}
|
|
293
354
|
|
|
294
355
|
&.e-link {
|
|
295
356
|
@include link-disabled;
|
|
296
|
-
@if $skin-name != 'bootstrap4' {
|
|
357
|
+
@if $skin-name != 'bootstrap4' and $skin-name != 'tailwind3' {
|
|
297
358
|
border-color: $btn-link-border-color;
|
|
298
359
|
}
|
|
299
360
|
}
|
|
@@ -304,27 +365,37 @@
|
|
|
304
365
|
|
|
305
366
|
&.e-primary {
|
|
306
367
|
@include outline-primary-disabled;
|
|
307
|
-
|
|
368
|
+
@if $skin-name != 'tailwind3' {
|
|
369
|
+
border-color: $btn-primary-bgcolor;
|
|
370
|
+
}
|
|
308
371
|
}
|
|
309
372
|
|
|
310
373
|
&.e-success {
|
|
311
374
|
@include outline-success-disabled;
|
|
312
|
-
|
|
375
|
+
@if $skin-name != 'tailwind3' {
|
|
376
|
+
border-color: $btn-success-bgcolor;
|
|
377
|
+
}
|
|
313
378
|
}
|
|
314
379
|
|
|
315
380
|
&.e-info {
|
|
316
381
|
@include outline-info-disabled;
|
|
317
|
-
|
|
382
|
+
@if $skin-name != 'tailwind3' {
|
|
383
|
+
border-color: $btn-info-bgcolor;
|
|
384
|
+
}
|
|
318
385
|
}
|
|
319
386
|
|
|
320
387
|
&.e-warning {
|
|
321
388
|
@include outline-warning-disabled;
|
|
322
|
-
|
|
389
|
+
@if $skin-name != 'tailwind3' {
|
|
390
|
+
border-color: $btn-warning-bgcolor;
|
|
391
|
+
}
|
|
323
392
|
}
|
|
324
393
|
|
|
325
394
|
&.e-danger {
|
|
326
395
|
@include outline-danger-disabled;
|
|
327
|
-
|
|
396
|
+
@if $skin-name != 'tailwind3' {
|
|
397
|
+
border-color: $btn-danger-bgcolor;
|
|
398
|
+
}
|
|
328
399
|
}
|
|
329
400
|
}
|
|
330
401
|
}
|