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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/framework/brand_logo.scss')
-rw-r--r--app/assets/stylesheets/framework/brand_logo.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/brand_logo.scss b/app/assets/stylesheets/framework/brand_logo.scss
new file mode 100644
index 00000000000..1bc1ef797a7
--- /dev/null
+++ b/app/assets/stylesheets/framework/brand_logo.scss
@@ -0,0 +1,29 @@
+$brand-logo-light-background: #e0dfe5;
+$brand-logo-dark-background: #53515b;
+
+.brand-logo {
+ display: inline-block;
+ @include gl-rounded-base;
+ @include gl-p-2;
+ @include gl-bg-transparent;
+ @include gl-border-none;
+
+ .tanuki-logo {
+ @include gl-vertical-align-middle;
+ }
+
+ &:focus,
+ &:active {
+ @include gl-focus;
+ }
+
+ &:hover,
+ &:focus,
+ &:active {
+ background-color: $brand-logo-light-background;
+
+ .gl-dark & {
+ background-color: $brand-logo-dark-background;
+ }
+ }
+}