PluginProbe
WebberZone Top 10 — Popular Posts / 4.3.1
WebberZone Top 10 — Popular Posts v4.3.1
4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 All 117 releases
top-10 / includes / admin / settings / css / admin-style.css

admin-style.css in WebberZone Top 10 — Popular Posts 4.3.1, at includes/admin/settings/css/admin-style.css

281 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Tabs */
2 #post-body-content .ui-tabs-nav {
3 border-bottom: 1px solid #c3c4c7;
4 }
5
6 /* General styles for the repeater wrapper */
7 .wz-repeater-wrapper {
8 position: relative;
9 margin-bottom: 1.5rem;
10 }
11
12 /* Repeater items container */
13 .wz-repeater-wrapper .wz-repeater-item {
14 display: flex;
15 flex-direction: column;
16 background: #f9f9f9;
17 border: 1px solid #ddd;
18 padding: 1rem;
19 margin-bottom: 1rem;
20 border-radius: 4px;
21 }
22
23 .wz-repeater-item .repeater-item-header {
24 display: flex;
25 justify-content: space-between;
26 align-items: center;
27 border-bottom: 1px solid #ddd;
28 padding-bottom: 0.5rem;
29 cursor: pointer;
30 font-weight: bold;
31 }
32
33 /* Header for repeater field */
34 .wz-repeater-field-header {
35 margin-bottom: 0.5rem;
36 }
37
38 .wz-repeater-field-label {
39 font-weight: bold;
40 font-size: 0.9rem;
41 }
42
43 /* Input field styles */
44 .wz-repeater-field-input {
45 margin-bottom: 1rem;
46 }
47
48 /* Repeater item actions (buttons) */
49 .repeater-item-actions {
50 display: flex;
51 gap: 0.5rem;
52 justify-content: flex-start;
53 margin-top: 1rem;
54 }
55
56 .repeater-item-actions .button {
57 display: inline-flex;
58 align-items: center;
59 gap: 0.25rem;
60 }
61
62 .repeater-item-actions .dashicons {
63 font-size: 16px;
64 }
65
66 /* Move up/down button styles */
67 .repeater-item-actions .move-up,
68 .repeater-item-actions .move-down {
69 background: #f4f4f4;
70 color: #333;
71 border: 1px solid #ddd;
72 border-radius: 3px;
73 padding: 0.5rem;
74 }
75
76 .repeater-item-actions .move-up:hover,
77 .repeater-item-actions .move-down:hover {
78 background: #e0e0e0;
79 }
80
81 /* Remove button styles */
82 .repeater-item-actions .remove-item {
83 background: #fdd;
84 border-color: #fbb;
85 }
86
87 .repeater-item-actions .remove-item:hover {
88 background: #fbb;
89 }
90
91 /* Add item button styling */
92 .wz-repeater-wrapper .add-item {
93 background-color: #0073aa;
94 color: #fff;
95 padding: 0.5rem 1rem;
96 border: none;
97 border-radius: 4px;
98 cursor: pointer;
99 font-size: 1rem;
100 margin-top: 1rem;
101 }
102
103 .wz-repeater-wrapper .add-item:hover {
104 background-color: #005177;
105 color: #fff;
106 border-color: #004063;
107 }
108
109 /* Template styling for new items (hidden template) */
110 .repeater-template {
111 display: none;
112 }
113
114 /* Responsiveness for smaller screens */
115 @media screen and (max-width: 768px) {
116 .wz-repeater-wrapper {
117 margin-bottom: 1rem;
118 }
119
120 .wz-repeater-item {
121 flex-direction: column;
122 }
123
124 .repeater-item-actions {
125 flex-direction: column;
126 align-items: flex-start;
127 }
128
129 .repeater-item-actions .button {
130 margin-bottom: 0.5rem;
131 }
132 }
133
134 /* Field input responsive tweaks */
135 @media screen and (max-width: 480px) {
136 .wz-repeater-field-label {
137 font-size: 0.85rem;
138 }
139
140 .wz-repeater-field-input {
141 font-size: 0.85rem;
142 }
143
144 .repeater-item-actions .button {
145 font-size: 0.85rem;
146 }
147
148 .add-item {
149 font-size: 1rem;
150 padding: 0.5rem;
151 }
152 }
153
154 /* Repeater Fields */
155 .wz-repeater-item {
156 background: #fff;
157 border: 1px solid #ccd0d4;
158 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
159 margin-bottom: 15px;
160 border-radius: 3px;
161 }
162
163 .repeater-item-content {
164 padding: 15px;
165 }
166
167 .wz-repeater-field {
168 margin-bottom: 15px;
169 }
170
171 .wz-repeater-field:last-child {
172 margin-bottom: 0;
173 }
174
175 .wz-repeater-field-header {
176 margin-bottom: 8px;
177 }
178
179 .wz-repeater-field-label {
180 display: block;
181 font-weight: 600;
182 margin-bottom: 4px;
183 }
184
185 .wz-repeater-field-description {
186 color: #666;
187 font-style: italic;
188 margin: 4px 0 0;
189 font-size: 13px;
190 }
191
192 .wz-repeater-field-input input[type="text"],
193 .wz-repeater-field-input input[type="url"],
194 .wz-repeater-field-input input[type="number"],
195 .wz-repeater-field-input input[type="password"],
196 .wz-repeater-field-input input[type="email"],
197 .wz-repeater-field-input textarea,
198 .wz-repeater-field-input select {
199 width: 100%;
200 max-width: 100%;
201 }
202
203 .repeater-item-footer {
204 background: #f5f5f5;
205 border-top: 1px solid #ddd;
206 padding: 10px 15px;
207 text-align: right;
208 }
209
210 .repeater-item-footer .remove-item {
211 color: #b32d2e;
212 }
213
214 .repeater-item-footer .remove-item:hover {
215 color: #dc3232;
216 }
217
218 .repeater-item-footer .dashicons {
219 margin-top: 4px;
220 }
221
222 /* Required field indicator */
223 .required {
224 color: #d63638;
225 font-weight: bold;
226 margin-left: 2px;
227 font-size: 1.3em;
228 }
229
230 /* Tom Select Customizations */
231 .ts-wrapper.loading .spinner {
232 display: inline-block;
233 visibility: visible;
234 float: none;
235 margin: 5px auto;
236 }
237
238 .ts-wrapper .no-results {
239 padding: 5px 10px;
240 color: #666;
241 font-style: italic;
242 }
243
244 .ts-wrapper.form-control {
245 border: 1px solid #8c8f94;
246 border-radius: 4px;
247 min-height: 30px;
248 }
249
250 .ts-wrapper.focus {
251 border-color: #2271b1;
252 box-shadow: 0 0 0 1px #2271b1;
253 outline: 2px solid transparent;
254 }
255
256 .ts-dropdown {
257 border: 1px solid #8c8f94;
258 border-radius: 4px;
259 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
260 }
261
262 .ts-dropdown .option {
263 padding: 6px 10px;
264 }
265
266 .ts-dropdown .active {
267 background-color: #2271b1;
268 color: #fff;
269 }
270
271 .ts-wrapper.single.plugin-clear_button {
272 position: relative;
273 }
274
275 .ts-wrapper.single .clear-button {
276 position: absolute;
277 top: 50%;
278 right: 8px;
279 transform: translateY(-50%);
280 font-size: 2em;
281 }