summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/vendor/easy-slider/_numeric.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/vendor/easy-slider/_numeric.scss')
-rw-r--r--app/assets/stylesheets/vendor/easy-slider/_numeric.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/app/assets/stylesheets/vendor/easy-slider/_numeric.scss b/app/assets/stylesheets/vendor/easy-slider/_numeric.scss
new file mode 100644
index 0000000..db61e78
--- /dev/null
+++ b/app/assets/stylesheets/vendor/easy-slider/_numeric.scss
@@ -0,0 +1,44 @@
+//
+// @TODO: Add docs to easy-slider-numeric!
+//
+@mixin easy-slider-numeric($width, $height, $selector:'#slider') {
+ #{$selector} {
+ & ul, & li {
+ margin:0;
+ padding:0;
+ list-style:none;
+ }
+ & li {
+ width:$width;
+ height:$height;
+ overflow:hidden;
+ }
+ }
+ @include _numeric-controls();
+}
+
+// You can override this function to alter the appearance of the numeric controls.
+@mixin _numeric-controls() {
+ #controls{
+ margin:10px 0;
+ line-height:28px;
+ list-style:none;
+ text-align:right;
+ li {
+ @include inline-block;
+ margin:0 0 0 10px;
+ }
+ .current a {
+ background:#FFFFFF;
+ color:#C80111;
+ @include box-shadow(0px 0px 3px #B2B2B2);
+ padding:6px 11px; // Simulate "hover"
+ }
+ a {
+ padding:5px 10px;
+ background:#F5F5F5;
+ border: 1px solid #AEAEAE;
+ color: #7F7F7F;
+ }
+ }
+} \ No newline at end of file