first commit

This commit is contained in:
2019-05-25 23:11:05 -04:00
commit 16f48376bc
6139 changed files with 990356 additions and 0 deletions
@@ -0,0 +1,319 @@
/* ------------------------------------------------------------------------------
*
* # ION Range Slider
*
* Styles for ION range slider plugin
*
* Version: 1.1
* Latest update: Mar 10, 2016
*
* ---------------------------------------------------------------------------- */
// Functional styling
// ------------------------------
// Base
.irs {
position: relative;
display: block;
height: @tooltip-arrow-width + (@padding-xs-vertical * 2) + @font-size-mini + (@slider-base-size * 3) + @slider-base-size;
-webkit-touch-callout: none;
.user-select(none);
}
// Hide original input
.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;
}
//
// Background line
//
// Base
.irs-line {
position: relative;
display: block;
overflow: hidden;
outline: none;
height: @slider-base-size;
top: @tooltip-arrow-width + (@padding-xs-vertical * 3) + @font-size-mini + (@slider-base-size);
background-color: @gray-lighter;
border-radius: 100px;
}
// It consists of 3 parts
.irs-line-left,
.irs-line-mid,
.irs-line-right {
position: absolute;
display: block;
top: 0;
}
// Left
.irs-line-left {
left: 0;
width: 11%;
}
// Middle
.irs-line-mid {
left: 9%;
width: 82%;
}
// And right
.irs-line-right {
right: 0;
width: 11%;
}
//
// Colored bar
//
// Base
.irs-bar {
position: absolute;
display: block;
top: @tooltip-arrow-width + (@padding-xs-vertical * 3) + @font-size-mini + (@slider-base-size);
left: 0;
width: 0;
height: @slider-base-size;
background-color: @color-blue-500;
border-radius: 100px;
}
// Edge
.irs-bar-edge {
position: absolute;
display: block;
top: 25px;
left: 0;
height: 12px;
width: 9px;
}
// Shadow for highlight disabled range
.irs-shadow {
position: absolute;
display: none;
top: @tooltip-arrow-width + (@padding-xs-vertical * 3) + @font-size-mini + (@slider-base-size);
left: 0;
width: 0;
height: @slider-base-size;
background-color: @text-color;
border-radius: 100px;
.opacity(0.25);
}
//
// Handles
//
// Base
.irs-slider {
position: absolute;
display: block;
width: (@slider-base-size * 3);
height: (@slider-base-size * 3);
background-color: #fcfcfc;
border: 1px solid #bbb;
cursor: pointer;
top: (@tooltip-arrow-width + (@padding-xs-vertical * 3) + @font-size-mini + (@slider-base-size) - (((@slider-base-size * 3) - @slider-base-size) / 2));
border-radius: 100px;
cursor: pointer;
z-index: 1;
// Small circle
&:after {
content: '';
display: inline-block;
width: @slider-base-size;
height: @slider-base-size;
position: absolute;
top: 50%;
left: 50%;
margin-top: -(@slider-base-size / 2);
margin-left: -(@slider-base-size / 2);
background-color: @color-grey-600;
border-radius: 100px;
}
// Hover state
&:hover,
&:focus {
background-color: #f7f7f7;
}
// Active state
&:active {
background-color: #fafafa;
}
// The last one is on top of the first one
&.type_last {
z-index: 2;
}
}
//
// Tooltips
//
// Base
.irs-min,
.irs-max,
.irs-from,
.irs-to,
.irs-single {
position: absolute;
display: block;
cursor: default;
}
// Minimum and maximum labels
.irs-min,
.irs-max {
color: @text-muted;
font-size: @font-size-mini;
line-height: 1;
top: 0;
padding: @padding-xs-vertical;
background-color: @gray-lighter;
border-radius: @border-radius-small;
}
.irs-min {
left: 0;
}
.irs-max {
right: 0;
}
// Handle tooltips
.irs-from,
.irs-to,
.irs-single {
top: 0;
left: 0;
white-space: nowrap;
color: #fff;
font-size: @font-size-mini;
line-height: 1;
padding: @padding-xs-vertical;
top: 0;
background-color: @tooltip-bg;
border-radius: @border-radius-small;
// Tooltip arrow
&:after {
content: "";
position: absolute;
display: block;
bottom: -(@tooltip-arrow-width * 2);
left: 50%;
width: 0; height: 0;
margin-left: -(@tooltip-arrow-width);
overflow: hidden;
border: @tooltip-arrow-width solid transparent;
border-top-color: @tooltip-bg;
}
}
//
// The grid
//
// Base
.irs-grid {
position: absolute;
display: none;
bottom: 0;
left: 0;
width: 100%;
height: 24px;
}
// If slider has grid
.irs-with-grid {
height: 75px;
// Display grid
.irs-grid {
display: block;
}
}
// Marker
.irs-grid-pol {
position: absolute;
top: 0;
left: 0;
width: 1px;
height: 8px;
background-color: @text-muted;
// Sub marker
&.small {
height: 4px;
}
}
// Text label
.irs-grid-text {
position: absolute;
bottom: 0;
left: 0;
white-space: nowrap;
text-align: center;
font-size: @font-size-mini;
color: @text-muted;
line-height: 1;
padding: 0 3px;
}
//
// Disabled state
//
// Disabled mask
.irs-disable-mask {
position: absolute;
display: block;
top: 0;
left: -1%;
width: 102%;
height: 100%;
cursor: default;
background: transparent;
z-index: 2;
}
// Mute slider if disabled
.irs-disabled {
.opacity(0.6);
}
@@ -0,0 +1,576 @@
/* ------------------------------------------------------------------------------
*
* # NoUI slider
*
* Styles for NoUI range slider plugin
*
* Version: 1.2
* Latest update: Mar 20, 2017
*
* ---------------------------------------------------------------------------- */
// Functional styling
// ------------------------------
// Container
.noUi-target {
border-radius: 100px;
position: relative;
direction: ltr;
background-color: @gray-lighter;
.box-shadow(inset 0 1px 1px fade(#000, 10%));
&,
& * {
.user-select(none);
}
}
// Base
.noUi-base {
width: 100%;
height: 100%;
position: relative;
}
// Slider origin
.noUi-origin {
position: absolute;
height: 0;
width: 0;
border-radius: 100px;
}
// Inherit cursor
.noUi-state-drag * {
cursor: inherit !important;
}
// Connector
.noUi-connect {
position: absolute;
right: 0;
top: 0;
left: 0;
bottom: 0;
background-color: @color-slate-500;
border-radius: 100px;
}
// Disabled state
[disabled] {
// Background
.noUi-target {
.opacity(0.75);
}
// Handle
.noUi-handle {
cursor: @cursor-disabled;
}
}
// Orientations
// ------------------------------
// Horizontal orientation
.noUi-horizontal {
height: @slider-base-size;
.noUi-handle {
top: -(@slider-base-size * 1.5) + (@slider-base-size / 2);
left: -(@slider-base-size * 1.5);
}
&.noUi-extended {
padding: 0 @content-padding-base;
.noUi-connect {
right: -(@content-padding-base);
}
}
// If has pips
&.has-pips {
margin-bottom: 35px;
}
}
// Vertical orientation
.noUi-vertical {
display: inline-block;
width: @slider-base-size;
height: 150px;
& + & {
margin-left: @content-padding-large;
}
.noUi-handle {
top: -(@slider-base-size * 1.5);
left: -(@slider-base-size * 1.5) + (@slider-base-size / 2);
}
&.noUi-extended {
padding: @content-padding-base 0;
.noUi-connect {
bottom: -(@content-padding-base);
}
}
// If has pips
&.has-pips {
margin-right: 35px;
}
}
// Handles and cursors
// ------------------------------
// Draggable
.noUi-dragable {
cursor: w-resize;
.noUi-vertical & {
cursor: n-resize;
}
}
// Handle
.noUi-handle {
width: (@slider-base-size * 3);
height: (@slider-base-size * 3);
background-color: #fcfcfc;
cursor: pointer;
top: -(@slider-base-size);
position: relative;
z-index: 1;
border-radius: 50%;
border: 1px solid #bbb;
.noUi-stacking & {
z-index: 10; // this class is applied to the lower origin when its values is > 50%
}
// Inner circle
&:after {
content: '';
display: inline-block;
width: @slider-base-size;
height: @slider-base-size;
position: absolute;
top: 50%;
left: 50%;
margin-top: -(@slider-base-size / 2);
margin-left: -(@slider-base-size / 2);
background-color: @color-slate-600;
border-radius: 50%;
}
// Hover state
&:hover,
&:focus {
background-color: #f8f8f8;
// Mute circle
&:after {
.opacity(0.9);
}
}
// Active state
&:active {
background-color: #fefefe;
// Mute circle
&:after {
.opacity(0.9);
}
}
}
// White handle
.noui-slider-white .noUi-handle:after {
content: none;
}
// Sizing
// ------------------------------
// Large
.noui-slider-lg {
// Handle
.noUi-handle {
width: (@slider-large-size * 3);
height: (@slider-large-size * 3);
top: -(@slider-large-size);
// Inner circle
&:after {
width: @slider-large-size;
height: @slider-large-size;
margin-top: -(@slider-large-size / 2);
margin-left: -(@slider-large-size / 2);
}
}
// Horizontal
&.noUi-horizontal {
height: @slider-large-size;
.noUi-handle {
left: -(@slider-large-size * 1.5);
}
}
// Vertical
&.noUi-vertical {
width: @slider-large-size;
.noUi-handle {
top: -(@slider-large-size * 1.5);
left: -(@slider-large-size * 1.5) + (@slider-large-size / 2);
}
}
}
// Small and mini have the same handle size
.noui-slider-sm,
.noui-slider-xs {
// Handle
.noUi-handle {
width: (@slider-small-size * 3);
height: (@slider-small-size * 3);
top: -(@slider-small-size);
// Inner circle
&:after {
width: @slider-small-size;
height: @slider-small-size;
margin-top: -(@slider-small-size / 2);
margin-left: -(@slider-small-size / 2);
}
}
}
// Small
.noui-slider-sm {
// Horizontal
&.noUi-horizontal {
height: @slider-small-size;
.noUi-handle {
top: -(@slider-small-size * 1.5) + (@slider-small-size / 2);
left: -(@slider-small-size * 1.5);
}
}
// Vertical
&.noUi-vertical {
width: @slider-small-size;
.noUi-handle {
top: -(@slider-small-size * 1.5);
left: -(@slider-small-size * 1.5) + (@slider-small-size / 2);
}
}
}
// Mini
.noui-slider-xs {
// Horizontal
&.noUi-horizontal {
height: @slider-mini-size;
.noUi-handle {
top: -(@slider-small-size * 1.5) + (@slider-mini-size / 2);
left: -(@slider-small-size * 1.5);
}
}
// Vertical
&.noUi-vertical {
width: @slider-mini-size;
.noUi-handle {
top: -(@slider-small-size * 1.5);
left: -(@slider-small-size * 1.5) + (@slider-mini-size / 2);
}
}
}
// Solid slider handle
// ------------------------------
.noui-slider-solid {
// Handle
.noUi-handle {
background-color: @gray-light;
border-color: @gray-light;
.box-shadow(none);
// Inner circle
&:after {
background-color: #fff;
.transition(opacity ease-in-out 0.2s);
}
// Change circle opacity on hover
&:hover,
&:focus {
&:after {
.opacity(0.75);
}
}
}
// Handle colors
&.noui-slider-primary .noUi-handle {
background-color: @brand-primary;
border-color: @brand-primary;
}
&.noui-slider-danger .noUi-handle {
background-color: @brand-danger;
border-color: @brand-danger;
}
&.noui-slider-success .noUi-handle {
background-color: @brand-success;
border-color: @brand-success;
}
&.noui-slider-warning .noUi-handle {
background-color: @brand-warning;
border-color: @brand-warning;
}
&.noui-slider-info .noUi-handle {
background-color: @brand-info;
border-color: @brand-info;
}
}
// Contextual colors
// ------------------------------
// Primary
.noui-slider-primary {
.noUi-connect,
&.noUi-connect {
background-color: @brand-primary;
}
}
// Danger
.noui-slider-danger {
.noUi-connect,
&.noUi-connect {
background-color: @brand-danger;
}
}
// Success
.noui-slider-success {
.noUi-connect,
&.noUi-connect {
background-color: @brand-success;
}
}
// Warning
.noui-slider-warning {
.noUi-connect,
&.noUi-connect {
background-color: @brand-warning;
}
}
// Info
.noui-slider-info {
.noUi-connect,
&.noUi-connect {
background-color: @brand-info;
}
}
// Tooltip
// ------------------------------
.noUi-tooltip {
display: none;
position: absolute;
border-radius: @border-radius-base;
background: @gray-dark;
color: #fff;
top: -43px;
padding: @padding-base-vertical @padding-base-horizontal;
left: 50%;
margin-left: -27px;
text-align: center;
font-size: @font-size-small;
width: 54px;
&:after {
content: '';
width: 0;
height: 0;
border: 5px solid transparent;
border-top-color: @gray-dark;
position: absolute;
bottom: -10px;
left: 50%;
margin-left: -5px;
}
.noUi-handle:hover & {
display: block;
}
}
// Pips
// ------------------------------
// Base
.noUi-pips {
position: absolute;
color: @text-muted;
}
//
// Values base
//
// Default
.noUi-value {
width: 40px;
position: absolute;
text-align: center;
font-size: @font-size-mini;
}
// Sub
.noUi-value-sub {
color: #ccc;
font-size: @font-size-mini;
}
//
// Markings base
//
.noUi-marker {
position: absolute;
background-color: #ccc;
}
//
// Horizontal layout
//
// Pips
.noUi-pips-horizontal {
padding-top: 10px;
height: 35px;
top: 100%;
left: 0;
width: 100%;
}
// Values
.noUi-value-horizontal {
margin-left: -20px;
padding-top: 15px;
&.noUi-value-sub {
padding-top: 10px;
}
.noUi-rtl & {
margin-left: 0;
margin-right: -20px;
}
}
// Markers
.noUi-marker-horizontal {
// Default marker
&.noUi-marker {
width: 1px;
height: 3px;
}
// Sub marker
&.noUi-marker-sub {
height: 6px;
}
// Large marker
&.noUi-marker-large {
height: 10px;
}
}
//
// Vertical layout
//
// Pips
.noUi-pips-vertical {
padding-left: 10px;
height: 100%;
top: 0;
left: 100%;
}
// Values
.noUi-value-vertical {
width: 15px;
margin-left: 15px;
margin-top: -6px;
.noUi-rtl & {
margin-top: 0;
margin-bottom: -6px;
}
}
// Markers
.noUi-marker-vertical {
// Default marker
&.noUi-marker {
width: 3px;
height: 1px;
}
// Sub marker
&.noUi-marker-sub {
width: 6px;
}
// Large marker
&.noUi-marker-large {
width: 10px;
}
}
@@ -0,0 +1,239 @@
/* ------------------------------------------------------------------------------
*
* # jQuery UI slider pips
*
* Styles for jQuery UI slider pips extension
*
* Version: 1.1
* Latest update: Nov 15, 2015
*
* ---------------------------------------------------------------------------- */
/* # Pips
-------------------------------------------------- */
.ui-slider-pips {
// Horizontal
// ------------------------------
// Increase bottom margin to fit the pips
&.ui-slider-horizontal {
margin-bottom: 32px;
margin-left: 10px;
margin-right: 10px;
}
// Default hide the labels and pips that arnt visible
.ui-slider-label,
.ui-slider-pip-hide {
display: none;
}
// Now we show any labels that we've set to show in the options
.ui-slider-pip-label .ui-slider-label {
display: block;
}
// Pip and label wrapper
.ui-slider-pip {
height: 10px;
line-height: 10px;
font-size: 85%;
width: 20px;
margin-left: -11px;
position: absolute;
overflow: visible;
text-align: center;
top: 20px;
left: 20px;
cursor: pointer;
-webkit-touch-callout: none;
.user-select(none);
&:hover .ui-slider-label {
font-weight: 500;
}
}
// Little pip/line position & size
.ui-slider-line {
background-color: #999;
width: 1px;
height: 3px;
position: absolute;
left: 50%;
}
// Text label postion & size
.ui-slider-label {
position: absolute;
top: 8px;
left: 50%;
width: 20px;
margin-left: -10px;
}
// Vertical
// ------------------------------
// Vertical slider needs right-margin, not bottom
&.ui-slider-vertical {
margin: 10px 40px 10px 10px;
// Align vertical pips left and to right of the slider
.ui-slider-pip {
text-align: left;
top: auto;
left: 18px;
margin-left: 0;
margin-bottom: -4px;
}
// Vertical line/pip should be horizontal instead
.ui-slider-line {
width: 3px;
height: 1px;
position: absolute;
top: 50%;
left: 0;
}
// Text label
.ui-slider-label {
top: 50%;
margin-left: 0;
margin-top: -5px;
width: 20px;
left: 5px;
}
}
}
/* # Tooltips
-------------------------------------------------- */
.ui-slider-float {
// Core and horizontal
// ------------------------------
// Remove the godawful looking focus outline on handle and float
.ui-slider-handle:focus {
&,
.ui-slider-tip,
.ui-slider-tip-label {
outline: 0;
}
}
// Style tooltips on handles and on labels
.ui-slider-tip,
.ui-slider-tip-label {
position: absolute;
visibility: hidden;
top: -45px;
display: block;
width: 34px;
margin-left: -16px;
left: 50%;
height: 30px;
line-height: 32px;
background: @gray-dark;
border-radius: @border-radius-base;
text-align: center;
font-size: @font-size-small;
color: #fff;
.opacity(0);
.transition(all ease-in-out 0.2s 0.2s);
}
// Show the tooltip on hover or focus
.ui-slider-handle:hover .ui-slider-tip,
.ui-slider-handle:focus .ui-slider-tip {
top: -40px;
visibility: visible;
.opacity(1);
.transition-delay(0.2s);
}
// Put label tooltips below slider
.ui-slider-pip {
.ui-slider-tip-label {
top: 42px;
}
&:hover .ui-slider-tip-label {
top: 32px;
font-weight: normal;
}
}
// Give the tooltip a css triangle arrow
.ui-slider-tip:after,
.ui-slider-pip .ui-slider-tip-label:after {
content: '';
width: 0;
height: 0;
border: 5px solid transparent;
border-top-color: @gray-dark;
position: absolute;
bottom: -10px;
left: 50%;
margin-left: -5px;
}
// Floating vertical tooltips
// ------------------------------
// Tooltip floats to left of handle
&.ui-slider-vertical {
.ui-slider-tip,
.ui-slider-tip-label {
top: 50%;
margin-top: -16px;
width: 34px;
margin-left: 0px;
left: -50px;
.transition(all ease-in-out 0.2s 0.2s);
}
.ui-slider-handle:hover .ui-slider-tip,
.ui-slider-handle:focus .ui-slider-tip,
.ui-slider-pip:hover .ui-slider-tip-label,
.ui-slider-pip:focus .ui-slider-tip-label {
top: 50%;
margin-top: -16px;
left: -45px;
}
// Put label tooltips to right of slider
.ui-slider-pip {
.ui-slider-tip-label {
left: 47px;
}
&:hover .ui-slider-tip-label {
left: 37px;
}
}
// Give the tooltip a css triangle arrow
.ui-slider-tip:after,
.ui-slider-pip .ui-slider-tip-label:after {
border-left-color: @gray-dark;
bottom: 9px;
left: auto;
margin-right: -9px;
border-top-color: transparent;
right: 0;
margin-left: 0;
}
}
}