PluginProbe
404 Solution / 4.1.19
404 Solution v4.1.19
4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.1.7 4.1.6 4.1.5 4.1.4 4.1.3 trunk 2.30.0 All 109 releases
404-solution / includes / html / 404solutionStyles-rtl.css

404solutionStyles-rtl.css in 404 Solution 4.1.19, at includes/html/404solutionStyles-rtl.css

327 lines 6.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * 404 Solution RTL (Right-to-Left) Styles
3 *
4 * This file provides RTL layout support for Arabic, Hebrew, and other RTL languages.
5 * It overrides directional CSS properties from 404solutionStyles.css.
6 *
7 * Loaded automatically when WordPress is_rtl() returns true.
8 */
9
10 /* ===== General RTL Direction ===== */
11 body.rtl .abj404-wrap,
12 [dir="rtl"] .abj404-wrap {
13 direction: rtl;
14 text-align: right;
15 }
16
17 /* ===== Status Message Borders ===== */
18 /* Swap left border to right border for status messages */
19 body.rtl .abj404-status-warning,
20 [dir="rtl"] .abj404-status-warning {
21 border-left: none;
22 border-right: 4px solid var(--abj404-warning-border, #f0b429);
23 }
24
25 body.rtl .abj404-status-error,
26 [dir="rtl"] .abj404-status-error {
27 border-left: none;
28 border-right: 4px solid var(--abj404-danger-border, #d63638);
29 }
30
31 body.rtl .abj404-error-log-entry,
32 [dir="rtl"] .abj404-error-log-entry {
33 border-left: none;
34 border-right: 4px solid #d63638;
35 }
36
37 /* ===== Notice and Alert Borders ===== */
38 body.rtl .abj404-notice,
39 [dir="rtl"] .abj404-notice {
40 border-left: none;
41 border-right: 3px solid var(--abj404-accent, #2271b1);
42 }
43
44 body.rtl .abj404-highlight,
45 [dir="rtl"] .abj404-highlight {
46 border-left: none;
47 border-right: 4px solid var(--abj404-primary, #2271b1);
48 }
49
50 body.rtl .abj404-danger-highlight,
51 [dir="rtl"] .abj404-danger-highlight {
52 border-left: none !important;
53 border-right: 4px solid var(--abj404-danger-text, #d63638) !important;
54 }
55
56 body.rtl .abj404-info-box,
57 [dir="rtl"] .abj404-info-box {
58 border-left: none;
59 border-right: 4px solid var(--abj404-primary, #2271b1);
60 }
61
62 /* ===== Margins - Swap Left/Right ===== */
63 body.rtl .abj404-btn-icon,
64 [dir="rtl"] .abj404-btn-icon {
65 margin-left: 0;
66 margin-right: 8px;
67 }
68
69 body.rtl .abj404-icon,
70 [dir="rtl"] .abj404-icon {
71 margin-right: 0;
72 margin-left: 8px;
73 }
74
75 body.rtl .abj404-action-icon,
76 [dir="rtl"] .abj404-action-icon {
77 margin-right: 0;
78 margin-left: 10px;
79 }
80
81 body.rtl .abj404-checkbox-label,
82 [dir="rtl"] .abj404-checkbox-label {
83 margin-left: 0;
84 margin-right: 4px;
85 }
86
87 body.rtl .abj404-bulk-actions-icon,
88 [dir="rtl"] .abj404-bulk-actions-icon {
89 margin-right: 0 !important;
90 margin-left: 8px !important;
91 }
92
93 /* ===== Text Alignment ===== */
94 body.rtl .abj404-text-right,
95 [dir="rtl"] .abj404-text-right {
96 text-align: left;
97 }
98
99 body.rtl .abj404-text-left,
100 [dir="rtl"] .abj404-text-left {
101 text-align: right;
102 }
103
104 body.rtl .abj404-table th,
105 body.rtl .abj404-table td,
106 [dir="rtl"] .abj404-table th,
107 [dir="rtl"] .abj404-table td {
108 text-align: right;
109 }
110
111 body.rtl .abj404-pagination,
112 [dir="rtl"] .abj404-pagination {
113 text-align: left;
114 }
115
116 /* ===== Tree Indentation - Swap padding-left to padding-right ===== */
117 body.rtl .abj404-tree-level-0,
118 [dir="rtl"] .abj404-tree-level-0 {
119 padding-left: 0;
120 padding-right: 10px;
121 }
122
123 body.rtl .abj404-tree-level-1,
124 [dir="rtl"] .abj404-tree-level-1 {
125 padding-left: 0;
126 padding-right: 10px;
127 }
128
129 body.rtl .abj404-tree-level-2,
130 [dir="rtl"] .abj404-tree-level-2 {
131 padding-left: 0;
132 padding-right: 20px;
133 }
134
135 body.rtl .abj404-tree-level-3,
136 [dir="rtl"] .abj404-tree-level-3 {
137 padding-left: 0;
138 padding-right: 30px;
139 }
140
141 body.rtl .abj404-tree-level-4,
142 [dir="rtl"] .abj404-tree-level-4 {
143 padding-left: 0;
144 padding-right: 40px;
145 }
146
147 body.rtl .abj404-tree-level-5,
148 [dir="rtl"] .abj404-tree-level-5 {
149 padding-left: 0;
150 padding-right: 50px;
151 }
152
153 body.rtl .abj404-tree-level-6,
154 [dir="rtl"] .abj404-tree-level-6 {
155 padding-left: 0;
156 padding-right: 60px;
157 }
158
159 body.rtl .abj404-tree-level-7,
160 [dir="rtl"] .abj404-tree-level-7 {
161 padding-left: 0;
162 padding-right: 70px;
163 }
164
165 body.rtl .abj404-tree-level-8,
166 [dir="rtl"] .abj404-tree-level-8 {
167 padding-left: 0;
168 padding-right: 80px;
169 }
170
171 body.rtl .abj404-tree-level-9,
172 [dir="rtl"] .abj404-tree-level-9 {
173 padding-left: 0;
174 padding-right: 90px;
175 }
176
177 body.rtl .abj404-tree-level-10,
178 [dir="rtl"] .abj404-tree-level-10 {
179 padding-left: 0;
180 padding-right: 100px;
181 }
182
183 /* ===== Sidebar and Layout ===== */
184 body.rtl .abj404-sidebar,
185 [dir="rtl"] .abj404-sidebar {
186 border-right: none;
187 border-left: 1px solid var(--abj404-border-light, #e0e0e0);
188 }
189
190 body.rtl .abj404-sidebar:last-child,
191 [dir="rtl"] .abj404-sidebar:last-child {
192 border-left: none;
193 }
194
195 body.rtl .abj404-content-with-sidebar,
196 [dir="rtl"] .abj404-content-with-sidebar {
197 padding-left: 0;
198 padding-right: 288px;
199 }
200
201 /* ===== Form Elements ===== */
202 body.rtl .abj404-input-with-icon,
203 [dir="rtl"] .abj404-input-with-icon {
204 padding-right: 8px;
205 padding-left: 36px;
206 }
207
208 body.rtl .abj404-search-input,
209 [dir="rtl"] .abj404-search-input {
210 padding-right: 8px !important;
211 padding-left: 32px !important;
212 }
213
214 body.rtl .abj404-autocomplete-input,
215 [dir="rtl"] .abj404-autocomplete-input {
216 padding-right: 8px;
217 padding-left: 36px;
218 }
219
220 /* ===== Auto-Margins - Keep centered elements centered ===== */
221 body.rtl .abj404-center-auto,
222 [dir="rtl"] .abj404-center-auto {
223 margin-left: auto;
224 margin-right: auto;
225 }
226
227 /* ===== Navigation Tabs ===== */
228 body.rtl .abj404-nav-tab-wrapper,
229 [dir="rtl"] .abj404-nav-tab-wrapper {
230 direction: rtl;
231 }
232
233 body.rtl .abj404-nav-tab,
234 [dir="rtl"] .abj404-nav-tab {
235 float: right;
236 }
237
238 /* ===== Buttons and Actions ===== */
239 body.rtl .abj404-actions,
240 [dir="rtl"] .abj404-actions {
241 text-align: left;
242 }
243
244 body.rtl .abj404-btn-group,
245 [dir="rtl"] .abj404-btn-group {
246 direction: rtl;
247 }
248
249 /* ===== Tables ===== */
250 body.rtl .abj404-table,
251 [dir="rtl"] .abj404-table {
252 direction: rtl;
253 }
254
255 body.rtl .wp-list-table,
256 [dir="rtl"] .wp-list-table {
257 direction: rtl;
258 }
259
260 /* ===== Chips Navigation ===== */
261 body.rtl .abj404-chips-nav,
262 [dir="rtl"] .abj404-chips-nav {
263 direction: rtl;
264 }
265
266 /* ===== Cards ===== */
267 body.rtl .abj404-card,
268 [dir="rtl"] .abj404-card {
269 text-align: right;
270 }
271
272 body.rtl .abj404-card-content,
273 [dir="rtl"] .abj404-card-content {
274 padding-left: 16px;
275 padding-right: 20px;
276 }
277
278 /* ===== Responsive Adjustments ===== */
279 @media screen and (max-width: 782px) {
280 body.rtl .abj404-content-with-sidebar,
281 [dir="rtl"] .abj404-content-with-sidebar {
282 padding-left: 0;
283 padding-right: 0;
284 }
285 }
286
287 /* ===== Dropdown Menus ===== */
288 body.rtl .abj404-dropdown-menu,
289 [dir="rtl"] .abj404-dropdown-menu {
290 left: auto;
291 right: 0;
292 text-align: right;
293 }
294
295 /* ===== Inline Lists ===== */
296 body.rtl .abj404-inline-list li,
297 [dir="rtl"] .abj404-inline-list li {
298 float: right;
299 }
300
301 /* ===== Checkbox/Radio Label Spacing ===== */
302 body.rtl input[type="checkbox"] + label,
303 body.rtl input[type="radio"] + label,
304 [dir="rtl"] input[type="checkbox"] + label,
305 [dir="rtl"] input[type="radio"] + label {
306 margin-left: 0;
307 margin-right: 4px;
308 }
309
310 /* ===== Filter Buttons ===== */
311 body.rtl .abj404-filter-btn,
312 [dir="rtl"] .abj404-filter-btn {
313 margin-left: 0;
314 margin-right: -5px;
315 }
316
317 /* ===== Content Tabs ===== */
318 body.rtl .abj404-content-tabs,
319 [dir="rtl"] .abj404-content-tabs {
320 direction: rtl;
321 }
322
323 body.rtl .abj404-content-tab,
324 [dir="rtl"] .abj404-content-tab {
325 float: right;
326 }
327