PluginProbe
Insert Pages / 2.8
Insert Pages v2.8
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.8, at css/wpinsertpages.css

372 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 visibility: visible;
172 display: none;
173 vertical-align: text-bottom;
174 }
175
176 #wp-insertpage .query-results {
177 border: 1px #dfdfdf solid;
178 margin: 0;
179 background: #fff;
180 overflow: auto;
181 position: absolute;
182 left: 16px;
183 right: 16px;
184 top: 38px;
185 height: 265px;
186 }
187
188 #wp-insertpage li,
189 #wp-insertpage .query-notice {
190 clear: both;
191 margin-bottom: 0;
192 border-bottom: 1px solid #f1f1f1;
193 color: #333;
194 padding: 4px 6px;
195 cursor: pointer;
196 position: relative;
197 }
198
199 #wp-insertpage li:hover {
200 background: #eaf2fa;
201 color: #151515;
202 }
203
204 #wp-insertpage li.unselectable {
205 border-bottom: 1px solid #dfdfdf;
206 }
207
208 #wp-insertpage li.unselectable:hover {
209 background: #fff;
210 cursor: auto;
211 color: #333;
212 }
213
214 #wp-insertpage li.selected {
215 background: #ddd;
216 color: #333;
217 }
218
219 #wp-insertpage li.selected .item-title {
220 font-weight: bold;
221 }
222
223 #wp-insertpage li:last-child {
224 border: none;
225 }
226
227 #wp-insertpage .item-title {
228 display: inline-block;
229 width: 80%;
230 width: -webkit-calc(100% - 68px);
231 width: calc(100% - 68px);
232 }
233
234 #wp-insertpage .item-info {
235 text-transform: uppercase;
236 color: #666;
237 font-size: 11px;
238 position: absolute;
239 right: 5px;
240 top: 5px;
241 }
242
243 #wp-insertpage #insertpage-options-panel {
244 display: none;
245 }
246
247 #wp-insertpage-wrap.options-panel-visible #insertpage-options-panel {
248 display: block;
249 }
250
251 #wp-insertpage .river-waiting {
252 display: none;
253 padding: 10px 0;
254 }
255
256 #wp-insertpage .river-waiting .spinner {
257 margin: 0 auto;
258 display: block;
259 visibility: visible;
260 float: none;
261 }
262
263 #wp-insertpage .submitbox {
264 padding: 8px 16px;
265 background: #fcfcfc;
266 border-top: 1px solid #dfdfdf;
267 position: absolute;
268 bottom: 0;
269 left: 0;
270 right: 0;
271 }
272
273 #wp-insertpage-cancel {
274 line-height: 25px;
275 }
276
277 #wp-insertpage-update {
278 line-height: 23px;
279 float: right;
280 }
281
282 #wp-insertpage-submit {
283 float: right;
284 margin-bottom: 0;
285 }
286
287 @media screen and ( max-width: 782px ) {
288 #wp-insertpage-wrap {
289 height: 450px;
290 margin-top: -250px;
291 }
292
293 #wp-insertpage-wrap.options-panel-visible {
294 height: 530px;
295 }
296
297 #wp-insertpage-wrap .query-results {
298 top: 48px;
299 }
300
301 #insertpage-selector {
302 padding: 0 16px 60px;
303 }
304
305 #wp-insertpage-wrap.options-panel-visible #insertpage-selector {
306 bottom: 52px;
307 }
308
309 #wp-insertpage-cancel {
310 line-height: 32px;
311 }
312 }
313
314 @media screen and ( max-width: 520px ) {
315 #wp-insertpage-wrap {
316 width: auto;
317 margin-left: 0;
318 left: 10px;
319 right: 10px;
320 max-width: 500px;
321 }
322
323 #wp-insertpage-wrap.options-panel-visible {
324 height: 550px;
325 }
326 }
327
328 @media screen and ( max-height: 520px ) {
329 #wp-insertpage-wrap {
330 -webkit-transition: none;
331 transition: none;
332 }
333
334 #wp-insertpage-wrap,
335 #wp-insertpage-wrap.options-panel-visible {
336 height: auto;
337 margin-top: 0;
338 top: 10px;
339 bottom: 10px;
340 }
341
342 #insertpage-selector,
343 .options-panel-visible #insertpage-selector {
344 overflow: auto;
345 }
346
347 #search-panel .query-results,
348 .options-panel-visible #search-panel .query-results {
349 position: static;
350 }
351 }
352
353 @media screen and ( max-height: 290px ) {
354 #wp-insertpage-wrap {
355 height: auto;
356 margin-top: 0;
357 top: 10px;
358 bottom: 10px;
359 }
360
361 #insertpage-selector {
362 overflow: auto;
363 height: -webkit-calc(100% - 92px);
364 height: calc(100% - 92px);
365 padding-bottom: 2px;
366 }
367
368 #search-panel .query-results {
369 position: static;
370 }
371 }
372