PluginProbe
MaxButtons – Create buttons / 6.26.1
MaxButtons – Create buttons v6.26.1
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / assets / scss / _collection.scss

_collection.scss in MaxButtons – Create buttons 6.26.1, at assets/scss/_collection.scss

492 lines 7.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 // full width on the edit screen
3 &.maxbuttons-collections-edit .main{
4 width: 100%;
5 max-width: none;
6 }
7
8 // temp interface befire exit collection IF
9 .social-share-move {
10 padding: 15px;
11 border: 0;
12 .inside {
13 border: 0;
14 }
15 h3 {
16 font-size: 28px;
17 line-height: 30px;
18
19 }
20
21 p {
22 font-size: 16px;
23 }
24 a {
25 width: 200px;
26 height: auto;
27 font-size: 30px;
28 line-height: 32px;
29 padding: 12px 0;
30 text-align: center;
31 }
32
33 }
34
35 .collection-addnew
36 {
37 display: inline-block;
38 @include bp(780)
39 {
40 //margin: 5px 0px 5px 5px;
41 //display: inline-block;
42 margin-left: 5px;
43 }
44 }
45
46 .collection_list {
47 .collection {
48 position: relative;
49 background-color: #fff;
50 padding: 15px;
51 border-radius: 15px;
52 margin: 15px 0;
53 h3 {
54 display: inline-block;
55 width: 90%;
56 margin-top: 0;
57 font-size: 18px;
58 line-height: 20px;
59
60 a {
61 color: #000;
62 font-size: 25px;
63 text-decoration: none;
64 &:hover {text-decoration :underline; }
65 }
66 .dashicons {
67 color: #ccc;
68 margin-left: 15px;
69 }
70 .button-count {
71 font-weight: 400;
72 font-size: 15px;
73 margin-left: 15px;
74 vertical-align: top;
75 }
76 }
77 .collection_remove {
78 top: 10px;
79 right: 15px;
80 font-size: 25px;
81 font-weight: 400;
82 position:absolute;
83 cursor: pointer;
84 }
85 &.welcome // intro-text
86
87 p {
88 font-size: 14px;
89 line-height: 22px;
90 }
91 }
92
93 .collection-container {
94 position: relative;
95 width: 100%;
96 //border: 1px solid #000;
97 display: inline-block;
98 clear: both;
99 .maxcollection {
100 position: static !important;
101
102 }
103 }
104
105
106 }
107
108
109 .inside .preview_collection.option
110 {
111 label {
112 display: inline-block;
113 float:none;
114 font-size: 25px;
115 width: 100%;
116
117 }
118
119 }
120
121 // collection view ( sortable )
122
123 .mb_collection_selection
124 {
125 display: inline-block;
126
127 min-height: 300px;
128 //width: 100%;
129 //border: 1px solid #000;
130 margin: 25px 0;
131 .sortable .item {
132 margin-bottom: 25px;
133 position: relative;
134 padding-left: 30px;
135 //min-width: 344px;
136 min-height: 45px;
137 //display: inline-block;
138 clear: both;
139 //float: left;
140
141 .button-remove {
142 margin-top: 5px;
143 //display: none;
144 position: absolute;
145 left: 20px;
146 top: -15px;
147 border: 1px solid #000;
148 border-radius: 11px;
149 width: 20px;
150 height: 20px;
151 background-color: rgba(0,0,0,0.5);
152 &:hover { cursor: pointer; }
153 span {
154 color: #fff;
155 font-size: 16px;
156 padding-top: 2px;
157 overflow: hidden;
158
159 }
160 }
161 //.mb-center { text-align: left !important; }
162 //.mb-container { margin: 0 !important; width: auto !important; height: auto !important; }
163
164
165
166 }
167 .sortable-placeholder {
168 border: 3px dashed #aaa;
169 height: 45px;
170 width: 344px;
171 background: #ccc;
172 }
173 .button_data { display: none; }
174
175 }
176
177
178 .mb-social-options {
179 float: right;
180 width: 45%;
181 border: 1px solid #000;
182 height: 100%;
183
184 }
185
186 .mb-buttons-selection {
187 float: left;
188 width: 45%;
189 overflow: hidden;
190 border: 1px solid #000;
191 }
192
193 .mb-preview-window {
194 position: fixed;
195 top: 40%;
196 right: 20px;
197 width: 30%;
198 max-width: 45%;
199 //height: 300px;
200 max-height: 90vh;
201 background-color: rgba(255,255,255,0.7);
202 border: 1px solid #000;
203 z-index: 500 !important;
204 overflow: hidden;
205 display: none;
206 @include bp(780)
207 {
208 position: relative;
209 left: 0;
210 top: 0;
211 bottom: 0;
212 right: 0;
213 width: 100%;
214 height: auto;
215 display: inline-block;
216 border-color: #ccc;
217 }
218 .mb-preview-wrapper {
219 position: relative;
220 display: inline-block;
221 //height: 100%;
222 width: 100%;
223 //margin: 20px 0;
224 }
225
226 /*.mb-center { text-align: left !important; }
227 .mb-container { margin: 0 !important; width: auto !important; height: auto !important; }
228 */
229 }
230
231 .sub-tabs {
232 .preview-on {
233 background-color: #00b9eb;
234 color: #fff;
235 &::before { line-height: 24px; }
236 //line-height: normal;
237 }
238 .preview-off {
239 //background-color: #fff;
240 //color: #000;
241 }
242
243 }
244
245
246 // picker modal
247 #picker-back {
248 top: 0;
249 left: 0;
250 right: 0;
251 bottom: 0;
252 background-color: #000;
253 z-index: 110000;
254 position: fixed;
255 opacity: 0.7;
256 display: none;
257 }
258
259 #picker-modal, .max-modal.picker-modal {
260 display: none;
261 //height: 100%;
262 //width: 100%;
263 width: calc(100% - 60px);
264 //height: calc(100% - 60px);
265 min-height: 300px;
266 top: 30px; bottom: 30px;
267 left: 30px; right: 30px;
268 //position: fixed;
269 z-index: 160000;
270
271 .modal_header {
272 height: 15px;
273 display:block;
274
275 overflow: hidden;
276 //position: absolute;
277 top: 0;
278 left: 0;
279 bottom: 0;
280 right: 0;
281 border: 0;
282
283 }
284 .picker-packages {
285 top: 31px;
286 left: 0;
287 width: 205px;
288 bottom: 0;
289
290 background-color: #f3f3f3;
291 //height: 100%;
292 position: absolute;
293 border-right: 1px solid #ccc;
294 overflow-x: hidden;
295 overflow-y: auto;
296 /* h4 {
297 margin: 8px 20px 0px 20px;
298 font-size: 14px;
299 line-height: 15px;
300 //margin: 0;
301 } */
302 ul { margin-top: 4px; }
303 li {
304 a {
305 padding: 6px 20px;
306 display: block;
307 color: #0073aa;
308 text-decoration: none;
309 font-size: 13px;
310 line-height: 16px;
311 &:hover {
312 background: rgba(0, 0, 0, 0.04) none repeat scroll 0 0;
313 color: #21759b;
314 }
315 &.pack-active {
316 font-weight: 700;
317 color: #000;
318 }
319 }
320 }
321 }
322
323 .picker-main {
324 //width: 75%;
325 left: 206px;
326 top: 31px;
327 right: 0;
328 bottom: 60px;
329 position: absolute;
330 border-bottom: 1px solid #dddddd;
331 overflow-y: scroll;
332 background-color: #fff;
333
334 //height: 100%;
335
336 .screen {
337 margin: 5px 5px;
338 //float:left;
339 //width: 100%;
340 //width: calc(100%-10px);
341 .tablenav-pages { float: none;
342 margin-left: 1%;
343 }
344
345 }
346 .item {
347 padding: 5px;
348 margin: 5px 0 5px 1%;
349 border: 1px solid #000;
350 width: 16%;
351 height: auto;
352 //overflow: hidden;
353 float: left;
354 text-align: center;
355 position: relative;
356 background-color: #eee;
357 border: 1px solid #b4b9be;
358 display:inline-block;
359
360 .button_data { display: none; }
361 .button_name {
362 clear: left;
363 display: block;
364 margin-top: 15px;
365 font-size: 9px;
366 }
367 .button-selected {
368 position: absolute;
369 font-size: 20px;
370 top: -10px;
371 right: -10px;
372 width: 24px;
373 height: 24px;
374 //border: 1px solid #000;
375 color: #fff;
376 background-color: #1e8cbe;
377 //box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #1e8cbe;
378 z-index: 100;
379 border-radius: 12px;
380 span { padding-top: 2px; }
381
382 }
383 }
384 }
385
386 .picker-inselection {
387 height: 60px;
388 display: block;
389 position: absolute;
390 bottom: 0;
391 right: 0;
392 left: 206px;
393 overflow: hidden;
394
395
396 // background-color: ;
397 .info {
398 height: 60px;
399 float: left;
400 display: inline-block;
401 padding: 10px 15px;
402 display: none;
403
404 .clear-selection {
405 color: #ff0000;
406 display: block;
407 padding: 0;
408 &:hover {
409 background-color: #ff0000;
410 color: #fff;
411 }
412 }
413 }
414 .items {
415 //float: left;
416 display: inline-block;
417 position: absolute;
418 overflow: hidden;
419 padding-top: 5px;
420 height: 100%;
421 left: 130px;
422 right: 180px;
423 @include bp(780)
424 {
425 display: none;
426 } // hide items on small screens.
427 .item {
428 height: 40px;
429 width: 40px;
430 overflow: hidden;
431 float:left;
432 margin: 3px;
433 position: relative;
434
435 .button_name, .button_data { display: none; }
436 .button-remove {
437 display: none;
438 position: absolute;
439 width: 30px;
440 height: 30px;
441 left: 2px;
442 border-radius: 15px;
443 top: 2px;
444 //border-radius: 20px
445 background-color: rgba(0,0,0,0.5);
446
447 span {
448 font-size: 20px;
449 color: #fff;
450 padding-left: 5px;
451 padding-top: 5px;
452 }
453 }
454 &:hover .button-remove {
455 display: block;
456
457
458 }
459 }
460 }
461 .add {
462 float: right;
463 margin-top: 15px;
464 margin-right: 15px;
465 height: 100%;
466 }
467 }
468
469 }
470
471
472 // social block
473
474 .social_block {
475
476 .social-option
477 {
478 clear: both;
479 margin-top: 25px;
480 //border-top: 1px solid #ccc;
481 .shortcode-container { display: inline-block; }
482 .button_name {
483 display: inline-block;
484 margin-left: 10px;
485 //margin-top: 10px;
486 vertical-align: middle;
487 font-weight: 700;
488
489 }
490 }
491 }
492