Skip to content

Commit

Permalink
Change event background-color on :hover
Browse files Browse the repository at this point in the history
  • Loading branch information
skoolbus39 committed Jan 15, 2016
1 parent a581720 commit 9b75115
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions wdn/templates_4.1/scripts/js-css/events-band.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,21 @@
display: flex;
flex: 1;
}

&:hover {

.event {
background-color: @events-blue;
}
}
}

.event {
position: relative;
padding: 0;
transition: background-color .3s ease; // lesshat
overflow: hidden;
background-color: lighten(@events-blue, 2%);
background-color: lighten(@events-blue, 5%);

.flexbox & {
display: flex;
Expand All @@ -74,7 +81,7 @@

.dateTime {
background-color: #0c3e65;
background-color: darken(@events-blue, 10%);
background-color: fadeout(#000, 60%);
float: left;
text-align: center;
width: 30%;
Expand Down

0 comments on commit 9b75115

Please sign in to comment.