From c531035d9ab04c6a771682dd6c6dd9599f22a5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 19 Jun 2019 15:56:41 +0200 Subject: [PATCH] Change color of booking button in pricetable for ski-boarderweek --- .../Resources/Private/Assets/scss/remix/_buttons.scss | 5 +++++ .../Resources/Private/Assets/scss/remix/_colors.scss | 9 +++++---- .../Private/Assets/scss/remix/_colors_boarderweek.scss | 1 + .../ep_theme/Resources/Private/Partials/Pricetable.html | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_buttons.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_buttons.scss index 27be4900..0312d2a4 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_buttons.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_buttons.scss @@ -68,6 +68,11 @@ color: white; } + &--booking { + background-color: $color-button-booking; + color: white; + } + &--action { background-color: $color-label-success; color: white; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors.scss index 61607a4d..579df5f7 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors.scss @@ -1,10 +1,6 @@ $color-brand-primary: #009fe3; $color-brand-secondary: #f9cb0d; -// Buttons -$color-button-background: $color-brand-secondary; -$color-button-foreground: white; - // Bootstrap label colours $color-label-success: #5cb85c; $color-label-info: #5bc0de; @@ -18,6 +14,11 @@ $color-grey: #c7c7c7; $color-font-base: #404040; $color-font-light: $color-grey-dark; +// Buttons +$color-button-background: $color-brand-secondary; +$color-button-foreground: white; +$color-button-booking: $color-label-danger; + // Concepts $color-concept-default: #005ca9; $color-concept-bdg: $color-concept-default; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors_boarderweek.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors_boarderweek.scss index 165b0640..577b379b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors_boarderweek.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/remix/_colors_boarderweek.scss @@ -2,3 +2,4 @@ $color-brand-primary: #f0bc44; $color-button-background: #ee525a; $color-button-foreground: white; +$color-button-booking: $color-label-success; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Pricetable.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Pricetable.html index 447a931e..98fdfa8b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Pricetable.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Pricetable.html @@ -55,7 +55,7 @@ - Buchen + Buchen ausgebucht