Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | |
| 2 | /* Functional styling; |
||
| 3 | * These styles are required for noUiSlider to function. |
||
| 4 | * You don't need to change these rules to apply your design. |
||
| 5 | */ |
||
| 6 | .noUi-target, |
||
| 7 | .noUi-target * { |
||
| 8 | -webkit-touch-callout: none; |
||
| 9 | -webkit-user-select: none; |
||
| 10 | -ms-touch-action: none; |
||
| 11 | -ms-user-select: none; |
||
| 12 | -moz-user-select: none; |
||
| 13 | -moz-box-sizing: border-box; |
||
| 14 | box-sizing: border-box; |
||
| 15 | } |
||
| 16 | .noUi-base { |
||
| 17 | width: 100%; |
||
| 18 | height: 100%; |
||
| 19 | position: relative; |
||
| 20 | } |
||
| 21 | .noUi-origin { |
||
| 22 | position: absolute; |
||
| 23 | right: 0; |
||
| 24 | top: 0; |
||
| 25 | left: 0; |
||
| 26 | bottom: 0; |
||
| 27 | } |
||
| 28 | .noUi-handle { |
||
| 29 | position: relative; |
||
| 30 | z-index: 1; |
||
| 31 | } |
||
| 32 | .noUi-stacking .noUi-handle { |
||
| 33 | /* This class is applied to the lower origin when |
||
| 34 | its values is > 50%. */ |
||
| 35 | z-index: 10; |
||
| 36 | } |
||
| 37 | .noUi-stacking + .noUi-origin { |
||
| 38 | /* Fix stacking order in IE7, which incorrectly |
||
| 39 | creates a new context for the origins. */ |
||
| 40 | *z-index: -1; |
||
| 41 | } |
||
| 42 | .noUi-state-tap .noUi-origin { |
||
| 43 | -webkit-transition: left 0.3s, top 0.3s; |
||
| 44 | transition: left 0.3s, top 0.3s; |
||
| 45 | } |
||
| 46 | .noUi-state-drag * { |
||
| 47 | cursor: inherit !important; |
||
| 48 | } |
||
| 49 | |||
| 50 | /* Slider size and handle placement; |
||
| 51 | */ |
||
| 52 | .noUi-horizontal { |
||
| 53 | height: 18px; |
||
| 54 | } |
||
| 55 | .noUi-horizontal .noUi-handle { |
||
| 56 | width: 34px; |
||
| 57 | height: 28px; |
||
| 58 | left: -17px; |
||
| 59 | top: -6px; |
||
| 60 | } |
||
| 61 | .noUi-horizontal.noUi-extended { |
||
| 62 | padding: 0 15px; |
||
| 63 | } |
||
| 64 | .noUi-horizontal.noUi-extended .noUi-origin { |
||
| 65 | right: -15px; |
||
| 66 | } |
||
| 67 | .noUi-vertical { |
||
| 68 | width: 18px; |
||
| 69 | } |
||
| 70 | .noUi-vertical .noUi-handle { |
||
| 71 | width: 28px; |
||
| 72 | height: 34px; |
||
| 73 | left: -6px; |
||
| 74 | top: -17px; |
||
| 75 | } |
||
| 76 | .noUi-vertical.noUi-extended { |
||
| 77 | padding: 15px 0; |
||
| 78 | } |
||
| 79 | .noUi-vertical.noUi-extended .noUi-origin { |
||
| 80 | bottom: -15px; |
||
| 81 | } |
||
| 82 | |||
| 83 | /* Styling; |
||
| 84 | */ |
||
| 85 | .noUi-background { |
||
| 86 | background: #FAFAFA; |
||
| 87 | } |
||
| 88 | .noUi-connect { |
||
| 89 | background: #3FB8AF; |
||
| 90 | -webkit-transition: background 450ms; |
||
| 91 | transition: background 450ms; |
||
| 92 | } |
||
| 93 | .noUi-origin { |
||
| 94 | border-radius: 2px; |
||
| 95 | } |
||
| 96 | .noUi-target { |
||
| 97 | border-radius: 4px; |
||
| 98 | border: 1px solid #D3D3D3; |
||
| 99 | } |
||
| 100 | .noUi-target.noUi-connect { |
||
| 101 | } |
||
| 102 | |||
| 103 | /* Handles and cursors; |
||
| 104 | */ |
||
| 105 | .noUi-dragable { |
||
| 106 | cursor: w-resize; |
||
| 107 | } |
||
| 108 | .noUi-vertical .noUi-dragable { |
||
| 109 | cursor: n-resize; |
||
| 110 | } |
||
| 111 | .noUi-handle { |
||
| 112 | border: 1px solid #D9D9D9; |
||
| 113 | border-radius: 3px; |
||
| 114 | background: #FFF; |
||
| 115 | cursor: default; |
||
| 116 | } |
||
| 117 | .noUi-active { |
||
| 118 | } |
||
| 119 | |||
| 120 | /* Handle stripes; |
||
| 121 | */ |
||
| 122 | .noUi-handle:before, |
||
| 123 | .noUi-handle:after { |
||
| 124 | content: ""; |
||
| 125 | display: block; |
||
| 126 | position: absolute; |
||
| 127 | height: 14px; |
||
| 128 | width: 1px; |
||
| 129 | background: #E8E7E6; |
||
| 130 | left: 14px; |
||
| 131 | top: 6px; |
||
| 132 | } |
||
| 133 | .noUi-handle:after { |
||
| 134 | left: 17px; |
||
| 135 | } |
||
| 136 | .noUi-vertical .noUi-handle:before, |
||
| 137 | .noUi-vertical .noUi-handle:after { |
||
| 138 | width: 14px; |
||
| 139 | height: 1px; |
||
| 140 | left: 6px; |
||
| 141 | top: 14px; |
||
| 142 | } |
||
| 143 | .noUi-vertical .noUi-handle:after { |
||
| 144 | top: 17px; |
||
| 145 | } |
||
| 146 | |||
| 147 | /* Disabled state; |
||
| 148 | */ |
||
| 149 | [disabled].noUi-connect, |
||
| 150 | [disabled] .noUi-connect { |
||
| 151 | background: #B8B8B8; |
||
| 152 | } |
||
| 153 | [disabled] .noUi-handle { |
||
| 154 | cursor: not-allowed; |
||
| 155 | } |