PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / 1.0.5
SiteOrigin CSS v1.0.5
1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0
so-css / css / admin.less
so-css / css Last commit date
images 10 years ago admin.css 11 years ago admin.less 11 years ago inspector.css 11 years ago inspector.less 11 years ago mixins.css 11 years ago mixins.less 11 years ago
admin.less
754 lines
1 @import "mixins";
2
3 #siteorigin-custom-css {
4 margin: 0 0 0 -20px;
5
6 h2 {
7 background: #f8f8f8;
8 padding: 20px;
9 border-bottom: 1px solid #d0d0d0;
10 margin-bottom: 20px;
11
12 .icon {
13 width: 40px;
14 height: auto;
15 margin: -8px 10px -8px 0;
16 }
17
18 box-shadow: 0 1px 1px rgba(0,0,0,0.035);
19 }
20
21 .updated {
22 margin: 0 20px 20px 20px ;
23 }
24
25 #poststuff {
26 padding: 0 20px;
27
28 .postbox {
29 border: 1px solid #D0D0D0;
30
31 h3.hndle {
32 cursor: default;
33 border-bottom: 1px solid #D0D0D0;
34 background: #efefef;
35 position: relative;
36
37 .hide {
38 position: absolute;
39 top: 50%;
40 line-height: 1em;
41 margin-top: -0.5em;
42 right: 12px;
43 }
44 }
45 }
46
47 #so-custom-css-getting-started {
48 .inside {
49 padding: 0 6px 6px 6px;
50
51 img {
52 display: block;
53 width: 100%;
54 height: auto;
55 }
56 }
57 }
58 }
59 }
60
61 #so-custom-css-form {
62 margin-right: 340px;
63 }
64
65 #so-custom-css-info{
66 width: 315px;
67 float: right;
68
69 *:first-child {
70 margin-top: 0;
71 }
72
73 *:last-child {
74 margin-bottom: 0;
75 }
76 }
77
78 #so-custom-css-revisions {
79 ol {
80 list-style: none;
81 margin: 0;
82
83 li{
84 margin: 0;
85 line-height: 2.2em;
86 }
87 }
88 }
89
90 #so-custom-css-form {
91
92 .custom-css-preview {
93 iframe {
94 display: none;
95 }
96 }
97
98 .custom-css-toolbar {
99 border:1px solid #D0D0D0;
100 border-bottom: none;
101 background: #efefef;
102 padding: 8px 10px;
103 overflow: auto;
104
105 .toolbar-function-buttons{
106 float: left;
107
108 .toolbar-functions-dropdown {
109 display: none;
110 }
111
112 ul.toolbar-buttons {
113 margin: 0;
114
115 li {
116 display: inline-block;
117 margin: 0;
118 padding: 0;
119 }
120 }
121 }
122
123 .toolbar-action-buttons {
124 float: right;
125
126 a {
127 &.active {
128 border-color: #b4c4cf;
129 background-color: #e9f9ff;
130 color: #596872;
131 }
132 }
133
134 .editor-expand {
135 float: right;
136 text-decoration: none;
137 color: #666;
138
139 .fa-compress {
140 display: none;
141 }
142 }
143 }
144
145 .fa {
146 font-size: 14px;
147 }
148 }
149
150 .custom-css-container {
151 border:1px solid #D0D0D0;
152 background: #f7f7f7;
153 cursor: text;
154 overflow: hidden;
155
156 .CodeMirror {
157 height: auto;
158 }
159
160 .CodeMirror-scroll {
161 min-height: 300px;
162 }
163
164 .CodeMirror-lines {
165 padding: 8px 0 8px 0;
166 }
167
168 textarea {
169 border: 0;
170 padding: 8px 0 8px 4px;
171 width: 100%;
172 min-height: 300px;
173 display: block;
174 font-family: monospace;
175 font-size: 13px;
176 line-height: 1.4em;
177 border-left: 1px solid #ddd;
178 margin-left: 16px;
179 }
180 }
181
182 .decoration {
183 display: none;
184 }
185
186 &.expanded {
187 @expanded_form_width: 340px;
188
189 z-index: 100000;
190 position: fixed;
191 top: 0;
192 left: 0;
193 bottom: 0;
194 width: @expanded_form_width;
195
196 .custom-css-toolbar {
197
198 .editor-expand {
199
200 .fa-expand {
201 display: none;
202 }
203 .fa-compress {
204 display: inline-block;
205 }
206
207 }
208 }
209
210 .decoration {
211 display: block;
212 position: absolute;
213 top: 0;
214 bottom: 0;
215 left: @expanded_form_width - 1px;
216 width: 2px;
217 background: rgba(0,0,0,0.1);
218 }
219
220 .description {
221 display: none;
222 }
223
224 .submit {
225 display: none;
226 }
227
228 .custom-css-preview {
229 position: fixed;
230 display: block;
231 top: 0;
232 right: 0;
233 bottom: 0;
234 left: @expanded_form_width;
235 background: #ffffff;
236
237 iframe {
238 display: block;
239 width: 100%;
240 height: 100%;
241 overflow-x: hidden;
242 }
243
244 }
245 }
246 }
247
248 #so-custom-css-properties {
249
250 display: none;
251
252 position: fixed;
253 top: 0;
254 left: -338px;
255 bottom: 0;
256 width: 338px;
257 background: #ffffff;
258 border:1px solid #D0D0D0;
259 overflow-y: auto;
260
261 z-index: 100000;
262
263 .toolbar {
264 display: block;
265 padding: 7px 10px;
266 border-bottom: 1px solid #aaa;
267 background: #F6F6F6;
268 text-align: left;
269
270 select {
271 line-height: 1;
272 font-size: 13px;
273 max-width: 265px;
274 .transition(0.5s);
275
276 &.highlighted {
277 background: #daeaf7;
278 }
279 }
280
281 .close {
282 float: right;
283 margin: 2px 4px 0 0;
284 }
285 }
286
287 .section-tabs {
288 list-style: none;
289 height: auto;
290 margin: 0;
291 box-shadow: 0 1px 1px rgba(0,0,0,0.1);
292
293 li {
294 box-sizing: border-box;
295 float: left;
296 width: 33.333%;
297 padding: 10px 7px;
298 border: 1px solid #aaa;
299 background: #F6F6F6;
300 font-weight: bold;
301
302 border-top: 0;
303 border-left: 0;
304 font-size: 13px;
305 line-height: 1em;
306
307 cursor: pointer;
308 white-space: nowrap;
309 overflow: hidden;
310
311 color: #666;
312
313 &:hover {
314 background: #fff;
315 }
316
317 .fa {
318 float: left;
319 display: block;
320 margin: -1px 6px -1px 0;
321 font-size: 15px;
322 color: #666;
323 }
324
325 &:last-child {
326 border-right: 0;
327 }
328
329 &.active {
330 color: #444;
331 background: #e8e8e8;
332
333 .fa {
334 color: #333;
335 }
336 }
337 }
338 }
339
340 .sections {
341
342 .section {
343 display: none;
344 padding: 10px;
345 }
346
347 .fields-table {
348 width: 100%;
349 padding-top: 5px;
350
351 th, td {
352 position: relative;
353 .clearfix();
354 }
355
356 th[scope="row"] {
357 font-weight: bold;
358 font-size: 12px;
359 padding-right: 10px;
360 text-align: left;
361 width: 36%;
362 vertical-align: top;
363 }
364
365 td {
366 padding: 0 0 12px 0 ;
367 }
368
369 input, select {
370 display: block;
371 margin: 0 25px 0 0;
372 border: 1px solid #c0c0c0;
373 width: 175px;
374
375 box-sizing: border-box;
376 border-radius: 0;
377 }
378
379 .select {
380 display: block;
381 position: absolute;
382 top: 0px;
383 right: 1px;
384
385 padding: 5px;
386 cursor: pointer;
387 font-size: 15px;
388 }
389
390 .select-tabs {
391 margin: 0;
392 height: 40px;
393
394 .select-tab {
395 cursor: pointer;
396 float: left;
397
398 -webkit-box-sizing: border-box;
399 -moz-box-sizing: border-box;
400 box-sizing: border-box;
401
402 text-align: center;
403 border: 1px solid #c0c0c0;
404 padding: 4px 2px;
405 border-right-width: 0;
406 background: #f7f7f7;
407
408 .fa {
409 line-height: 14px;
410 font-size: 14px;
411 color: #777;
412 }
413
414 &:last-child {
415 border-right-width: 1px;
416 }
417
418 &:hover, &.active {
419 background: #e9e9e9;
420
421 .fa {
422 color: #333;
423 }
424 }
425
426 }
427
428 }
429
430 .side-tabs {
431 height: 26px;
432
433 .side-tab {
434 width: 20%;
435 text-align: center;
436 padding: 5px;
437 line-height: 0;
438
439 div {
440 display: inline-block;
441 width: 10px;
442 height: 10px;
443 border: 2px solid #aaa;
444 }
445
446 @border_color: #12609b;
447
448 .spacing-all {
449 border-color: @border_color;
450 }
451
452 .spacing-top {
453 border-top-color: @border_color;
454 }
455
456 .spacing-left {
457 border-left-color: @border_color;
458 }
459
460 .spacing-bottom {
461 border-bottom-color: @border_color;
462 }
463
464 .spacing-right {
465 border-right-color: @border_color;
466 }
467 }
468 }
469
470 .sides {
471 .side > div {
472 margin-bottom: 5px;
473
474 &:last-child {
475 margin-bottom: 0;
476 }
477 }
478 }
479
480 }
481 }
482 }
483
484 .css-editor-snippet-browser {
485 display: none;
486
487 .snippet-browser-overlay {
488 position: fixed;
489 z-index: 100000;
490 top: 0;
491 left: 0;
492 right: 0;
493 bottom: 0;
494 background: rgba(0,0,0,0.8);
495 }
496
497 .snippet-browser-dialog {
498
499 @dialog_side_space: 40px;
500
501 > div {
502 position: fixed;
503 z-index: 100001;
504 background: #fff;
505 box-sizing: border-box;
506 }
507
508 .toolbar {
509 top: @dialog_side_space;
510 left: @dialog_side_space;
511 right: @dialog_side_space;
512 height: 50px;
513 background: #FCFCFC;
514 border-bottom: 1px solid #dddddd;
515 overflow: hidden;
516
517 h1 {
518 padding: 0 16px;
519 font-size: 22px;
520 line-height: 50px;
521 margin: 0;
522 color: #444;
523 }
524
525 .close {
526 cursor: pointer;
527 color: #777;
528 background-color: transparent;
529 height: 50px;
530 width: 50px;
531 padding: 15px 0 0 0;
532 position: absolute;
533 text-align: center;
534 border: 0;
535 border-left: 1px solid #ddd;
536 top: 0;
537 right: 0;
538 text-decoration: none;
539 box-sizing: border-box;
540
541 &:hover {
542 background: #dddddd;
543 }
544
545 .icon {
546 &:before {
547 content: '\f158';
548 font: normal 20px/1 'dashicons';
549 vertical-align: middle;
550 -webkit-font-smoothing: antialiased;
551 -moz-osx-font-smoothing: grayscale;
552 color: #666;
553 }
554 }
555 }
556 }
557
558 .sidebar {
559 top: @dialog_side_space + 50px;
560 left: @dialog_side_space;
561 bottom: @dialog_side_space + 50px;
562 width: 300px;
563 background: #f3f3f3;
564 border-right: 1px solid #dddddd;
565 padding: 16px;
566 overflow: auto;
567
568 .snippet-search {
569 width: 100%;
570 margin-bottom: 20px;
571 padding: 8px;
572 }
573
574 .snippets {
575 margin: 0;
576
577 .snippet {
578 cursor: pointer;
579 font-size: 1.1em;
580 line-height: 1.35em;
581 margin-bottom: 20px;
582
583 &.active {
584 font-weight: bold;
585 }
586 }
587 }
588 }
589
590 .main {
591 top: @dialog_side_space + 50px;
592 left: @dialog_side_space + 300px;
593 right: @dialog_side_space;
594 bottom: @dialog_side_space + 50px;
595 background: #fff;
596 overflow: auto;
597
598 .snippet-view {
599 padding: 20px;
600
601 .snippet-title {
602 margin: 0 0 0.75em 0;
603 padding: 0;
604 }
605
606 .snippet-description {
607 font-size: 1.1em;
608 color: #666;
609 margin-bottom: 2em;
610 }
611
612 .snippet-code {
613 padding: 20px;
614 border: 1px solid #d0d0d0;
615 background: #f8f8f8;
616 }
617 }
618 }
619
620 .buttons {
621 bottom: @dialog_side_space;
622 left: @dialog_side_space;
623 right: @dialog_side_space;
624 height: 50px;
625 background: #FCFCFC;
626 border-top: 1px solid #dddddd;
627 text-align: right;
628 padding: 10px 20px;
629 overflow: hidden;
630 }
631
632
633 }
634 }
635
636 .socss-field-measurement {
637
638 position: relative;
639
640 input.socss-field-input {
641 min-height: 1.5em;
642 padding-right: 50px;
643 width: 120px !important;
644 box-sizing: border-box;
645 }
646
647 .dashicons-arrow-down {
648 position: absolute;
649 top: 4px;
650 left: 97px;
651 cursor: pointer;
652 }
653
654 .dropdown {
655 display: none;
656 background: #F5F5F5;
657 border: 1px solid #c0c0c0;
658 position: absolute;
659 top: 27px;
660 left: 120px - 50px + 1px;
661 width: 50px;
662 z-index: 2;
663 margin: 0;
664
665 box-sizing: border-box;
666 box-shadow: 0 1px 1px rgba(0,0,0,0.15);
667
668 li {
669 padding: 5px 0;
670 text-align: center;
671 line-height: 1.1em;
672 font-size: 11px;
673 margin: 0;
674
675 &:hover, &.active {
676 background: #e8e8e8;
677 cursor: pointer;
678 }
679 }
680 }
681
682 .units {
683 position: absolute;
684 top: 5px;
685 left: 12px;
686 color: #bbb;
687 pointer-events: none;
688 }
689 }
690
691 .socss-diw {
692 position: absolute;
693 top: 0px;
694 left: 124px;
695
696 .inc-button,
697 .dec-button{
698 cursor: pointer;
699 box-sizing: border-box;
700 float: left;
701 padding: 8px;
702 user-select: none;
703 text-align: center;
704 margin: 0;
705 width: 27px;
706 height: 27px;
707 font-size: 10px;
708 }
709
710 .inc-button {
711 border-left: 0;
712 }
713 }
714
715 .socss-button {
716 cursor: pointer;
717
718 line-height: 1em;
719 display: inline-block;
720 border: 1px solid #c0c0c0;
721 background: #f7f7f7;
722 text-decoration: none;
723 padding: 6px;
724 font-weight: bold;
725 color: #555;
726 font-size: 0.95em;
727 margin-left: 5px;
728
729 -webkit-user-select: none;
730 -moz-user-select: none;
731 -ms-user-select: none;
732 -o-user-select: none;
733 user-select: none;
734
735 &:hover {
736 border-color:#b0b0b0;
737 background: #fff;
738 box-shadow: 0 1px 2px rgba(0,0,0,0.1);
739
740 .fa {
741 color: #333;
742 }
743 }
744
745 .fa {
746 color: #555;
747 }
748 }
749
750 .CodeMirror-lint-tooltip,
751 .CodeMirror-hints {
752 /* This is above the editor in full-screen mode */
753 z-index: 100002;
754 }