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 -172 2.1.91 → 2.7.8 View file →
@@ -1,173 +1,162 @@
1 -/**
2 - * General styles for snippets post types
3 - * @author Webcraftic <[email protected]>
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 -.CodeMirror {
15 - height: auto !important;
16 - border: 0 !important;
17 -
18 - .cm-winp-matchhighlight {
19 - background-color: rgba(255, 143, 26, 0.21);
20 - border: 0 !important;
21 - }
22 -
23 - .CodeMirror-selection-highlight-scrollbar {
24 - background-color: rgba(255, 143, 26, 0.61)
25 - }
26 -}
27 -
28 -.CodeMirror-scroll {
29 - min-height: 250px;
30 -}
31 -
32 -.misc-pub-post-status, .misc-pub-visibility {
33 - display: none;
34 -}
35 -
36 -.postbox {
37 - display: none;
38 -}
39 -
40 -#WINP_BaseOptionsMetaBox, #WINP_InfoMetaBox, #tagsdiv-wbcr-snippet-tags, #submitdiv {
41 - display: block;
42 -
43 - &.hide-if-js {
44 - display: none;
45 - }
46 -}
47 -
48 -#WINP_InfoMetaBox {
49 - //background: #2a2428;
50 - color: #222;
51 -
52 - h2 {
53 - display: none;
54 - font-size: 12px;
55 - color: #353535;
56 - text-transform: uppercase;
57 - }
58 -
59 - h4 {
60 - margin: 0;
61 - text-align: center;
62 - }
63 -
64 - .inside {
65 - padding: 0;
66 - margin: 0;
67 - }
68 -
69 - .wbcr-inp-metabox-banner {
70 - //padding: 15px;
71 -
72 - .wbcr-inp-big-text {
73 - display: block;
74 - color: #9ca096;
75 - font-size: 15px;
76 - padding: 15px;
77 - text-align: center;
78 - }
79 -
80 - .wbcr-inp-image {
81 - img {
82 - width: 100%;
83 - }
84 -
85 - //background: #f3f3f3;
86 - padding: 20px 0;
87 - }
88 -
89 - .wbcr-inp-title {
90 - padding: 15px;
91 - margin: 0;
92 - font-size: 15px;
93 - text-align: center;
94 - color: #ca4a1f;
95 - background: #fff5f4;
96 -
97 - span {
98 - font-size: 12px;
99 - }
100 - }
101 -
102 - .wbcr-inp-button {
103 - display: block;
104 - font-size: 16px;
105 - text-align: center;
106 - letter-spacing: 0;
107 - text-decoration: none;
108 - color: #828282;
109 - font-weight: 600;
110 - background-color: #f7f7f7;
111 - padding: 15px 30px 15px 30px;
112 - box-shadow: 0 1px 3px #b9b9b9;
113 - border-bottom: 1px solid #e8e8e8;
114 - margin: 10px;
115 - }
116 - }
117 -
118 -}
119 -
120 -.winp-enable-php-wrapper {
121 - margin: 15px 0 auto;
122 -
123 - .winp-enable-php-btn i {
124 - font-size: 1.2em;
125 - line-height: inherit;
126 - height: auto;
127 - }
128 -}
129 -
130 -.winp-editor-container {
131 - visibility: hidden;
132 - height: 0;
133 -}
134 -
135 -.winp-snippet-enabled .winp-editor-container {
136 - margin-top: 20px;
137 - visibility: visible;
138 - height: auto;
139 -}
140 -
141 -.winp-snippet-enabled .composer-switch,
142 -.winp-snippet-enabled .fl-builder-admin,
143 -.winp-snippet-enabled #postdivrich,
144 -.winp-snippet-enabled #elementor-switch-mode,
145 -.winp-snippet-enabled.elementor-editor-active #elementor-editor,
146 -.winp-snippet-enabled #elementor-editor {
147 - display: none;
148 -}
149 -
150 -.winp-snippet-enabled #wpb_visual_composer {
151 - display: none !important;
152 -}
153 -
154 -.winp-php-content {
155 - height: 300px;
156 - width: 100%;
157 - box-sizing: border-box;
158 - z-index: auto;
159 - position: relative;
160 - -webkit-transition: none;
161 - transition: none;
162 - background: transparent !important;
163 -}
164 -
165 -#winp-export-action {
166 - float: left;
167 - line-height: 28px;
168 - padding-right: 10px;
169 -}
170 -
171 -.winp-import-radio-container label {
172 - font-weight: normal;
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 + }
173 162 }