@finqu/cool 1.2.28 → 1.3.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.
Files changed (207) hide show
  1. package/README.md +680 -1
  2. package/dist/css/cool.css +23510 -16076
  3. package/dist/css/cool.css.map +1 -154
  4. package/dist/css/cool.min.css +89 -3
  5. package/dist/css/cool.min.css.map +1 -1
  6. package/dist/js/cool.bundle.js +15397 -3775
  7. package/dist/js/cool.bundle.js.map +1 -1
  8. package/dist/js/cool.bundle.min.js +20 -8
  9. package/dist/js/cool.bundle.min.js.map +1 -1
  10. package/dist/js/cool.esm.js +4281 -3352
  11. package/dist/js/cool.esm.js.map +1 -1
  12. package/dist/js/cool.esm.min.js +9 -8
  13. package/dist/js/cool.esm.min.js.map +1 -1
  14. package/dist/js/cool.js +4283 -3354
  15. package/dist/js/cool.js.map +1 -1
  16. package/dist/js/cool.min.js +9 -8
  17. package/dist/js/cool.min.js.map +1 -1
  18. package/package.json +94 -61
  19. package/.babelrc.js +0 -20
  20. package/.browserslistrc +0 -13
  21. package/build/.eslintrc.json +0 -10
  22. package/build/banner.js +0 -14
  23. package/build/build-plugins.js +0 -92
  24. package/build/rollup.config.js +0 -46
  25. package/dist/css/cool-grid.css +0 -3704
  26. package/dist/css/cool-grid.css.map +0 -30
  27. package/dist/css/cool-grid.min.css +0 -7
  28. package/dist/css/cool-grid.min.css.map +0 -1
  29. package/dist/css/cool-reboot.css +0 -285
  30. package/dist/css/cool-reboot.css.map +0 -62
  31. package/dist/css/cool-reboot.min.css +0 -7
  32. package/dist/css/cool-reboot.min.css.map +0 -1
  33. package/html/dropdown-test.html +0 -200
  34. package/html/index.html +0 -2704
  35. package/js/dist/collapse.js +0 -5290
  36. package/js/dist/collapse.js.map +0 -1
  37. package/js/dist/common.js +0 -22152
  38. package/js/dist/common.js.map +0 -1
  39. package/js/dist/cooldropdown.js +0 -467
  40. package/js/dist/cooldropdown.js.map +0 -1
  41. package/js/dist/coolpopover.js +0 -391
  42. package/js/dist/coolpopover.js.map +0 -1
  43. package/js/dist/coolsectiontabs.js +0 -256
  44. package/js/dist/coolsectiontabs.js.map +0 -1
  45. package/js/dist/coolselect.js +0 -796
  46. package/js/dist/coolselect.js.map +0 -1
  47. package/js/dist/cooltooltip.js +0 -360
  48. package/js/dist/cooltooltip.js.map +0 -1
  49. package/js/dist/coolui.js +0 -73
  50. package/js/dist/coolui.js.map +0 -1
  51. package/js/dist/dropdown.js +0 -27421
  52. package/js/dist/dropdown.js.map +0 -1
  53. package/js/dist/popover.js +0 -9298
  54. package/js/dist/popover.js.map +0 -1
  55. package/js/dist/sectiontabs.js +0 -4483
  56. package/js/dist/sectiontabs.js.map +0 -1
  57. package/js/dist/select.js +0 -37052
  58. package/js/dist/select.js.map +0 -1
  59. package/js/dist/tooltip.js +0 -8786
  60. package/js/dist/tooltip.js.map +0 -1
  61. package/js/index.esm.js +0 -21
  62. package/js/index.umd.js +0 -21
  63. package/js/src/abstract-ui-component.js +0 -81
  64. package/js/src/collapse.js +0 -272
  65. package/js/src/common.js +0 -313
  66. package/js/src/dialog.js +0 -578
  67. package/js/src/dropdown.js +0 -525
  68. package/js/src/popover.js +0 -621
  69. package/js/src/section-tabs.js +0 -215
  70. package/js/src/select.js +0 -1341
  71. package/js/src/toast.js +0 -581
  72. package/js/src/tooltip.js +0 -591
  73. package/js/src/util/animate-css.js +0 -22
  74. package/js/src/util/index.js +0 -122
  75. package/js/src/util/perfect-scrollbar.js +0 -1316
  76. package/less/alert.less +0 -345
  77. package/less/badge.less +0 -38
  78. package/less/bootstrap-noconflict.less +0 -23
  79. package/less/bootstrap.less +0 -23
  80. package/less/button-group.less +0 -153
  81. package/less/buttons.less +0 -287
  82. package/less/dialog-noconflict.less +0 -174
  83. package/less/dialog.less +0 -203
  84. package/less/dropdown.less +0 -209
  85. package/less/forms.less +0 -770
  86. package/less/images.less +0 -242
  87. package/less/input-group.less +0 -163
  88. package/less/list-group.less +0 -73
  89. package/less/mixins/aspect-ratio.less +0 -23
  90. package/less/mixins/border-radius.less +0 -24
  91. package/less/mixins/box-shadow.less +0 -4
  92. package/less/mixins/buttons.less +0 -17
  93. package/less/mixins/caret.less +0 -51
  94. package/less/mixins/clearfix.less +0 -10
  95. package/less/mixins/gradients.less +0 -34
  96. package/less/mixins/nav-divider.less +0 -7
  97. package/less/mixins/object-fit.less +0 -13
  98. package/less/mixins/reset-text.less +0 -16
  99. package/less/mixins.less +0 -11
  100. package/less/package.json +0 -11
  101. package/less/pagination.less +0 -69
  102. package/less/popover.less +0 -143
  103. package/less/project.sublime-workspace +0 -774
  104. package/less/reboot.less +0 -235
  105. package/less/section.less +0 -793
  106. package/less/select.less +0 -150
  107. package/less/tables.less +0 -737
  108. package/less/tabs.less +0 -162
  109. package/less/tooltip.less +0 -87
  110. package/less/type.less +0 -71
  111. package/less/utilities/align.less +0 -27
  112. package/less/utilities/animate.less +0 -3512
  113. package/less/utilities/background.less +0 -70
  114. package/less/utilities/borders.less +0 -16
  115. package/less/utilities/color.less +0 -70
  116. package/less/utilities/cursor.less +0 -8
  117. package/less/utilities/display.less +0 -38
  118. package/less/utilities/embed.less +0 -61
  119. package/less/utilities/flex.less +0 -76
  120. package/less/utilities/jquery-ui.less +0 -116
  121. package/less/utilities/lazyload.less +0 -29
  122. package/less/utilities/overflow.less +0 -11
  123. package/less/utilities/pace.less +0 -25
  124. package/less/utilities/placeholder.less +0 -60
  125. package/less/utilities/position.less +0 -42
  126. package/less/utilities/scrollbar.less +0 -152
  127. package/less/utilities/spacing.less +0 -197
  128. package/less/utilities/text.less +0 -68
  129. package/less/utilities/transform.less +0 -7
  130. package/less/utilities.less +0 -21
  131. package/less/variables.less +0 -343
  132. package/scss/LISENCE +0 -15
  133. package/scss/_alert.scss +0 -106
  134. package/scss/_badge.scss +0 -71
  135. package/scss/_button-group.scss +0 -129
  136. package/scss/_buttons.scss +0 -207
  137. package/scss/_custom-forms.scss +0 -429
  138. package/scss/_dialog.scss +0 -161
  139. package/scss/_dropdown.scss +0 -231
  140. package/scss/_forms.scss +0 -257
  141. package/scss/_frame.scss +0 -548
  142. package/scss/_functions.scss +0 -124
  143. package/scss/_grid.scss +0 -35
  144. package/scss/_images.scss +0 -362
  145. package/scss/_input-group.scss +0 -271
  146. package/scss/_list-group.scss +0 -82
  147. package/scss/_mixins.scss +0 -34
  148. package/scss/_navbar.scss +0 -264
  149. package/scss/_notification.scss +0 -13
  150. package/scss/_pagination.scss +0 -79
  151. package/scss/_popover.scss +0 -165
  152. package/scss/_reboot.scss +0 -283
  153. package/scss/_root.scss +0 -15
  154. package/scss/_section.scss +0 -912
  155. package/scss/_select.scss +0 -175
  156. package/scss/_tables.scss +0 -716
  157. package/scss/_tabs.scss +0 -175
  158. package/scss/_toast.scss +0 -182
  159. package/scss/_tooltip.scss +0 -101
  160. package/scss/_type.scss +0 -121
  161. package/scss/_utilities.scss +0 -23
  162. package/scss/_variables.scss +0 -699
  163. package/scss/cool-grid.scss +0 -29
  164. package/scss/cool-reboot.scss +0 -11
  165. package/scss/cool.scss +0 -37
  166. package/scss/mixins/_alert-variant.scss +0 -25
  167. package/scss/mixins/_aspect-ratio.scss +0 -29
  168. package/scss/mixins/_background-variant.scss +0 -25
  169. package/scss/mixins/_badge-variant.scss +0 -36
  170. package/scss/mixins/_breakpoints.scss +0 -102
  171. package/scss/mixins/_buttons.scss +0 -104
  172. package/scss/mixins/_caret.scss +0 -80
  173. package/scss/mixins/_clearfix.scss +0 -10
  174. package/scss/mixins/_float.scss +0 -14
  175. package/scss/mixins/_forms.scss +0 -67
  176. package/scss/mixins/_gradients.scss +0 -40
  177. package/scss/mixins/_grid-framework.scss +0 -72
  178. package/scss/mixins/_grid.scss +0 -60
  179. package/scss/mixins/_nav-divider.scss +0 -9
  180. package/scss/mixins/_notification-variant.scss +0 -7
  181. package/scss/mixins/_object-fit.scss +0 -16
  182. package/scss/mixins/_reset-text.scss +0 -19
  183. package/scss/mixins/_text-emphasis.scss +0 -21
  184. package/scss/mixins/_text-hide.scss +0 -10
  185. package/scss/mixins/_text-truncate.scss +0 -81
  186. package/scss/mixins/_visibility.scss +0 -7
  187. package/scss/project.sublime-workspace +0 -491
  188. package/scss/utilities/_align.scss +0 -41
  189. package/scss/utilities/_animate.scss +0 -3512
  190. package/scss/utilities/_background.scss +0 -14
  191. package/scss/utilities/_borders.scss +0 -146
  192. package/scss/utilities/_clearfix.scss +0 -6
  193. package/scss/utilities/_collapse.scss +0 -33
  194. package/scss/utilities/_cursor.scss +0 -22
  195. package/scss/utilities/_display.scss +0 -16
  196. package/scss/utilities/_embed.scss +0 -78
  197. package/scss/utilities/_flex.scss +0 -52
  198. package/scss/utilities/_lazyload.scss +0 -31
  199. package/scss/utilities/_overflow.scss +0 -6
  200. package/scss/utilities/_perfect-scrollbar.scss +0 -141
  201. package/scss/utilities/_placeholder.scss +0 -76
  202. package/scss/utilities/_position.scss +0 -30
  203. package/scss/utilities/_sizing.scss +0 -32
  204. package/scss/utilities/_spacing.scss +0 -92
  205. package/scss/utilities/_text.scss +0 -99
  206. package/scss/utilities/_user-select.scss +0 -14
  207. package/scss/utilities/_visibility.scss +0 -10
