Add arrow active state
This commit is contained in:
@@ -24,9 +24,13 @@
|
||||
}
|
||||
|
||||
&--right {
|
||||
background: url('/images/arrows/right.png');
|
||||
background-image: url('/images/arrows/right.png');
|
||||
background-position: center right;
|
||||
|
||||
&.arrow--active {
|
||||
background-image: url('/images/arrows/right-active.png');
|
||||
}
|
||||
|
||||
// Cols
|
||||
@for $i from 0 through 3 {
|
||||
&[data-col="#{$i}"] {
|
||||
@@ -36,9 +40,13 @@
|
||||
}
|
||||
|
||||
&--left {
|
||||
background: url('/images/arrows/left.png');
|
||||
background-image: url('/images/arrows/left.png');
|
||||
background-position: center left;
|
||||
|
||||
&.arrow--active {
|
||||
background-image: url('/images/arrows/left-active.png');
|
||||
}
|
||||
|
||||
// Cols
|
||||
@for $i from 0 through 3 {
|
||||
&[data-col="#{$i}"] {
|
||||
@@ -49,9 +57,13 @@
|
||||
|
||||
&--down {
|
||||
width: $arrow-width;
|
||||
background: url('/images/arrows/down.png');
|
||||
background-image: url('/images/arrows/down.png');
|
||||
background-position: center bottom;
|
||||
|
||||
&.arrow--active {
|
||||
background-image: url('/images/arrows/down-active.png');
|
||||
}
|
||||
|
||||
// Rows
|
||||
@for $i from 0 through 6 {
|
||||
&[data-row="#{$i}"] {
|
||||
|
||||
Reference in New Issue
Block a user