PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.7.8
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.7.8
2.7.9 2.7.8 2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 All 30 releases
← All changes | admin/assets/css/general.less +161 -65 2.0.6 → 2.7.8 View file →
@@ -1,66 +1,162 @@
1 -/**
2 - * General styles for snippets post types
3 - * @author Webcraftic <[email protected]>
4 - * @copyright Webcraftic 28.05.2018
5 - */
6 -
7 -.CodeMirror {
8 - height: auto !important;
9 - border: 1px solid #dad8d8;
10 -}
11 -
12 -.CodeMirror-scroll {
13 - min-height: 250px;
14 -}
15 -
16 -.misc-pub-post-status, .misc-pub-visibility {
17 - display: none;
18 -}
19 -
20 -.postbox {
21 - display: none;
22 -}
23 -
24 -#WINP_BaseOptionsMetaBox, #WINP_InfoMetaBox, #tagsdiv-wbcr-snippet-tags, #submitdiv {
25 - display: block;
26 -}
27 -
28 -#WINP_InfoMetaBox {
29 - background: #2a2428;
30 - color: #989898;
31 -
32 - h2 {
33 - font-size: 16px;
34 - color: rgb(255, 226, 2);
35 - text-transform: uppercase;
36 - }
37 - h4 {
38 - margin: 0;
39 - text-align: center;
40 - }
41 -
42 - .inside {
43 - padding: 0;
44 - }
45 -
46 - .wbcr-inp-metabox-banner {
47 - padding: 15px;
48 -
49 - .wbcr-inp-big-text {
50 - color: #fff;
51 - font-size: 15px;
52 - }
53 - .wbcr-inp-button {
54 - display: block;
55 - font-size: 18px;
56 - letter-spacing: 0;
57 - margin-top: 10px;
58 - text-decoration: none;
59 - color: #2a2428;
60 - background-color: #f9e100;
61 - padding: 15px 50px 15px 50px;
62 - box-shadow: 0 5px 0 0 #af9800;
63 - }
64 - }
65 -
1 +/**
2 + * General styles for snippets post types
3 + */
4 +//cm-matchhighlight
5 +
6 +.wbcr-inp-snippet-type-php .CodeMirror-sizer:before {
7 + content: "<?php";
8 + color: #bbb;
9 + padding: 4px 5px 0;
10 +}
11 +
12 +.wbcr-inp-snippet-type-css .CodeMirror-sizer:before {
13 + content: '<style type="text/css">';
14 + color: #bbb;
15 + padding: 4px 5px 0;
16 +}
17 +
18 +.wbcr-inp-snippet-type-css .CodeMirror:after {
19 + content: '</style>';
20 + position: absolute;
21 + display: block;
22 + left: 55px;
23 + bottom: 3px;
24 + color: #bbb;
25 +}
26 +
27 +.wbcr-inp-snippet-type-js .CodeMirror-sizer:before {
28 + content: '<script type="text/javascript">';
29 + color: #bbb;
30 + padding: 4px 5px 0;
31 +}
32 +
33 +.wbcr-inp-snippet-type-js .CodeMirror:after {
34 + content: '</script>';
35 + position: absolute;
36 + display: block;
37 + left: 55px;
38 + bottom: 3px;
39 + color: #bbb;
40 +}
41 +
42 +.CodeMirror {
43 + height: auto !important;
44 + border: 0 !important;
45 +
46 + .cm-winp-matchhighlight {
47 + background-color: rgba(255, 143, 26, 0.21);
48 + border: 0 !important;
49 + }
50 +
51 + .CodeMirror-selection-highlight-scrollbar {
52 + background-color: rgba(255, 143, 26, 0.61)
53 + }
54 +}
55 +
56 +.CodeMirror-scroll {
57 + min-height: 250px;
58 +}
59 +
60 +.misc-pub-post-status, .misc-pub-visibility {
61 + display: none;
62 +}
63 +
64 +.postbox {
65 + display: none;
66 +}
67 +
68 +.winp-enable-php-wrapper {
69 + margin: 15px 0 auto;
70 +
71 + .winp-enable-php-btn i {
72 + font-size: 1.2em;
73 + line-height: inherit;
74 + height: auto;
75 + }
76 +}
77 +
78 +.winp-editor-container {
79 + visibility: hidden;
80 + height: 0;
81 +}
82 +
83 +.winp-snippet-enabled .winp-editor-container {
84 + margin-top: 20px;
85 + visibility: visible;
86 + height: auto;
87 +}
88 +
89 +.winp-snippet-enabled .composer-switch,
90 +.winp-snippet-enabled .fl-builder-admin,
91 +.winp-snippet-enabled #postdivrich,
92 +.winp-snippet-enabled #elementor-switch-mode,
93 +.winp-snippet-enabled.elementor-editor-active #elementor-editor,
94 +.winp-snippet-enabled #elementor-editor {
95 + display: none;
96 +}
97 +
98 +.winp-snippet-enabled #wpb_visual_composer {
99 + display: none !important;
100 +}
101 +
102 +.winp-php-content {
103 + height: 300px;
104 + width: 100%;
105 + box-sizing: border-box;
106 + z-index: auto;
107 + position: relative;
108 + -webkit-transition: none;
109 + transition: none;
110 + background: transparent !important;
111 +}
112 +
113 +#winp-export-action {
114 + float: left;
115 + line-height: 28px;
116 + padding-right: 10px;
117 +}
118 +
119 +.winp-import-radio-container label {
120 + font-weight: normal;
121 +}
122 +
123 +.wrap {
124 + .winp-page-title-action {
125 + margin-left: 4px;
126 + padding: 4px 8px;
127 + position: relative;
128 + top: -3px;
129 + text-decoration: none;
130 + border: 1px solid #ccc;
131 + border-radius: 2px;
132 + background: #f7f7f7;
133 + text-shadow: none;
134 + font-weight: 600;
135 + font-size: 13px;
136 + line-height: normal;
137 + color: #0073aa;
138 + cursor: pointer;
139 + }
140 +
141 + .winp-field-premium-icon::after {
142 + display: inline-block;
143 + position: relative;
144 + content: 'PRO';
145 + background: #ff5722;
146 + border-radius: 4px;
147 + color: #fff;
148 + font-size: 10px;
149 + line-height: 1;
150 + font-style: normal;
151 + padding: 4px 6px;
152 + margin-left: 4px;
153 + vertical-align: top;
154 + top: -40px;
155 + left: 230px;
156 + z-index: 11;
157 + }
158 +
159 + .winp-field-w250 {
160 + width: 250px;
161 + }
66 162 }