Skip to content

Commit

Permalink
unslider dots not compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual Idiot committed Nov 17, 2015
1 parent d323d79 commit 561bf97
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
29 changes: 29 additions & 0 deletions config.codekit
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"outputPathIsSetByUser": 0,
"outputStyle": 1
},
"\/dist\/css\/unslider-dots.css": {
"fileType": 16,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/dist\/css\/unslider-dots.css",
"outputAbbreviatedPath": "No Output Path",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0
},
"\/dist\/css\/unslider.css": {
"fileType": 16,
"ignore": 1,
Expand Down Expand Up @@ -54,6 +63,26 @@
"randomFootnoteNumbers": 0,
"useCompatibilityMode": 0
},
"\/src\/css\/unslider-dots.less": {
"allowInsecureImports": 0,
"createSourceMap": 0,
"disableJavascript": 0,
"fileType": 1,
"ieCompatibility": 1,
"ignore": 0,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/src\/css\/unslider-dots.less",
"outputAbbreviatedPath": "\/dist\/css\/unslider-dots.css",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 1,
"outputStyle": 0,
"relativeURLS": 0,
"shouldRunAutoprefixer": 0,
"shouldRunBless": 0,
"strictImports": 0,
"strictMath": 0,
"strictUnits": 0
},
"\/src\/css\/unslider.less": {
"allowInsecureImports": 0,
"createSourceMap": 0,
Expand Down
33 changes: 33 additions & 0 deletions dist/css/unslider-dots.css
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;
}
18 changes: 18 additions & 0 deletions src/css/unslider-dots.less
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();
// }

0 comments on commit 561bf97

Please sign in to comment.