@syncfusion/ej2-splitbuttons 19.2.62 → 19.3.47

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.
Files changed (97) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +1 -1
  3. package/dist/ej2-splitbuttons.umd.min.js +2 -2
  4. package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-splitbuttons.es2015.js +39 -8
  6. package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
  7. package/dist/es6/ej2-splitbuttons.es5.js +38 -7
  8. package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
  9. package/dist/global/ej2-splitbuttons.min.js +2 -2
  10. package/dist/global/ej2-splitbuttons.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/helpers/e2e/dropdownbuttonHelper.d.ts +42 -0
  13. package/helpers/e2e/dropdownbuttonHelper.js +39 -0
  14. package/helpers/e2e/index.d.ts +3 -0
  15. package/helpers/e2e/index.js +8 -0
  16. package/helpers/e2e/progressbuttonHelper.d.ts +37 -0
  17. package/helpers/e2e/progressbuttonHelper.js +36 -0
  18. package/helpers/e2e/splitbuttonHelper.d.ts +45 -0
  19. package/helpers/e2e/splitbuttonHelper.js +42 -0
  20. package/package.json +7 -7
  21. package/src/drop-down-button/drop-down-button.d.ts +2 -0
  22. package/src/drop-down-button/drop-down-button.js +37 -6
  23. package/src/split-button/split-button.d.ts +1 -1
  24. package/src/split-button/split-button.js +1 -1
  25. package/styles/bootstrap-dark.css +1 -31
  26. package/styles/bootstrap.css +1 -19
  27. package/styles/bootstrap4.css +1 -31
  28. package/styles/bootstrap5-dark.css +2105 -0
  29. package/styles/bootstrap5-dark.scss +4 -0
  30. package/styles/bootstrap5.css +2105 -0
  31. package/styles/bootstrap5.scss +4 -0
  32. package/styles/button-group/_bootstrap5-dark-definition.scss +1 -0
  33. package/styles/button-group/_bootstrap5-definition.scss +31 -0
  34. package/styles/button-group/_tailwind-dark-definition.scss +1 -30
  35. package/styles/button-group/_tailwind-definition.scss +1 -0
  36. package/styles/button-group/_theme.scss +35 -47
  37. package/styles/button-group/bootstrap-dark.css +1 -31
  38. package/styles/button-group/bootstrap.css +1 -19
  39. package/styles/button-group/bootstrap4.css +1 -31
  40. package/styles/button-group/bootstrap5-dark.css +842 -0
  41. package/styles/button-group/bootstrap5-dark.scss +4 -0
  42. package/styles/button-group/bootstrap5.css +842 -0
  43. package/styles/button-group/bootstrap5.scss +4 -0
  44. package/styles/button-group/fabric-dark.css +1 -31
  45. package/styles/button-group/fabric.css +1 -31
  46. package/styles/button-group/highcontrast-light.css +1 -31
  47. package/styles/button-group/highcontrast.css +1 -31
  48. package/styles/button-group/material-dark.css +5 -35
  49. package/styles/button-group/material.css +1 -31
  50. package/styles/button-group/tailwind-dark.css +1 -31
  51. package/styles/button-group/tailwind.css +1 -31
  52. package/styles/drop-down-button/_bootstrap5-dark-definition.scss +1 -0
  53. package/styles/drop-down-button/_bootstrap5-definition.scss +51 -0
  54. package/styles/drop-down-button/_layout.scss +12 -5
  55. package/styles/drop-down-button/_tailwind-dark-definition.scss +1 -48
  56. package/styles/drop-down-button/_tailwind-definition.scss +19 -17
  57. package/styles/drop-down-button/_theme.scss +6 -1
  58. package/styles/drop-down-button/bootstrap5-dark.css +248 -0
  59. package/styles/drop-down-button/bootstrap5-dark.scss +6 -0
  60. package/styles/drop-down-button/bootstrap5.css +248 -0
  61. package/styles/drop-down-button/bootstrap5.scss +6 -0
  62. package/styles/drop-down-button/icons/_bootstrap5-dark.scss +1 -0
  63. package/styles/drop-down-button/icons/_bootstrap5.scss +10 -0
  64. package/styles/drop-down-button/tailwind-dark.css +5 -0
  65. package/styles/drop-down-button/tailwind.css +5 -0
  66. package/styles/fabric-dark.css +1 -31
  67. package/styles/fabric.css +1 -31
  68. package/styles/highcontrast-light.css +1 -31
  69. package/styles/highcontrast.css +1 -31
  70. package/styles/material-dark.css +15 -45
  71. package/styles/material.css +2 -32
  72. package/styles/progress-button/_bootstrap5-dark-definition.scss +1 -0
  73. package/styles/progress-button/_bootstrap5-definition.scss +21 -0
  74. package/styles/progress-button/_tailwind-dark-definition.scss +1 -24
  75. package/styles/progress-button/_tailwind-definition.scss +6 -9
  76. package/styles/progress-button/_theme.scss +2 -2
  77. package/styles/progress-button/bootstrap5-dark.css +645 -0
  78. package/styles/progress-button/bootstrap5-dark.scss +5 -0
  79. package/styles/progress-button/bootstrap5.css +645 -0
  80. package/styles/progress-button/bootstrap5.scss +5 -0
  81. package/styles/progress-button/material-dark.css +9 -9
  82. package/styles/progress-button/tailwind-dark.css +10 -10
  83. package/styles/split-button/_bootstrap5-dark-definition.scss +1 -0
  84. package/styles/split-button/_bootstrap5-definition.scss +25 -0
  85. package/styles/split-button/_layout.scss +13 -9
  86. package/styles/split-button/_tailwind-dark-definition.scss +1 -23
  87. package/styles/split-button/_tailwind-definition.scss +7 -5
  88. package/styles/split-button/bootstrap5-dark.css +367 -0
  89. package/styles/split-button/bootstrap5-dark.scss +6 -0
  90. package/styles/split-button/bootstrap5.css +367 -0
  91. package/styles/split-button/bootstrap5.scss +6 -0
  92. package/styles/split-button/material-dark.css +1 -1
  93. package/styles/split-button/material.css +1 -1
  94. package/styles/split-button/tailwind-dark.css +2 -0
  95. package/styles/split-button/tailwind.css +2 -0
  96. package/styles/tailwind-dark.css +18 -41
  97. package/styles/tailwind.css +8 -31
