Project

General

Profile

0001-scss-remove-duplicated-.pk-button-and-.pk-big-button.patch

Corentin Séchet, 10 August 2022 12:13 PM

Download (1.42 KB)

View differences:

Subject: [PATCH] scss: remove duplicated .pk-button and .pk-big-button
 selectors (#67858)

 static/includes/_library.scss | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
static/includes/_library.scss
17 17
$table-headers-text-transform: $title-transform !default;
18 18
$table-headers-font-family: $title-font-family !default;
19 19

  
20
a.pk-button, a.pk-big-button {
21
	@extend %button;
22
	display: inline-block;
23
	margin: 0;
24
	height: auto;
20
a {
21
	&.pk-button, &.pk-big-button {
22
		@extend %button;
23
		display: inline-block;
24
		margin: 0;
25
		height: auto;
26
	}
27

  
25 28
	&.pk-button {
26 29
		padding: 0.5rem 1rem;
27 30
	}
......
30 33
	}
31 34
}
32 35

  
33
div.link-cell.pk-button,
34
div.link-cell.pk-big-button {
35
	ul > li > a {
36
		@extend %button;
37
		display: block;
38
		margin: 0;
39
		height: auto;
36
div.link-cell {
37
	&.pk-button, &.pk-big-button {
38
		ul > li > a {
39
			@extend %button;
40
			display: block;
41
			margin: 0;
42
			height: auto;
43
		}
40 44
	}
45

  
41 46
	&.pk-button ul > li > a {
42 47
		padding: 0.5rem 1rem;
43 48
	}
44
-