@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.
- package/README.md +680 -1
- package/dist/css/cool.css +23510 -16076
- package/dist/css/cool.css.map +1 -154
- package/dist/css/cool.min.css +89 -3
- package/dist/css/cool.min.css.map +1 -1
- package/dist/js/cool.bundle.js +15397 -3775
- package/dist/js/cool.bundle.js.map +1 -1
- package/dist/js/cool.bundle.min.js +20 -8
- package/dist/js/cool.bundle.min.js.map +1 -1
- package/dist/js/cool.esm.js +4281 -3352
- package/dist/js/cool.esm.js.map +1 -1
- package/dist/js/cool.esm.min.js +9 -8
- package/dist/js/cool.esm.min.js.map +1 -1
- package/dist/js/cool.js +4283 -3354
- package/dist/js/cool.js.map +1 -1
- package/dist/js/cool.min.js +9 -8
- package/dist/js/cool.min.js.map +1 -1
- package/package.json +94 -61
- package/.babelrc.js +0 -20
- package/.browserslistrc +0 -13
- package/build/.eslintrc.json +0 -10
- package/build/banner.js +0 -14
- package/build/build-plugins.js +0 -92
- package/build/rollup.config.js +0 -46
- package/dist/css/cool-grid.css +0 -3704
- package/dist/css/cool-grid.css.map +0 -30
- package/dist/css/cool-grid.min.css +0 -7
- package/dist/css/cool-grid.min.css.map +0 -1
- package/dist/css/cool-reboot.css +0 -285
- package/dist/css/cool-reboot.css.map +0 -62
- package/dist/css/cool-reboot.min.css +0 -7
- package/dist/css/cool-reboot.min.css.map +0 -1
- package/html/dropdown-test.html +0 -200
- package/html/index.html +0 -2704
- package/js/dist/collapse.js +0 -5290
- package/js/dist/collapse.js.map +0 -1
- package/js/dist/common.js +0 -22152
- package/js/dist/common.js.map +0 -1
- package/js/dist/cooldropdown.js +0 -467
- package/js/dist/cooldropdown.js.map +0 -1
- package/js/dist/coolpopover.js +0 -391
- package/js/dist/coolpopover.js.map +0 -1
- package/js/dist/coolsectiontabs.js +0 -256
- package/js/dist/coolsectiontabs.js.map +0 -1
- package/js/dist/coolselect.js +0 -796
- package/js/dist/coolselect.js.map +0 -1
- package/js/dist/cooltooltip.js +0 -360
- package/js/dist/cooltooltip.js.map +0 -1
- package/js/dist/coolui.js +0 -73
- package/js/dist/coolui.js.map +0 -1
- package/js/dist/dropdown.js +0 -27421
- package/js/dist/dropdown.js.map +0 -1
- package/js/dist/popover.js +0 -9298
- package/js/dist/popover.js.map +0 -1
- package/js/dist/sectiontabs.js +0 -4483
- package/js/dist/sectiontabs.js.map +0 -1
- package/js/dist/select.js +0 -37052
- package/js/dist/select.js.map +0 -1
- package/js/dist/tooltip.js +0 -8786
- package/js/dist/tooltip.js.map +0 -1
- package/js/index.esm.js +0 -21
- package/js/index.umd.js +0 -21
- package/js/src/abstract-ui-component.js +0 -81
- package/js/src/collapse.js +0 -272
- package/js/src/common.js +0 -313
- package/js/src/dialog.js +0 -578
- package/js/src/dropdown.js +0 -525
- package/js/src/popover.js +0 -621
- package/js/src/section-tabs.js +0 -215
- package/js/src/select.js +0 -1341
- package/js/src/toast.js +0 -581
- package/js/src/tooltip.js +0 -591
- package/js/src/util/animate-css.js +0 -22
- package/js/src/util/index.js +0 -122
- package/js/src/util/perfect-scrollbar.js +0 -1316
- package/less/alert.less +0 -345
- package/less/badge.less +0 -38
- package/less/bootstrap-noconflict.less +0 -23
- package/less/bootstrap.less +0 -23
- package/less/button-group.less +0 -153
- package/less/buttons.less +0 -287
- package/less/dialog-noconflict.less +0 -174
- package/less/dialog.less +0 -203
- package/less/dropdown.less +0 -209
- package/less/forms.less +0 -770
- package/less/images.less +0 -242
- package/less/input-group.less +0 -163
- package/less/list-group.less +0 -73
- package/less/mixins/aspect-ratio.less +0 -23
- package/less/mixins/border-radius.less +0 -24
- package/less/mixins/box-shadow.less +0 -4
- package/less/mixins/buttons.less +0 -17
- package/less/mixins/caret.less +0 -51
- package/less/mixins/clearfix.less +0 -10
- package/less/mixins/gradients.less +0 -34
- package/less/mixins/nav-divider.less +0 -7
- package/less/mixins/object-fit.less +0 -13
- package/less/mixins/reset-text.less +0 -16
- package/less/mixins.less +0 -11
- package/less/package.json +0 -11
- package/less/pagination.less +0 -69
- package/less/popover.less +0 -143
- package/less/project.sublime-workspace +0 -774
- package/less/reboot.less +0 -235
- package/less/section.less +0 -793
- package/less/select.less +0 -150
- package/less/tables.less +0 -737
- package/less/tabs.less +0 -162
- package/less/tooltip.less +0 -87
- package/less/type.less +0 -71
- package/less/utilities/align.less +0 -27
- package/less/utilities/animate.less +0 -3512
- package/less/utilities/background.less +0 -70
- package/less/utilities/borders.less +0 -16
- package/less/utilities/color.less +0 -70
- package/less/utilities/cursor.less +0 -8
- package/less/utilities/display.less +0 -38
- package/less/utilities/embed.less +0 -61
- package/less/utilities/flex.less +0 -76
- package/less/utilities/jquery-ui.less +0 -116
- package/less/utilities/lazyload.less +0 -29
- package/less/utilities/overflow.less +0 -11
- package/less/utilities/pace.less +0 -25
- package/less/utilities/placeholder.less +0 -60
- package/less/utilities/position.less +0 -42
- package/less/utilities/scrollbar.less +0 -152
- package/less/utilities/spacing.less +0 -197
- package/less/utilities/text.less +0 -68
- package/less/utilities/transform.less +0 -7
- package/less/utilities.less +0 -21
- package/less/variables.less +0 -343
- package/scss/LISENCE +0 -15
- package/scss/_alert.scss +0 -106
- package/scss/_badge.scss +0 -71
- package/scss/_button-group.scss +0 -129
- package/scss/_buttons.scss +0 -207
- package/scss/_custom-forms.scss +0 -429
- package/scss/_dialog.scss +0 -161
- package/scss/_dropdown.scss +0 -231
- package/scss/_forms.scss +0 -257
- package/scss/_frame.scss +0 -548
- package/scss/_functions.scss +0 -124
- package/scss/_grid.scss +0 -35
- package/scss/_images.scss +0 -362
- package/scss/_input-group.scss +0 -271
- package/scss/_list-group.scss +0 -82
- package/scss/_mixins.scss +0 -34
- package/scss/_navbar.scss +0 -264
- package/scss/_notification.scss +0 -13
- package/scss/_pagination.scss +0 -79
- package/scss/_popover.scss +0 -165
- package/scss/_reboot.scss +0 -283
- package/scss/_root.scss +0 -15
- package/scss/_section.scss +0 -912
- package/scss/_select.scss +0 -175
- package/scss/_tables.scss +0 -716
- package/scss/_tabs.scss +0 -175
- package/scss/_toast.scss +0 -182
- package/scss/_tooltip.scss +0 -101
- package/scss/_type.scss +0 -121
- package/scss/_utilities.scss +0 -23
- package/scss/_variables.scss +0 -699
- package/scss/cool-grid.scss +0 -29
- package/scss/cool-reboot.scss +0 -11
- package/scss/cool.scss +0 -37
- package/scss/mixins/_alert-variant.scss +0 -25
- package/scss/mixins/_aspect-ratio.scss +0 -29
- package/scss/mixins/_background-variant.scss +0 -25
- package/scss/mixins/_badge-variant.scss +0 -36
- package/scss/mixins/_breakpoints.scss +0 -102
- package/scss/mixins/_buttons.scss +0 -104
- package/scss/mixins/_caret.scss +0 -80
- package/scss/mixins/_clearfix.scss +0 -10
- package/scss/mixins/_float.scss +0 -14
- package/scss/mixins/_forms.scss +0 -67
- package/scss/mixins/_gradients.scss +0 -40
- package/scss/mixins/_grid-framework.scss +0 -72
- package/scss/mixins/_grid.scss +0 -60
- package/scss/mixins/_nav-divider.scss +0 -9
- package/scss/mixins/_notification-variant.scss +0 -7
- package/scss/mixins/_object-fit.scss +0 -16
- package/scss/mixins/_reset-text.scss +0 -19
- package/scss/mixins/_text-emphasis.scss +0 -21
- package/scss/mixins/_text-hide.scss +0 -10
- package/scss/mixins/_text-truncate.scss +0 -81
- package/scss/mixins/_visibility.scss +0 -7
- package/scss/project.sublime-workspace +0 -491
- package/scss/utilities/_align.scss +0 -41
- package/scss/utilities/_animate.scss +0 -3512
- package/scss/utilities/_background.scss +0 -14
- package/scss/utilities/_borders.scss +0 -146
- package/scss/utilities/_clearfix.scss +0 -6
- package/scss/utilities/_collapse.scss +0 -33
- package/scss/utilities/_cursor.scss +0 -22
- package/scss/utilities/_display.scss +0 -16
- package/scss/utilities/_embed.scss +0 -78
- package/scss/utilities/_flex.scss +0 -52
- package/scss/utilities/_lazyload.scss +0 -31
- package/scss/utilities/_overflow.scss +0 -6
- package/scss/utilities/_perfect-scrollbar.scss +0 -141
- package/scss/utilities/_placeholder.scss +0 -76
- package/scss/utilities/_position.scss +0 -30
- package/scss/utilities/_sizing.scss +0 -32
- package/scss/utilities/_spacing.scss +0 -92
- package/scss/utilities/_text.scss +0 -99
- package/scss/utilities/_user-select.scss +0 -14
- package/scss/utilities/_visibility.scss +0 -10
package/scss/_images.scss
DELETED
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
// Images
|
|
2
|
-
// ---------------------------------------------------------------------------------------------------------------
|
|
3
|
-
|
|
4
|
-
html.dom-ready {
|
|
5
|
-
.image {
|
|
6
|
-
&.img-placeholder,
|
|
7
|
-
&.img-error {
|
|
8
|
-
transition: background-color 0.4s;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.image {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
position: relative;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
box-sizing: content-box;
|
|
20
|
-
|
|
21
|
-
// 24x24
|
|
22
|
-
&.img-xs {
|
|
23
|
-
width: 24px;
|
|
24
|
-
height: 24px;
|
|
25
|
-
min-width: 24px;
|
|
26
|
-
text-align: center;
|
|
27
|
-
|
|
28
|
-
&.img-placeholder {
|
|
29
|
-
&:before {
|
|
30
|
-
width: 10px;
|
|
31
|
-
height: 10px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.img-thumbnail {
|
|
36
|
-
.icon {
|
|
37
|
-
width: 10px;
|
|
38
|
-
height: 10px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.icon {
|
|
43
|
-
width: 20px;
|
|
44
|
-
height: 20px;
|
|
45
|
-
color: $icon-color;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
img {
|
|
49
|
-
vertical-align: middle;
|
|
50
|
-
max-width: 24px;
|
|
51
|
-
max-height: 24px;
|
|
52
|
-
|
|
53
|
-
&.cover {
|
|
54
|
-
width: 24px;
|
|
55
|
-
height: 24px;
|
|
56
|
-
@include object-fit(cover, 50% 50%);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// 32x32
|
|
62
|
-
&.img-sm {
|
|
63
|
-
width: 32px;
|
|
64
|
-
height: 32px;
|
|
65
|
-
min-width: 32px;
|
|
66
|
-
text-align: center;
|
|
67
|
-
|
|
68
|
-
&.img-placeholder {
|
|
69
|
-
&:before {
|
|
70
|
-
width: 12px;
|
|
71
|
-
height: 12px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.img-thumbnail {
|
|
76
|
-
.icon {
|
|
77
|
-
width: 16px;
|
|
78
|
-
height: 16px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.icon {
|
|
83
|
-
width: 28px;
|
|
84
|
-
height: 28px;
|
|
85
|
-
color: $icon-color;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
img {
|
|
89
|
-
vertical-align: middle;
|
|
90
|
-
max-width: 32px;
|
|
91
|
-
max-height: 32px;
|
|
92
|
-
|
|
93
|
-
&.cover {
|
|
94
|
-
width: 32px;
|
|
95
|
-
height: 32px;
|
|
96
|
-
@include object-fit(cover, 50% 50%);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// 50x50
|
|
102
|
-
&.img-md {
|
|
103
|
-
width: 50px;
|
|
104
|
-
height: 50px;
|
|
105
|
-
min-width: 50px;
|
|
106
|
-
text-align: center;
|
|
107
|
-
|
|
108
|
-
&.img-placeholder {
|
|
109
|
-
&:before {
|
|
110
|
-
width: 15px;
|
|
111
|
-
height: 15px;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.img-thumbnail {
|
|
116
|
-
.icon {
|
|
117
|
-
width: 25px;
|
|
118
|
-
height: 25px;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.icon {
|
|
123
|
-
width: 46px;
|
|
124
|
-
height: 46px;
|
|
125
|
-
color: $icon-color;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
img {
|
|
129
|
-
vertical-align: middle;
|
|
130
|
-
max-width: 50px;
|
|
131
|
-
max-height: 50px;
|
|
132
|
-
|
|
133
|
-
&.cover {
|
|
134
|
-
width: 50px;
|
|
135
|
-
height: 50px;
|
|
136
|
-
@include object-fit(cover, 50% 50%);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// 90x90
|
|
142
|
-
&.img-lg {
|
|
143
|
-
width: 90px;
|
|
144
|
-
height: 90px;
|
|
145
|
-
min-width: 90px;
|
|
146
|
-
text-align: center;
|
|
147
|
-
|
|
148
|
-
&.img-placeholder {
|
|
149
|
-
&:before {
|
|
150
|
-
width: 15px;
|
|
151
|
-
height: 15px;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&.img-thumbnail {
|
|
156
|
-
.icon {
|
|
157
|
-
width: 25px;
|
|
158
|
-
height: 25px;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.icon {
|
|
163
|
-
width: 46px;
|
|
164
|
-
height: 46px;
|
|
165
|
-
color: $icon-color;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
img {
|
|
169
|
-
vertical-align: middle;
|
|
170
|
-
max-width: 90px;
|
|
171
|
-
max-height: 90px;
|
|
172
|
-
|
|
173
|
-
&.cover {
|
|
174
|
-
width: 90px;
|
|
175
|
-
height: 90px;
|
|
176
|
-
@include object-fit(cover, 50% 50%);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
// 120x120
|
|
182
|
-
&.img-xl {
|
|
183
|
-
width: 120px;
|
|
184
|
-
height: 120px;
|
|
185
|
-
min-width: 120px;
|
|
186
|
-
text-align: center;
|
|
187
|
-
|
|
188
|
-
&.img-placeholder {
|
|
189
|
-
&:before {
|
|
190
|
-
width: 30px;
|
|
191
|
-
height: 30px;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&.img-thumbnail {
|
|
196
|
-
.icon {
|
|
197
|
-
width: 60px;
|
|
198
|
-
height: 60px;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.icon {
|
|
203
|
-
width: 116px;
|
|
204
|
-
height: 116px;
|
|
205
|
-
color: $icon-color;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
img {
|
|
209
|
-
vertical-align: middle;
|
|
210
|
-
max-width: 120px;
|
|
211
|
-
max-height: 120px;
|
|
212
|
-
|
|
213
|
-
&.cover {
|
|
214
|
-
width: 120px;
|
|
215
|
-
height: 120px;
|
|
216
|
-
@include object-fit(cover, 50% 50%);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
// Fluid
|
|
222
|
-
&.img-fluid {
|
|
223
|
-
display: inline-block;
|
|
224
|
-
width: auto;
|
|
225
|
-
height: auto;
|
|
226
|
-
text-align: center;
|
|
227
|
-
|
|
228
|
-
.icon {
|
|
229
|
-
color: $icon-color;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
img {
|
|
233
|
-
display: block;
|
|
234
|
-
max-width: 100%;
|
|
235
|
-
max-height: none;
|
|
236
|
-
width: auto;
|
|
237
|
-
height: auto;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// Inline
|
|
242
|
-
&.img-inline {
|
|
243
|
-
display: inline-block;
|
|
244
|
-
vertical-align: middle;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
// Circle
|
|
248
|
-
&.img-circle {
|
|
249
|
-
border-radius: 50%;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
// Thumbnail
|
|
253
|
-
&.img-thumbnail {
|
|
254
|
-
background-color: color('white');
|
|
255
|
-
border: 1px solid $border-color;
|
|
256
|
-
border-radius: $border-radius;
|
|
257
|
-
padding: 1px;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
// Placeholder
|
|
261
|
-
&.img-placeholder,
|
|
262
|
-
&.img-error {
|
|
263
|
-
display: flex;
|
|
264
|
-
background-color: #fafafa;
|
|
265
|
-
color: #bbb;
|
|
266
|
-
|
|
267
|
-
&.img-inline {
|
|
268
|
-
display: inline-flex;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
&:before,
|
|
272
|
-
&:after {
|
|
273
|
-
content: '';
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
&:before {
|
|
277
|
-
background-repeat: no-repeat;
|
|
278
|
-
background-position: center center;
|
|
279
|
-
// Font Awesome Free fa-image
|
|
280
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjYmJiYmJiIiBkPSJNNDY0IDY0SDQ4QzIxLjQ5IDY0IDAgODUuNDkgMCAxMTJ2Mjg4YzAgMjYuNTEgMjEuNDkgNDggNDggNDhoNDE2YzI2LjUxIDAgNDgtMjEuNDkgNDgtNDhWMTEyYzAtMjYuNTEtMjEuNDktNDgtNDgtNDh6bS02IDMzNkg1NGE2IDYgMCAwIDEtNi02VjExOGE2IDYgMCAwIDEgNi02aDQwNGE2IDYgMCAwIDEgNiA2djI3NmE2IDYgMCAwIDEtNiA2ek0xMjggMTUyYy0yMi4wOTEgMC00MCAxNy45MDktNDAgNDBzMTcuOTA5IDQwIDQwIDQwIDQwLTE3LjkwOSA0MC00MC0xNy45MDktNDAtNDAtNDB6TTk2IDM1MmgzMjB2LTgwbC04Ny41MTUtODcuNTE1Yy00LjY4Ni00LjY4Ni0xMi4yODQtNC42ODYtMTYuOTcxIDBMMTkyIDMwNGwtMzkuNTE1LTM5LjUxNWMtNC42ODYtNC42ODYtMTIuMjg0LTQuNjg2LTE2Ljk3MSAwTDk2IDMwNHY0OHoiPjwvcGF0aD48L3N2Zz4=');
|
|
281
|
-
opacity: 1;
|
|
282
|
-
vertical-align: middle;
|
|
283
|
-
transition: opacity 0.4s;
|
|
284
|
-
width: 30px;
|
|
285
|
-
height: 30px;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
&.has-icon {
|
|
289
|
-
&:before,
|
|
290
|
-
&:after {
|
|
291
|
-
content: none;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
&.loaded {
|
|
296
|
-
background-color: color('white');
|
|
297
|
-
|
|
298
|
-
&:before,
|
|
299
|
-
&:after {
|
|
300
|
-
content: none;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
&:before {
|
|
304
|
-
opacity: 0;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
img:not(.loaded) {
|
|
309
|
-
position: absolute;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
// Bordered
|
|
314
|
-
&.img-bordered {
|
|
315
|
-
border: 1px solid rgba(0,0,0,0.15);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
// Showcase
|
|
320
|
-
.img-showcase {
|
|
321
|
-
box-shadow: 0 10px 20px -15px hsla(0, 0%, 25%, 1);
|
|
322
|
-
border-radius: 5px;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// Image fluid
|
|
326
|
-
.img-fluid {
|
|
327
|
-
display: block;
|
|
328
|
-
max-width: 100%;
|
|
329
|
-
max-height: none;
|
|
330
|
-
width: auto;
|
|
331
|
-
height: auto;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// Image Circle
|
|
335
|
-
.img-circle {
|
|
336
|
-
border-radius: 50%;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.image-select-container {
|
|
340
|
-
width: 120px /* img lg */ + (20px * 2) /* padding */ + 4px /* border */;
|
|
341
|
-
height: 200px;
|
|
342
|
-
border: 2px dashed $border-color;
|
|
343
|
-
border-radius: $border-radius;
|
|
344
|
-
position: relative;
|
|
345
|
-
display: inline-block;
|
|
346
|
-
|
|
347
|
-
// Image select
|
|
348
|
-
.image-select {
|
|
349
|
-
width: 100%;
|
|
350
|
-
height: 100%;
|
|
351
|
-
display: flex;
|
|
352
|
-
flex-direction: column;
|
|
353
|
-
align-items: center;
|
|
354
|
-
padding: 20px;
|
|
355
|
-
|
|
356
|
-
[data-image-select-remove] {
|
|
357
|
-
position: absolute;
|
|
358
|
-
top: 0;
|
|
359
|
-
right: 0;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
package/scss/_input-group.scss
DELETED
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
// Input group
|
|
2
|
-
// ---------------------------------------------------------------------------------------------------------------
|
|
3
|
-
|
|
4
|
-
html.dom-ready {
|
|
5
|
-
.input-group-text,
|
|
6
|
-
.input-dropdown {
|
|
7
|
-
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.input-group {
|
|
12
|
-
position: relative;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-wrap: wrap;
|
|
15
|
-
align-items: stretch;
|
|
16
|
-
width: 100%;
|
|
17
|
-
border-color: $input-group-addon-border-color;
|
|
18
|
-
|
|
19
|
-
> .form-control,
|
|
20
|
-
> .form-control-plaintext {
|
|
21
|
-
position: relative;
|
|
22
|
-
flex: 1 1 auto;
|
|
23
|
-
// Add width 1% and flex-basis auto to ensure that button will not wrap out
|
|
24
|
-
// the column. Applies to IE Edge+ and Firefox. Chrome does not require this.
|
|
25
|
-
width: 1%;
|
|
26
|
-
margin-bottom: 0;
|
|
27
|
-
|
|
28
|
-
+ .form-control {
|
|
29
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
30
|
-
// margin-left: -#{$input-border-width};
|
|
31
|
-
margin-left: calc(-#{$input-border-width + 0.2});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
> .form-control {
|
|
36
|
-
&:not(:last-child) {
|
|
37
|
-
border-top-right-radius: 0;
|
|
38
|
-
border-bottom-right-radius: 0;
|
|
39
|
-
border-right: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:not(:first-child) {
|
|
43
|
-
border-top-left-radius: 0;
|
|
44
|
-
border-bottom-left-radius: 0;
|
|
45
|
-
border-left: 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Prepend and append
|
|
52
|
-
.input-group-prepend,
|
|
53
|
-
.input-group-append {
|
|
54
|
-
display: flex;
|
|
55
|
-
border-color: $input-group-addon-border-color;
|
|
56
|
-
|
|
57
|
-
> .btn {
|
|
58
|
-
height: $input-height;
|
|
59
|
-
box-sizing: border-box;
|
|
60
|
-
line-height: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.btn {
|
|
64
|
-
position: relative;
|
|
65
|
-
z-index: 2;
|
|
66
|
-
margin: 0;
|
|
67
|
-
|
|
68
|
-
> .icon {
|
|
69
|
-
margin-right: 0;
|
|
70
|
-
|
|
71
|
-
& + * {
|
|
72
|
-
margin-left: $icon-spacer;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&:focus {
|
|
77
|
-
z-index: 3;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.btn + .btn,
|
|
82
|
-
.btn + .input-group-text,
|
|
83
|
-
.btn + .input-group-dropdown,
|
|
84
|
-
.input-group-text + .btn,
|
|
85
|
-
.input-group-text + .input-group-text,
|
|
86
|
-
.input-group-text + .input-group-dropdown,
|
|
87
|
-
.input-group-dropdown + .btn,
|
|
88
|
-
.input-group-dropdown + .input-group-text,
|
|
89
|
-
.input-group-dropdown + .input-group-dropdown {
|
|
90
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
91
|
-
// margin-left: -#{$input-border-width};
|
|
92
|
-
margin-left: calc(-#{$input-border-width + 0.2});
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.input-group-prepend {
|
|
97
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
98
|
-
// margin-right: -#{$input-border-width};
|
|
99
|
-
margin-right: calc(-#{$input-border-width + 0.2});
|
|
100
|
-
|
|
101
|
-
.input-group-text > span {
|
|
102
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
103
|
-
// margin-right: $input-border-width;
|
|
104
|
-
margin-right: calc(#{$input-border-width + 0.2});
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.input-group-append {
|
|
109
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
110
|
-
// margin-left: -#{$input-border-width};
|
|
111
|
-
margin-left: calc(-#{$input-border-width + 0.2});
|
|
112
|
-
|
|
113
|
-
.input-group-text > span {
|
|
114
|
-
// Add extra 0.2px to border rendering bug on chrome
|
|
115
|
-
// margin-left: $input-border-width;
|
|
116
|
-
margin-left: calc(#{$input-border-width + 0.2});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
// Textual addons
|
|
122
|
-
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
|
123
|
-
// to prepend or append to an input.
|
|
124
|
-
.input-group-text {
|
|
125
|
-
display: flex;
|
|
126
|
-
align-items: center;
|
|
127
|
-
padding: $input-padding-y $input-padding-x;
|
|
128
|
-
margin-bottom: 0;
|
|
129
|
-
font-size: $input-font-size;
|
|
130
|
-
font-weight: $font-weight-normal;
|
|
131
|
-
line-height: $input-line-height;
|
|
132
|
-
color: $input-group-addon-color;
|
|
133
|
-
text-align: center;
|
|
134
|
-
white-space: nowrap;
|
|
135
|
-
background-color: $input-bg;
|
|
136
|
-
border: $input-border-width solid $input-group-addon-border-color;
|
|
137
|
-
border-radius: $input-border-radius;
|
|
138
|
-
|
|
139
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
|
140
|
-
input[type="radio"],
|
|
141
|
-
input[type="checkbox"] {
|
|
142
|
-
margin-top: 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
// Dropdown
|
|
148
|
-
.input-group-dropdown {
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
margin-bottom: 0;
|
|
152
|
-
font-size: $input-font-size;
|
|
153
|
-
font-weight: $font-weight-normal;
|
|
154
|
-
line-height: $input-line-height;
|
|
155
|
-
color: $input-group-addon-color;
|
|
156
|
-
text-align: center;
|
|
157
|
-
white-space: nowrap;
|
|
158
|
-
background-color: $input-group-addon-bg;
|
|
159
|
-
border-radius: $input-border-radius;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
// Focus
|
|
164
|
-
.input-group-focus {
|
|
165
|
-
.form-control,
|
|
166
|
-
.input-group-text,
|
|
167
|
-
.input-dropdown {
|
|
168
|
-
border-color: $input-focus-border-color;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
// Sizing
|
|
174
|
-
.input-group-lg > .form-control:not(textarea) {
|
|
175
|
-
height: $input-height-lg;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.input-group-lg > .form-control,
|
|
179
|
-
.input-group-lg > .input-group-text,
|
|
180
|
-
.input-group-lg > .input-dropdown,
|
|
181
|
-
.input-group-lg > .input-group-prepend > .input-group-text,
|
|
182
|
-
.input-group-lg > .input-group-append > .input-group-text,
|
|
183
|
-
.input-group-lg > .input-group-prepend > .input-group-dropdown,
|
|
184
|
-
.input-group-lg > .input-group-append > .input-group-dropdown {
|
|
185
|
-
padding: $input-padding-y-lg $input-padding-x-lg;
|
|
186
|
-
font-size: $input-font-size-lg;
|
|
187
|
-
line-height: $input-line-height-lg;
|
|
188
|
-
border-radius: $input-border-radius-lg;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.input-group-lg > .input-group-prepend > .btn,
|
|
192
|
-
.input-group-lg > .input-group-append > .btn {
|
|
193
|
-
padding: $input-padding-y-lg $input-padding-x-lg;
|
|
194
|
-
font-size: $input-font-size-lg;
|
|
195
|
-
border-radius: $input-border-radius-lg;
|
|
196
|
-
height: $input-height-lg;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.input-group-lg .input-group-dropdown .dropdown {
|
|
200
|
-
margin: -#{$input-padding-y-lg} -#{$input-padding-x-lg};
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.input-group-sm > .form-control:not(textarea) {
|
|
204
|
-
height: $input-height-sm;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.input-group-sm > .form-control,
|
|
208
|
-
.input-group-sm > .input-group-text,
|
|
209
|
-
.input-group-sm > .input-dropdown,
|
|
210
|
-
.input-group-sm > .input-group-prepend > .input-group-text,
|
|
211
|
-
.input-group-sm > .input-group-append > .input-group-text,
|
|
212
|
-
.input-group-sm > .input-group-prepend > .input-group-dropdown,
|
|
213
|
-
.input-group-sm > .input-group-append > .input-group-dropdown {
|
|
214
|
-
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
215
|
-
font-size: $input-font-size-sm;
|
|
216
|
-
line-height: $input-line-height-sm;
|
|
217
|
-
border-radius: $input-border-radius-sm;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.input-group-lg > .input-group-prepend > .btn,
|
|
221
|
-
.input-group-lg > .input-group-append > .btn {
|
|
222
|
-
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
223
|
-
font-size: $input-font-size-sm;
|
|
224
|
-
border-radius: $input-border-radius-sm;
|
|
225
|
-
height: $input-height-sm;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.input-group-sm .input-group-dropdown .dropdown {
|
|
229
|
-
margin: -#{$input-padding-y-sm} -#{$input-padding-x-sm};
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// Prepend and append rounded corners
|
|
234
|
-
// These rulesets must come after the sizing ones to properly override sm and lg
|
|
235
|
-
// border-radius values when extending. They're more specific than we'd like
|
|
236
|
-
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
|
237
|
-
.input-group > .input-group-prepend > .btn,
|
|
238
|
-
.input-group > .input-group-prepend > .input-group-text,
|
|
239
|
-
.input-group > .input-group-prepend > .input-group-dropdown,
|
|
240
|
-
.input-group > .input-group-append:not(:last-child) > .btn,
|
|
241
|
-
.input-group > .input-group-append:not(:last-child) > .input-group-text,
|
|
242
|
-
.input-group > .input-group-append:not(:last-child) > .input-group-dropdown,
|
|
243
|
-
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
|
244
|
-
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child),
|
|
245
|
-
.input-group > .input-group-append:last-child > .input-group-dropdown:not(:last-child) {
|
|
246
|
-
border-top-right-radius: 0;
|
|
247
|
-
border-bottom-right-radius: 0;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.input-group > .input-group-prepend > .input-group-text:not([class*="bg-"]),
|
|
251
|
-
.input-group > .input-group-append:last-child > .input-group-text:not([class*="bg-"]):not(:last-child) {
|
|
252
|
-
padding-right: 0;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.input-group > .input-group-append > .btn,
|
|
256
|
-
.input-group > .input-group-append > .input-group-text,
|
|
257
|
-
.input-group > .input-group-append > .input-group-dropdown,
|
|
258
|
-
.input-group > .input-group-prepend:not(:first-child) > .btn,
|
|
259
|
-
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
|
|
260
|
-
.input-group > .input-group-prepend:not(:first-child) > .input-group-dropdown,
|
|
261
|
-
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
|
|
262
|
-
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
|
|
263
|
-
.input-group > .input-group-prepend:first-child > .input-group-dropdown:not(:first-child) {
|
|
264
|
-
border-top-left-radius: 0;
|
|
265
|
-
border-bottom-left-radius: 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.input-group > .input-group-append > .input-group-text:not([class*="bg-"]),
|
|
269
|
-
.input-group > .input-group-prepend:first-child > .input-group-text:not([class*="bg-"]):not(:first-child) {
|
|
270
|
-
padding-left: 0;
|
|
271
|
-
}
|
package/scss/_list-group.scss
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// List group
|
|
2
|
-
// ---------------------------------------------------------------------------------------------------------------
|
|
3
|
-
|
|
4
|
-
.list-group {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
padding-left: 0;
|
|
8
|
-
margin-bottom: 0;
|
|
9
|
-
margin-top: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.list-group-item {
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
padding: 6px 0;
|
|
16
|
-
line-height: 20px;
|
|
17
|
-
color: $body-color;
|
|
18
|
-
align-items: center;
|
|
19
|
-
flex: 1 0 auto;
|
|
20
|
-
|
|
21
|
-
&.active {
|
|
22
|
-
.list-group-icon.image > .icon {
|
|
23
|
-
color: color('blue');
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
> a {
|
|
28
|
-
display: flex;
|
|
29
|
-
color: inherit;
|
|
30
|
-
align-items: center;
|
|
31
|
-
width: 100%;
|
|
32
|
-
flex: 1 1;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.list-group-icon {
|
|
36
|
-
margin-right: $icon-spacer;
|
|
37
|
-
|
|
38
|
-
&:not(.image) {
|
|
39
|
-
line-height: 20px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.list-group-bordered:not(ul) {
|
|
45
|
-
.list-group-item {
|
|
46
|
-
border-bottom: 1px solid $border-color;
|
|
47
|
-
|
|
48
|
-
&:last-child {
|
|
49
|
-
border-bottom: 0;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
ul.list-group {
|
|
55
|
-
li {
|
|
56
|
-
list-style: none;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
ul.list-group-bordered {
|
|
61
|
-
li {
|
|
62
|
-
line-height: 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.list-group-item {
|
|
66
|
-
border-bottom: 1px solid $border-color;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
li:last-child {
|
|
70
|
-
border-bottom: 0;
|
|
71
|
-
|
|
72
|
-
.list-group-item {
|
|
73
|
-
border-bottom: 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.list-group-inner-spacing {
|
|
79
|
-
.list-group-item {
|
|
80
|
-
padding: 15px;
|
|
81
|
-
}
|
|
82
|
-
}
|