PluginProbe
Smart Custom Fields / trunk
Smart Custom Fields vtrunk
1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 2.0.0 2.0.1 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 3.0.0 3.0.1 3.1.0 3.1.1 3.1.2 All 68 releases
smart-custom-fields / css / editor.css

editor.css in Smart Custom Fields trunk, at css/editor.css

254 lines 5.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * editor.css
3 * Version : 1.3.1
4 * Author : inc2734
5 * Created : September 23, 2014
6 * Modified : June 4, 2016
7 * License : GPLv2 or later
8 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
9 */
10
11 /** ==================================================
12 * #normal-sortables
13 */
14 .smart-cf-meta-box {
15 margin: 0 -12px;
16 }
17
18 /** ==================================================
19 * .smart-cf-meta-box-table
20 */
21 .smart-cf-meta-box-table {
22 background: #fff;
23 border-bottom: #eee solid 1px;
24 padding: 10px 12px;
25 }
26 .smart-cf-meta-box-table table {
27 width: 100%;
28 }
29 .smart-cf-meta-box-table th,
30 .smart-cf-meta-box-table td {
31 font-weight: normal;
32 text-align: left;
33 padding: 7px 5px;
34 vertical-align: top;
35 }
36 .smart-cf-meta-box-table th {
37 width: 25%;
38 }
39 .smart-cf-meta-box-table td label {
40 margin-right: 10px;
41 }
42 .smart-cf-meta-box-table .wp-editor-tools:after {
43 display: block;
44 }
45 .smart-cf-meta-box-table .wp-editor-container {
46 clear: both;
47 }
48 .smart-cf-meta-box-table td .instruction {
49 font-size: 14px;
50 margin: 0 0 10px;
51 }
52 .smart-cf-meta-box-table td .description {
53 font-size: 12px;
54 margin: 10px 0 0;
55 color: #888;
56 }
57 .smart-cf-meta-box-table td .clear {
58 clear: both;
59 }
60
61 /** ==================================================
62 * .smart-cf-meta-box-repeat-tables
63 */
64 .smart-cf-meta-box-repeat-tables .smart-cf-meta-box-table > .smart-cf-icon-handle,
65 .smart-cf-meta-box-repeat-tables .smart-cf-meta-box-table > .smart-cf-repeat-btn {
66 position: relative;
67 top: 3px;
68 vertical-align: middle;
69 }
70 .smart-cf-meta-box-repeat-tables .smart-cf-repeat-btn {
71 cursor: pointer;
72 width: auto;
73 height: auto;
74 font-size: 1.3em;
75 padding: 0;
76 -webkit-border-radius: 50%;
77 border-radius: 50%;
78 display: inline-block;
79 vertical-align: middle;
80 text-align: center;
81 color: #999;
82 margin-right: 3px;
83 }
84 .smart-cf-meta-box-repeat-tables .smart-cf-icon-handle:hover,
85 .smart-cf-meta-box-repeat-tables .smart-cf-repeat-btn:hover {
86 color: #333;
87 }
88 .smart-cf-meta-box-repeat-tables table {
89 margin-top: 7px;
90 }
91
92 /** ==================================================
93 * relation
94 */
95 .smart-cf-meta-box-table .smart-cf-relation-left,
96 .smart-cf-meta-box-table .smart-cf-relation-right {
97 border: #ddd solid 1px;
98 border-radius: 3px;
99 height: 160px;
100 }
101 .smart-cf-meta-box-table .smart-cf-relation-left ul,
102 .smart-cf-meta-box-table .smart-cf-relation-right ul {
103 list-style: none;
104 margin: 0;
105 padding: 0;
106 }
107 .smart-cf-meta-box-table .smart-cf-relation-left ul li,
108 .smart-cf-meta-box-table .smart-cf-relation-right ul li {
109 background: #fff;
110 border-bottom: #eee solid 1px;
111 color: #999;
112 margin: 0;
113 padding: 5px 10px;
114 position: relative;
115 }
116 .smart-cf-meta-box-table .smart-cf-relation-left ul li[data-status="publish"],
117 .smart-cf-meta-box-table .smart-cf-relation-right ul li[data-status="publish"] {
118 color: #0074a2;
119 }
120 .smart-cf-meta-box-table .smart-cf-relation-left ul li::after,
121 .smart-cf-meta-box-table .smart-cf-relation-right ul li::after {
122 content: attr(data-status);
123 display: inline-block;
124 background-color: #999;
125 color: #fff;
126 border-radius: 4px;
127 padding: 0 3px;
128 font-size: 10px;
129 margin-left: .5em;
130 position: relative;
131 top: -1px;
132 }
133 .smart-cf-meta-box-table .smart-cf-relation-left ul li[data-status="publish"]::after,
134 .smart-cf-meta-box-table .smart-cf-relation-right ul li[data-status="publish"]::after {
135 display: none;
136 }
137 .smart-cf-meta-box-table .smart-cf-relation-left {
138 float: left;
139 width: 47%;
140 overflow: hidden;
141 }
142 .smart-cf-meta-box-table .smart-cf-relation-left .smart-cf-search {
143 background-color: #f5f5f5;
144 border-bottom: 1px solid #eee;
145 padding: 5px;
146 }
147 .smart-cf-meta-box-table .smart-cf-relation-left .smart-cf-relation-children-select {
148 overflow: auto;
149 height: 122px;
150 }
151 .smart-cf-meta-box-table .smart-cf-relation-left ul li {
152 cursor: pointer;
153 }
154 .smart-cf-meta-box-table .smart-cf-relation-left ul li:hover {
155 background: #e4f6fd;
156 }
157 .smart-cf-meta-box-table .smart-cf-relation-left .load-relation-items {
158 background: #e4f6fd;
159 cursor: pointer;
160 margin: 0;
161 padding: 6px 10px;
162 text-align: center;
163 }
164 .smart-cf-meta-box-table .smart-cf-relation-left .load-relation-items:hover {
165 background: #c1ebfc;
166 }
167 .smart-cf-meta-box-table .smart-cf-relation-right {
168 float: right;
169 width: 50%;
170 overflow: auto;
171 }
172 .smart-cf-meta-box-table .smart-cf-relation-right ul li {
173 padding-right: 30px;
174 padding-left: 30px;
175 }
176 .smart-cf-meta-box-table .smart-cf-relation-right ul li .smart-cf-icon-handle {
177 position: absolute;
178 top: 4px;
179 left: 5px;
180 margin: 0;
181 }
182 .smart-cf-meta-box-table .smart-cf-relation-right ul li .relation-remove {
183 cursor: pointer;
184 display: block;
185 display: flex;
186 align-items: center;
187 justify-content: center;
188 height: 12px;
189 width: 12px;
190 line-height: 1;
191 border-radius: 3px;
192 position: absolute;
193 top: 7px;
194 right: 6px;
195 color: #fff;
196 background-color: #32373c;
197 }
198
199 /** ==================================================
200 * .smart-cf-upload-image, .smart-cf-upload-file
201 */
202 .smart-cf-upload-image,
203 .smart-cf-upload-file {
204 display: inline-block;
205 position: relative;
206 }
207 .smart-cf-upload-image img,
208 .smart-cf-upload-file img {
209 margin-top: 5px;
210 max-width: 100%;
211 vertical-align: top;
212 }
213 .smart-cf-upload-image .btn-remove-image,
214 .smart-cf-upload-file .btn-remove-file {
215 background: red;
216 border-radius: 3px;
217 color: #fff;
218 cursor: pointer;
219 display: block;
220 font-size: 10px;
221 padding: 2px 6px;
222 position: absolute;
223 left: 5px;
224 bottom: 5px;
225 }
226
227 /** ==================================================
228 * .hide
229 */
230 .smart-cf-upload-image.hide,
231 .smart-cf-upload-file.hide,
232 .smart-cf-upload-image .btn-remove-image.hide,
233 .smart-cf-upload-file .btn-remove-file.hide,
234 .load-relation-items.hide {
235 display: none;
236 }
237
238 /** ==================================================
239 * classes
240 */
241 .smart-cf-icon-handle {
242 cursor: move;
243 display: inline-block;
244 margin-right: 10px;
245 overflow: hidden;
246 position: relative;
247 color: #CCC;
248 }
249
250 .smart-cf-item-vertical {
251 display: block;
252 margin: 0 0 3px;
253 }
254