From 34d7483418997346cbdd5ce1447a46c523a7cf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 7 Dec 2018 10:52:02 +0100 Subject: [PATCH] style: add support for pk-(big-)button classes (#28737) --- gadjo/static/css/_portal.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gadjo/static/css/_portal.scss b/gadjo/static/css/_portal.scss index 4f6ff3d..fba655c 100644 --- a/gadjo/static/css/_portal.scss +++ b/gadjo/static/css/_portal.scss @@ -49,6 +49,23 @@ div#portal-agent-content { } } } + a.pk-button, a.pk-big-button { + @extend %button; + } + a.pk-big-button { + padding: 2rem 4rem; + } + &.pk-button, &.pk-big-button { // when used on link cells + padding: 0; + a { + @extend %button; + text-align: center; + display: block; + } + &.pk-big-button a { + padding: 2rem 4rem; + } + } } } -- 2.20.0.rc2