Skip to content

Commit

Permalink
Add Ion Range slider library
Browse files Browse the repository at this point in the history
  • Loading branch information
haitv282 committed Sep 15, 2017
1 parent eab3f02 commit 5b3b91d
Show file tree
Hide file tree
Showing 13 changed files with 1,349 additions and 2 deletions.
Binary file added view/base/web/css/img/sprite-skin-flat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/base/web/css/img/sprite-skin-modern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/base/web/css/img/sprite-skin-nice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/base/web/css/img/sprite-skin-simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
189 changes: 189 additions & 0 deletions view/base/web/css/ion.rangeSlider.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
/* Ion.RangeSlider
// css version 2.0.3
// © 2013-2014 Denis Ineshin | IonDen.com
// ===================================================================================================================*/

/* =====================================================================================================================
// RangeSlider */

.irs {
position: relative;
display: block;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.irs-line {
position: relative;
display: block;
overflow: hidden;
outline: none !important;
}

.irs-line-left, .irs-line-mid, .irs-line-right {
position: absolute;
display: block;
top: 0;
}

.irs-line-left {
left: 0;
width: 11%;
}

.irs-line-mid {
left: 9%;
width: 82%;
}

.irs-line-right {
right: 0;
width: 11%;
}

.irs-bar {
position: absolute;
display: block;
left: 0;
width: 0;
}

.irs-bar-edge {
position: absolute;
display: block;
top: 0;
left: 0;
}

.irs-shadow {
position: absolute;
display: none;
left: 0;
width: 0;
}

.irs-slider {
position: absolute;
display: block;
cursor: default;
z-index: 1;
}

.irs-slider.single {

}

.irs-slider.from {

}

.irs-slider.to {

}

.irs-slider.type_last {
z-index: 2;
}

.irs-min {
position: absolute;
display: block;
left: 0;
cursor: default;
}

.irs-max {
position: absolute;
display: block;
right: 0;
cursor: default;
}

.irs-from, .irs-to, .irs-single {
position: absolute;
display: block;
top: 0;
left: 0;
cursor: default;
white-space: nowrap;
}

.irs-grid {
position: absolute;
display: none;
bottom: 0;
left: 0;
width: 100%;
height: 20px;
}

.irs-with-grid .irs-grid {
display: block;
}

.irs-grid-pol {
position: absolute;
top: 0;
left: 0;
width: 1px;
height: 8px;
background: #000;
}

.irs-grid-pol.small {
height: 4px;
}

.irs-grid-text {
position: absolute;
bottom: 0;
left: 0;
white-space: nowrap;
text-align: center;
font-size: 9px;
line-height: 9px;
padding: 0 3px;
color: #000;
}

.irs-disable-mask {
position: absolute;
display: block;
top: 0;
left: -1%;
width: 102%;
height: 100%;
cursor: default;
background: rgba(0, 0, 0, 0.0);
z-index: 2;
}

.irs-disabled {
opacity: 0.4;
}

.lt-ie9 .irs-disabled {
filter: alpha(opacity=40);
}

.irs-hidden-input {
position: absolute !important;
display: block !important;
top: 0 !important;
left: 0 !important;
width: 0 !important;
height: 0 !important;
font-size: 0 !important;
line-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
outline: none !important;
z-index: -9999 !important;
background: none !important;
border-style: solid !important;
border-color: transparent !important;
}
127 changes: 127 additions & 0 deletions view/base/web/css/skin/ion.rangeSlider.skinFlat.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/* Ion.RangeSlider, Flat UI Skin
// css version 2.0.3
// © Denis Ineshin, 2014 https://github.com/IonDen
// ===================================================================================================================*/

/* =====================================================================================================================
// Skin details */

.irs-line-mid,
.irs-line-left,
.irs-line-right,
.irs-bar,
.irs-bar-edge,
.irs-slider {
background: url(../img/sprite-skin-flat.png) repeat-x;
}

.irs {
height: 40px;
}

.irs-with-grid {
height: 60px;
}

.irs-line {
height: 12px;
top: 25px;
}

.irs-line-left {
height: 12px;
background-position: 0 -30px;
}

.irs-line-mid {
height: 12px;
background-position: 0 0;
}

.irs-line-right {
height: 12px;
background-position: 100% -30px;
}

.irs-bar {
height: 12px;
top: 25px;
background-position: 0 -60px;
}

.irs-bar-edge {
top: 25px;
height: 12px;
width: 9px;
background-position: 0 -90px;
}

.irs-shadow {
height: 3px;
top: 34px;
background: #000;
opacity: 0.25;
}

.lt-ie9 .irs-shadow {
filter: alpha(opacity=25);
}

.irs-slider {
width: 16px;
height: 18px;
top: 22px;
background-position: 0 -120px;
}

.irs-slider.state_hover, .irs-slider:hover {
background-position: 0 -150px;
}

.irs-min, .irs-max {
color: #999;
font-size: 10px;
line-height: 1.333;
text-shadow: none;
top: 0;
padding: 1px 3px;
background: #e1e4e9;
-moz-border-radius: 4px;
border-radius: 4px;
}

.irs-from, .irs-to, .irs-single {
color: #fff;
font-size: 10px;
line-height: 1.333;
text-shadow: none;
padding: 1px 5px;
background: #ed5565;
-moz-border-radius: 4px;
border-radius: 4px;
}

.irs-from:after, .irs-to:after, .irs-single:after {
position: absolute;
display: block;
content: "";
bottom: -6px;
left: 50%;
width: 0;
height: 0;
margin-left: -3px;
overflow: hidden;
border: 3px solid transparent;
border-top-color: #ed5565;
}

.irs-grid-pol {
background: #e1e4e9;
}

.irs-grid-text {
color: #999;
}

.irs-disabled {
}
Loading

0 comments on commit 5b3b91d

Please sign in to comment.