Projet

Général

Profil

0001-scss-use-placeholder-selector-for-custom-radio-check.patch

Frédéric Péters, 25 octobre 2021 18:48

Télécharger (3,15 ko)

Voir les différences:

Subject: [PATCH] scss: use placeholder selector (%) for custom
 radio/checkboxes (#58178)

 static/dordogne-cd24/_custom.scss           | 2 +-
 static/grandlyon-glc/_custom.scss           | 2 +-
 static/grenoble-metropole-2019/_custom.scss | 2 +-
 static/includes/_forms.scss                 | 4 ++--
 static/toulouse-metropole/_custom.scss      | 2 +-
 static/toulouse/_custom.scss                | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
static/dordogne-cd24/_custom.scss
40 40
	background: #fff;
41 41
}
42 42

  
43
.custom-radio-checkbox-widget {
43
%custom-radio-checkbox-widget {
44 44
	input + span {
45 45
		padding-left: 1.75rem;
46 46
		&::before {
static/grandlyon-glc/_custom.scss
1 1
@import '../includes/fonts/roboto';
2 2

  
3
.custom-radio-checkbox-widget {
3
%custom-radio-checkbox-widget {
4 4
	input + span {
5 5
		&::before {
6 6
			height: 15px;
static/grenoble-metropole-2019/_custom.scss
70 70
	background-position: 10px center;
71 71
}
72 72

  
73
.custom-radio-checkbox-widget {
73
%custom-radio-checkbox-widget {
74 74
	input + span {
75 75
		&::before {
76 76
			height: 0.86rem;
static/includes/_forms.scss
43 43
$buttons-alignment: null !default; // any flexbox justify-content value;
44 44

  
45 45

  
46
.custom-radio-checkbox-widget {
46
%custom-radio-checkbox-widget {
47 47
	label {
48 48
		position: relative;
49 49
	}
......
504 504
	.CheckboxWidget,
505 505
	.CheckboxesWidget,
506 506
	.RadiobuttonsWidget {
507
		@extend .custom-radio-checkbox-widget;
507
		@extend %custom-radio-checkbox-widget;
508 508
	}
509 509

  
510 510
	.CheckboxWidget {
static/toulouse-metropole/_custom.scss
44 44
	}
45 45
}
46 46

  
47
.custom-radio-checkbox-widget {
47
%custom-radio-checkbox-widget {
48 48
	input + span {
49 49
		&::before {
50 50
			border: none;
static/toulouse/_custom.scss
52 52
	}
53 53
}
54 54

  
55
.custom-radio-checkbox-widget {
55
%custom-radio-checkbox-widget {
56 56
	input + span {
57 57
		&::before {
58 58
			border: none;
59
-