PluginProbe
Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy / trunk
Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy vtrunk
1.2.0 trunk 1.0.11 1.0.8 1.0.9 1.1.0
image-hub / assets / css / allcss.css

allcss.css in Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy trunk, at assets/css/allcss.css

573 lines 394.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Layout & Container Styles */
2 #image-hub-root {
3 /* overflow: hidden; */
4 /* height: calc(100vh - 75px); */
5 }
6
7 .image-hub-toolbar-sticky {
8 position: sticky;
9 top: 32px;
10 z-index: 999;
11 }
12
13 .media-modal .image-hub-toolbar-sticky {
14 position: sticky;
15 top: 0px !important;
16 }
17
18 .image-hub-galery-container {
19 padding: 0 20px;
20 background-color: white;
21 }
22
23 .image-hub-app-container {
24 display: flex;
25 flex-direction: column;
26 /* overflow: auto; */
27 scrollbar-width: thin;
28 scrollbar-color: #888 #f0f0f0;
29 background-color: #F0F0F0;
30 }
31
32 .image-hub-app-container::-webkit-scrollbar {
33 width: 8px;
34 }
35
36 .image-hub-app-container::-webkit-scrollbar-track {
37 background: #f0f0f0;
38 border-radius: 10px;
39 }
40
41 .image-hub-app-container::-webkit-scrollbar-thumb {
42 background: #888;
43 border-radius: 10px;
44 }
45
46 .image-hub-app-container::-webkit-scrollbar-thumb:hover {
47 background: #666;
48 }
49
50
51 #image-hub-media-modal-root {
52 height: 100%;
53 display: flex;
54 flex-direction: column;
55 }
56
57 .image-hub-toolabar-query {
58 display: flex !important;
59 flex-direction: column;
60 justify-content: space-between;
61 padding: 5px 20px;
62 border: none !important;
63 height: fit-content;
64 background: white;
65 min-height: 0px !important
66 }
67
68 /* Toolbar Styles */
69 .image-hub-toolbar {
70 width: calc(100% - 20px);
71 background: #F0F0F0 !important;
72 border: none !important;
73 display: flex;
74 padding-left: 20px;
75 flex-direction: row;
76 flex-wrap: wrap;
77 }
78
79 .image-hub-toolbar-white {
80 background: white !important;
81 }
82
83 .image-hub-provider-buttons {
84 margin-right: auto !important;
85 display: flex;
86 flex-direction: row;
87 flex-wrap: wrap;
88 }
89
90 .image-hub-toolbar-button {
91 padding: 0 30px !important;
92 height: 10px;
93 display: flex;
94 justify-content: center;
95 align-items: center;
96 }
97
98 .image-hub-toolbar-button-icon {
99 height: 20px !important;
100 width: 20px !important;
101 }
102
103 .image-hub-button::before {
104 display: none !important;
105 }
106
107 .image-hub-toolbar-search {
108 align-self: self-end;
109 padding-bottom: 1px;
110 }
111
112 .image-hub-toolbar-search input {
113 height: 33px;
114 }
115
116 .image-hub-toolbar {
117 position: relative;
118 }
119
120 .image-hub-floating-underline {
121 position: absolute;
122 left: 0px;
123 bottom: 0;
124 width: 101px;
125 height: 2px;
126 margin-left: 20px;
127 background-color: #2271b1;
128 transition: all 0.3s ease-out;
129 }
130
131
132
133 .image-hub-custom-toolbar-button,
134 .image-hub-custom-toolbar-button-selected {
135 position: relative;
136 }
137
138 .image-hub-custom-toolbar-button-selected {
139 border-bottom: none !important;
140 }
141
142
143
144
145 /* Image Grid & Masonry Styles */
146 .image-hub-masonry-grid {
147 display: flex;
148 width: 100%;
149 }
150
151 .image-hub-masonry-column {
152 background-clip: padding-box;
153 display: flex;
154 flex-direction: column;
155 margin: 0 10px;
156 }
157
158 .image-hub-image-container {
159 box-sizing: border-box;
160 width: 100%;
161 min-height: 100px;
162 position: relative;
163 display: block;
164 overflow: hidden;
165 transition: all 1s ease-in-out;
166 }
167
168
169 .image-hub-image-container-hidden {
170 background-color: rgb(240, 240, 240);
171 }
172
173 .image-hub-image-container-hidden>img {
174 opacity: 0;
175 }
176
177
178 .image-hub-image-container-hidden>.image-hub-image-overlay {
179 display: none;
180 }
181
182 div:has(>div>.image-hub-image-container) {
183 min-height: calc(100vh - 32px - 138px - 48px - 115px - 41px - 40px);
184 }
185
186
187 .image-hub-image {
188 height: 100%;
189 width: 100%;
190 }
191
192 .image-hub-downloading {
193 transition: all .3s ease-in-out;
194 scale: 1 !important;
195 }
196
197 /* Image Overlay & Controls */
198 .image-hub-image-overlay {
199 position: absolute;
200 left: 0;
201 right: 0;
202 height: 100%;
203 bottom: 0;
204 display: flex;
205 flex-direction: column;
206 justify-content: space-between;
207 align-items: flex-end;
208 opacity: 0;
209 background: rgba(0, 0, 0, 0.0);
210 transition: all 0.3s;
211 }
212
213
214
215 .image-hub-no-results {
216 text-align: center;
217 padding: 2rem;
218 color: #666;
219 }
220
221 .image-hub-ascii-art {
222 font-family: monospace;
223 white-space: pre;
224 margin: 1rem 0;
225 font-size: 14px;
226 }
227
228 .image-hub-image-container>img {
229 transition: all .3s ease-in-out;
230 }
231
232 /*also changed here .image-hub-downloading*/
233 .image-hub-image-container:hover>img {
234 transition: all .3s ease-in-out;
235 scale: 1.1;
236 }
237
238 .image-hub-image-container:hover .image-hub-image-overlay {
239 opacity: 1;
240 box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
241
242
243 }
244
245 .image-hub-credits-avatar {
246 cursor: pointer;
247 position: absolute;
248 bottom: 0;
249 left: 0;
250 color: white;
251 font-weight: 600;
252 margin: 1em;
253 display: flex;
254 gap: 1em;
255 align-items: center;
256 text-shadow: 2px 2px 5px black;
257 max-width: 69%;
258 }
259
260 .image-hub-credits-avatar>.image-hub-credits-avatar-image {
261 height: 24px;
262 width: 24px;
263 border-radius: 50%;
264 box-shadow: 2px 2px 5px black;
265
266 }
267
268 .image-hub-zoom-btn,
269 .image-hub-download-btn {
270 margin: 1em;
271 border: none;
272 cursor: pointer;
273 box-sizing: border-box;
274 display: flex;
275 justify-content: center;
276 align-items: center;
277 fill: rgb(240, 240, 240);
278 background: rgba(30, 30, 30, .7);
279 height: 40px;
280 width: 40px;
281 border-radius: 5px;
282 font-weight: bold;
283 text-transform: uppercase;
284 letter-spacing: 2px;
285
286 }
287
288 .image-hub-zoom-btn:hover,
289 .image-hub-download-btn:hover {
290 background: rgba(30, 30, 30, 1);
291 }
292
293 /* .image-hub-zoom-btn:hover>svg,
294 .image-hub-download-btn:hover>svg {
295 fill: rgb(56, 88, 233)
296 } */
297
298
299
300 .image-hub-image-download-overlay {
301 position: absolute;
302 top: 0;
303 left: 0;
304 background: rgba(0, 0, 0, 0.7);
305 height: 100%;
306 width: 100%;
307 display: flex;
308 flex-direction: column;
309 justify-content: center;
310 align-items: center;
311 }
312
313 .image-hub-circle-icon {
314 height: 24px;
315 width: 24px;
316 border-radius: 50%;
317 background: rgba(74, 184, 102, 1);
318 display: flex;
319 justify-content: center;
320 align-items: center;
321 }
322
323
324 /* Modal Styles */
325 .image-hub-modal>div>div:last-child {
326 height: 100%;
327 display: flex;
328 align-items: center;
329 justify-content: center;
330 }
331
332 .image-hub-modal>div>div:last-child>img {
333 height: 100%;
334 }
335
336 .image-hub-modal>div {
337 overflow: hidden;
338 }
339
340 /* Progress Bar Styles */
341 progress::-webkit-progress-value {
342 background: #f0f0f0;
343 }
344
345 .image-hub-progress-bar {
346 top: 0;
347 left: 0;
348 width: 100%;
349 height: 3px;
350 background-color: #f0f0f0;
351 z-index: 1000;
352 }
353
354 .image-hub-progress-bar-inner {
355 height: 100%;
356 width: 100%;
357 background-color: #2271b1;
358 animation: loading 1.5s infinite ease-in-out;
359 transform-origin: 0% 50%;
360 }
361
362 @keyframes loading {
363 0% {
364 transform: scaleX(0);
365 }
366
367 50% {
368 transform: scaleX(0.5);
369 }
370
371 100% {
372 transform: scaleX(1);
373 }
374 }
375
376 /* Filter Styles */
377 .image-hub-filters {
378 display: flex;
379 flex-wrap: wrap;
380 gap: 10px;
381 margin-left: auto !important;
382 }
383
384 .image-hub-filter-item {
385 max-width: 200px;
386 width: 160px;
387 flex: 1;
388 }
389
390 .image-hub-filter-item>.components-base-control>.components-base-control__field {
391 margin: 0 !important;
392 }
393
394 .image-hub-number-filter {
395 display: flex;
396 flex-direction: column;
397 gap: 5px;
398 }
399
400 .image-hub-number-filter input {
401 padding: 6px 8px;
402 border-radius: 2px;
403 border: 1px solid #757575;
404 }
405
406 .image-hub-number-filter label {
407 font-weight: 500;
408 }
409
410 .image-hub-media-modal-tab {
411 height: 100%;
412 overflow: hidden;
413 }
414
415 .image-hub-custom-toolbar-button {
416 border-bottom: 2px solid transparent !important;
417 }
418
419
420 /* .image-hub-custom-toolbar-button-selected {
421 border-bottom: 2px solid rgb(56, 88, 233) !important;
422 } */
423
424 .image-hub-custom-toolbar-button,
425 .image-hub-custom-toolbar-button-selected {
426 font-size: 13px !important;
427 line-height: 16px !important;
428 letter-spacing: 0px !important;
429 font-weight: 600 !important;
430 border-radius: 0 !important;
431 width: min-content !important;
432 text-wrap-mode: nowrap !important;
433
434
435 }
436
437 .image-hub-custom-toolbar-button::before,
438 .image-hub-custom-toolbar-button-selected::before {
439 outline: none !important;
440 box-shadow: none !important;
441 }
442
443
444 .image-hub-gradient-banner {
445 width: 100%;
446 height: 120px;
447 display: flex;
448 justify-content: center;
449 align-items: center;
450 }
451
452 .image-hub-search-control>div>input:focus {
453 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) !important;
454 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) !important;
455 outline: transparent solid 2px !important;
456 outline-offset: -2px !important;
457 border-style: solid !important;
458 border-width: 1px !important;
459 }
460
461 .image-hub-search-control button {
462 height: 40px !important;
463 }
464
465 .image-hub-search-control.__error>div>input {
466 border-color: red !important;
467 box-shadow: none !important;
468 outline: none !important;
469 }
470
471 .image-hub-search-control.__error {
472 animation: errorWiggle 0.4s ease;
473
474 }
475
476 @keyframes errorWiggle {
477 0% {
478 transform: translateX(0);
479 }
480
481 15% {
482 transform: translateX(-8px);
483 }
484
485 30% {
486 transform: translateX(8px);
487 }
488
489 45% {
490 transform: translateX(-6px);
491 }
492
493 60% {
494 transform: translateX(6px);
495 }
496
497 75% {
498 transform: translateX(-4px);
499 }
500
501 90% {
502 transform: translateX(4px);
503 }
504
505 100% {
506 transform: translateX(0);
507 }
508 }
509
510 #menu-item-image-hub-media-modal-tab-content {
511 display: none;
512 justify-content: flex-start;
513 gap: 5px;
514 align-content: center;
515
516 &[data-type="image"] {
517 display: flex;
518 }
519
520 >div {
521 order: -1;
522 }
523 }
524
525
526 image-hub-marquee {
527 padding-left: 100%;
528 animation: marquee 10s linear infinite
529 }
530
531 @keyframes marquee {
532 0% {
533 transform: translateX(0);
534 }
535
536 100% {
537 transform: translateX(-100%);
538 }
539 }
540
541 .image-hub-giphy-attribution {
542 height: 1em;
543 justify-self: center;
544 align-self: center;
545 animation: atribution-giphy 1s linear;
546 overflow: hidden;
547 }
548 .image-hub-giphy-attribution>img {
549 height: 100%;
550 width: 100%;
551 }
552
553 @keyframes atribution-giphy {
554 from {
555 opacity: 0;
556 }
557
558 to {
559 opacity: 1;
560 }
561 }
562
563 body.media_page_image-hub-media-tab {
564 #wpbody-content {
565 padding-bottom: 0 !important;
566 }
567 #wpfooter{
568 background-color:#F0F0F1;
569 position:fixed;
570 bottom:0;
571 }
572 }
573