Skip to content

Commit

Permalink
Merge pull request #276 from src-d/carousel-navigation-icons
Browse files Browse the repository at this point in the history
Improves the buttons on Quotes Carousel
  • Loading branch information
eiso authored Aug 29, 2018
2 parents 50da015 + b6e049b commit c3b9dce
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 4 deletions.
14 changes: 14 additions & 0 deletions static/assets/icons/carousel-next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions static/assets/icons/carousel-previous.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 20 additions & 2 deletions static/scss/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 16 additions & 2 deletions static/scss/vendor/_slick.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,14 @@ $slick-opacity-not-active: 0.25 !default;
right: -25px;
}
&:before {
content: "\ea40";
content: '';
background: url(../assets/icons/carousel-previous.svg);
width: 32px;
height: 32px;
display: inline-block;
opacity: 1;
margin-top: -10px;
margin-left: -32px;
[dir="rtl"] & {
content: $slick-next-character;
}
Expand All @@ -110,7 +117,14 @@ $slick-opacity-not-active: 0.25 !default;
right: auto;
}
&:before {
content: "\ea3c";
content: '';
background: url(../assets/icons/carousel-next.svg);
width: 32px;
height: 32px;
display: inline-block;
opacity: 1;
margin-top: -10px;
margin-left: 10px;
[dir="rtl"] & {
content: $slick-prev-character;
}
Expand Down

0 comments on commit c3b9dce

Please sign in to comment.