PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.7.1
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.7.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.7.1, at admin/assets/css/general.less

162 lines 2.9 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 */
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 }
162 }