Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2020-08-13 11:49:59 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-08-20 11:55:15 +0300
commit374e2255ab85c889091afd2b96ff2f4445829fa6 (patch)
tree73817bbaec45137918d62342372e77c51f9045db
parent2c9347b87944f9cb60544f556ba7be1d71935c48 (diff)
Rename color variables for alert banner
There's already some banner variables, so rename the alert ones to not confuse between them.
-rw-r--r--content/assets/stylesheets/_variables.scss4
-rw-r--r--content/assets/stylesheets/stylesheet.scss6
2 files changed, 5 insertions, 5 deletions
diff --git a/content/assets/stylesheets/_variables.scss b/content/assets/stylesheets/_variables.scss
index 57435c34..7ecf848e 100644
--- a/content/assets/stylesheets/_variables.scss
+++ b/content/assets/stylesheets/_variables.scss
@@ -174,8 +174,8 @@ $alert-gray-border: $gds-gray-200;
//// end of colors conforming with GitLab Design System ////
// Banner
-$banner-background: #fba225;
-$banner-text: #e14329 !important;
+$alert-banner-background: #fba225;
+$alert-banner-text: #e14329 !important;
// Badges
$badge-gitlab: $color-tanuki-medium;
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 18e0638c..5be4579f 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -916,9 +916,9 @@ a.global-nav-link {
// Start of banner alert box
// https://about.gitlab.com/handbook/markdown-guide/#gitlab-webcast-alert-box
.alert-banner {
- background-color: rgba($banner-background, .3);
- border-color: rgba($banner-background, .3);
- color: $banner-text;
+ background-color: rgba($alert-banner-background, .3);
+ border-color: rgba($alert-banner-background, .3);
+ color: $alert-banner-text;
margin-top: 20px;
i {