Projet

Général

Profil

0004-scss-replace-pk-button-compound-selector-by-a-simple.patch

Frédéric Péters, 01 mars 2020 10:04

Télécharger (1,22 ko)

Voir les différences:

Subject: [PATCH 4/7] scss: replace pk-button compound selector by a simple one
 (#25297)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

required for sassc ≥ 3.6.1
 static/includes/_library.scss | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
static/includes/_library.scss
15 15
$table-headers-text-transform: $title-transform !default;
16 16
$table-headers-font-family: $title-font-family !default;
17 17

  
18
a.pk-button {
19
	@extend button.ui-button;
18
a.pk-button, a.pk-big-button {
19
	@extend %button;
20 20
	display: inline-block;
21
	padding: 0.5rem 1rem;
22 21
	margin: 0;
23 22
	height: auto;
24
}
25

  
26
a.pk-big-button {
27
	@extend a.pk-button;
28
	padding: 2rem 4rem;
23
	&.pk-button {
24
		padding: 0.5rem 1rem;
25
	}
26
	&.pk-big-button {
27
		padding: 2rem 4rem;
28
	}
29 29
}
30 30

  
31 31
.gru-content div.cell {
32
-