PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.3.1
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.3.1
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 2.6.1 2.7.0 All 28 releases
insert-php / admin / assets / css / general.less

general.less in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts 2.3.1, at admin/assets/css/general.less

244 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * General styles for snippets post types
3 * @author Webcraftic <wordpress.webraftic@gmail.com>
4 * @copyright Webcraftic 28.05.2018
5 */
6 //cm-matchhighlight
7
8 .wbcr-inp-snippet-type-php .CodeMirror-sizer:before {
9 content: "<?php";
10 color: #bbb;
11 padding: 4px 5px 0;
12 }
13
14 .wbcr-inp-snippet-type-css .CodeMirror-sizer:before {
15 content: '<style type="text/css">';
16 color: #bbb;
17 padding: 4px 5px 0;
18 }
19
20 .wbcr-inp-snippet-type-css .CodeMirror:after {
21 content: '</style>';
22 position: absolute;
23 display: block;
24 left: 55px;
25 bottom: 3px;
26 color: #bbb;
27 }
28
29 .wbcr-inp-snippet-type-js .CodeMirror-sizer:before {
30 content: '<script type="text/javascript">';
31 color: #bbb;
32 padding: 4px 5px 0;
33 }
34
35 .wbcr-inp-snippet-type-js .CodeMirror:after {
36 content: '</script>';
37 position: absolute;
38 display: block;
39 left: 55px;
40 bottom: 3px;
41 color: #bbb;
42 }
43
44 .CodeMirror {
45 height: auto !important;
46 border: 0 !important;
47
48 .cm-winp-matchhighlight {
49 background-color: rgba(255, 143, 26, 0.21);
50 border: 0 !important;
51 }
52
53 .CodeMirror-selection-highlight-scrollbar {
54 background-color: rgba(255, 143, 26, 0.61)
55 }
56 }
57
58 .CodeMirror-scroll {
59 min-height: 250px;
60 }
61
62 .misc-pub-post-status, .misc-pub-visibility {
63 display: none;
64 }
65
66 .postbox {
67 display: none;
68 }
69
70 #WINP_BaseOptionsMetaBox, #WINP_InfoMetaBox, #tagsdiv-wbcr-snippet-tags, #submitdiv {
71 display: block;
72
73 &.hide-if-js {
74 display: none;
75 }
76 }
77
78 #WINP_InfoMetaBox {
79 //background: #2a2428;
80 color: #222;
81
82 h2 {
83 display: none;
84 font-size: 12px;
85 color: #353535;
86 text-transform: uppercase;
87 }
88
89 h4 {
90 margin: 0;
91 text-align: center;
92 }
93
94 .inside {
95 padding: 0;
96 margin: 0;
97 }
98
99 .wbcr-inp-metabox-banner {
100 //padding: 15px;
101
102 .wbcr-inp-big-text {
103 display: block;
104 color: #9ca096;
105 font-size: 15px;
106 padding: 15px;
107 text-align: center;
108 }
109
110 .wbcr-inp-image {
111 img {
112 width: 100%;
113 }
114
115 //background: #f3f3f3;
116 //padding: 20px 0;
117 }
118
119 .wbcr-inp-title {
120 padding: 15px;
121 margin: 0;
122 font-size: 15px;
123 text-align: center;
124 color: #ca4a1f;
125 background: #fff5f4;
126
127 span {
128 font-size: 12px;
129 }
130 }
131
132 .wbcr-inp-button {
133 display: block;
134 font-size: 16px;
135 text-align: center;
136 letter-spacing: 0;
137 text-decoration: none;
138 color: #828282;
139 font-weight: 600;
140 background-color: #f7f7f7;
141 padding: 15px 30px 15px 30px;
142 box-shadow: 0 1px 3px #b9b9b9;
143 border-bottom: 1px solid #e8e8e8;
144 margin: 10px;
145 }
146 }
147
148 }
149
150 .winp-enable-php-wrapper {
151 margin: 15px 0 auto;
152
153 .winp-enable-php-btn i {
154 font-size: 1.2em;
155 line-height: inherit;
156 height: auto;
157 }
158 }
159
160 .winp-editor-container {
161 visibility: hidden;
162 height: 0;
163 }
164
165 .winp-snippet-enabled .winp-editor-container {
166 margin-top: 20px;
167 visibility: visible;
168 height: auto;
169 }
170
171 .winp-snippet-enabled .composer-switch,
172 .winp-snippet-enabled .fl-builder-admin,
173 .winp-snippet-enabled #postdivrich,
174 .winp-snippet-enabled #elementor-switch-mode,
175 .winp-snippet-enabled.elementor-editor-active #elementor-editor,
176 .winp-snippet-enabled #elementor-editor {
177 display: none;
178 }
179
180 .winp-snippet-enabled #wpb_visual_composer {
181 display: none !important;
182 }
183
184 .winp-php-content {
185 height: 300px;
186 width: 100%;
187 box-sizing: border-box;
188 z-index: auto;
189 position: relative;
190 -webkit-transition: none;
191 transition: none;
192 background: transparent !important;
193 }
194
195 #winp-export-action {
196 float: left;
197 line-height: 28px;
198 padding-right: 10px;
199 }
200
201 .winp-import-radio-container label {
202 font-weight: normal;
203 }
204
205 .wrap {
206 .winp-page-title-action {
207 margin-left: 4px;
208 padding: 4px 8px;
209 position: relative;
210 top: -3px;
211 text-decoration: none;
212 border: 1px solid #ccc;
213 border-radius: 2px;
214 background: #f7f7f7;
215 text-shadow: none;
216 font-weight: 600;
217 font-size: 13px;
218 line-height: normal;
219 color: #0073aa;
220 cursor: pointer;
221 }
222
223 .winp-field-premium-icon::after {
224 display: inline-block;
225 position: relative;
226 content: 'PRO';
227 background: #ff5722;
228 border-radius: 4px;
229 color: #fff;
230 font-size: 10px;
231 line-height: 1;
232 font-style: normal;
233 padding: 4px 6px;
234 margin-left: 4px;
235 vertical-align: top;
236 top: -40px;
237 left: 230px;
238 z-index: 11;
239 }
240
241 .winp-field-w250 {
242 width: 250px;
243 }
244 }