PluginProbe
QuadMenu – Mega Menu / 2.0.3
QuadMenu – Mega Menu v2.0.3
3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 All 87 releases
quadmenu / assets / frontend / less / themes / widgets.less

widgets.less in QuadMenu – Mega Menu 2.0.3, at assets/frontend/less/themes/widgets.less

462 lines 8.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 #quadmenu {
2 // Contact Form 7
3 //--------------------------------------------------------------------------
4
5 .wpcf7 {
6
7 form {
8 margin: 0;
9 padding: 0;
10
11 > p {
12 margin: 0 0 1.5em 0;
13 }
14 }
15
16 .wpcf7-form-control-wrap {
17
18 }
19
20 br {
21 display: none;
22 }
23
24 .ajax-loader {
25 display:none;
26 }
27
28 .wpcf7-not-valid {
29 border: 1px solid #ff0000;
30 }
31
32 span.wpcf7-not-valid-tip {
33 display:none;
34 }
35
36 div.wpcf7-response-output {
37 margin: 0;
38 padding: 15px;
39 }
40
41 div.wpcf7-validation-errors {
42 border-radius: 4px;
43 }
44
45 div.wpcf7-validation-errors {
46 margin-bottom: 20px;
47 }
48
49 .wpcf7-checkbox {
50 text-align: center;
51 }
52 }
53
54 .widget {
55
56 padding: 0;
57
58 a,
59 ul li {
60 line-height: inherit;
61 }
62
63 // General List
64 // ---------------------------------------------------------------------
65 ul {
66 list-style: none;
67 margin: 0;
68
69 li {
70 position: relative;
71 display: block;
72 margin: 0 0 @vertical-padding 0;
73 width: 100%;
74 }
75
76 li:last-child {
77 border-bottom: 0;
78 padding-bottom: 0;
79 }
80
81 li img,
82 li h5,
83 li i,
84 li span {
85 .transition(color 0.4s);
86 }
87
88 ul {
89 margin-top: 10px;
90 margin-bottom: 0.1em;
91 li:first-child {
92 border-top: 1px solid;
93 }
94 }
95
96 }
97
98 > ul,
99 > div > ul {
100 padding: 0;
101 margin-top: 0;
102 margin-bottom: 0;
103 > li:first-child {
104 border-top: 0;
105 padding-top: 0;
106 }
107 }
108
109 // Wordpress Widgets
110 // ---------------------------------------------------------------------
111
112 &.widget_text {
113 p {
114 line-height: 1.45;
115 margin-bottom: 10px;
116 }
117
118 input,
119 select {
120 max-width: 100%;
121 }
122 }
123
124 &.widget_rss {
125
126 span.quadmenu-title a.rsswidget {
127 text-transform: uppercase;
128 }
129
130 span.quadmenu-title a.rsswidget:first-child {
131 float: right;
132 }
133
134 span.rss-date {
135 display:block;
136 text-align: right;
137 //font-size: @general_font_font-size * 1px- 2px;
138 margin: 10px 0;
139 }
140
141 div.rssSummary {
142 text-transform: none;
143 }
144
145 cite {
146 margin-top: 5px;
147 text-align: right;
148 display:block;
149 }
150 }
151
152 &.widget_nav_menu,
153 &.widget_pages {
154
155 ul ul {
156 padding: 10px 0 0 10px;
157 }
158
159 }
160
161 &.widget_recent_comments,
162 &.widget_recent_entries {
163 ul > li > span.comment-author-link,
164 ul > li > span.post-date {
165 display: block;
166 margin: 2px 0 0 0;
167 font-size: 0.8em;
168 text-transform: none;
169 line-height: 1.3em;
170 }
171 }
172
173 &.widget_product_search,
174 &.widget_search {
175 input.form-control {
176 width: 100%;
177 }
178 }
179
180 &.widget_archive,
181 &.widget_categories,
182 &.widget_product_categories {
183 ul > li > span.count {
184 font-weight: 700;
185 //text-align: center;
186 float: right;
187 //display: inline-block;
188 //border-radius: 1px;
189 //width: 1.5em;
190 }
191 }
192
193 &.widget_calendar {
194
195 > .title {
196 display: none;
197 }
198
199
200 table {
201
202 > caption {
203 margin: 0px;
204 display: table-caption;
205 }
206
207 > thead > tr > th {
208 border-bottom: 1px;
209 font-size: 0.8em;
210 }
211
212 td, th {
213 text-align: center;
214 padding: 10px 0;
215 }
216 }
217 }
218
219 &.widget_tag_cloud,
220 &.widget_product_tag_cloud {
221 a {
222 display: inline-block;
223 text-decoration: none;
224 margin: 0 0.5em 0 0;
225
226 &:after,
227 &:before {
228 display: none;
229 }
230 }
231
232 }
233
234 // Woocommerce Widgets
235 // ---------------------------------------------------------------------
236
237 &.widget_products,
238 &.widget_recent_reviews,
239 &.widget_shopping_cart,
240 &.widget_recently_viewed_products,
241 &.widget_top_rated_products,
242 &.widget_featured_posts {
243
244 li {
245 .clearfix();
246
247 > a,
248 > a > span.product-title {
249 margin: 5px 0;
250 font-weight: 400;
251 text-transform: uppercase;
252 line-height: 1;
253 }
254
255 > a > img {
256 margin: 0 15px 0 0;
257 float: left;
258 width: 70px;
259 height: auto;
260 max-width: 35%;
261 position: inherit;
262 .transform(none);
263 }
264
265 > .date,
266 > a > .date {
267 display: block;
268 //font-size: @general_font_font-size * 1px;
269 text-transform: uppercase;
270 }
271
272 > a:hover > img {
273 box-shadow: 0px 3px 7px -3px rgba(0,0,0,0.2);
274 }
275
276 > p {
277 margin : 0;
278 overflow: hidden;
279 }
280 }
281
282 }
283
284 &.widget_products,
285 &.widget_recent_reviews,
286 &.widget_shopping_cart,
287 &.widget_recently_viewed_products,
288 &.widget_top_rated_products {
289
290 li > .reviewer,
291 li > .quantity,
292 li > .price,
293 li > .star-rating {
294 width: auto;
295 float: none;
296 display: block;
297 margin-top: 5px;
298 line-height: 1;
299 }
300
301 //li span.reviewer,
302 //li span.amount {
303 // font-size: @general_font_font-size * 1px - 2px;
304 //}
305
306 }
307
308 &.widget_shopping_cart {
309
310 ul.cart_list {
311
312 padding: 0;
313
314 li {
315
316 > a.remove {
317 display: block;
318 position: absolute;
319 right: 0;
320 top: 0;
321 width: 20px;
322 height: 20px;
323 line-height: 20px;
324 text-align: center;
325 border-radius: 50%;
326
327 &:after,
328 &:before {
329 display: none;
330 }
331 }
332
333 }
334 }
335
336 .total,
337 .buttons {
338 border: none;
339 padding: 0;
340 margin: 0;
341 }
342
343 .buttons {
344 display: flex;
345 }
346
347 .buttons {
348
349 .button {
350 margin: 0;
351 flex: auto;
352
353 &:first-child {
354 margin-right: 5px;
355 }
356 }
357
358 }
359
360 }
361
362 &.widget_product_search {
363
364 label.screen-reader-text {
365 display: none;
366 }
367 }
368
369 &.widget_price_filter {
370
371 .quadmenu-title {
372 display: none;
373 }
374 .price_slider {
375 margin-bottom: 15px;
376 }
377 .price_slider_amount {
378 text-align: right;
379 //line-height: @input-height-base;
380 //font-size: @general_font_font-size * 1px- 2px;
381 .button {
382 float:left;
383 }
384 }
385 .ui-slider {
386 position: relative;
387 text-align:left;
388 }
389 .ui-slider .ui-slider-handle {
390 position:absolute;
391 z-index: 2;
392 width: 10px;
393 height: 10px;
394 cursor: pointer;
395 outline:none;
396 top: -4px;
397 //background-color: @bg_20;
398 &:last-child {
399 margin-left: -1em;
400 }
401 }
402 .ui-slider .ui-slider-range {
403 position:absolute;
404 z-index: 1;
405 height: 15px;
406 display:block;
407 border: 0;
408 }
409
410 .ui-widget-content {
411
412 }
413 .ui-slider-horizontal {
414 height: 2px;
415 }
416 .ui-slider-horizontal .ui-slider-range {
417 top: 0;
418 height: 100%;
419 }
420 .ui-slider-horizontal .ui-slider-range-min {
421 left: -1px;
422 }
423 .ui-slider-horizontal .ui-slider-range-max {
424 right: -1px;
425 }
426 }
427
428 &.widget_layered_nav {
429 ul {
430 li.chosen {
431 a {
432 text-decoration: none;
433 }
434 }
435 }
436 }
437
438 // Other Widgets
439 // ---------------------------------------------------------------------
440
441 &.widget_edd_cart_widget {
442
443 .edd-cart-number-of-items {
444 padding: 9px 0;
445 }
446
447 ul > li {
448 padding: 9px 0;
449
450 &.edd_subtotal {
451 margin: 0;
452 }
453 }
454
455 }
456
457 &.widget_sci_googlemaps_widget #sci-google-map {
458 max-width: 100%;
459 }
460
461 }
462 }