1 | | /** |
2 | | * bbPress RTL (Right-To-Left) CSS |
3 | | * |
4 | | * @package bbPress |
5 | | * @subpackage Theme |
6 | | */ |
7 | | |
8 | | /* =bbPress Style |
9 | | -------------------------------------------------------------- */ |
10 | | |
11 | | #bbpress-forums .bbp-forums-list { |
12 | | border-right: 1px solid #ddd; |
13 | | padding-right: 15px; |
14 | | margin: 0 5px 0 0; |
15 | | padding-left: 0; |
16 | | border-left: 0; |
17 | | } |
18 | | #bbpress-forums ul.bbp-threaded-replies { |
19 | | margin-right: 50px; |
20 | | margin-left: 0; |
21 | | } |
22 | | li.bbp-forum-info, |
23 | | li.bbp-topic-title { |
24 | | float: right; |
25 | | text-align: right; |
26 | | } |
27 | | li.bbp-forum-topic-count, |
28 | | li.bbp-topic-voice-count, |
29 | | li.bbp-forum-reply-count, |
30 | | li.bbp-topic-reply-count { |
31 | | float: right; |
32 | | } |
33 | | li.bbp-forum-freshness, |
34 | | li.bbp-topic-freshness { |
35 | | float: right; |
36 | | } |
37 | | #bbpress-forums div.bbp-topic-author a.bbp-author-name, |
38 | | #bbpress-forums div.bbp-reply-author a.bbp-author-name { |
39 | | clear: right; |
40 | | } |
41 | | li.bbp-header div.bbp-topic-content span#subscription-toggle, |
42 | | li.bbp-header div.bbp-topic-content span#favorite-toggle, |
43 | | li.bbp-header div.bbp-reply-content span#subscription-toggle, |
44 | | li.bbp-header div.bbp-reply-content span#favorite-toggle { |
45 | | float: left; |
46 | | } |
47 | | #bbpress-forums div.bbp-forum-author, |
48 | | #bbpress-forums div.bbp-topic-author, |
49 | | #bbpress-forums div.bbp-reply-author { |
50 | | float: right; |
51 | | } |
52 | | #bbpress-forums li.bbp-header .bbp-search-author, |
53 | | #bbpress-forums li.bbp-footer .bbp-search-author, |
54 | | #bbpress-forums li.bbp-header .bbp-forum-author, |
55 | | #bbpress-forums li.bbp-footer .bbp-forum-author, |
56 | | #bbpress-forums li.bbp-header .bbp-topic-author, |
57 | | #bbpress-forums li.bbp-footer .bbp-topic-author, |
58 | | #bbpress-forums li.bbp-header .bbp-reply-author, |
59 | | #bbpress-forums li.bbp-footer .bbp-reply-author { |
60 | | float: right; |
61 | | } |
62 | | #bbpress-forums li.bbp-header .bbp-search-content, |
63 | | #bbpress-forums li.bbp-footer .bbp-search-content, |
64 | | #bbpress-forums li.bbp-header .bbp-forum-content, |
65 | | #bbpress-forums li.bbp-footer .bbp-forum-content, |
66 | | #bbpress-forums li.bbp-header .bbp-topic-content, |
67 | | #bbpress-forums li.bbp-footer .bbp-topic-content, |
68 | | #bbpress-forums li.bbp-header .bbp-reply-content, |
69 | | #bbpress-forums li.bbp-footer .bbp-reply-content { |
70 | | margin-right: 140px; |
71 | | text-align: right; |
72 | | margin-left: 0; |
73 | | } |
74 | | |
75 | | /* =Topic and reply content |
76 | | -------------------------------------------------------------- */ |
77 | | |
78 | | #bbpress-forums div.bbp-forum-content, |
79 | | #bbpress-forums div.bbp-topic-content, |
80 | | #bbpress-forums div.bbp-reply-content { |
81 | | padding: 12px 0 12px 12px; |
82 | | margin-right: 130px; |
83 | | text-align: right; |
84 | | margin-left: 0; |
85 | | } |
86 | | |
87 | | /* =Reply to |
88 | | -------------------------------------------------------------- */ |
89 | | |
90 | | #bbpress-forums div.bbp-reply-to { |
91 | | padding: 12px 0px 12px 12px; |
92 | | margin-right: 130px; |
93 | | text-align: left; |
94 | | margin-left: 0; |
95 | | } |
96 | | #bbpress-forums div#bbp-cancel-reply-to { |
97 | | text-align: left; |
98 | | } |
99 | | |
100 | | /* =Breadcrumb and Tags |
101 | | -------------------------------------------------------------- */ |
102 | | |
103 | | div.bbp-breadcrumb { |
104 | | float: right; |
105 | | } |
106 | | |
107 | | /* =Search |
108 | | -------------------------------------------------------------- */ |
109 | | |
110 | | #bbpress-forums #bbp-search-form { |
111 | | clear: right; |
112 | | } |
113 | | #bbpress-forums div.bbp-search-form { |
114 | | float: left; |
115 | | } |
116 | | |
117 | | /* =Admin Links |
118 | | -------------------------------------------------------------- */ |
119 | | |
120 | | span.bbp-admin-links { |
121 | | float: left; |
122 | | } |
123 | | fieldset span.bbp-admin-links { |
124 | | float: right; |
125 | | } |
126 | | .bbp-forum-header a.bbp-forum-permalink, |
127 | | .bbp-topic-header a.bbp-topic-permalink, |
128 | | .bbp-reply-header a.bbp-reply-permalink { |
129 | | margin-right: 10px; |
130 | | margin-left: 0; |
131 | | float: left; |
132 | | } |
133 | | |
134 | | /* =Pagination |
135 | | -------------------------------------------------------------- */ |
136 | | |
137 | | .bbp-pagination-count { |
138 | | float: right; |
139 | | } |
140 | | .bbp-pagination-links { |
141 | | float: left; |
142 | | } |
143 | | .bbp-pagination-links a, |
144 | | .bbp-pagination-links span.current { |
145 | | margin-right: 5px; |
146 | | margin-left: 0; |
147 | | float: right; |
148 | | } |
149 | | .bbp-pagination-links span.dots { |
150 | | margin-right: 5px; |
151 | | margin-left: 0; |
152 | | float: right; |
153 | | } |
154 | | .bbp-pagination { |
155 | | float: right; |
156 | | } |
157 | | .bbp-topic-pagination { |
158 | | margin-right: 5px; |
159 | | margin-left: 0; |
160 | | } |
161 | | |
162 | | /* =Forms |
163 | | -------------------------------------------------------------- */ |
164 | | |
165 | | #bbpress-forums fieldset.bbp-form { |
166 | | clear: right; |
167 | | } |
168 | | #bbpress-forums fieldset.bbp-forum-form-attributes { |
169 | | margin-right: 25px; |
170 | | margin-left: 25px; |
171 | | float: left; |
172 | | } |
173 | | .bbp-topic-form, |
174 | | .bbp-reply-form, |
175 | | .bbp-topic-tag-form { |
176 | | clear: right; |
177 | | } |
178 | | body.topic-edit .bbp-topic-form div.avatar img, |
179 | | body.reply-edit .bbp-reply-form div.avatar img, |
180 | | body.single-forum .bbp-topic-form div.avatar img, |
181 | | body.single-reply .bbp-reply-form div.avatar img { |
182 | | margin-left: 0; |
183 | | } |
184 | | #bbpress-forums div.bbp-topic-tags { |
185 | | float: left; |
186 | | } |
187 | | div.bbp-submit-wrapper { |
188 | | float: left; |
189 | | } |
190 | | |
191 | | |
192 | | /* =TinyMCE in themes |
193 | | -------------------------------------------------------------- */ |
194 | | |
195 | | #bbpress-forums div.bbp-the-content-wrapper input { |
196 | | margin: 0 0 0 2px; |
197 | | } |
198 | | |
199 | | /* =Edit User |
200 | | -------------------------------------------------------------- */ |
201 | | |
202 | | #bbpress-forums #bbp-your-profile fieldset div { |
203 | | float: right; |
204 | | clear: right; |
205 | | } |
206 | | #bbpress-forums #bbp-your-profile fieldset label[for] { |
207 | | padding: 5px 5px 5px 20px; |
208 | | text-align: left; |
209 | | float: right; |
210 | | } |
211 | | #bbpress-forums #bbp-your-profile fieldset dl label[for] { |
212 | | text-align: right; |
213 | | } |
214 | | #bbpress-forums #bbp-your-profile fieldset span.description { |
215 | | float: right; |
216 | | clear: right; |
217 | | } |
218 | | #bbpress-forums #bbp-your-profile fieldset fieldset.password span.description { |
219 | | margin-right: 0; |
220 | | } |
221 | | #bbpress-forums #bbp-your-profile fieldset.submit button { |
222 | | float: left; |
223 | | } |
224 | | |
225 | | /* =Widgets |
226 | | -------------------------------------------------------------- */ |
227 | | |
228 | | .bbp-login-form .bbp-submit-wrapper { |
229 | | text-align: left; |
230 | | } |
231 | | .bbp-login-form .bbp-login-links a { |
232 | | float: right; |
233 | | clear: right; |
234 | | } |
235 | | .bbp-logged-in img.avatar { |
236 | | margin: 0 0 0 15px; |
237 | | float: right; |
238 | | } |
239 | | |
240 | | /* =Avatars |
241 | | -------------------------------------------------------------- */ |
242 | | |
243 | | fieldset div.avatar { |
244 | | float: left; |
245 | | } |
246 | | |
247 | | /* =BuddyPress Activity Streams |
248 | | -------------------------------------------------------------- */ |
249 | | |
250 | | .activity-list li.bbp_topic_create .activity-content .activity-inner, |
251 | | .activity-list li.bbp_reply_create .activity-content .activity-inner { |
252 | | border-right: 2px solid #eaeaea; |
253 | | padding-right: 10px; |
254 | | margin-right: 5px; |
255 | | padding-right:0; |
256 | | border-right:0; |
257 | | margin-right:0; |
258 | | } |
259 | | |
260 | | |
261 | | /* =User Pages |
262 | | -------------------------------------------------------------- */ |
263 | | |
264 | | #bbpress-forums #bbp-user-wrapper { |
265 | | float: right; |
266 | | } |
267 | | #bbpress-forums #bbp-single-user-details { |
268 | | float: right; |
269 | | } |
270 | | #bbpress-forums #bbp-single-user-details #bbp-user-description { |
271 | | margin-right: 180px; |
272 | | margin-left: 0; |
273 | | } |
274 | | #bbpress-forums #bbp-user-body { |
275 | | margin-right: 180px; |
276 | | margin-left: 0; |
277 | | } |
278 | | |
279 | | /*-------------------------------------------------------------- |
280 | | Media Queries |
281 | | --------------------------------------------------------------*/ |
282 | | |
283 | | /* =Standard Mobile Landscape |
284 | | -------------------------------------------------------------- */ |
285 | | @media only screen and (max-width: 480px) { |
286 | | #bbpress-forums div.bbp-topic-tags { |
287 | | clear: left; |
288 | | float: left; |
289 | | } |
290 | | span.bbp-reply-post-date { |
291 | | float: left; |
292 | | } |
293 | | span.bbp-admin-links { |
294 | | clear: left; |
295 | | float: left; |
296 | | } |
297 | | #bbpress-forums .bbp-body div.bbp-reply-author { |
298 | | padding-left: 80px; |
299 | | padding-right: 0; |
300 | | text-align: left; |
301 | | } |
302 | | #bbpress-forums div.bbp-reply-author a.bbp-author-name { |
303 | | margin-left: 0; |
304 | | } |
305 | | #bbpress-forums div.bbp-reply-author img.avatar { |
306 | | left: auto; |
307 | | left: 0; |
308 | | } |
309 | | div.bbp-submit-wrapper { |
310 | | float: left; |
311 | | } |
312 | | #bbpress-forums #bbp-user-body { |
313 | | margin-left: 0; |
314 | | } |
315 | | } |
316 | | |
317 | | /* =Standard Mobile Portrait |
318 | | -------------------------------------------------------------- */ |
319 | | @media only screen and (max-width: 320px) { |
320 | | #bbpress-forums li.bbp-header div.bbp-reply-author { |
321 | | text-align: left; |
322 | | } |
323 | | #bbpress-forums li.bbp-header div.bbp-reply-content { |
324 | | margin-left: 25%; |
325 | | margin-right: 0; |
326 | | } |
327 | | } |
328 | | |
329 | | /* =Extra Small Mobile |
330 | | -------------------------------------------------------------- */ |
331 | | @media only screen and (max-width: 240px) { |
332 | | #bbpress-forums li.bbp-body li.bbp-topic-freshness, |
333 | | #bbpress-forums li.bbp-header div.bbp-reply-content { |
334 | | margin-left: 0; |
335 | | text-align: left; |
336 | | } |
337 | | #bbpress-forums li.bbp-footer div.bbp-reply-content { |
338 | | margin-left: 0; |
339 | | } |
340 | | #bbpress-forums li.bbp-body div.bbp-reply-author { |
341 | | padding-left: 60px; |
342 | | padding-right: 0; |
343 | | } |
344 | | } |
345 | | No newline at end of file |