Commit a27ee184284880fcd4bb3958ce12fa8ac6817330
Exists in
master
and in
4 other branches
Merge pull request #823 from kugaevsky/main_menu_styles
CSS fix: main menu buttons dividers
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -195,6 +195,7 @@ nav.main_menu { | @@ -195,6 +195,7 @@ nav.main_menu { | ||
195 | -moz-border-radius-bottomleft: 4px; | 195 | -moz-border-radius-bottomleft: 4px; |
196 | border-top-left-radius: 4px; | 196 | border-top-left-radius: 4px; |
197 | border-bottom-left-radius: 4px; | 197 | border-bottom-left-radius: 4px; |
198 | + border-left: 0; | ||
198 | } | 199 | } |
199 | padding: 10px 25px; | 200 | padding: 10px 25px; |
200 | display: inline-block; | 201 | display: inline-block; |
@@ -203,6 +204,9 @@ nav.main_menu { | @@ -203,6 +204,9 @@ nav.main_menu { | ||
203 | margin: 0; | 204 | margin: 0; |
204 | float:left; | 205 | float:left; |
205 | text-shadow:0 1px 1px white; | 206 | text-shadow:0 1px 1px white; |
207 | + border-right: 1px solid #DDD; | ||
208 | + border-left: 1px solid #EEE; | ||
209 | + | ||
206 | &.home { | 210 | &.home { |
207 | background: url(home_icon.PNG) no-repeat center center; | 211 | background: url(home_icon.PNG) no-repeat center center; |
208 | text-indent:-9999px; | 212 | text-indent:-9999px; |
@@ -215,6 +219,9 @@ nav.main_menu { | @@ -215,6 +219,9 @@ nav.main_menu { | ||
215 | &.current { | 219 | &.current { |
216 | background-color:#D5D5D5; | 220 | background-color:#D5D5D5; |
217 | border-bottom: 2px solid #474D57; | 221 | border-bottom: 2px solid #474D57; |
222 | + border-right: 1px solid #BBB; | ||
223 | + border-left: 1px solid #BBB; | ||
224 | + border-radius: 0 0 1px 1px; | ||
218 | &:first-child{ | 225 | &:first-child{ |
219 | border-bottom:none; | 226 | border-bottom:none; |
220 | } | 227 | } |