summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-23 13:44:45 +0100
committerPhil Hughes <me@iamphill.com>2017-06-23 13:44:57 +0100
commit5a93b6f2f3d1daf941be00c0ecd89c10e2c73607 (patch)
treeeff2838cc6773b2686fa1ee398d605b7fb00a130
parentc516ed4ed27e482200cd42828de2e706b238d852 (diff)
downloadgitlab-ce-5a93b6f2f3d1daf941be00c0ecd89c10e2c73607.tar.gz
fixed `This project` badge background & text color
-rw-r--r--app/assets/stylesheets/new_nav.scss12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/stylesheets/new_nav.scss b/app/assets/stylesheets/new_nav.scss
index 3c086ef15d1..8f0e14538d5 100644
--- a/app/assets/stylesheets/new_nav.scss
+++ b/app/assets/stylesheets/new_nav.scss
@@ -211,8 +211,11 @@ header.navbar-gitlab-new {
}
.location-badge {
- color: $white-light;
- background-color: $purple-900;
+ font-size: 12px;
+ color: rgba($white-light, .6);
+ background-color: $purple-800;
+ transition: color 0.15s;
+ will-change: color;
}
.search-input-wrap {
@@ -222,6 +225,11 @@ header.navbar-gitlab-new {
}
&.search-active {
+ .location-badge {
+ color: $white-light;
+ background-color: $purple-800;
+ }
+
.search-input-wrap {
.search-icon {
color: rgba($white-light, .6);