From 3b7fe1611cea548f538112fb9a59f7a3a338ad5b Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 2 Sep 2020 10:10:58 +0200 Subject: [PATCH] scss: use common button style (#46174) --- static/grandlyon-cut/_custom.scss | 4 ++-- static/grandlyon-cut/_fc.scss | 2 +- static/grandlyon-cut/style.scss | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index ec4876f..ae349d7 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -10,7 +10,7 @@ body { } a.button { - @include button; + @extend %button; } a.support-link { @@ -998,7 +998,7 @@ div.cut-edit { margin: 1ex 0; a { color: #fff; - @include button; + @extend button; &:hover { background: $footer-background; } diff --git a/static/grandlyon-cut/_fc.scss b/static/grandlyon-cut/_fc.scss index ac76871..96d5bbf 100644 --- a/static/grandlyon-cut/_fc.scss +++ b/static/grandlyon-cut/_fc.scss @@ -17,7 +17,7 @@ div.fc-authenticated div#methods { div.fc-connect { margin: 5ex 0; a.button { - @include button; + @extend button; padding: 1rem 5em; } } diff --git a/static/grandlyon-cut/style.scss b/static/grandlyon-cut/style.scss index ef5c939..ac80ab1 100644 --- a/static/grandlyon-cut/style.scss +++ b/static/grandlyon-cut/style.scss @@ -14,8 +14,8 @@ background: transparent; } -@mixin button { - background-color: $button-background; +%button { + @extend %button; text-align: center; padding: 1rem; color: $button-color;