@@ -2,20 +2,20 @@
2
2
  /*! drop-down button layout */
3
3
  .e-dropdown-btn,
4
4
  .e-dropdown-btn.e-btn {
5
- @if $skin-name != 'bootstrap4' {
5
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
6
6
  box-shadow: none;
7
7
  }
8
8
  text-transform: none;
9
9
  white-space: normal;
10
10
 
11
11
  &:hover {
12
- @if $skin-name != 'bootstrap4' {
12
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
13
13
  box-shadow: none;
14
14
  }
15
15
  }
16
16
 
17
17
  &:focus {
18
- @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
18
+ @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5-dark' {
19
19
  box-shadow: $drop-down-btn-box-shadow;
20
20
  }
21
21
  @else {
@@ -87,7 +87,7 @@
87
87
 
88
88
  .e-dropdown-popup {
89
89
  position: absolute;
90
- @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
90
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
91
91
  margin-top: $drop-down-btn-popup-margin-top;
92
92
  }
93
93
 
@@ -174,6 +174,12 @@
174
174
  }
175
175
  }
176
176
 
177
+ #{if(&, '&', '*')}.e-bigger .e-dropdown-popup {
178
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
179
+ background-color: transparent;
180
+ }
181
+ }
182
+
177
183
  #{if(&, '&', '*')}.e-bigger .e-dropdown-popup ul,
178
184
  #{if(&, '&', '*')}.e-bigger.e-dropdown-popup ul {
179
185
  box-shadow: $drop-down-btn-parent-ul-box-shadow;
@@ -181,7 +187,8 @@
181
187
  max-width: $drop-down-btn-bigger-max-width;
182
188
  min-width: $drop-down-btn-bigger-min-width;
183
189
  padding: $drop-down-btn-ul-bigger-padding;
184
- @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
190
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
191
+ background-color: $drop-down-btn-ul-bgcolor;
185
192
  margin-top: $drop-down-btn-bigger-popup-margin-top;
186
193
  }
187
194
 
