nice-elements 1.7.6 → 1.7.7
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +47 -46
- package/dist/nice.min.js +1 -1
- package/dist/style.css +52 -11
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-checkbox/nice-checkbox.html +3 -3
- package/src/components/nice-checkbox/nice-checkbox.js +7 -5
- package/src/components/nice-checkbox/nice-checkbox.scss +25 -2
- package/src/components/nice-choice/nice-choice.html +2 -1
- package/src/components/nice-choice/nice-choice.js +34 -35
- package/src/components/nice-choice/nice-choice.scss +34 -10
- package/src/components/nice-dropdown/nice-dropdown.html +1 -2
package/dist/style.css
CHANGED
|
@@ -2183,9 +2183,14 @@ p.nice {
|
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
2185
|
.nice-choice .disabled li:hover .choice-checkbox {
|
|
2186
|
+
cursor: not-allowed;
|
|
2186
2187
|
border-color: #cbd4d9 !important;
|
|
2187
2188
|
}
|
|
2188
2189
|
|
|
2190
|
+
.nice-choice .disabled li:hover .choice-label {
|
|
2191
|
+
color: #404040;
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2189
2194
|
.nice-choice .disabled .selected:hover .choice-checkbox {
|
|
2190
2195
|
border-color: #3189ff !important;
|
|
2191
2196
|
}
|
|
@@ -2195,23 +2200,33 @@ p.nice {
|
|
|
2195
2200
|
}
|
|
2196
2201
|
|
|
2197
2202
|
.nice-choice li {
|
|
2198
|
-
padding: 5px 0px;
|
|
2199
2203
|
cursor: pointer;
|
|
2204
|
+
display: flex;
|
|
2205
|
+
margin-bottom: 10px;
|
|
2206
|
+
padding: 0 !important;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
.nice-choice li:last-child {
|
|
2210
|
+
margin-bottom: 0;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
.nice-choice li:first-child {
|
|
2214
|
+
margin-top: 7px;
|
|
2200
2215
|
}
|
|
2201
2216
|
|
|
2202
2217
|
.nice-choice li .choice-checkbox {
|
|
2203
2218
|
transition: all 0.2s;
|
|
2204
2219
|
background: white;
|
|
2205
2220
|
color: white;
|
|
2206
|
-
width:
|
|
2207
|
-
height:
|
|
2221
|
+
width: 20px;
|
|
2222
|
+
height: 20px;
|
|
2208
2223
|
border: 1px solid #cbd4d9;
|
|
2209
|
-
position: absolute;
|
|
2210
2224
|
border-radius: 3px;
|
|
2211
2225
|
padding: 0;
|
|
2212
2226
|
justify-content: center;
|
|
2213
2227
|
align-items: center;
|
|
2214
2228
|
display: flex;
|
|
2229
|
+
flex-shrink: 0;
|
|
2215
2230
|
}
|
|
2216
2231
|
|
|
2217
2232
|
.nice-choice li .choice-checkbox nice-icon {
|
|
@@ -2219,22 +2234,31 @@ p.nice {
|
|
|
2219
2234
|
}
|
|
2220
2235
|
|
|
2221
2236
|
.nice-choice li .choice-checkbox svg {
|
|
2222
|
-
height:
|
|
2223
|
-
width:
|
|
2224
|
-
|
|
2237
|
+
height: 16px;
|
|
2238
|
+
width: 16px;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
.nice-choice li .choice-checkbox .multiple-circle {
|
|
2242
|
+
height: 8px;
|
|
2243
|
+
width: 8px;
|
|
2244
|
+
border-radius: 50%;
|
|
2245
|
+
background: white;
|
|
2225
2246
|
}
|
|
2226
2247
|
|
|
2227
2248
|
.nice-choice li:hover .choice-checkbox {
|
|
2228
2249
|
border-color: #3189ff;
|
|
2229
2250
|
}
|
|
2230
2251
|
|
|
2252
|
+
.nice-choice li:hover .choice-label {
|
|
2253
|
+
color: #1a1a1a;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2231
2256
|
.nice-choice li .circle {
|
|
2232
2257
|
border-radius: 100px;
|
|
2233
2258
|
}
|
|
2234
2259
|
|
|
2235
2260
|
.nice-choice li .choice-label {
|
|
2236
|
-
margin-left:
|
|
2237
|
-
line-height: 26px;
|
|
2261
|
+
margin-left: 10px;
|
|
2238
2262
|
}
|
|
2239
2263
|
|
|
2240
2264
|
.nice-datetime-picker .dtp-wrapper .dtp div.dtp-date, .nice-datetime-picker .dtp-wrapper .dtp div.dtp-time {
|
|
@@ -4076,6 +4100,7 @@ p.nice {
|
|
|
4076
4100
|
background: transparent;
|
|
4077
4101
|
margin: 0;
|
|
4078
4102
|
padding: 0;
|
|
4103
|
+
flex-shrink: 0;
|
|
4079
4104
|
}
|
|
4080
4105
|
|
|
4081
4106
|
.nice-checkbox .checkbox .check {
|
|
@@ -4095,7 +4120,7 @@ p.nice {
|
|
|
4095
4120
|
}
|
|
4096
4121
|
|
|
4097
4122
|
.nice-checkbox:hover .checkbox {
|
|
4098
|
-
border-color: #
|
|
4123
|
+
border-color: #3189ff;
|
|
4099
4124
|
}
|
|
4100
4125
|
|
|
4101
4126
|
.nice-checkbox:hover .message {
|
|
@@ -4116,7 +4141,23 @@ p.nice {
|
|
|
4116
4141
|
}
|
|
4117
4142
|
|
|
4118
4143
|
.nice-checkbox.checked:hover .checkbox {
|
|
4119
|
-
border-color: #
|
|
4144
|
+
border-color: #3189ff;
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
.nice-checkbox.nice-checkbox-disabled {
|
|
4148
|
+
cursor: not-allowed;
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
.nice-checkbox.nice-checkbox-disabled:hover .checkbox {
|
|
4152
|
+
border-color: #cbd4d9;
|
|
4153
|
+
}
|
|
4154
|
+
|
|
4155
|
+
.nice-checkbox.nice-checkbox-disabled:hover .message {
|
|
4156
|
+
color: #404040;
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
.nice-checkbox.nice-checkbox-disabled.checked:hover .checkbox {
|
|
4160
|
+
border-color: #cbd4d9;
|
|
4120
4161
|
}
|
|
4121
4162
|
|
|
4122
4163
|
.nice-upload {
|