PluginProbe ʕ •ᴥ•ʔ
WP Chat App / 3.4.4
WP Chat App v3.4.4
3.8.1 3.8.2 trunk 2.6 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5 3.6 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0
wp-whatsapp / assets / libs / ui-range.css
wp-whatsapp / assets / libs Last commit date
jquery.validate.min.js 2 years ago ui-range.css 2 years ago
ui-range.css
190 lines
1 .range {
2 --primaryColor: #5cb85c;
3 --value-active-color: white;
4 --value-background: white;
5 --value-font: 700 12px/1 Arial;
6 --progress-color: #aedcae;
7 --progress-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) inset;
8 --fill-color: var(--primaryColor);
9 --thumb-size: 16px;
10 --track-height: calc(var(--thumb-size) / 2);
11 --thumb-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
12 --ticks-thickness: 1px;
13 --ticks-height: 5px;
14 --ticks-color: silver;
15 --step: 1;
16 --ticks-count: (var(--max) - var(--min)) / var(--step);
17 --maxTicksAllowed: 30;
18 --too-many-ticks: Min(1, Max(var(--ticks-count) - var(--maxTicksAllowed), 0));
19 --x-step: Max(var(--step), var(--too-many-ticks) * (var(--max) - var(--min)));
20 --tickInterval: 100/ ((var(--max) - var(--min)) / var(--step)) * var(--tickEvery, 1);
21 --tickIntervalPerc: calc(
22 (100% - var(--thumb-size)) / ((var(--max) - var(--min)) / var(--x-step)) *
23 var(--tickEvery, 1)
24 );
25 --completed: calc(
26 (var(--value) - var(--min)) / (var(--max) - var(--min)) * 100
27 );
28 --LTR: 1;
29 display: inline-block;
30 width: 25em;
31 margin-top: 10px;
32 height: Max(var(--track-height), var(--thumb-size));
33 background: linear-gradient(
34 to right,
35 var(--ticks-color) var(--ticks-thickness),
36 transparent 1px
37 )
38 repeat-x;
39 background-size: var(--tickIntervalPerc) var(--ticks-height);
40 background-position-x: calc(var(--thumb-size) / 2);
41 background-position-y: var(--flip-y, bottom);
42 position: relative;
43 z-index: 1;
44 padding-bottom: var(--flip-y, var(--ticks-height));
45 padding-top: calc(var(--flip-y) * var(--ticks-height));
46 margin-bottom: 20px;
47 }
48 [dir="rtl"] .range {
49 --LTR: -1;
50 }
51 .range[data-ticks-position="top"] {
52 --flip-y: 1;
53 }
54 .range::before,
55 .range::after {
56 --offset: calc(var(--thumb-size) / 2);
57 content: counter(x);
58 display: var(--show-min-max, block);
59 font: 12px Arial;
60 position: absolute;
61 bottom: var(--flip-y, -2.5ch);
62 top: calc(-2.5ch * var(--flip-y));
63 opacity: var(--min-max-opacity, 0.5);
64 pointer-events: none;
65 }
66 .range::before {
67 counter-reset: x var(--min);
68 left: var(--offset);
69 transform: translateX(calc(-50% * var(--LTR)));
70 }
71 [dir="rtl"] .range::before {
72 left: auto;
73 right: var(--offset);
74 }
75 .range::after {
76 counter-reset: x var(--max);
77 right: var(--offset);
78 transform: translateX(calc(50% * var(--LTR)));
79 }
80 [dir="rtl"] .range::after {
81 right: auto;
82 left: var(--offset);
83 }
84 .range__progress {
85 position: absolute;
86 left: 0;
87 top: calc(50% - var(--ticks-height) / 2);
88 transform: var(--flip-y, translateY(-50%) translateZ(0));
89 width: 100%;
90 height: calc(var(--track-height));
91 pointer-events: none;
92 z-index: -1;
93 /* box-shadow: var(--progress-shadow); */
94 border-radius: 20px;
95 background: var(--fill-color, white);
96 }
97 .range__progress::after {
98 content: "";
99 display: block;
100 margin-left: auto;
101 margin-right: -1px;
102 width: calc(
103 (100% - var(--completed) * 1%) + (var(--completed) / 100) *
104 var(--thumb-size) / 2
105 );
106 height: 100%;
107 background: var(--progress-color, #eee);
108 box-shadow: inherit;
109 border-radius: 0 20px 20px 0;
110 }
111 [dir="rtl"] .range__progress::after {
112 margin-right: auto;
113 margin-left: -1px;
114 border-radius: 20px 0 0 20px;
115 }
116 .range > input {
117 -webkit-appearance: none;
118 width: 100%;
119 height: var(--thumb-size);
120 margin: 0;
121 cursor: -webkit-grab;
122 cursor: grab;
123 outline: none;
124 background: none;
125 }
126 .range > input::-webkit-slider-thumb {
127 appearance: none;
128 height: var(--thumb-size);
129 width: var(--thumb-size);
130 border-radius: 50%;
131 background: var(--thumb-color, white);
132 border: 1px solid silver;
133 box-shadow: var(--inner-shadow, 0 0), var(--thumb-shadow);
134 }
135 .range > input::-moz-slider-thumb {
136 appearance: none;
137 height: var(--thumb-size);
138 width: var(--thumb-size);
139 border-radius: 50%;
140 background: var(--thumb-color, white);
141 border: 1px solid silver;
142 box-shadow: var(--inner-shadow, 0 0), var(--thumb-shadow);
143 }
144 .range > input::-ms-thumb {
145 appearance: none;
146 height: var(--thumb-size);
147 width: var(--thumb-size);
148 border-radius: 50%;
149 background: var(--thumb-color, white);
150 border: 1px solid silver;
151 box-shadow: var(--inner-shadow, 0 0), var(--thumb-shadow);
152 }
153 .range > input:active {
154 cursor: grabbing;
155 --thumb-color: var(--fill-color);
156 --inner-shadow: 0 0 0 calc(var(--thumb-size) / 4) inset white;
157 }
158 .range > input:active + output {
159 transition: 0s;
160 }
161 .range > input:hover + output {
162 --value-background: var(--primaryColor);
163 color: var(--value-active-color);
164 transform: translate(var(--x-offset), 0);
165 box-shadow: 0 0 0 3px var(--value-background);
166 }
167 .range > output {
168 --x-offset: calc(var(--completed) * -1% * var(--LTR));
169 --pos: calc(((var(--value) - var(--min)) / (var(--max) - var(--min))) * 100%);
170 pointer-events: none;
171 position: absolute;
172 z-index: 5;
173 background: var(--value-background);
174 border-radius: 10px;
175 padding: 0 4px;
176 /* top: -3ch; */
177 top: 2.5ch;
178 left: var(--pos);
179 transform: translate(var(--x-offset), 6px);
180 transition: all 0.12s ease-out, left 0s, top 0s;
181 }
182 [dir="rtl"] .range > output {
183 left: auto;
184 right: var(--pos);
185 }
186 .range > output::after {
187 content: var(--text-value);
188 font: var(--value-font);
189 }
190