Skip to content

Commit

Permalink
Fix that error
Browse files Browse the repository at this point in the history
ActionView::Template::Error (Invalid CSS after "      &": expected "{", was "hover {"
  • Loading branch information
Kouichi Kishikami authored and steveyken committed Aug 29, 2012
1 parent 0151b38 commit dd8f025
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ ul li {
//------------------------------------------------------------------------------
a {
text-decoration: none;
&link, &visited {
&:link, &:visited {
color: $color_link; }
&hover {
&:hover {
background: $color_link_hover_background;
color: $color_link_hover; }
img {
Expand All @@ -70,7 +70,7 @@ a {
border-bottom: 1px dotted darkcyan;
color: darkcyan;
text-decoration: none;
&hover {
&:hover {
background: $color_body;
border-bottom: 1px dotted darkblue;
color: darkblue; } } }
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $color_footer: grey;
color: lightyellow;
padding: 1px 4px 2px 4px;
text-decoration: none;
&hover {
&:hover {
background: $color_header_background;
color: yellow; } }
a.selected {
Expand Down Expand Up @@ -75,7 +75,7 @@ $color_footer: grey;
padding: 0px 0px 4px 0px;
&.selected {
color: navy; }
&hover {
&:hover {
background: steelblue; } } }
#jumpbox_label {
color: white; }
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/rails.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ div {
text-decoration: none;
color: #105cb6;
border: 1px solid #9aafe5;
&hover, &focus {
&.hover, &.focus {
color: navy;
background: lightyellow;
border-color: navy; } }
Expand Down

0 comments on commit dd8f025

Please sign in to comment.