forked from hudsonperalta/Unslider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Visual Idiot
committed
Nov 17, 2015
1 parent
d323d79
commit 561bf97
Showing
3 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Here's where everything gets included. You don't need | ||
* to change anything here, and doing so might break | ||
* stuff. Here be dragons and all that. | ||
*/ | ||
/** | ||
* Default variables | ||
* | ||
* While these can be set with JavaScript, it's probably | ||
* better and faster to just set them here, compile to | ||
* CSS and include that instead to use some of that | ||
* hardware-accelerated goodness. | ||
*/ | ||
.unslider-nav ol { | ||
list-style: none; | ||
text-align: center; | ||
} | ||
.unslider-nav ol li { | ||
display: inline-block; | ||
width: 6px; | ||
height: 6px; | ||
margin: 0 4px; | ||
background: transparent; | ||
border-radius: 5px; | ||
overflow: hidden; | ||
text-indent: -999em; | ||
border: 2px solid #fff; | ||
cursor: pointer; | ||
} | ||
.unslider-nav ol li.unslider-active { | ||
background: #fff; | ||
cursor: default; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Here's where everything gets included. You don't need | ||
* to change anything here, and doing so might break | ||
* stuff. Here be dragons and all that. | ||
*/ | ||
@import 'variables'; | ||
@unslider-dot-navigation: true; | ||
|
||
// Unfortunately, LESS isn't great at conditionals | ||
.use-dots() when (@unslider-dot-navigation = true) { @import 'unslider/dots'; } | ||
.use-dots(); | ||
|
||
// You can also import dots directly yourself to use | ||
// in a more specific selector, like so: | ||
// #demo { | ||
// .use-dots() when (@unslider-dot-navigation = true) { @import 'unslider/dots'; } | ||
// .use-dots(); | ||
// } |