PluginProbe
Insert Pages / 2.6
Insert Pages v2.6
3.11.5 trunk 1.4 2.4 2.5 2.6 2.7 2.7.1 2.7.2 2.8 2.9 2.9.1 3.0 3.0.1 3.0.2 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 All 79 releases
insert-pages / css / wpinsertpages.css

wpinsertpages.css in Insert Pages 2.6, at css/wpinsertpages.css

370 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*------------------------------------------------------------------------------
2 wp-insertpage (modeled after #wp-link)
3 ------------------------------------------------------------------------------*/
4
5 #wp-insertpage-wrap {
6 display: none;
7 background-color: #fff;
8 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.3);
9 box-shadow: 0 3px 6px rgba(0,0,0,.3);
10 width: 500px;
11 height: 430px;
12 overflow: hidden;
13 margin-left: -250px;
14 margin-top: -250px;
15 position: fixed;
16 top: 50%;
17 left: 50%;
18 z-index: 100105;
19 -webkit-transition: height .2s,margin-top .2s;
20 transition: height .2s,margin-top .2s;
21 }
22
23 #wp-insertpage-backdrop {
24 display: none;
25 position: fixed;
26 top: 0;
27 left: 0;
28 right: 0;
29 bottom: 0;
30 min-height: 360px;
31 background: #000;
32 opacity: .7;
33 filter: alpha(opacity=70);
34 z-index: 100100;
35 }
36
37 #wp-insertpage {
38 position: relative;
39 height: 100%;
40 }
41
42 #wp-insertpage-wrap.options-panel-visible {
43 height: 500px;
44 margin-top: -250px;
45 }
46
47 #insertpage-modal-title {
48 background: #fcfcfc;
49 border-bottom: 1px solid #dfdfdf;
50 height: 36px;
51 font-size: 18px;
52 font-weight: 600;
53 line-height: 36px;
54 padding: 0 36px 0 16px;
55 top: 0;
56 right: 0;
57 left: 0;
58 }
59
60 #wp-insertpage-close {
61 color: #666;
62 cursor: pointer;
63 padding: 0;
64 position: absolute;
65 top: 0;
66 right: 0;
67 width: 36px;
68 height: 36px;
69 text-align: center;
70 }
71
72 #wp-insertpage-close:before {
73 font: normal 20px/36px 'dashicons';
74 vertical-align: top;
75 speak: none;
76 -webkit-font-smoothing: antialiased;
77 -moz-osx-font-smoothing: grayscale;
78 width: 36px;
79 height: 36px;
80 content: '\f158';
81 }
82
83 #wp-insertpage-close:hover,
84 #wp-insertpage-close:focus {
85 color: #2ea2cc;
86 }
87
88 #insertpage-selector {
89 padding: 0 16px;
90 position: absolute;
91 top: 36px;
92 left: 0;
93 right: 0;
94 bottom: 44px;
95 }
96
97 #wp-insertpage ol,
98 #wp-insertpage ul {
99 list-style: none;
100 margin: 0;
101 padding: 0;
102 }
103
104 #insertpage-options-toggle::after {
105 font: normal 20px/1 'dashicons';
106 vertical-align: top;
107 speak: none;
108 -webkit-font-smoothing: antialiased;
109 -moz-osx-font-smoothing: grayscale;
110 content: '\f140';
111 }
112
113 .options-panel-visible #insertpage-options-toggle::after {
114 content: '\f142';
115 }
116
117 #wp-insertpage input[type="text"] {
118 -webkit-box-sizing: border-box;
119 -moz-box-sizing: border-box;
120 box-sizing: border-box;
121 }
122
123 #wp-insertpage #insertpage-options {
124 padding: 8px 0 12px;
125 }
126
127 #wp-insertpage p.howto {
128 margin: 285px 0 3px;
129 }
130
131 #insertpage-options-toggle {
132 cursor: pointer;
133 }
134
135 #insertpage-options-panel .insertpage-format {
136 margin-top: 5px;
137 white-space: nowrap;
138 }
139
140 #wp-insertpage label input[type="text"] {
141 margin-top: 5px;
142 width: 77%;
143 }
144
145 #wp-insertpage #insertpage-search-panel label span.search-label {
146 display: inline-block;
147 width: 80px;
148 text-align: right;
149 padding-right: 5px;
150 max-width: 24%;
151 }
152
153 #wp-insertpage .insertpage-search-field {
154 float: left;
155 width: 250px;
156 max-width: 70%;
157 }
158
159 #wp-insertpage .insertpage-search-wrapper {
160 margin: 5px 0 9px;
161 display: block;
162 overflow: hidden;
163 }
164
165 #wp-insertpage .insertpage-search-wrapper span {
166 float: left;
167 margin-top: 4px;
168 }
169
170 #wp-insertpage .insertpage-search-wrapper .spinner {
171 display: none;
172 vertical-align: text-bottom;
173 }
174
175 #wp-insertpage .query-results {
176 border: 1px #dfdfdf solid;
177 margin: 0;
178 background: #fff;
179 overflow: auto;
180 position: absolute;
181 left: 16px;
182 right: 16px;
183 top: 38px;
184 height: 265px;
185 }
186
187 #wp-insertpage li,
188 #wp-insertpage .query-notice {
189 clear: both;
190 margin-bottom: 0;
191 border-bottom: 1px solid #f1f1f1;
192 color: #333;
193 padding: 4px 6px;
194 cursor: pointer;
195 position: relative;
196 }
197
198 #wp-insertpage li:hover {
199 background: #eaf2fa;
200 color: #151515;
201 }
202
203 #wp-insertpage li.unselectable {
204 border-bottom: 1px solid #dfdfdf;
205 }
206
207 #wp-insertpage li.unselectable:hover {
208 background: #fff;
209 cursor: auto;
210 color: #333;
211 }
212
213 #wp-insertpage li.selected {
214 background: #ddd;
215 color: #333;
216 }
217
218 #wp-insertpage li.selected .item-title {
219 font-weight: bold;
220 }
221
222 #wp-insertpage li:last-child {
223 border: none;
224 }
225
226 #wp-insertpage .item-title {
227 display: inline-block;
228 width: 80%;
229 width: -webkit-calc(100% - 68px);
230 width: calc(100% - 68px);
231 }
232
233 #wp-insertpage .item-info {
234 text-transform: uppercase;
235 color: #666;
236 font-size: 11px;
237 position: absolute;
238 right: 5px;
239 top: 5px;
240 }
241
242 #wp-insertpage #insertpage-options-panel {
243 display: none;
244 }
245
246 #wp-insertpage-wrap.options-panel-visible #insertpage-options-panel {
247 display: block;
248 }
249
250 #wp-insertpage .river-waiting {
251 display: none;
252 padding: 10px 0;
253 }
254
255 #wp-insertpage .river-waiting .spinner {
256 margin: 0 auto;
257 display: block;
258 float: none;
259 }
260
261 #wp-insertpage .submitbox {
262 padding: 8px 16px;
263 background: #fcfcfc;
264 border-top: 1px solid #dfdfdf;
265 position: absolute;
266 bottom: 0;
267 left: 0;
268 right: 0;
269 }
270
271 #wp-insertpage-cancel {
272 line-height: 25px;
273 }
274
275 #wp-insertpage-update {
276 line-height: 23px;
277 float: right;
278 }
279
280 #wp-insertpage-submit {
281 float: right;
282 margin-bottom: 0;
283 }
284
285 @media screen and ( max-width: 782px ) {
286 #wp-insertpage-wrap {
287 height: 450px;
288 margin-top: -250px;
289 }
290
291 #wp-insertpage-wrap.options-panel-visible {
292 height: 530px;
293 }
294
295 #wp-insertpage-wrap .query-results {
296 top: 48px;
297 }
298
299 #insertpage-selector {
300 padding: 0 16px 60px;
301 }
302
303 #wp-insertpage-wrap.options-panel-visible #insertpage-selector {
304 bottom: 52px;
305 }
306
307 #wp-insertpage-cancel {
308 line-height: 32px;
309 }
310 }
311
312 @media screen and ( max-width: 520px ) {
313 #wp-insertpage-wrap {
314 width: auto;
315 margin-left: 0;
316 left: 10px;
317 right: 10px;
318 max-width: 500px;
319 }
320
321 #wp-insertpage-wrap.options-panel-visible {
322 height: 550px;
323 }
324 }
325
326 @media screen and ( max-height: 520px ) {
327 #wp-insertpage-wrap {
328 -webkit-transition: none;
329 transition: none;
330 }
331
332 #wp-insertpage-wrap,
333 #wp-insertpage-wrap.options-panel-visible {
334 height: auto;
335 margin-top: 0;
336 top: 10px;
337 bottom: 10px;
338 }
339
340 #insertpage-selector,
341 .options-panel-visible #insertpage-selector {
342 overflow: auto;
343 }
344
345 #search-panel .query-results,
346 .options-panel-visible #search-panel .query-results {
347 position: static;
348 }
349 }
350
351 @media screen and ( max-height: 290px ) {
352 #wp-insertpage-wrap {
353 height: auto;
354 margin-top: 0;
355 top: 10px;
356 bottom: 10px;
357 }
358
359 #insertpage-selector {
360 overflow: auto;
361 height: -webkit-calc(100% - 92px);
362 height: calc(100% - 92px);
363 padding-bottom: 2px;
364 }
365
366 #search-panel .query-results {
367 position: static;
368 }
369 }
370