This commit is contained in:
2018-09-13 01:50:00 -07:00
parent ca7a7a8a58
commit a7716a08cc
11 changed files with 5608 additions and 43 deletions

View File

@@ -0,0 +1,119 @@
/**
*
* Main stylesheet for Powerange.
* http://abpetkov.github.io/powerange/
*
*/
/**
* Horizontal slider style (default).
*/
.range-bar {
background-color: #a9acb1;
border-radius: 15px;
display: block;
height: 4px;
position: relative;
width: 100%;
}
.range-quantity {
background-color: #017afd;
border-radius: 15px;
display: block;
height: 100%;
width: 0;
}
.range-handle {
background-color: #fff;
border-radius: 100%;
cursor: move;
height: 30px;
left: 0;
top: -13px;
position: absolute;
width: 30px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.range-min,
.range-max {
color: #181819;
font-size: 12px;
height: 20px;
padding-top: 4px;
position: absolute;
text-align: center;
top: -9px;
width: 24px;
}
.range-min {
left: -30px;
}
.range-max {
right: -30px;
}
/**
* Vertical slider style.
*/
.vertical {
height: 100%;
width: 4px;
}
.vertical .range-quantity {
bottom: 0;
height: 0;
position: absolute;
width: 100%;
}
.vertical .range-handle {
bottom: 0;
left: -13px;
top: auto;
}
.vertical .range-min,
.vertical .range-max {
left: -10px;
right: auto;
top: auto;
}
.vertical .range-min {
bottom: -30px;
}
.vertical .range-max {
top: -30px;
}
/**
* Style for disabling text selection on handle move.
*/
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/**
* Style for handle cursor on disabled slider.
*/
.range-disabled {
cursor: default;
}

File diff suppressed because it is too large Load Diff

1
web/lib/powerange/powerange.min.css vendored Normal file
View File

@@ -0,0 +1 @@
.range-bar{background-color:#a9acb1;border-radius:15px;display:block;height:4px;position:relative;width:100%}.range-quantity{background-color:#017afd;border-radius:15px;display:block;height:100%;width:0}.range-handle{background-color:#fff;border-radius:100%;cursor:move;height:30px;left:0;top:-13px;position:absolute;width:30px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.range-min,.range-max{color:#181819;font-size:12px;height:20px;padding-top:4px;position:absolute;text-align:center;top:-9px;width:24px}.range-min{left:-30px}.range-max{right:-30px}.vertical{height:100%;width:4px}.vertical .range-quantity{bottom:0;height:0;position:absolute;width:100%}.vertical .range-handle{bottom:0;left:-13px;top:auto}.vertical .range-min,.vertical .range-max{left:-10px;right:auto;top:auto}.vertical .range-min{bottom:-30px}.vertical .range-max{top:-30px}.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.range-disabled{cursor:default}

1
web/lib/powerange/powerange.min.js vendored Normal file

File diff suppressed because one or more lines are too long