@@ -1,48 +1 @@
1
- $drop-down-btn-arrow-content: '\e706' !default;
2
- $drop-down-btn-vertical-btn-padding: 6px 12px !default;
3
- $drop-down-btn-vertical-bigger-padding: 8px 16px !default;
4
- $drop-down-btn-bigger-font-size: $text-base !default;
5
- $drop-down-btn-bigger-li-height: 36px !default;
6
- $drop-down-btn-bigger-max-width: 202px !default;
7
- $drop-down-btn-bigger-min-width: 112px !default;
8
- $drop-down-btn-color: $secondary-text-color !default;
9
- $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
10
- $drop-down-btn-font-size: $text-sm !default;
11
- $drop-down-btn-font-weight: $font-weight-normal !default;
12
- $drop-down-btn-icon-font-size: 14px !default;
13
- $drop-down-btn-icon-margin-right: 11px !default;
14
- $drop-down-btn-bigger-icon-margin-right: 12px !default;
15
- $drop-down-btn-li-bgcolor: $content-bg-color-hover !default;
16
- $drop-down-btn-li-box-shadow: none !default;
17
- $drop-down-btn-li-border-color: $border-light !default;
18
- $drop-down-btn-li-border-style: solid !default;
19
- $drop-down-btn-li-border-width: 1px !default;
20
- $drop-down-btn-li-focus-bgcolor: $content-bg-color-hover !default;
21
- $drop-down-btn-li-height: 30px !default;
22
- $drop-down-btn-li-padding: 0 12px !default;
23
- $drop-down-btn-bigger-li-padding: 0 16px !default;
24
- $drop-down-btn-small-li-padding: 0 8px !default;
25
- $drop-down-btn-li-selection-bgcolor: $content-bg-color-selected !default;
26
- $drop-down-btn-li-selection-font-color: $content-text-color-selected !default;
27
- $drop-down-btn-max-width: 178px !default;
28
- $drop-down-btn-menu-icon-bigger-font-size: 22px !default;
29
- $drop-down-btn-menu-icon-color: $secondary-text-color !default;
30
- $drop-down-btn-menu-icon-disabled-color: $secondary-text-color-disabled !default;
31
- $drop-down-btn-menu-icon-font-size: 18px !default;
32
- $drop-down-btn-min-width: 120px !default;
33
- $drop-down-btn-parent-ul-box-shadow: $shadow-lg !default;
34
- $drop-down-btn-seperator-padding: 3px 0 !default;
35
- $drop-down-btn-selected-color: $content-text-color-selected !default;
36
- $drop-down-btn-sub-ul-box-shadow: none !default;
37
- $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
38
- $drop-down-btn-ul-border: 1px solid $border-light !default;
39
- $drop-down-btn-ul-border-radius: 4px !default;
40
- $drop-down-btn-ul-padding: 6px 0 !default;
41
- $drop-down-btn-ul-bigger-padding: 8px 0 !default;
42
- $drop-down-btn-ul-small-padding: 4px 0 !default;
43
- $drop-down-btn-caret-icon-font-size: 18px !default;
44
- $drop-down-btn-icon-font-size-bigger: 16px !default;
45
- $drop-down-btn-caret-icon-font-size-bigger: 22px !default;
46
- $drop-down-btn-box-shadow: $shadow-focus-ring2 !default;
47
- $drop-down-btn-popup-margin-top: 4px !default;
48
- $drop-down-btn-bigger-popup-margin-top: 4px !default;
1
+ @import './tailwind-definition.scss';
@@ -1,3 +1,4 @@
1
+ //layout variables
1
2
  $drop-down-btn-arrow-content: '\e706' !default;
2
3
  $drop-down-btn-vertical-btn-padding: 6px 12px !default;
3
4
  $drop-down-btn-vertical-bigger-padding: 8px 16px !default;
@@ -5,37 +6,20 @@ $drop-down-btn-bigger-font-size: $text-base !default;
5
6
  $drop-down-btn-bigger-li-height: 36px !default;
6
7
  $drop-down-btn-bigger-max-width: 202px !default;
7
8
  $drop-down-btn-bigger-min-width: 112px !default;
8
- $drop-down-btn-color: $secondary-text-color !default;
9
- $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
10
- $drop-down-btn-font-size: $text-sm !default;
11
- $drop-down-btn-font-weight: $font-weight-normal !default;
12
9
  $drop-down-btn-icon-font-size: 14px !default;
13
10
  $drop-down-btn-icon-margin-right: 11px !default;
14
11
  $drop-down-btn-bigger-icon-margin-right: 12px !default;
15
- $drop-down-btn-li-bgcolor: $content-bg-color-hover !default;
16
- $drop-down-btn-li-box-shadow: none !default;
17
- $drop-down-btn-li-border-color: $border-light !default;
18
- $drop-down-btn-li-border-style: solid !default;
19
12
  $drop-down-btn-li-border-width: 1px !default;
20
- $drop-down-btn-li-focus-bgcolor: $content-bg-color-hover !default;
21
13
  $drop-down-btn-li-height: 30px !default;
