benivo-ui-library 1.7.41 → 1.7.43
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/button.less +25 -6
- package/fantasyButton.less +26 -10
- package/package.json +1 -1
package/button.less
CHANGED
|
@@ -153,6 +153,25 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
+
&.btn-link {
|
|
157
|
+
color: @link-color;
|
|
158
|
+
border: none;
|
|
159
|
+
|
|
160
|
+
.bn-spinner {
|
|
161
|
+
div {
|
|
162
|
+
border-color: @link-color transparent transparent transparent;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.btn-icon {
|
|
167
|
+
color: @link-color;
|
|
168
|
+
|
|
169
|
+
&:before {
|
|
170
|
+
color: @link-color;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
156
175
|
&.bg-grey {
|
|
157
176
|
border: 1px solid #CED0DA !important;
|
|
158
177
|
background-color: #CED0DA !important;
|
|
@@ -201,7 +220,7 @@
|
|
|
201
220
|
&.btn-with-icon {
|
|
202
221
|
.btn-icon {
|
|
203
222
|
border-right: 0;
|
|
204
|
-
font-size: @extra-small-font-size
|
|
223
|
+
font-size: @extra-small-font-size !important;
|
|
205
224
|
margin: -0.5rem 0.7rem -0.5rem 0.7rem;
|
|
206
225
|
}
|
|
207
226
|
|
|
@@ -316,13 +335,13 @@
|
|
|
316
335
|
}
|
|
317
336
|
|
|
318
337
|
&.has-error {
|
|
319
|
-
border-color: @error-color
|
|
338
|
+
border-color: @error-color !important;
|
|
320
339
|
}
|
|
321
340
|
|
|
322
341
|
&.btn-danger {
|
|
323
|
-
color: @white
|
|
324
|
-
border-color: @error-color
|
|
325
|
-
background-color: @error-color
|
|
342
|
+
color: @white !important;
|
|
343
|
+
border-color: @error-color !important;
|
|
344
|
+
background-color: @error-color !important;
|
|
326
345
|
}
|
|
327
346
|
}
|
|
328
347
|
|
|
@@ -463,4 +482,4 @@
|
|
|
463
482
|
border-color: @secondary-btn-text-color transparent transparent transparent;
|
|
464
483
|
}
|
|
465
484
|
}
|
|
466
|
-
}
|
|
485
|
+
}
|
package/fantasyButton.less
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
padding: 0;
|
|
4
4
|
border: 0 !important;
|
|
5
5
|
border-color: unset !important;
|
|
6
|
-
|
|
7
|
-
.icon-side {
|
|
8
|
-
.border-radius(4px 0 0 4px);
|
|
9
|
-
}
|
|
10
6
|
}
|
|
11
7
|
|
|
12
8
|
display: flex;
|
|
@@ -26,6 +22,7 @@
|
|
|
26
22
|
|
|
27
23
|
&.loading {
|
|
28
24
|
background-color: @yellow !important;
|
|
25
|
+
justify-content: inherit;
|
|
29
26
|
|
|
30
27
|
.text-side {
|
|
31
28
|
.text-list {
|
|
@@ -57,12 +54,18 @@
|
|
|
57
54
|
.icon-side {
|
|
58
55
|
background: rgba(0,0,0,0.2);
|
|
59
56
|
height: 100%;
|
|
60
|
-
padding: 12px;
|
|
61
|
-
width:
|
|
57
|
+
padding: .938rem 12px;
|
|
58
|
+
width: 40px;
|
|
62
59
|
display: flex;
|
|
63
60
|
justify-content: center;
|
|
64
61
|
align-items: center;
|
|
65
62
|
position: relative;
|
|
63
|
+
.border-radius(@btn-brd-radius 0 0 @btn-brd-radius);
|
|
64
|
+
|
|
65
|
+
@media @lg {
|
|
66
|
+
padding-top: .8rem;
|
|
67
|
+
padding-bottom: .8rem;
|
|
68
|
+
}
|
|
66
69
|
|
|
67
70
|
.btn-icon, .icon-close-icon {
|
|
68
71
|
&::before {
|
|
@@ -76,8 +79,12 @@
|
|
|
76
79
|
display: flex;
|
|
77
80
|
justify-content: center;
|
|
78
81
|
align-items: center;
|
|
79
|
-
padding: 12px;
|
|
80
82
|
width: 80%;
|
|
83
|
+
padding: @btn-lg-padding;
|
|
84
|
+
|
|
85
|
+
@media @lg {
|
|
86
|
+
padding: .8rem 2.1rem;
|
|
87
|
+
}
|
|
81
88
|
|
|
82
89
|
.text-list {
|
|
83
90
|
padding: 0;
|
|
@@ -98,17 +105,26 @@
|
|
|
98
105
|
top: 0;
|
|
99
106
|
bottom: 0;
|
|
100
107
|
width: 100%;
|
|
108
|
+
backface-visibility: hidden;
|
|
101
109
|
transform-origin: 50% 50%;
|
|
102
|
-
transform:
|
|
110
|
+
transform-style: preserve-3d;
|
|
111
|
+
.transform(rotateX(0deg) translateZ(10px));
|
|
103
112
|
|
|
104
113
|
&:nth-child(2) {
|
|
105
|
-
transform
|
|
114
|
+
.transform(rotateX(-90deg) translateZ(10px));
|
|
106
115
|
}
|
|
107
116
|
|
|
108
117
|
&:nth-child(3) {
|
|
109
|
-
transform
|
|
118
|
+
.transform(rotateX(-180deg) translateZ(10px));
|
|
110
119
|
}
|
|
111
120
|
}
|
|
112
121
|
}
|
|
113
122
|
}
|
|
123
|
+
|
|
124
|
+
&:hover {
|
|
125
|
+
background-color: @default-btn-bg-color !important;
|
|
126
|
+
background-image: none !important;
|
|
127
|
+
border-color: @default-btn-brd-color !important;
|
|
128
|
+
color: @default-btn-text-color !important;
|
|
129
|
+
}
|
|
114
130
|
}
|