PluginProbe
Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More / 1.0.6
Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More v1.0.6
trunk 1.0.0 1.0.1 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
search-replace-wpcode / src / admin / replace-media.css

replace-media.css in Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More 1.0.6, at src/admin/replace-media.css

117 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 #wsrw-media-preview,
2 .wsrw-current-media-preview {
3 img {
4 max-width: 400px;
5 height: auto;
6 }
7 }
8
9 .wsrw-media-placeholder {
10 border: 1px solid var(--wsrw-border-color);
11 width: 400px;
12 min-height: 250px;
13 display: flex;
14 justify-content: center;
15 align-items: center;
16 cursor: pointer;
17
18 .wsrw-media-placeholder-text {
19 font-size: var(--wsrw-font-size-s);
20 }
21 }
22
23 .wsrw-media-replace-preview {
24 display: flex;
25 align-items: center;
26 max-width: 750px;
27 margin-bottom: 25px;
28
29 .wsrw-current-media-preview {
30 margin-right: 25px;
31 }
32 }
33
34 .wsrw-current-media-preview-file {
35
36 .wsrw-media-placeholder {
37 flex-flow: column;
38
39 .wsrw-media-placeholder-text {
40 margin-top: 12px;
41 }
42 }
43 }
44
45 .wsrw-media-replace-buttons {
46 margin-top: 25px;
47 }
48
49 .wsrw-media-replace {
50 .wsrw-file-upload {
51 display: flex;
52
53 label {
54 margin-right: 12px;
55 }
56 }
57 }
58
59 .wsrw-media-list-holder {
60 display: flex;
61 flex-wrap: wrap;
62
63 .wsrw-media-list-item {
64 margin-right: 10px;
65 margin-bottom: 10px;
66 border: 1px solid var(--wsrw-border-color);
67 background: var(--wsrw-background-white);
68 padding: var(--wsrw-space-v);
69 border-radius: 5px;
70 position: relative;
71
72 &:hover {
73 .wsrw-media-list-item-buttons {
74 opacity: 1;
75 }
76 }
77 }
78 }
79
80 .wsrw-media-list-item-image {
81 img {
82 display: block;
83 }
84 }
85
86 .wsrw-media-list-item-file {
87 width: 150px;
88 height: 150px;
89 display: flex;
90 flex-flow: column;
91 align-items: center;
92 justify-content: center;
93
94 span {
95 margin-top: 12px;
96 }
97 }
98
99 .wsrw-media-list-item-buttons {
100 opacity: 0;
101 position: absolute;
102 background: rgba(0, 0, 0, 0.5);
103 top: var(--wsrw-space-v);
104 bottom: var(--wsrw-space-v);
105 left: var(--wsrw-space-v);
106 right: var(--wsrw-space-v);
107 display: flex;
108 justify-content: center;
109 align-items: flex-end;
110 padding-bottom: 10px;
111 transition: opacity 0.3s ease;
112 }
113
114 .wsrw-media-list {
115 max-width: 1050px;
116 }
117