22
14
  $drop-down-btn-li-padding: 0 12px !default;
23
15
  $drop-down-btn-bigger-li-padding: 0 16px !default;
24
16
  $drop-down-btn-small-li-padding: 0 8px !default;
25
- $drop-down-btn-li-selection-bgcolor: $content-bg-color-selected !default;
26
- $drop-down-btn-li-selection-font-color: $content-text-color-selected !default;
27
17
  $drop-down-btn-max-width: 178px !default;
28
18
  $drop-down-btn-menu-icon-bigger-font-size: 22px !default;
29
- $drop-down-btn-menu-icon-color: $secondary-text-color !default;
30
- $drop-down-btn-menu-icon-disabled-color: $secondary-text-color-disabled !default;
31
19
  $drop-down-btn-menu-icon-font-size: 18px !default;
32
20
  $drop-down-btn-min-width: 120px !default;
33
- $drop-down-btn-parent-ul-box-shadow: $shadow-lg !default;
34
21
  $drop-down-btn-seperator-padding: 3px 0 !default;
35
- $drop-down-btn-selected-color: $content-text-color-selected !default;
36
22
  $drop-down-btn-sub-ul-box-shadow: none !default;
37
- $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
38
- $drop-down-btn-ul-border: 1px solid $border-light !default;
39
23
  $drop-down-btn-ul-border-radius: 4px !default;
40
24
  $drop-down-btn-ul-padding: 6px 0 !default;
41
25
  $drop-down-btn-ul-bigger-padding: 8px 0 !default;
@@ -46,3 +30,21 @@ $drop-down-btn-caret-icon-font-size-bigger: 22px !default;
46
30
  $drop-down-btn-box-shadow: $shadow-focus-ring2 !default;
47
31
  $drop-down-btn-popup-margin-top: 4px !default;
48
32
  $drop-down-btn-bigger-popup-margin-top: 4px !default;
33
+ $drop-down-btn-ul-border: 1px solid $border-light !default;
34
+ $drop-down-btn-li-box-shadow: none !default;
35
+ $drop-down-btn-li-border-style: solid !default;
36
+ $drop-down-btn-color: $secondary-text-color !default;
37
+ $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
38
+ $drop-down-btn-font-size: $text-sm !default;
39
+ $drop-down-btn-font-weight: $font-weight-normal !default;
40
+ $drop-down-btn-li-bgcolor: $content-bg-color-hover !default;
41
+ $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
42
+ $drop-down-btn-li-border-color: $border-light !default;
43
+ $drop-down-btn-selected-color: $content-text-color-selected !default;
44
+ $drop-down-btn-parent-ul-box-shadow: $shadow-lg !default;
45
+ $drop-down-btn-li-focus-bgcolor: $content-bg-color-hover !default;
46
+ $drop-down-btn-li-selection-bgcolor: $content-bg-color-selected !default;
47
+ $drop-down-btn-li-selection-font-color: $content-text-color-selected !default;
48
+ $drop-down-btn-menu-icon-color: $secondary-text-color !default;
49
+ $drop-down-btn-menu-icon-disabled-color: $secondary-text-color-disabled !default;
50
+
@@ -20,7 +20,12 @@
20
20
  }
21
21
 
22
22
  &:hover {
23
- background-color: $drop-down-btn-li-bgcolor;
23
+ @if $skin-name == 'bootstrap5' {
24
+ background-color: $drop-down-btn-li-hover-bgcolor;
25
+ }
26
+ @else {
27
+ background-color: $drop-down-btn-li-bgcolor;
28
+ }
24
29
  color: $drop-down-btn-li-selection-font-color;
25
30
  }
26
31
 
