Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
menu borders hover with more contrast between eachother
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntss committed Jun 2, 2016
1 parent 128c76f commit deb502b
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions app/assets/stylesheets/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,53 @@ body.login {
}
}

body:not([class*="login"]) {
.container-fluid aside {
ul {
li:nth-child(8n+1) {
a:hover {
border-left: 5px solid $light-blue;
}
}
li:nth-child(8n+2) {
a:hover {
border-left: 5px solid $yellow;
}
}
li:nth-child(8n+3) {
a:hover {
border-left: 5px solid $dark-green;
}
}
li:nth-child(8n+4) {
a:hover {
border-left: 5px solid $pink;
}
}
li:nth-child(8n+5) {
a:hover {
border-left: 5px solid $blue;
}
}
li:nth-child(8n+6) {
a:hover {
border-left: 5px solid $orange;
}
}
li:nth-child(8n+7) {
a:hover {
border-left: 5px solid $green;
}
}
li:nth-child(8n+8) {
a:hover {
border-left: 5px solid $purple;
}
}
}
}
}

.oops {
padding-top: 2em;
text-align: center;
Expand Down

0 comments on commit deb502b

Please sign in to comment.