PluginProbe
Social Share Buttons / 1.17
Social Share Buttons v1.17
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.17, at scss/_editor.scss

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