PluginProbe
Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More / 1.0.7
Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More v1.0.7
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.7, at src/admin/replace-media.css

139 lines 2.1 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: 2px dashed var(--wsrw-border-color);
11 width: 400px;
12 min-height: 250px;
13 display: flex;
14 box-sizing: border-box;
15 justify-content: center;
16 align-items: center;
17 cursor: pointer;
18
19 &:hover{
20 background-color: #ffffffa1;
21 }
22 &.dragover{
23 border-color:var(--wsrw-color-primary);
24 }
25
26 .wsrw-media-placeholder-text {
27 font-size: var(--wsrw-font-size-s);
28 span{
29 text-align: center;
30 display: block;
31 &:first-child{
32 font-size: 23px;
33 color: var(--wsrw-button-secondary-text);
34 margin-bottom: 11px;
35 }
36 &:nth-child(2){
37 margin-bottom: 5px;
38 }
39
40
41 }
42 }
43 }
44
45 .wsrw-media-replace-preview {
46 display: flex;
47 align-items: center;
48 max-width: 750px;
49 margin-bottom: 25px;
50
51 .wsrw-current-media-preview {
52 margin-right: 25px;
53 }
54 }
55
56 .wsrw-current-media-preview-file {
57
58 .wsrw-media-placeholder {
59 flex-flow: column;
60
61 .wsrw-media-placeholder-text {
62 margin-top: 12px;
63 }
64 }
65 }
66
67 .wsrw-media-replace-buttons {
68 margin-top: 25px;
69 }
70
71 .wsrw-media-replace {
72 .wsrw-file-upload {
73 display: flex;
74
75 label {
76 margin-right: 12px;
77 }
78 }
79 }
80
81 .wsrw-media-list-holder {
82 display: flex;
83 flex-wrap: wrap;
84
85 .wsrw-media-list-item {
86 margin-right: 10px;
87 margin-bottom: 10px;
88 border: 1px solid var(--wsrw-border-color);
89 background: var(--wsrw-background-white);
90 padding: var(--wsrw-space-v);
91 border-radius: 5px;
92 position: relative;
93
94 &:hover {
95 .wsrw-media-list-item-buttons {
96 opacity: 1;
97 }
98 }
99 }
100 }
101
102 .wsrw-media-list-item-image {
103 img {
104 display: block;
105 }
106 }
107
108 .wsrw-media-list-item-file {
109 width: 150px;
110 height: 150px;
111 display: flex;
112 flex-flow: column;
113 align-items: center;
114 justify-content: center;
115
116 span {
117 margin-top: 12px;
118 }
119 }
120
121 .wsrw-media-list-item-buttons {
122 opacity: 0;
123 position: absolute;
124 background: rgba(0, 0, 0, 0.5);
125 top: var(--wsrw-space-v);
126 bottom: var(--wsrw-space-v);
127 left: var(--wsrw-space-v);
128 right: var(--wsrw-space-v);
129 display: flex;
130 justify-content: center;
131 align-items: flex-end;
132 padding-bottom: 10px;
133 transition: opacity 0.3s ease;
134 }
135
136 .wsrw-media-list {
137 max-width: 1050px;
138 }
139