Commit 5e1b9360b45a261e2cc6af537ef442a4b14dd615
1 parent
cd06d6ed
Exists in
master
and in
4 other branches
main menu css updated
Showing
1 changed file
with
6 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -234,12 +234,11 @@ header { | @@ -234,12 +234,11 @@ header { | ||
234 | * | 234 | * |
235 | */ | 235 | */ |
236 | nav.main_menu { | 236 | nav.main_menu { |
237 | - overflow:hidden; | ||
238 | border-radius: 4px; | 237 | border-radius: 4px; |
239 | margin: auto; | 238 | margin: auto; |
240 | margin:30px $app_padding; | 239 | margin:30px $app_padding; |
241 | background:#eee; | 240 | background:#eee; |
242 | - border:1px solid #ccc; | 241 | + border:1px solid #bbb; |
243 | height:38px; | 242 | height:38px; |
244 | background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); | 243 | background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); |
245 | background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf); | 244 | background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf); |
@@ -268,7 +267,6 @@ nav.main_menu { | @@ -268,7 +267,6 @@ nav.main_menu { | ||
268 | padding: 10px 25px; | 267 | padding: 10px 25px; |
269 | display: inline-block; | 268 | display: inline-block; |
270 | color: $style_color; | 269 | color: $style_color; |
271 | - border-right: 1px solid #d5d5d5; | ||
272 | position: relative; | 270 | position: relative; |
273 | box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1); | 271 | box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1); |
274 | margin: 0; | 272 | margin: 0; |
@@ -284,7 +282,11 @@ nav.main_menu { | @@ -284,7 +282,11 @@ nav.main_menu { | ||
284 | } | 282 | } |
285 | } | 283 | } |
286 | &.current { | 284 | &.current { |
287 | - background-color:#DDD; | 285 | + background-color:#D5D5D5; |
286 | + border-bottom: 2px solid #474D57; | ||
287 | + &:first-child{ | ||
288 | + border-bottom:none; | ||
289 | + } | ||
288 | } | 290 | } |
289 | } | 291 | } |
290 | } | 292 | } |