Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build file updated to generate css min and map file
readme options instructions
- Loading branch information
1 parent
c27b936
commit c5081f8
Showing
9 changed files
with
191 additions
and
35 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,63 @@ | ||
/*! mobile-slider - v0.1.0 - 2016-02-04 | ||
/*! mobile-slider - v0.1.0 - 2016-02-05 | ||
* Copyright (c) 2016 Angel Vladov; Licensed MIT */ | ||
.mobile-slider { | ||
display: block; | ||
@media only screen and (min-width: 1025px) { | ||
.slider-nav { | ||
display: none; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 1024px) { | ||
.mobile-slider { | ||
|
||
} | ||
|
||
.mobile-slider .slider-content { | ||
-webkit-overflow-scrolling: touch; | ||
|
||
white-space: nowrap; | ||
overflow-x: auto; | ||
overflow-y: hidden; | ||
padding: 0; | ||
} | ||
|
||
.mobile-slider .slider-content::-webkit-scrollbar { | ||
display: none !important; | ||
} | ||
|
||
.mobile-slider .slider-content li { | ||
display: inline-block; | ||
vertical-align: top; | ||
overflow: visible; | ||
float: none; | ||
/*width: x; // Width will come from the js file. */ | ||
} | ||
|
||
.mobile-slider .slider-nav { | ||
padding-top: 4px; | ||
font-size: 0; | ||
text-align: center; | ||
} | ||
|
||
.mobile-slider .slider-dot { | ||
display: inline-block; | ||
float: none; | ||
margin: 0 6px; | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 10px; | ||
border: 1px solid rgba(0, 0, 0, .2); | ||
background-color: rgba(74, 73, 74, 0.2); | ||
box-sizing: border-box; | ||
|
||
-webkit-transition: all .2s ease-in-out; | ||
transition: all .2s ease-in-out; | ||
} | ||
|
||
.mobile-slider.light-dots .slider-dot { | ||
background-color: rgba(255, 255, 255, .2); | ||
} | ||
|
||
.mobile-slider .slider-nav .slider-dot.active { | ||
background-color: #eac042; | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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