PluginProbe
Smart Custom Fields / 3.1.2
Smart Custom Fields v3.1.2
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 3.1.2, at css/editor.css

215 lines 4.7 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
58 /** ==================================================
59 * .smart-cf-meta-box-repeat-tables
60 */
61 .smart-cf-meta-box-repeat-tables .smart-cf-meta-box-table > .smart-cf-icon-handle,
62 .smart-cf-meta-box-repeat-tables .smart-cf-meta-box-table > .smart-cf-repeat-btn {
63 position: relative;
64 top: 3px;
65 vertical-align: middle;
66 }
67 .smart-cf-meta-box-repeat-tables .smart-cf-repeat-btn {
68 cursor: pointer;
69 width: auto;
70 height: auto;
71 font-size: 1.3em;
72 padding: 0;
73 -webkit-border-radius: 50%;
74 border-radius: 50%;
75 display: inline-block;
76 vertical-align: middle;
77 text-align: center;
78 color: #999;
79 margin-right: 3px;
80 }
81 .smart-cf-meta-box-repeat-tables .smart-cf-icon-handle:hover,
82 .smart-cf-meta-box-repeat-tables .smart-cf-repeat-btn:hover {
83 color: #333;
84 }
85 .smart-cf-meta-box-repeat-tables table {
86 margin-top: 7px;
87 }
88
89 /** ==================================================
90 * relation
91 */
92 .smart-cf-meta-box-table .smart-cf-relation-left,
93 .smart-cf-meta-box-table .smart-cf-relation-right {
94 border: #ddd solid 1px;
95 border-radius: 3px;
96 height: 160px;
97 }
98 .smart-cf-meta-box-table .smart-cf-relation-left ul,
99 .smart-cf-meta-box-table .smart-cf-relation-right ul {
100 list-style: none;
101 margin: 0;
102 padding: 0;
103 }
104 .smart-cf-meta-box-table .smart-cf-relation-left ul li,
105 .smart-cf-meta-box-table .smart-cf-relation-right ul li {
106 background: #fff;
107 border-bottom: #eee solid 1px;
108 color: #0074a2;
109 margin: 0;
110 padding: 5px 10px;
111 position: relative;
112 }
113 .smart-cf-meta-box-table .smart-cf-relation-left {
114 float: left;
115 width: 47%;
116 overflow: hidden;
117 }
118 .smart-cf-meta-box-table .smart-cf-relation-left .smart-cf-search {
119 background-color: #f5f5f5;
120 border-bottom: 1px solid #eee;
121 padding: 5px;
122 }
123 .smart-cf-meta-box-table .smart-cf-relation-left .smart-cf-relation-children-select {
124 overflow: auto;
125 height: 122px;
126 }
127 .smart-cf-meta-box-table .smart-cf-relation-left ul li {
128 cursor: pointer;
129 }
130 .smart-cf-meta-box-table .smart-cf-relation-left ul li:hover {
131 background: #e4f6fd;
132 }
133 .smart-cf-meta-box-table .smart-cf-relation-left .load-relation-items {
134 background: #e4f6fd;
135 cursor: pointer;
136 margin: 0;
137 padding: 6px 10px;
138 text-align: center;
139 }
140 .smart-cf-meta-box-table .smart-cf-relation-left .load-relation-items:hover {
141 background: #c1ebfc;
142 }
143 .smart-cf-meta-box-table .smart-cf-relation-right {
144 float: right;
145 width: 50%;
146 overflow: auto;
147 }
148 .smart-cf-meta-box-table .smart-cf-relation-right ul li .relation-remove {
149 cursor: pointer;
150 display: block;
151 padding: 2px 8px;
152 position: absolute;
153 top: 2px;
154 right: 6px;
155 }
156 .smart-cf-meta-box-table .smart-cf-relation-right ul li {
157 padding-right: 15px;
158 }
159
160 /** ==================================================
161 * .smart-cf-upload-image, .smart-cf-upload-file
162 */
163 .smart-cf-upload-image,
164 .smart-cf-upload-file {
165 display: inline-block;
166 position: relative;
167 }
168 .smart-cf-upload-image img,
169 .smart-cf-upload-file img {
170 margin-top: 5px;
171 max-width: 100%;
172 vertical-align: top;
173 }
174 .smart-cf-upload-image .btn-remove-image,
175 .smart-cf-upload-file .btn-remove-file {
176 background: red;
177 border-radius: 3px;
178 color: #fff;
179 cursor: pointer;
180 display: block;
181 font-size: 10px;
182 padding: 2px 6px;
183 position: absolute;
184 left: 5px;
185 bottom: 5px;
186 }
187
188 /** ==================================================
189 * .hide
190 */
191 .smart-cf-upload-image.hide,
192 .smart-cf-upload-file.hide,
193 .smart-cf-upload-image .btn-remove-image.hide,
194 .smart-cf-upload-file .btn-remove-file.hide,
195 .load-relation-items.hide {
196 display: none;
197 }
198
199 /** ==================================================
200 * classes
201 */
202 .smart-cf-icon-handle {
203 cursor: move;
204 display: inline-block;
205 margin-right: 10px;
206 overflow: hidden;
207 position: relative;
208 color: #CCC;
209 }
210
211 .smart-cf-item-vertical {
212 display: block;
213 margin: 0 0 3px;
214 }
215