PluginProbe
Social Share Buttons / 1.30
Social Share Buttons v1.30
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / scss / _editor.scss

_editor.scss in Social Share Buttons 1.30, at scss/_editor.scss

542 lines 8.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 /* Move main to 100% to allow for right-sided help */
3 .main {
4 width: 100%;
5
6 // Fixing label not on the same line.
7 .option .label { vertical-align: middle; }
8 // Fixing switch button align
9 .switch_button { min-height: 0; margin-top: 5px; }
10
11 .help-side.collection_switcher {
12 position: relative;
13
14 // flex the fucker
15 .item.heading, .item a
16 {
17 display: flex;
18 text-align: center;
19 span:first-of-type{
20 flex-basis: 20%;
21
22 }
23 span:nth-of-type(2){
24 flex-basis: 30%;
25 }
26 span:last-child-of
27 {
28 flex-basis: 50%;
29 }
30 }
31
32 .item {
33
34 display: inline-block;
35 width: 100%;
36 margin: 2px 0;
37 padding: 4px 0;
38 border-bottom: 1px solid #ccc;
39 font-size: 14px;
40 text-align: center;
41 span {
42
43
44 }
45 a {
46 color: #0073aa;
47 text-decoration: none;
48 padding: 6px 0;
49 min-width: 50px;
50 display: flex;
51 }
52 &.new {
53
54 background-color: #0073aa;
55 margin: 25px 0 0 0;
56 a {
57 box-sizing: border-box;
58
59 line-height: 30px;
60 color: #fff;
61 min-width: 0;
62 font-size: 14px;
63 text-transform:uppercase;
64 display: inline-block;
65 width: 100%;
66 vertical-align: middle;
67 padding: 0;
68 text-align: right;
69 padding-right: 15px;
70
71 }
72 .plus {
73 font-size: 28px;
74 font-weight: 700;
75 vertical-align: top;
76 margin: 0 6px;
77 line-height: 1;
78 width: auto;
79
80 }
81 }
82 &.active {
83 background: #fff;
84 a {
85 color: #000;
86 }
87 }
88
89 }
90
91 }
92
93 // delete button
94 .button.remove {
95 float: right;
96 //color: #eee;
97
98 }
99
100 .option-container, .mb-message, .form-actions, .collection_switcher {
101 width: 72%;
102 min-width: 700px;
103 box-sizing: border-box;
104 position: relative;
105
106 @include bp(1200)
107 {
108 // min-width: 0;
109 width: 90%;
110 }
111 @include bp(800)
112 {
113 width: 95%;
114 }
115 }
116
117 .options .input.checkbox // bolds etc closer.
118 {
119 margin-right: 2px;
120 }
121
122 .mb-message.shortcode {
123 clear: left;
124 }
125
126 .help-side {
127 float: right;
128 margin: 0 0 5px 0;
129 padding: 0;
130 min-width: 250px;
131 width: 25%;
132 //right: 5px;
133 border: 1px solid #ccc;
134 background-color: #fff;
135 clear: right;
136 /*&:after {
137 clear: both;
138 } */
139
140 @include bp(1200)
141 {
142 //min-width: 0;
143 // width: 23%
144 float: none;
145 width: 90%;
146 }
147 @include bp(800)
148 {
149 display: none;
150 }
151
152 h3 {
153 padding: 0;
154 margin: 0;
155 background-color: #008ec2;
156 color: #fff;
157 padding: 15px;
158 text-align: center;
159 }
160 p {
161 padding: 10px;
162 margin: 0;
163 }
164 }
165 }
166
167 .toggle {
168 .title {
169 cursor:pointer;
170 }
171 .toggle-target {
172 display: none;
173 }
174 }
175
176 // ### GeneralBlock ### /
177 #generalBlock
178 {
179 .input.general_notactive { line-height: 25px; height: 25px; padding-top: 5px; }
180 .red { color: #ff0000; }
181 }
182
183
184 // extra's for network block
185 .option-container.networks {
186 .active_network {
187 margin-bottom: 25px;
188 }
189
190 }
191
192 // extra's for display block
193 .option-container.display
194 {
195 select {
196 width: auto;
197 }
198 .option.display_group {
199 margin-bottom: 15px;
200
201 button {
202 height: 30px;
203 vertical-align: middle;
204 }
205 span, div {
206 vertical-align: middle;
207 }
208 .control-group {
209 margin-bottom: 0;
210 }
211
212
213 }
214 .option > span > .label {
215 width: 170px;
216 padding: 0;
217 min-height: 0;
218 vertical-align: middle;
219 }
220 .check_button:checked + label {
221 border-color: #6fbeb5;
222 border-width: 1px;
223 border-radius: 4px;
224
225 }
226 .check_button.disabled + label {
227
228 background-color: #868686;
229 border: 0;
230 cursor: not-allowed;
231
232 }
233 .option .label.spacer_custom {
234 margin-left: 200px;
235 font-weight: 500;
236 border-bottom: 1px solid #ccc;
237 border-top: 1px solid #ccc;
238 padding: 4px 0;
239 display: inline-block;
240 text-align: center;
241 width: 200px;
242 }
243 .option .label.display_no_pro {
244 width: 450px;
245 margin-left: 100px;
246 font-weight: 400;
247 font-size: 12px;
248 }
249
250 .input.display_heading {
251 margin-left: 170px;
252 min-height: 0;
253
254 span {
255 width: 36px;
256 margin-right: 15px;
257 display: inline-block;
258 text-align: center;
259 font-size: 12px;
260 font-weight: 500;
261 text-transform: uppercase;
262
263 &:nth-child(2)
264 {
265 width: 150px;
266 border-left: 1px solid #ccc;
267 border-right: 1px solid #ccc;
268
269 }
270 }
271 }
272 .input.display_rowhead {
273 margin-left: 225px;
274 min-height: 0;
275
276 span {
277 text-align: center;
278 display:inline-block;
279 width: 36px;
280 margin-right: 14px;
281 font-size: 11px;
282 font-weight: 500;
283 color: #333;
284 text-transform: uppercase;
285 position: relative;
286 //margin-right: 15px;
287 &:nth-child(3)
288 {
289 margin-left: 10px;
290 }
291 }
292 }
293 .option.show_desktop, .option.show_mobile
294 {
295 label
296 {
297 min-width: 168px;
298 }
299 }
300 } // option container display
301
302 /** Preview Block **/
303 #previewBlock {
304 .maxsocial {
305 clear: none !important;
306 }
307 .mb-item {
308 margin-bottom: 20px;
309 }
310
311 .button-save {
312 margin-left: 50px;
313 width: 75px;
314
315 }
316
317 }
318
319 /** Custom styles for style Block */
320 #styleBlock {
321 .mbsocial-shape
322 {
323 margin: 6px 10px 3px;
324 display: inline-block;
325 position: relative;
326 width: 20px;
327 height: 20px;
328 border: 2px solid #000;
329 &.circle {
330 border-radius: 50% 50%;
331 }
332 &.square {
333
334 }
335 &.stretch {
336 width: 60px;
337 &:before {
338 border-left: 2px solid #ff0000;
339 content: '';
340 height: 100%;
341 position: absolute;
342 left: -8px;
343 }
344 &:after {
345 content: '';
346 height: 100%;
347 position: absolute;
348 right: -8px;
349 border-right: 2px solid #ff0000;
350 }
351 }
352 }
353 #open_presets {
354 width: 125px;
355 text-transform: uppercase;
356 }
357 }
358
359 /** Custom styles for displayBlock */
360 #displayBlock, .display_modal
361 {
362 // icons
363 $pos1 : 0;
364 $pos2 : -26px;
365 $pos3 : -52px;
366 $pos4 : -78px;
367
368 .display_icon {
369 background-image: url('../images/icons/display_icons.png');
370 background-repeat: no-repeat;
371 width: 26px;
372 height: 26px;
373 display: inline-block;
374
375 &.manual {
376 // Background pos : X - Y
377 background-position: $pos1 $pos1;
378 }
379 &.before {
380 background-position: $pos2 $pos1;
381
382 }
383 &.after {
384 background-position: $pos3 $pos1;
385 }
386 &.after-before {
387 background-position: $pos4 $pos1;
388 }
389 &.static {
390 background-position: $pos4 $pos4;
391 }
392 &.horizontal {
393 background-position: $pos1 $pos2;
394 }
395 &.vertical {
396 background-position: $pos2 $pos2;
397 }
398 &.topleft {
399 background-position: $pos3 $pos2;
400 }
401 &.topcenter {
402 background-position: $pos4 $pos2;
403
404 }
405 &.topright {
406 background-position: $pos1 $pos3;
407 }
408 &.centerleft {
409 background-position: $pos2 $pos3;
410 }
411 &.centercenter {
412 background-position: $pos3 $pos3;
413 }
414 &.centerright {
415 background-position: $pos4 $pos3;
416
417 }
418 &.bottomleft {
419 background-position: $pos1 $pos4;
420 }
421 &.bottomcenter {
422 background-position: $pos2 $pos4;
423
424 }
425 &.bottomright {
426 background-position: $pos3 $pos4;
427 }
428
429
430 }
431 }
432
433 #profileBlock
434 {
435 .inside { padding-right: 10px; }
436 .inside > div.option // row of networks
437 {
438 display: flex;
439 flex-direction: row;
440 flex-wrap: wrap;
441
442 &[data-has]]:not(.condshow)
443 {
444 opacity: 0;
445 display: none;
446 }
447
448 >label // label
449 {
450 flex-basis: 100px;
451 //flex-grow: 1;
452 // flex-shrink: 1;
453 &:nth-of-type(2)
454 {
455 flex-basis: 120px;
456 }
457 }
458 >div // url + input box for profile
459 {
460 //flex-basis: 25%;
461 max-width: 400px;
462 flex-shrink: 2;
463 }
464 .input.text {
465 flex-shrink: 0;
466 flex-basis: 45%;
467 }
468 >span // use profile switch
469 {
470 flex-basis: 180px;
471 min-width: 150px;
472 .switch_label
473 {
474 width: 100px;
475
476 }
477 .switch_button
478 {
479 min-height: 0;
480 margin-top: 3px;
481 }
482
483 }
484
485 &.alternate_profile
486 {
487 span:nth-child(1)
488 {
489 flex-basis: 100px;
490 min-width: 0;
491 padding-left: 3px;
492 .label { flex-basis: 100px; width: auto; }
493 }
494 span:nth-child(2)
495 {
496 max-width: 400px;
497 width: 400px;
498 flex-shrink: 2;
499 flex-basis: 45%;
500 margin-right: 15px;
501 }
502 label { flex-basis: 120px; }
503
504 }
505
506 }
507 .input.text
508 {
509 line-height: 30px;
510 }
511 input[type="text"]="text""]
512 {
513 float: right;
514
515 }
516 #profile_rss { width: 100%; }
517 }
518
519 .forpro {
520 &.overlay {
521 position: absolute;
522 left: 0;
523 right: 0;
524 bottom: 0;
525 top: 0;
526 background: rgba(136, 197, 194, 0.8);
527 z-index: 1;
528 div {
529 color: #000;
530 top: 50%;
531 left: 50%;
532 transform: translate(-55%, -50% );
533 font-size: 16px;
534 line-height: 24px;
535 position: absolute;
536 a {
537 color: #000;
538 }
539 }
540 }
541 }
542