@@ -0,0 +1,248 @@
1
+ .e-dropdown-btn .e-caret::before,
2
+ .e-dropdown-btn.e-btn .e-caret::before {
3
+ content: '\e70d';
4
+ }
5
+
6
+ /*! drop-down button layout */
7
+ .e-dropdown-btn,
8
+ .e-dropdown-btn.e-btn {
9
+ text-transform: none;
10
+ white-space: normal;
11
+ }
12
+
13
+ .e-dropdown-btn:focus,
14
+ .e-dropdown-btn.e-btn:focus {
15
+ box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5);
16
+ }
17
+
18
+ .e-dropdown-btn:active,
19
+ .e-dropdown-btn.e-btn:active {
20
+ box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5);
21
+ }
22
+
23
+ .e-dropdown-btn .e-btn-icon,
24
+ .e-dropdown-btn.e-btn .e-btn-icon {
25
+ font-size: 14px;
26
+ }
27
+
28
+ .e-dropdown-btn .e-caret,
29
+ .e-dropdown-btn.e-btn .e-caret {
30
+ font-size: 10px;
31
+ }
32
+
33
+ .e-dropdown-btn.e-vertical,
34
+ .e-dropdown-btn.e-btn.e-vertical {
35
+ line-height: 1;
36
+ padding: 6px 12px;
37
+ }
38
+
39
+ .e-dropdown-btn.e-caret-hide .e-caret,
40
+ .e-dropdown-btn.e-btn.e-caret-hide .e-caret {
41
+ display: none;
42
+ }
43
+
44
+ .e-dropdown-btn.e-small .e-dropdown-popup ul,
45
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul {
46
+ padding: 4px 0;
47
+ }
48
+
49
+ .e-dropdown-btn.e-small .e-dropdown-popup ul .e-item,
50
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul .e-item {
51
+ padding: 0 8px;
52
+ }
53
+
54
+ .e-dropdown-btn.e-small.e-vertical,
55
+ .e-dropdown-btn.e-btn.e-small.e-vertical {
56
+ line-height: 1;
57
+ padding: 6px 12px;
58
+ }
59
+
60
+ .e-bigger .e-dropdown-btn .e-btn-icon,
61
+ .e-bigger.e-dropdown-btn .e-btn-icon {
62
+ font-size: 16px;
63
+ }
64
+
65
+ .e-bigger .e-dropdown-btn .e-caret,
66
+ .e-bigger.e-dropdown-btn .e-caret {
67
+ font-size: 12px;
68
+ }
69
+
70
+ .e-bigger .e-dropdown-btn.e-vertical,
71
+ .e-bigger.e-dropdown-btn.e-vertical {
72
+ line-height: 1;
73
+ padding: 8px 16px;
74
+ }
75
+
76
+ .e-bigger .e-dropdown-btn.e-small.e-vertical,
77
+ .e-bigger.e-dropdown-btn.e-small.e-vertical {
78
+ line-height: 1;
79
+ padding: 8px 16px;
80
+ }
81
+
82
+ .e-dropdown-popup {
83
+ position: absolute;
84
+ margin-top: 4px;
85
+ }
86
+
87
+ .e-dropdown-popup ul {
88
+ border: 1px solid #444c54;
89
+ border-radius: 4px;
90
+ box-shadow: none;
91
+ box-sizing: border-box;
92
+ font-size: 14px;
93
+ font-weight: 400;
94
+ list-style-image: none;
95
+ list-style-position: outside;
96
+ list-style-type: none;
97
+ margin: 0;
98
+ min-width: 120px;
99
+ overflow: hidden;
100
+ padding: 6px 0;
101
+ -webkit-user-select: none;
102
+ -ms-user-select: none;
103
+ user-select: none;
104
+ white-space: nowrap;
105
+ }
106
+
107
+ .e-dropdown-popup ul .e-item {
108
+ cursor: pointer;
109
+ display: -ms-flexbox;
110
+ display: flex;
111
+ height: 30px;
112
+ line-height: 30px;
113
+ padding: 0 12px;
114
+ }
115
+
116
+ .e-dropdown-popup ul .e-item.e-url {
117
+ padding: 0;
118
+ }
119
+
120
+ .e-dropdown-popup ul .e-item .e-menu-url {
121
+ display: block;
122
+ padding: 0 12px;
123
+ text-decoration: none;
124
+ width: 100%;
125
+ }
126
+
127
+ .e-dropdown-popup ul .e-item .e-menu-icon {
128
+ float: left;
129
+ font-size: 18px;
130
+ line-height: 30px;
131
+ margin-right: 11px;
132
+ vertical-align: middle;
133
+ width: 1em;
134
+ }
135
+
136
+ .e-dropdown-popup ul .e-item.e-disabled {
137
+ cursor: auto;
138
+ pointer-events: none;
139
+ }
140
+
141
+ .e-dropdown-popup ul .e-item.e-separator {
142
+ border-bottom-style: solid;
143
+ border-bottom-width: 1px;
144
+ cursor: auto;
145
+ height: auto;
146
+ line-height: normal;
147
+ margin: 3px 0;
148
+ pointer-events: none;
149
+ }
150
+
151
+ .e-dropdown-popup.e-transparent {
152
+ background: transparent;
153
+ box-shadow: none;
154
+ }
155
+
156
+ .e-dropdown-popup.e-transparent .e-dropdown-menu {
157
+ border: 0;
158
+ height: 1px;
159
+ min-width: 0;
160
+ padding: 0;
161
+ width: 1px;
162
+ }
163
+
164
+ .e-rtl.e-dropdown-popup .e-item .e-menu-icon {
165
+ float: right;
166
+ margin-left: 11px;
167
+ margin-right: 0;
168
+ }
169
+
170
+ *.e-bigger .e-dropdown-popup {
171
+ background-color: transparent;
172
+ }
173
+
174
+ *.e-bigger .e-dropdown-popup ul,
175
+ *.e-bigger.e-dropdown-popup ul {
176
+ box-shadow: none;
177
+ font-size: 16px;
178
+ max-width: 202px;
179
+ min-width: 112px;
180
+ padding: 8px 0;
181
+ background-color: #343a40;
182
+ margin-top: 4px;
183
+ }
184
+
185
+ *.e-bigger .e-dropdown-popup ul .e-item,
186
+ *.e-bigger.e-dropdown-popup ul .e-item {
187
+ height: 36px;
188
+ line-height: 36px;
189
+ padding: 0 16px;
190
+ }
191
+
192
+ *.e-bigger .e-dropdown-popup ul .e-item.e-url,
193
+ *.e-bigger.e-dropdown-popup ul .e-item.e-url {
194
+ padding: 0;
195
+ }
196
+
197
+ *.e-bigger .e-dropdown-popup ul .e-item .e-menu-icon,
198
+ *.e-bigger.e-dropdown-popup ul .e-item .e-menu-icon {
199
+ font-size: 22px;
200
+ line-height: 36px;
201
+ }
202
+
203
+ *.e-bigger .e-dropdown-popup ul .e-item.e-separator,
204
+ *.e-bigger.e-dropdown-popup ul .e-item.e-separator {
205
+ height: auto;
206
+ line-height: normal;
207
+ }
208
+
209
+ /*! drop-down button theme */
210
+ .e-dropdown-popup {
211
+ background-color: #343a40;
212
+ color: #fff;
213
+ }
214
+
215
+ .e-dropdown-popup ul .e-item .e-menu-url {
216
+ color: #fff;
217
+ }
218
+
219
+ .e-dropdown-popup ul .e-item .e-menu-icon {
220
+ color: #adb5bd;
221
+ }
222
+
223
+ .e-dropdown-popup ul .e-item.e-focused {
224
+ background-color: #31373d;
225
+ box-shadow: none;
226
+ }
227
+
228
+ .e-dropdown-popup ul .e-item:hover {
229
+ background-color: #444c54;
230
+ color: #fff;
231
+ }
232
+
233
+ .e-dropdown-popup ul .e-item:active, .e-dropdown-popup ul .e-item.e-selected {
234
+ background-color: #0d6efd;
235
+ color: #fff;
236
+ }
237
+
238
+ .e-dropdown-popup ul .e-item:active .e-menu-url, .e-dropdown-popup ul .e-item.e-selected .e-menu-url {
239
+ color: #fff;
240
+ }
241
+
242
+ .e-dropdown-popup ul .e-item:active .e-menu-icon, .e-dropdown-popup ul .e-item.e-selected .e-menu-icon {
243
+ color: #fff;
244
+ }
245
+
246
+ .e-dropdown-popup ul .e-separator {
247
+ border-bottom-color: #444c54;
248
+ }
@@ -0,0 +1,6 @@
1
+ @import 'ej2-base/styles/bootstrap5-dark-definition.scss';
2
+ @import 'ej2-buttons/styles/button/bootstrap5-dark-definition.scss';
3
+ @import 'ej2-popups/styles/popup/bootstrap5-dark-definition.scss';
4
+ @import 'bootstrap5-dark-definition.scss';
5
+ @import 'icons/bootstrap5-dark.scss';
6
+ @import 'all.scss';
@@ -0,0 +1,248 @@
1
+ .e-dropdown-btn .e-caret::before,
2
+ .e-dropdown-btn.e-btn .e-caret::before {
3
+ content: '\e70d';
4
+ }
5
+
6
+ /*! drop-down button layout */
7
+ .e-dropdown-btn,
8
+ .e-dropdown-btn.e-btn {
9
+ text-transform: none;
10
+ white-space: normal;
11
+ }
12
+
13
+ .e-dropdown-btn:focus,
14
+ .e-dropdown-btn.e-btn:focus {
15
+ box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5);
16
+ }
17
+
18
+ .e-dropdown-btn:active,
19
+ .e-dropdown-btn.e-btn:active {
20
+ box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5);
21
+ }
22
+
23
+ .e-dropdown-btn .e-btn-icon,
24
+ .e-dropdown-btn.e-btn .e-btn-icon {
25
+ font-size: 14px;
26
+ }
27
+
28
+ .e-dropdown-btn .e-caret,
29
+ .e-dropdown-btn.e-btn .e-caret {
30
+ font-size: 10px;
31
+ }
32
+
33
+ .e-dropdown-btn.e-vertical,
34
+ .e-dropdown-btn.e-btn.e-vertical {
35
+ line-height: 1;
36
+ padding: 6px 12px;
37
+ }
38
+
39
+ .e-dropdown-btn.e-caret-hide .e-caret,
40
+ .e-dropdown-btn.e-btn.e-caret-hide .e-caret {
41
+ display: none;
42
+ }
43
+
44
+ .e-dropdown-btn.e-small .e-dropdown-popup ul,
45
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul {
46
+ padding: 4px 0;
47
+ }
48
+
49
+ .e-dropdown-btn.e-small .e-dropdown-popup ul .e-item,
50
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul .e-item {
51
+ padding: 0 8px;
52
+ }
53
+
54
+ .e-dropdown-btn.e-small.e-vertical,
55
+ .e-dropdown-btn.e-btn.e-small.e-vertical {
56
+ line-height: 1;
57
+ padding: 6px 12px;
58
+ }
59
+
60
+ .e-bigger .e-dropdown-btn .e-btn-icon,
61
+ .e-bigger.e-dropdown-btn .e-btn-icon {
62
+ font-size: 16px;
63
+ }
64
+
65
+ .e-bigger .e-dropdown-btn .e-caret,
66
+ .e-bigger.e-dropdown-btn .e-caret {
67
+ font-size: 12px;
68
+ }
69
+
70
+ .e-bigger .e-dropdown-btn.e-vertical,
71
+ .e-bigger.e-dropdown-btn.e-vertical {
72
+ line-height: 1;
73
+ padding: 8px 16px;
74
+ }
75
+
76
+ .e-bigger .e-dropdown-btn.e-small.e-vertical,
77
+ .e-bigger.e-dropdown-btn.e-small.e-vertical {
78
+ line-height: 1;
79
+ padding: 8px 16px;
80
+ }
81
+
82
+ .e-dropdown-popup {
83
+ position: absolute;
84
+ margin-top: 4px;
85
+ }
86
+
87
+ .e-dropdown-popup ul {
88
+ border: 1px solid #dee2e6;
89
+ border-radius: 4px;
90
+ box-shadow: none;
91
+ box-sizing: border-box;
92
+ font-size: 14px;
93
+ font-weight: 400;
94
+ list-style-image: none;
95
+ list-style-position: outside;
96
+ list-style-type: none;
97
+ margin: 0;
98
+ min-width: 120px;
99
+ overflow: hidden;
100
+ padding: 6px 0;
101
+ -webkit-user-select: none;
102
+ -ms-user-select: none;
103
+ user-select: none;
104
+ white-space: nowrap;
105
+ }
106
+
107
+ .e-dropdown-popup ul .e-item {
108
+ cursor: pointer;
109
+ display: -ms-flexbox;
110
+ display: flex;
111
+ height: 30px;
112
+ line-height: 30px;
113
+ padding: 0 12px;
114
+ }
115
+
116
+ .e-dropdown-popup ul .e-item.e-url {
117
+ padding: 0;
118
+ }
119
+
120
+ .e-dropdown-popup ul .e-item .e-menu-url {
121
+ display: block;
122
+ padding: 0 12px;
123
+ text-decoration: none;
124
+ width: 100%;
125
+ }
126
+
127
+ .e-dropdown-popup ul .e-item .e-menu-icon {
128
+ float: left;
129
+ font-size: 18px;
130
+ line-height: 30px;
131
+ margin-right: 11px;
132
+ vertical-align: middle;
133
+ width: 1em;
134
+ }
135
+
136
+ .e-dropdown-popup ul .e-item.e-disabled {
137
+ cursor: auto;
138
+ pointer-events: none;
139
+ }
140
+
141
+ .e-dropdown-popup ul .e-item.e-separator {
142
+ border-bottom-style: solid;
143
+ border-bottom-width: 1px;
144
+ cursor: auto;
145
+ height: auto;
146
+ line-height: normal;
147
+ margin: 3px 0;
148
+ pointer-events: none;
149
+ }
150
+
151
+ .e-dropdown-popup.e-transparent {
152
+ background: transparent;
153
+ box-shadow: none;
154
+ }
155
+
156
+ .e-dropdown-popup.e-transparent .e-dropdown-menu {
157
+ border: 0;
158
+ height: 1px;
159
+ min-width: 0;
160
+ padding: 0;
161
+ width: 1px;
162
+ }
163
+
164
+ .e-rtl.e-dropdown-popup .e-item .e-menu-icon {
165
+ float: right;
166
+ margin-left: 11px;
167
+ margin-right: 0;
168
+ }
169
+
170
+ *.e-bigger .e-dropdown-popup {
171
+ background-color: transparent;
172
+ }
173
+
174
+ *.e-bigger .e-dropdown-popup ul,
175
+ *.e-bigger.e-dropdown-popup ul {
176
+ box-shadow: none;
177
+ font-size: 16px;
178
+ max-width: 202px;
179
+ min-width: 112px;
180
+ padding: 8px 0;
181
+ background-color: #fff;
182
+ margin-top: 4px;
183
+ }
184
+
185
+ *.e-bigger .e-dropdown-popup ul .e-item,
186
+ *.e-bigger.e-dropdown-popup ul .e-item {
187
+ height: 36px;
188
+ line-height: 36px;
189
+ padding: 0 16px;
190
+ }
191
+
192
+ *.e-bigger .e-dropdown-popup ul .e-item.e-url,
193
+ *.e-bigger.e-dropdown-popup ul .e-item.e-url {
194
+ padding: 0;
195
+ }
196
+
197
+ *.e-bigger .e-dropdown-popup ul .e-item .e-menu-icon,
198
+ *.e-bigger.e-dropdown-popup ul .e-item .e-menu-icon {
199
+ font-size: 22px;
200
+ line-height: 36px;
201
+ }
202
+
203
+ *.e-bigger .e-dropdown-popup ul .e-item.e-separator,
204
+ *.e-bigger.e-dropdown-popup ul .e-item.e-separator {
205
+ height: auto;
206
+ line-height: normal;
207
+ }
208
+
209
+ /*! drop-down button theme */
210
+ .e-dropdown-popup {
211
+ background-color: #fff;
212
+ color: #212529;
213
+ }
214
+
215
+ .e-dropdown-popup ul .e-item .e-menu-url {
216
+ color: #212529;
217
+ }
218
+
219
+ .e-dropdown-popup ul .e-item .e-menu-icon {
220
+ color: #6c757d;
221
+ }
222
+
223
+ .e-dropdown-popup ul .e-item.e-focused {
224
+ background-color: #e9ecef;
225
+ box-shadow: none;
226
+ }
227
+
228
+ .e-dropdown-popup ul .e-item:hover {
229
+ background-color: #e9ecef;
230
+ color: #212529;
231
+ }
232
+
233
+ .e-dropdown-popup ul .e-item:active, .e-dropdown-popup ul .e-item.e-selected {
234
+ background-color: #0d6efd;
235
+ color: #fff;
236
+ }
237
+
238
+ .e-dropdown-popup ul .e-item:active .e-menu-url, .e-dropdown-popup ul .e-item.e-selected .e-menu-url {
239
+ color: #fff;
240
+ }
241
+
242
+ .e-dropdown-popup ul .e-item:active .e-menu-icon, .e-dropdown-popup ul .e-item.e-selected .e-menu-icon {
243
+ color: #fff;
244
+ }
245
+
246
+ .e-dropdown-popup ul .e-separator {
247
+ border-bottom-color: #dee2e6;
248
+ }
@@ -0,0 +1,6 @@
1
+ @import 'ej2-base/styles/bootstrap5-definition.scss';
2
+ @import 'ej2-buttons/styles/button/bootstrap5-definition.scss';
3
+ @import 'ej2-popups/styles/popup/bootstrap5-definition.scss';
4
+ @import 'bootstrap5-definition.scss';
5
+ @import 'icons/bootstrap5.scss';
6
+ @import 'all.scss';
@@ -0,0 +1 @@
1
+ @import './bootstrap5.scss';
@@ -0,0 +1,10 @@
1
+ @include export-module('drop-down-button-bootstrap5-icons') {
2
+ .e-dropdown-btn,
3
+ .e-dropdown-btn.e-btn {
4
+ .e-caret {
5
+ &::before {
6
+ content: '\e70d';
7
+ }
8
+ }
9
+ }
10
+ }