Skip to content

Commit

Permalink
creativetimofficial#178 - use variable for img path to allow includin…
Browse files Browse the repository at this point in the history
…g material-kit in own scss
  • Loading branch information
Philipp Seßner committed Mar 23, 2020
1 parent 64e40e3 commit c795a66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/css/material-kit.css.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ $icon-color: rgba(0,0,0,0.5) !default;

$mdb-label-color: unquote("rgba(#{$rgb-black}, 0.26)") !default;
$mdb-label-color-toggle-focus: unquote("rgba(#{$rgb-black}, .54)") !default;

$mdb-img-path: '../../img' !default;
4 changes: 2 additions & 2 deletions assets/scss/material-kit/variables/_carousel.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.carousel{
&.carousel-full-navigation{
.left{
cursor: url("../../img/arrow-left.png"), url("../../img/arrow-left.cur"), default !important;
cursor: url($mdb-img-path + "/arrow-left.png"), url($mdb-img-path + "/arrow-left.cur"), default !important;
}
.right{
cursor: url("../../img/arrow-right.png"), url("../../img/arrow-right.cur"), default !important;
cursor: url($mdb-img-path + "/arrow-right.png"), url($mdb-img-path + "/arrow-right.cur"), default !important;
}
}
}

0 comments on commit c795a66

Please sign in to comment.