PluginProbe
Weather Effect / trunk
Weather Effect vtrunk
1.6.1 1.1.9 1.2.0 1.2.10 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 All 90 releases
weather-effect / assets / css / toogle-button.css

toogle-button.css in Weather Effect trunk, at assets/css/toogle-button.css

238 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*Toggle button on/off css*/
2
3 .switch-field {
4 font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
5 overflow: hidden;
6 padding-left: 18px
7 }
8
9 .switch-title {
10 margin-bottom: 6px;
11 }
12
13 .switch-field input {
14 display: none;
15 }
16
17 .switch-field label {
18 float: left;
19 }
20
21 .switch-field label {
22 display: inline-block;
23 width: 60px;
24 font-size: 14px;
25 font-weight: normal;
26 text-align: center;
27 text-shadow: none;
28 padding: 6px 2px;
29 border: 1px solid rgba(0, 0, 0, 0.2);
30 -webkit-transition: all 0.1s ease-in-out;
31 -moz-transition: all 0.1s ease-in-out;
32 -ms-transition: all 0.1s ease-in-out;
33 -o-transition: all 0.1s ease-in-out;
34 transition: all 0.1s ease-in-out;
35 }
36
37 .switch-field label:hover {
38 cursor: pointer;
39
40 }
41
42 .switch-field input:checked + label {
43 background-color: #0073AA;
44 -webkit-box-shadow: none;
45 box-shadow: none;
46 color:#FFFFFF;
47 }
48
49 .switch-field label:first-of-type {
50 border-radius: 4px 0 0 4px;
51 }
52
53 .switch-field label:last-of-type {
54 border-radius: 0 4px 4px 0;
55 }
56 .em_size_field label {
57 width:130px;
58 }
59 /**/
60
61 /* Rabge bar css*/
62
63 .range-slider {
64 width: 81%;
65 }
66
67 .range-slider__range {
68 -webkit-appearance: none;
69 width: calc(40% - (73px)) !important;
70 height: 7px;
71 border-radius: 5px;
72 background: #d7dcdf;
73 outline: none;
74 padding: 0;
75 margin: 2px;
76 display:inline !important;
77 }
78 .range-slider__range::-webkit-slider-thumb {
79 -webkit-appearance: none;
80 appearance: none;
81 width: 20px;
82 height: 20px;
83 border-radius: 50%;
84 background: #40BABD;
85 cursor: pointer;
86 -webkit-transition: background .15s ease-in-out;
87 transition: background .15s ease-in-out;
88 }
89 .range-slider__range::-webkit-slider-thumb:hover {
90 background: #1abc9c;
91 }
92 .range-slider__range:active::-webkit-slider-thumb {
93 background: #1abc9c;
94 }
95 .range-slider__range::-moz-range-thumb {
96 width: 20px;
97 height: 20px;
98 border: 0;
99 border-radius: 50%;
100 background: #0073AA;
101 cursor: pointer;
102 -webkit-transition: background .15s ease-in-out;
103 transition: background .15s ease-in-out;
104 }
105 .range-slider__range::-moz-range-thumb:hover {
106 background: #177EE5;
107 }
108 .range-slider__range:active::-moz-range-thumb {
109 background: #62D5FF;
110 }
111
112 .range-slider__value {
113 display: inline-block !important;
114 position: relative !important;
115 width: 60px;
116 color: #fff;
117 line-height: 20px;
118 text-align: center;
119 border-radius: 3px;
120 background: #0073AA;
121 padding: 5px 10px;
122 margin-left: 8px;
123 }
124 .range-slider__value:after {
125 position: absolute !important;
126 top: 8px;
127 left: -7px;
128 width: 0;
129 height: 0;
130 border-top: 7px solid transparent;
131 border-right: 7px solid #0073AA;
132 border-bottom: 7px solid transparent;
133 content: '';
134 }
135
136 ::-moz-range-track {
137 background: #d7dcdf;
138 border: 0;
139 }
140
141 input::-moz-focus-inner,
142 input::-moz-focus-outer {
143 border: 0;
144 }
145
146
147 /* Title Css */
148 .bg-title {
149 background-color: #008ec2;
150 color: #fff;
151 font-size: 16px;
152 font-weight: 600;
153 padding: 15px;
154 }
155
156 .bg-lower-title {
157 font-size: 20px;
158 font-weight: 500;
159 background-color: #F6F6F6;
160 color: #23282D;
161 font-family: icon;
162 padding-left: 10px;
163 margin-left: 10px
164 }
165
166 /*Checkbox css*/
167 .checkbox label:after,
168 .radio label:after {
169 content: '';
170 display: table;
171 clear: both;
172 }
173
174 .checkbox .cr,
175 .radio .cr {
176 position: relative;
177 display: inline-block;
178 border: 1px solid #a9a9a9;
179 border-radius: .25em;
180 width: 1.3em;
181 height: 1.3em;
182 float: left;
183 margin-right: .5em;
184 }
185
186 .radio .cr {
187 border-radius: 50%;
188 }
189
190 .checkbox .cr .cr-icon,
191 .radio .cr .cr-icon {
192 position: absolute;
193 font-size: .8em;
194 line-height: 0;
195 top: 50%;
196 left: 20%;
197 color:#1e73be;
198 }
199
200 .radio .cr .cr-icon {
201 margin-left: 0.04em;
202 }
203
204 .checkbox label input[type="checkbox"],
205 .radio label input[type="radio"] {
206 display: none;
207 }
208
209 .checkbox label input[type="checkbox"] + .cr > .cr-icon,
210 .radio label input[type="radio"] + .cr > .cr-icon {
211 transform: scale(3) rotateZ(-20deg);
212 opacity: 0;
213 transition: all .3s ease-in;
214 }
215
216 .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
217 .radio label input[type="radio"]:checked + .cr > .cr-icon {
218 transform: scale(1) rotateZ(0deg);
219 opacity: 1;
220 }
221
222 .checkbox label input[type="checkbox"]:disabled + .cr,
223 .radio label input[type="radio"]:disabled + .cr {
224 opacity: .5;
225 }
226
227 /*======*******========media query=========******=======*/
228 @media only screen and (max-width: 359px) {
229 .em_size_field {
230 width:80%;
231 }
232 }
233 @media only screen and (max-width: 300px) {
234 #shortcode {
235 width:100%;
236 }
237 }
238