package/less/images.less DELETED
@@ -1,242 +0,0 @@
1
- // Images
2
- .image {
3
- position: relative;
4
- overflow: hidden;
5
-
6
- // 24x24
7
- &.img-xs {
8
- width: 24px;
9
- height: 24px;
10
- min-width: 24px;
11
- line-height: 24px;
12
- text-align: center;
13
- .fa,
14
- .fas,
15
- .far,
16
- .fal,
17
- .fab {
18
- font-size: 19px;
19
- line-height: 24px;
20
- color: @color-icon;
21
- }
22
- img {
23
- vertical-align: middle;
24
- max-width: 24px;
25
- max-height: 24px;
26
- &.cover {
27
- width: 24px;
28
- height: 24px;
29
- .object-fit(cover);
30
- }
31
- }
32
- &.img-placeholder {
33
- &:before {
34
- font-size: 10px;
35
- }
36
- }
37
- }
38
-
39
- // 32x32
40
- &.img-sm {
41
- width: 32px;
42
- height: 32px;
43
- min-width: 32px;
44
- line-height: 32px;
45
- text-align: center;
46
- .fa,
47
- .fas,
48
- .far,
49
- .fal,
50
- .fab {
51
- font-size: 28px;
52
- line-height: 32px;
53
- color: @color-icon;
54
- }
55
- img {
56
- vertical-align: middle;
57
- max-width: 32px;
58
- max-height: 32px;
59
- &.cover {
60
- width: 32px;
61
- height: 32px;
62
- .object-fit(cover);
63
- }
64
- }
65
- &.img-placeholder {
66
- &:before {
67
- font-size: 12px;
68
- }
69
- }
70
- }
71
-
72
- // 50x50
73
- &.img-md {
74
- width: 50px;
75
- height: 50px;
76
- min-width: 50px;
77
- line-height: 50px;
78
- text-align: center;
79
- .fa,
80
- .fas,
81
- .far,
82
- .fal,
83
- .fab {
84
- font-size: 56px;
85
- line-height: 50px;
86
- color: @color-icon;
87
- }
88
- img {
89
- vertical-align: middle;
90
- max-width: 50px;
91
- max-height: 50px;
92
- &.cover {
93
- width: 50px;
94
- height: 50px;
95
- .object-fit(cover);
96
- }
97
- }
98
- &.img-placeholder {
99
- &:before {
100
- font-size: 12px;
101
- }
102
- }
103
- }
104
-
105
- // 120x120
106
- &.img-lg {
107
- width: 120px;
108
- height: 120px;
109
- min-width: 120px;
110
- line-height: 120px;
111
- text-align: center;
112
- .fa,
113
- .fas,
114
- .far,
115
- .fal,
116
- .fab {
117
- font-size: 92px;
118
- line-height: 120px;
119
- color: @color-icon;
120
- }
121
- img {
122
- vertical-align: middle;
123
- max-width: 120px;
124
- max-height: 120px;
125
- &.cover {
126
- width: 120px;
127
- height: 120px;
128
- .object-fit(cover);
129
- }
130
- }
131
- &.img-placeholder {
132
- &:before {
133
- font-size: 36px;
134
- }
135
- }
136
- }
137
-
138
- // Responsive
139
- &.img-responsive {
140
- display: inline-block;
141
- width: auto;
142
- height: auto;
143
- text-align: center;
144
- .fa,
145
- .fas,
146
- .far,
147
- .fal,
148
- .fab {
149
- line-height: inherit;
150
- color: @color-icon;
151
- }
152
- img {
153
- display: block;
154
- max-width: 100%;
155
- max-height: none;
156
- width: auto;
157
- height: auto;
158
- }
159
- }
160
-
161
- // Inline
162
- &.img-inline {
163
- display: inline-block;
164
- vertical-align: middle;
165
- }
166
-
167
- // Circle
168
- &.img-circle {
169
- border-radius: 50%;
170
- }
171
-
172
- // Thumbnail
173
- &.img-thumbnail {
174
- background-color: @color-white;
175
- border: 1px solid @color-border;
176
- border-radius: @border-radius;
177
- padding: 1px;
178
- }
179
-
180
- // Placeholder
181
- &.img-placeholder,
182
- &.img-error {
183
- background-color: #fafafa;
184
- color: #bbb;
185
- display: flex;
186
- align-items: center;
187
- justify-content: center;
188
- transition: background-color 0.4s;
189
- &:before {
190
- display: inline-block;
191
- font-family: 'Font Awesome 5 Pro';
192
- font-style: normal;
193
- font-variant: normal;
194
- font-weight: normal;
195
- line-height: 1;
196
- vertical-align: -.125em;
197
- content: '\f03e';
198
- -webkit-font-smoothing: antialiased;
199
- -moz-osx-font-smoothing: grayscale;
200
- opacity: 1;
201
- transition: opacity 0.4s;
202
- }
203
- img:not(.loaded) {
204
- position: absolute;
205
- }
206
- &.has-icon {
207
- &:before {
208
- content: '';
209
- }
210
- }
211
- &.loaded {
212
- background-color: @color-white;
213
- &:before {
214
- opacity: 0;
215
- content: '';
216
- }
217
- }
218
- }
219
-
220
- // Hidden
221
- &.img-hidden {
222
- display: none;
223
- }
224
-
225
- // Bordered
226
- &.img-bordered {
227
- border: 1px solid rgba(0,0,0,0.15);
228
- }
229
- }
230
-
231
- .img-fluid,
232
- .img-responsive {
233
- display: block;
234
- max-width: 100%;
235
- max-height: none;
236
- width: auto;
237
- height: auto;
238
- }
239
-
240
- .img-circle {
241
- border-radius: 50%;
242
- }
@@ -1,163 +0,0 @@
1
- // Input group
2
- .input-group {
3
- display: flex;
4
- width: 100%;
5
- &.inline {
6
- vertical-align: middle;
7
- }
8
- & + .input-group {
9
- margin-top: 10px;
10
- }
11
- & + label {
12
- padding-top: 15px;
13
- }
14
- &.text-right {
15
- justify-content: flex-end;
16
- }
17
- .form-control {
18
- position: relative;
19
- z-index: 2;
20
- flex: 1 1 auto;
21
- width: 1%;
22
- margin-bottom: 0;
23
- }
24
- > label {
25
- display: block;
26
- flex: 0 0 100%;
27
- }
28
- }
29
-
30
- .input-group-addon,
31
- .input-group .form-control {
32
- display: flex;
33
- justify-content: center;
34
- align-items: center;
35
- &.hidden {
36
- display: none;
37
- }
38
- }
39
-
40
- .input-group-addon {
41
- white-space: nowrap;
42
- vertical-align: middle; // Match the inputs
43
- }
44
-
45
- .input-group-addon:not(.btn) {
46
- padding: @input-padding-y @input-padding-x;
47
- margin-bottom: 0;
48
- height: @input-height;
49
- font-size: @font-size-base;
50
- font-weight: normal;
51
- line-height: @input-line-height;
52
- text-align: center;
53
- border-radius: @border-radius;
54
- border: 1px solid @color-border;
55
- background-color: @color-grey-lightest;
56
- box-sizing: border-box;
57
- &.input-sm {
58
- padding: @input-padding-y-sm @input-padding-x-sm;
59
- font-size: @font-size-small;
60
- line-height: @line-height-sm;
61
- height: @input-height-sm;
62
- }
63
- &.input-xs {
64
- padding: @input-padding-y-xs @input-padding-x-xs;
65
- font-size: @font-size-extra-small;
66
- line-height: @line-height-xs;
67
- height: @input-height-xs;
68
- }
69
- }
70
-
71
- .input-group-addon.btn {
72
- position: relative;
73
- white-space: nowrap;
74
- margin: 0;
75
- box-sizing: border-box;
76
- height: @input-height;
77
- padding-top: @input-padding-y;
78
- padding-bottom: @input-padding-y;
79
- font-size: @font-size-base;
80
- border: 1px solid @color-border;
81
- background-color: @color-grey-lightest;
82
- &.input-sm {
83
- padding: @input-padding-y-sm @input-padding-x-sm;
84
- font-size: @font-size-small;
85
- line-height: @line-height-sm;
86
- height: @input-height-sm;
87
- }
88
- &.input-xs {
89
- padding: @input-padding-y-xs @input-padding-x-xs;
90
- font-size: @font-size-extra-small;
91
- line-height: @line-height-xs;
92
- height: @input-height-xs;
93
- }
94
- &.btn-icon {
95
- padding: @input-padding-y;
96
- &.input-sm {
97
- padding: @input-padding-y-sm;
98
- }
99
- &.input-xs {
100
- padding: @input-padding-y-xs;
101
- }
102
- }
103
- &.btn-primary {
104
- background-color: @color-btn-primary;
105
- color: contrast(@color-btn-primary);
106
- &.focus,
107
- &:focus,
108
- &.hover,
109
- &:hover {
110
- background-color: desaturate(@color-btn-primary, 15%);
111
- color: contrast(@color-btn-primary);
112
- box-shadow: 0 14px 26px -12px fade(desaturate(@color-btn-primary, 15%), 42%), 0 4px 23px 0 rgba(0, 0, 0, 0.06), 0 8px 10px -5px fade(desaturate(@color-btn-primary, 15%), 20%);
113
- }
114
- &.disabled,
115
- &[disabled] {
116
- opacity: 0.25;
117
- cursor: not-allowed;
118
- &:hover {
119
- box-shadow: none;
120
- cursor: not-allowed;
121
- }
122
- }
123
- }
124
- }
125
-
126
- .input-group-addon:not(:first-child):not(:last-child),
127
- .input-group-btn:not(:first-child):not(:last-child),
128
- .input-group .form-control:not(:first-child):not(:last-child) {
129
- border-radius: 0;
130
- margin-left: -1px;
131
- }
132
-
133
- .input-group .form-control:first-child {
134
- color: @color-text;
135
- border-bottom-right-radius: 0;
136
- border-top-right-radius: 0;
137
- }
138
-
139
- .input-group .form-control:not(:last-child),
140
- .input-group-addon:first-child {
141
- border-bottom-right-radius: 0;
142
- border-top-right-radius: 0;
143
- }
144
-
145
- .input-group .form-control:last-child,
146
- .input-group-addon:last-child {
147
- border-bottom-left-radius: 0;
148
- border-top-left-radius: 0;
149
- }
150
-
151
- .input-group-addon + .form-control,
152
- .input-group-addon:last-child {
153
- margin-left: -1px;
154
- }
155
-
156
- .input-group-addon:only-child,
157
- .input-group.btn:only-child,
158
- .input-group .form-control:only-child {
159
- border-bottom-right-radius: @border-radius;
160
- border-top-right-radius: @border-radius;
161
- border-bottom-left-radius: @border-radius;
162
- border-top-left-radius: @border-radius;
163
- }
@@ -1,73 +0,0 @@
1
- // List group
2
-
3
- .list-group {
4
- display: flex;
5
- flex-direction: column;
6
- padding-left: 0;
7
- margin-bottom: 0;
8
- margin-top: 0;
9
- }
10
-
11
- .list-group-item {
12
- position: relative;
13
- display: flex;
14
- padding: 6px 0;
15
- line-height: 20px;
16
- color: @color-text;
17
- align-items: center;
18
- flex: 1 0 auto;
19
- &.active {
20
- .list-group-icon.image > i {
21
- color: @color-blue;
22
- }
23
- }
24
- > a {
25
- display: flex;
26
- color: inherit;
27
- align-items: center;
28
- width: 100%;
29
- flex: 1 1;
30
- }
31
- .list-group-icon {
32
- margin-right: 10px;
33
- &:not(.image) {
34
- line-height: 20px;
35
- }
36
- }
37
- }
38
-
39
- .list-group-bordered:not(ul) {
40
- .list-group-item {
41
- border-bottom: 1px solid @border-color;
42
- &:last-child {
43
- border-bottom: 0;
44
- }
45
- }
46
- }
47
-
48
- ul.list-group {
49
- li {
50
- list-style: none;
51
- }
52
- }
53
-
54
- ul.list-group-bordered {
55
- li {
56
- line-height: 0;
57
- }
58
- .list-group-item {
59
- border-bottom: 1px solid @border-color;
60
- }
61
- li:last-child {
62
- border-bottom: 0;
63
- .list-group-item {
64
- border-bottom: 0;
65
- }
66
- }
67
- }
68
-
69
- .list-group-inner-spacing {
70
- .list-group-item {
71
- padding: 15px;
72
- }
73
- }
@@ -1,23 +0,0 @@
1
- .aspect-ratio(@width, @height) {
2
- position: relative;
3
- &:before {
4
- display: block;
5
- content: '';
6
- width: 100%;
7
- padding-top: (@height / @width) * 100%;
8
- }
9
- > .content {
10
- position: absolute;
11
- padding:10px;
12
- top: 0;
13
- left: 0;
14
- right: 0;
15
- bottom: 0;
16
- span:before{
17
- content:"@{width}";
18
- }
19
- span:after{
20
- content:"@{height}";
21
- }
22
- }
23
- }
@@ -1,24 +0,0 @@
1
- // Border radius
2
- .border-radius(@radius: @border-radius) {
3
- border-radius: @radius;
4
- }
5
-
6
- .border-top-radius(@radius) {
7
- border-top-left-radius: @radius;
8
- border-top-right-radius: @radius;
9
- }
10
-
11
- .border-right-radius(@radius) {
12
- border-top-right-radius: @radius;
13
- border-bottom-right-radius: @radius;
14
- }
15
-
16
- .border-bottom-radius(@radius) {
17
- border-bottom-right-radius: @radius;
18
- border-bottom-left-radius: @radius;
19
- }
20
-
21
- .border-left-radius(@radius) {
22
- border-top-left-radius: @radius;
23
- border-bottom-left-radius: @radius;
24
- }
@@ -1,4 +0,0 @@
1
- // Box shadow
2
- .box-shadow(@shadow...) {
3
- box-shadow: @shadow;
4
- }
@@ -1,17 +0,0 @@
1
- .btn-color(@textColor: @color-white, @backgroundColor: @color-btn-default) {
2
- background: @backgroundColor;
3
- color: @textColor;
4
- &.hover,
5
- &:hover {
6
- background: darken(@backgroundColor, 15%);
7
- color: @textColor;
8
- }
9
- &.disabled,
10
- &[disabled] {
11
- background: lighten(@backgroundColor, 25%);
12
- cursor: not-allowed;
13
- &:hover {
14
- cursor: not-allowed;
15
- }
16
- }
17
- }
@@ -1,51 +0,0 @@
1
- // Caret
2
- .caret-reset() {
3
- &::after {
4
- display: inline-block;
5
- width: 0;
6
- height: 0;
7
- margin-left: @caret-width * .85;
8
- font-family: 'Font Awesome 5 Pro';
9
- font-weight: 300;
10
- }
11
- &:empty::after {
12
- margin-left: 0;
13
- }
14
- }
15
-
16
- .caret-down() {
17
- .caret-reset();
18
- &::after {
19
- content: '\f107';
20
- }
21
- }
22
-
23
- .caret-up() {
24
- .caret-reset();
25
- &::after {
26
- content: '\f106';
27
- }
28
- }
29
-
30
- .caret-right() {
31
- .caret-reset();
32
- &::after {
33
- content: '\f105';
34
- }
35
- }
36
-
37
- .caret-left() {
38
- .caret-reset();
39
- &::after {
40
- display: none;
41
- }
42
- &::before {
43
- display: inline-block;
44
- width: 0;
45
- height: 0;
46
- margin-right: @caret-width * .85;
47
- font-family: 'Font Awesome 5 Pro';
48
- font-weight: 300;
49
- content: '\f104';
50
- }
51
- }
@@ -1,10 +0,0 @@
1
- .clearfix() {
2
- &:before,
3
- &:after {
4
- content: " "; // 1
5
- display: table; // 2
6
- }
7
- &:after {
8
- clear: both;
9
- }
10
- }
@@ -1,34 +0,0 @@
1
- // Gradients
2
- .gradient-bg(@color) {
3
- background: @color linear-gradient(180deg, mix(@color-bg, @color, 15%), @color) repeat-x;
4
- }
5
-
6
- .gradient-x(@start-color: @color-grey-darker, @end-color: @color-grey-darkest, @start-percent: 0%, @end-percent: 100%) {
7
- background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent);
8
- background-repeat: repeat-x;
9
- }
10
-
11
- .gradient-y(@start-color: @color-grey-darker, @end-color: @color-grey-darkest, @start-percent: 0%, @end-percent: 100%) {
12
- background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent);
13
- background-repeat: repeat-x;
14
- }
15
-
16
- .gradient-directional(@start-color: @color-grey-darker, @end-color: @color-grey-darkest, @deg: 45deg) {
17
- background-image: linear-gradient(@deg, @start-color, @end-color);
18
- background-repeat: repeat-x;
19
- }
20
- .gradient-x-three-colors(@start-color: @color-blue, @mid-color: @purple, @color-stop: 50%, @end-color: @red) {
21
- background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
22
- background-repeat: no-repeat;
23
- }
24
- .gradient-y-three-colors(@start-color: @blue, @mid-color: @color-pink, @color-stop: 50%, @end-color: @color-red) {
25
- background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
26
- background-repeat: no-repeat;
27
- }
28
- .gradient-radial(@inner-color: @color-grey-darker, @outer-color: @color-grey-darkest) {
29
- background-image: radial-gradient(circle, @inner-color, @outer-color);
30
- background-repeat: no-repeat;
31
- }
32
- .gradient-striped(@color: fade(@color-white, .15), @angle: 45deg) {
33
- background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
34
- }
@@ -1,7 +0,0 @@
1
- // Divider for dropdow & lists
2
- .nav-divider(@color: @nav-divider-color, @margin-y: @nav-divider-margin-y) {
3
- height: 0;
4
- margin: @margin-y 0;
5
- overflow: hidden;
6
- border-top: 1px solid @color;
7
- }
@@ -1,13 +0,0 @@
1
- .object-fit(@fit: fill, @position: 50% 50%) {
2
- -o-object-fit: @fit;
3
- object-fit: @fit;
4
- -o-object-position: @position;
5
- object-position: @position;
6
- font-family: 'object-fit: @{fit}; object-position: @{position}';
7
- }
8
-
9
- .object-fit(@fit: fill) {
10
- -o-object-fit: @fit;
11
- object-fit: @fit;
12
- font-family: 'object-fit: @{fit}';
13
- }
@@ -1,16 +0,0 @@
1
- .reset-text() {
2
- font-family: @font-family-base;
3
- font-style: normal;
4
- font-weight: @font-weight-base;
5
- line-height: @line-height-base;
6
- text-align: left;
7
- text-align: start;
8
- text-decoration: none;
9
- text-shadow: none;
10
- text-transform: none;
11
- letter-spacing: normal;
12
- word-break: normal;
13
- word-spacing: normal;
14
- white-space: normal;
15
- line-break: auto;
16
- }
package/less/mixins.less DELETED
@@ -1,11 +0,0 @@
1
- // Mixins
2
- @import "mixins/clearfix.less";
3
- @import "mixins/aspect-ratio.less";
4
- @import "mixins/buttons.less";
5
- @import "mixins/object-fit.less";
6
- @import "mixins/reset-text.less";
7
- @import "mixins/border-radius.less";
8
- @import "mixins/box-shadow.less";
9
- @import "mixins/gradients.less";
10
- @import "mixins/nav-divider.less";
11
- @import "mixins/caret.less";