Projet

Général

Profil

0001-scss-add-active-style-to-custom-check-radio-boxes-35.patch

Frédéric Péters, 12 août 2019 08:37

Télécharger (1,02 ko)

Voir les différences:

Subject: [PATCH] scss: add :active style to custom check/radio boxes (#35359)

 static/includes/_forms.scss | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
static/includes/_forms.scss
412 412
					outline-offset: $widget-focus-outline-offset;
413 413
				}
414 414
			}
415
			&:active + span {
416
				&::before {
417
					top: calc(0.33rem - 4px);
418
					left: -4px;
419
					border: 5px solid $widget-custom-radio-checkbox-color;
420
					opacity: 0.5;
421
				}
422
			}
415 423
		}
416 424
	}
417 425

  
......
424 432
	.RadiobuttonsWidget {
425 433
		input + span {
426 434
			&::before {
427
				border-radius: 6px;
435
				border-radius: 16px;
428 436
			}
429 437
			&::after {
430 438
				border-radius: 5px;
431
-