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:
authorSarah German <sgerman@gitlab.com>2022-04-29 22:58:33 +0300
committerSarah German <sgerman@gitlab.com>2022-04-29 22:58:33 +0300
commit72560326e48b7984cb3453c11b1dc5e7c63bfe44 (patch)
tree7a10ca812cbc49fe41cab015b8915fa86bbbd340
parent2ff53ada029f0cda9b5ecd311aea059c191bd203 (diff)
Use bootstrap border-color utility class1169-cobranding
-rw-r--r--content/assets/stylesheets/stylesheet.scss9
-rw-r--r--layouts/header.html2
2 files changed, 6 insertions, 5 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 87c00033..670cf01c 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -272,10 +272,6 @@ ol {
.navbar-brand {
font-size: 1rem;
-
- .border-left {
- border-color: rgba($white, 0.32) !important;
- }
}
.btn {
@@ -297,6 +293,11 @@ ol {
}
}
+ /* Override Bootstrap theme color */
+ .border-light {
+ border-color: rgba($white, 0.32) !important;
+ }
+
.nav-item {
margin-bottom: 0;
font-size: 0.875rem;
diff --git a/layouts/header.html b/layouts/header.html
index 600ff43d..742f0b1e 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -1,7 +1,7 @@
<nav class="navbar navbar-expand-md navbar-dark py-lg-0 fixed-top">
<a class="navbar-brand d-flex align-items-center justify-content-center" href="/">
<img src="<%= @items['/assets/images/gitlab-logo-header.svg'].path %>" alt="GitLab documentation home" class="logo" />
- <span class="border-left ml-2 pl-2">Docs</strong>
+ <span class="border-left border-light ml-2 pl-2">Docs</strong>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>