|
149 | 149 | color: transparent;
|
150 | 150 | position: relative;
|
151 | 151 | z-index: 999;
|
| 152 | + left: -1px; |
152 | 153 | }
|
153 | 154 |
|
154 | 155 | .pretty i:after {
|
|
166 | 167 | color: inherit;
|
167 | 168 | }
|
168 | 169 |
|
| 170 | +.pretty > input[type='radio'] + label > i.default:before { |
| 171 | + content: '\0000'; |
| 172 | + border-radius: 2px; |
| 173 | + -webkit-transform: scale(0.8); |
| 174 | + -moz-transform: scale(0.8); |
| 175 | + -o-transform: scale(0.8); |
| 176 | + transform: scale(0.8); |
| 177 | + color: transparent; |
| 178 | + background: transparent; |
| 179 | + left: 0; |
| 180 | +} |
| 181 | + |
| 182 | +.pretty > input[type='radio']:checked + label > i.default:before { |
| 183 | + background: #aaa; |
| 184 | +} |
| 185 | + |
169 | 186 | .pretty > input[type='checkbox'][disabled],
|
170 | 187 | .pretty > input[type='radio'][disabled] {
|
171 | 188 | cursor: not-allowed;
|
|
207 | 224 | border-radius: 100px;
|
208 | 225 | }
|
209 | 226 |
|
| 227 | +.pretty.circle label i.default:before { |
| 228 | + border-radius: 100px !important; |
| 229 | +} |
| 230 | + |
210 | 231 | .pretty.primary input:checked + label i:before {
|
211 | 232 | color: #fff;
|
212 | 233 | }
|
|
216 | 237 | border-color: #428bca;
|
217 | 238 | }
|
218 | 239 |
|
| 240 | +.pretty.primary input[type='radio']:checked + label i.default:before { |
| 241 | + background-color: #428bca; |
| 242 | + color: transparent; |
| 243 | +} |
| 244 | + |
| 245 | +.pretty.primary input[type='radio']:checked + label i.default:after { |
| 246 | + background-color: initial; |
| 247 | + border-color: #428bca; |
| 248 | +} |
| 249 | + |
219 | 250 | .pretty.primary.smooth input:checked ~ label i:after {
|
220 | 251 | -webkit-transform: scale(1) !important;
|
221 | 252 | -moz-transform: scale(1) !important;
|
|
260 | 291 | border-color: #5cb85c;
|
261 | 292 | }
|
262 | 293 |
|
| 294 | +.pretty.success input[type='radio']:checked + label i.default:before { |
| 295 | + background-color: #5cb85c; |
| 296 | + color: transparent; |
| 297 | +} |
| 298 | + |
| 299 | +.pretty.success input[type='radio']:checked + label i.default:after { |
| 300 | + background-color: initial; |
| 301 | + border-color: #5cb85c; |
| 302 | +} |
| 303 | + |
263 | 304 | .pretty.success.smooth input:checked ~ label i:after {
|
264 | 305 | -webkit-transform: scale(1) !important;
|
265 | 306 | -moz-transform: scale(1) !important;
|
|
304 | 345 | border-color: #5bc0de;
|
305 | 346 | }
|
306 | 347 |
|
| 348 | +.pretty.info input[type='radio']:checked + label i.default:before { |
| 349 | + background-color: #5bc0de; |
| 350 | + color: transparent; |
| 351 | +} |
| 352 | + |
| 353 | +.pretty.info input[type='radio']:checked + label i.default:after { |
| 354 | + background-color: initial; |
| 355 | + border-color: #5bc0de; |
| 356 | +} |
| 357 | + |
307 | 358 | .pretty.info.smooth input:checked ~ label i:after {
|
308 | 359 | -webkit-transform: scale(1) !important;
|
309 | 360 | -moz-transform: scale(1) !important;
|
|
348 | 399 | border-color: #f0ad4e;
|
349 | 400 | }
|
350 | 401 |
|
| 402 | +.pretty.warning input[type='radio']:checked + label i.default:before { |
| 403 | + background-color: #f0ad4e; |
| 404 | + color: transparent; |
| 405 | +} |
| 406 | + |
| 407 | +.pretty.warning input[type='radio']:checked + label i.default:after { |
| 408 | + background-color: initial; |
| 409 | + border-color: #f0ad4e; |
| 410 | +} |
| 411 | + |
351 | 412 | .pretty.warning.smooth input:checked ~ label i:after {
|
352 | 413 | -webkit-transform: scale(1) !important;
|
353 | 414 | -moz-transform: scale(1) !important;
|
|
392 | 453 | border-color: #d9534f;
|
393 | 454 | }
|
394 | 455 |
|
| 456 | +.pretty.danger input[type='radio']:checked + label i.default:before { |
| 457 | + background-color: #d9534f; |
| 458 | + color: transparent; |
| 459 | +} |
| 460 | + |
| 461 | +.pretty.danger input[type='radio']:checked + label i.default:after { |
| 462 | + background-color: initial; |
| 463 | + border-color: #d9534f; |
| 464 | +} |
| 465 | + |
395 | 466 | .pretty.danger.smooth input:checked ~ label i:after {
|
396 | 467 | -webkit-transform: scale(1) !important;
|
397 | 468 | -moz-transform: scale(1) !important;
|
|
0 commit comments