Projet

Général

Profil

0001-cd06-ezyservices-fix-custom-radio-checkboxes-size-an.patch

Frédéric Péters, 28 mai 2022 09:36

Télécharger (1,14 ko)

Voir les différences:

Subject: [PATCH 1/2] cd06-ezyservices: fix custom radio/checkboxes size and
 alignment (#65732)

 static/cd06-ezyservices/_custom.scss | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
static/cd06-ezyservices/_custom.scss
179 179
	}
180 180
}
181 181

  
182
.CheckboxWidget,
183
.CheckboxesWidget,
184
.RadiobuttonsWidget {
182
%custom-radio-checkbox-widget {
185 183
	input + span {
186 184
		&::before {
187
			height: 0.86rem;
188
			width: 0.86rem;
189 185
			border: 3px solid $primary-color;
190 186
		}
191 187
		&::after {
192
			height: calc(0.86rem - 3px);
193
			width: calc(0.86rem - 3px);
188
			top: calc(0.33rem + 4px);
189
			left: calc(0.33rem - 1px);
190
		}
191
	}
192
	input {
193
		&:active + span {
194
			&::before {
195
				top: calc(0.33rem - 2px);
196
				left: -2px;
197
			}
194 198
		}
195 199
	}
196 200
}
197
-