Debian Codegraph @

inst/www/shared/ionrangeslider/scss/_base.scss

raw
1 @import "_mixins";
2
3 .irs {
4 @include pos-r();
5 -webkit-touch-callout: none;
6 @include no-click();
7 /* https://github.com/rstudio/shiny/issues/3443 */
8 /* https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
9 box-sizing: border-box;
10 *, *:before, *:after {
11 box-sizing: inherit;
12 }
13
14 &-line {
15 @include pos-r();
16 overflow: hidden;
17 outline: none !important;
18 }
19
20 &-bar {
21 @include pos-a();
22 left: 0;
23 width: 0;
24 }
25
26 &-shadow {
27 position: absolute;
28 display: none;
29 left: 0;
30 width: 0;
31 }
32
33 &-handle {
34 @include pos-a();
35 box-sizing: border-box;
36 cursor: pointer;
37 z-index: 1;
38
39 &.single,
40 &.from,
41 &.to {}
42
43 &.type_last {
44 z-index: 2;
45 }
46 }
47
48 &-min,
49 &-max {
50 @include pos-a();
51 cursor: default;
52 }
53
54 &-min {
55 left: 0;
56 }
57
58 &-max {
59 right: 0;
60 }
61
62 &-from,
63 &-to,
64 &-single {
65 @include pos-a();
66 top: 0;
67 left: 0;
68 cursor: default;
69 white-space: nowrap;
70 }
71
72 &-grid {
73 position: absolute;
74 display: none;
75 bottom: 0;
76 left: 0;
77 width: 100%;
78 height: 20px;
79
80 .irs-with-grid & {
81 display: block;
82 }
83
84 &-pol {
85 position: absolute;
86 top: 0;
87 left: 0;
88 width: 1px;
89 height: 8px;
90
91 &.small {
92 height: 4px;
93 }
94 }
95
96 &-text {
97 position: absolute;
98 bottom: 0;
99 left: 0;
100 white-space: nowrap;
101 text-align: center;
102 font-size: 9px;
103 line-height: 9px;
104 padding: 0 3px;
105 }
106 }
107
108 &-disable-mask {
109 @include pos-a();
110 top: 0;
111 left: -1%;
112 width: 102%;
113 height: 100%;
114 cursor: default;
115 background: rgba(0,0,0,0.0);
116 z-index: 2;
117
118 .lt-ie9 & {
119 background: #000;
120 filter: alpha(opacity=0);
121 cursor: not-allowed;
122 }
123 }
124
125 &-disabled {
126 opacity: 0.4;
127 }
128
129 &-hidden-input {
130 position: absolute !important;
131 display: block !important;
132 top: 0 !important;
133 left: 0 !important;
134 width: 0 !important;
135 height: 0 !important;
136 font-size: 0 !important;
137 line-height: 0 !important;
138 padding: 0 !important;
139 margin: 0 !important;
140 overflow: hidden;
141 outline: none !important;
142 z-index: -9999 !important;
143 background: none !important;
144 border-style: solid !important;
145 border-color: transparent !important;
146 }
147 }