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-12 19:39:34 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-08-20 11:43:40 +0300
commitaf60dc91aadde46e08fc58b9a5876f0b7192a66e (patch)
tree4623d3c0ea6c541ea8878973adaa3222fd920b0e /layouts
parent22a05e485c27cd2c4eff8501a80ae1738c8f2d6e (diff)
Change the banner's CSS
Make the banner UI similar to the webcast alert box https://about.gitlab.com/handbook/markdown-guide/#gitlab-webcast-alert-box
Diffstat (limited to 'layouts')
-rw-r--r--layouts/banner.html6
-rw-r--r--layouts/default.html2
2 files changed, 5 insertions, 3 deletions
diff --git a/layouts/banner.html b/layouts/banner.html
index cb59d9a7..77d568eb 100644
--- a/layouts/banner.html
+++ b/layouts/banner.html
@@ -1,8 +1,10 @@
<div class="admonition-wrapper note">
- <div class="admonition alert alert-info">
- Help us understand more about why you're visiting the GitLab documentation.
+ <div class="admonition alert alert-banner">
+ <i class="fa fa-gitlab fa-fw" style="color:rgb(107,79,187); font-size:.85em" aria-hidden="true"></i>&nbsp;&nbsp;
+ Help us understand your experience with GitLab documentation.
<a href="https://gitlab.fra1.qualtrics.com/jfe/form/SV_eGaifkfVJ335st7?source=banner" target="_blank" rel="noopener noreferrer">
Take our 5 minute survey!
</a>
+ &nbsp;&nbsp;<i class="fa fa-gitlab fa-fw" style="color:rgb(107,79,187); font-size:.85em" aria-hidden="true"></i>
</div>
</div>
diff --git a/layouts/default.html b/layouts/default.html
index 30402638..b20e1e12 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -19,7 +19,7 @@
<div id="js-nav-toggle"></div>
</div>
<div class="main class js-main-wrapper">
- <div class="d-none d-lg-block">
+ <div class="d-lg-block">
<%= render '/banner.*' %>
</div>
<div class="d-none d-lg-block">