Projet

Général

Profil

0001-style-add-support-for-pk-big-button-classes-28737.patch

Frédéric Péters, 07 décembre 2018 10:52

Télécharger (947 octets)

Voir les différences:

Subject: [PATCH] style: add support for pk-(big-)button classes (#28737)

 gadjo/static/css/_portal.scss | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
gadjo/static/css/_portal.scss
49 49
				}
50 50
			}
51 51
		}
52
		a.pk-button, a.pk-big-button {
53
			@extend %button;
54
		}
55
		a.pk-big-button {
56
			padding: 2rem 4rem;
57
		}
58
		&.pk-button, &.pk-big-button {  // when used on link cells
59
			padding: 0;
60
			a {
61
				@extend %button;
62
				text-align: center;
63
				display: block;
64
			}
65
			&.pk-big-button a {
66
				padding: 2rem 4rem;
67
			}
68
		}
52 69
	}
53 70
}
54 71

  
55
-