Commit 1efeb1b562cd9c8e2e460d2753da5bb2f5978bfd
1 parent
32a5548c
Exists in
master
and in
4 other branches
redesign mars theme a bit. Better border color for search-input for dark theme
Showing
2 changed files
with
8 additions
and
16 deletions
Show diff stats
app/assets/stylesheets/sections/header.scss
@@ -227,6 +227,7 @@ header { | @@ -227,6 +227,7 @@ header { | ||
227 | .search-input { | 227 | .search-input { |
228 | background-color: #D2D5DA; | 228 | background-color: #D2D5DA; |
229 | background-color: rgba(255, 255, 255, 0.5); | 229 | background-color: rgba(255, 255, 255, 0.5); |
230 | + border: 1px solid #AAA; | ||
230 | 231 | ||
231 | &:focus { | 232 | &:focus { |
232 | background-color: white; | 233 | background-color: white; |
app/assets/stylesheets/themes/ui_mars.scss
@@ -16,25 +16,16 @@ | @@ -16,25 +16,16 @@ | ||
16 | @extend .header-dark; | 16 | @extend .header-dark; |
17 | &.navbar-gitlab { | 17 | &.navbar-gitlab { |
18 | .navbar-inner { | 18 | .navbar-inner { |
19 | - background: #474D57 url('bg-header.png') repeat-x bottom; | ||
20 | - border-bottom: 1px solid #444; | ||
21 | - } | ||
22 | - } | ||
23 | - | ||
24 | - .search { | ||
25 | - .search-input { | ||
26 | - border: 1px solid rgba(0, 0, 0, 0.7); | ||
27 | - background-color: #D2D5DA; | ||
28 | - background-color: rgba(255, 255, 255, 0.5); | ||
29 | - | ||
30 | - &:focus { | ||
31 | - background-color: white; | 19 | + background: #474D57; |
20 | + border-bottom: 1px solid #373D47; | ||
21 | + .app_logo { | ||
22 | + &:hover { | ||
23 | + background-color: #373D47; | ||
24 | + } | ||
32 | } | 25 | } |
33 | } | 26 | } |
34 | } | 27 | } |
35 | - .search-input::-webkit-input-placeholder { | ||
36 | - color: #666; | ||
37 | - } | 28 | + |
38 | .separator { | 29 | .separator { |
39 | background: #31363E; | 30 | background: #31363E; |
40 | border-left: 1px solid #666; | 31 | border-left: 1px solid #666; |