comparison forum/Themes/default/css/rtl.css @ 76:e3e11437ecea website

Add forum code
author Chris Cannam
date Sun, 07 Jul 2013 11:25:48 +0200
parents
children
comparison
equal deleted inserted replaced
75:72f59aa7e503 76:e3e11437ecea
1 /* Common classes to ease styling.
2 ------------------------------------------------------- */
3
4 .floatright
5 {
6 float: left;
7 }
8 .floatleft
9 {
10 float: right;
11 }
12 .clear_left
13 {
14 clear: right;
15 }
16 .clear_right
17 {
18 clear: left;
19 }
20 .righttext
21 {
22 margin-left: auto;
23 margin-right: 0;
24 text-align: left;
25 }
26 .lefttext
27 {
28 margin-left: 0;
29 margin-right: auto;
30 text-align: right;
31 }
32
33 /* Styling for BBC tags */
34 .bbc_list
35 {
36 text-align: right;
37 }
38
39 /* GenericList */
40 .additional_row input
41 {
42 margin-left: 0;
43 margin-right: 1em;
44 }
45 /* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
46 .signature, .attachments
47 {
48 clear: left;
49 }
50 .custom_fields_above_signature
51 {
52 clear: left;
53 }
54 .openid_login
55 {
56 padding-right: 18px;
57 padding-left: 0;
58 }
59
60 /* Lists with settings use these a lot.
61 ------------------------------------------------------- */
62 dl.settings
63 {
64 clear: left;
65 }
66 dl.settings dt
67 {
68 float: right;
69 clear: both;
70 }
71 dl.settings dt.windowbg
72 {
73 float: right;
74 }
75 dl.settings dd
76 {
77 float: left;
78 }
79 dl.settings img
80 {
81 margin: 0 0 0 10px;
82 }
83
84 /* Styles for rounded headers.
85 ------------------------------------------------------- */
86
87 h3.catbg img.icon, h4.titlebg img.icon
88 {
89 vertical-align: middle;
90 margin: -2px 0 0 5px;
91 }
92 h4.titlebg, h3.titlebg
93 {
94 padding-right: 9px;
95 padding-left: 0;
96 }
97 h4.titlebg img.icon
98 {
99 float: right;
100 margin: 5px 0 0 8px;
101 }
102
103 table.table_list a.unreadlink, table.table_list a.collapse
104 {
105 float: left;
106 }
107 table.table_list a.collapse
108 {
109 margin: 10px 1em 0 5px;
110 }
111 .table_grid th.first_th, tr.catbg th.first_th
112 {
113 background: #a8bace url(../images/theme/main_block.png) no-repeat 100% -240px;
114 }
115 .table_grid th.last_th, tr.catbg th.last_th
116 {
117 background: #a8bace url(../images/theme/main_block.png) no-repeat 0 -240px;
118 }
119 tr.titlebg th.first_th
120 {
121 background: #e3e9ef url(../images/theme/main_block.png) no-repeat 100% -340px;
122 }
123 tr.titlebg th.last_th
124 {
125 background: #e3e9ef url(../images/theme/main_block.png) no-repeat 0 -340px;
126 }
127
128 /* Styles for the standard dropdown menus.
129 ------------------------------------------------------- */
130 #main_menu
131 {
132 padding: 0 0.5em;
133 float: right;
134 text-align: right;
135 }
136 .dropmenu li
137 {
138 float: right;
139 margin: 0 0 0 8px;
140 }
141 .dropmenu li ul ul
142 {
143 right: 15em;
144 }
145 .dropmenu li ul
146 {
147 background: url(../images/theme/menu_gfx.png) 100% -130px no-repeat;
148 right: 5px;
149 }
150
151 /* The dropdown menu toggle image */
152 #menu_toggle
153 {
154 float: left;
155 margin-right: 0;
156 margin-left: 10px;
157 padding-top: 3px;
158 }
159 #menu_toggle span
160 {
161 position: relative;
162 left: 0;
163 }
164
165 /* Styles for the standard button lists.
166 ------------------------------------------------------- */
167 .buttonlist ul
168 {
169 margin: 0 0 0 0.2em;
170 }
171 .buttonlist ul li a
172 {
173 margin-left: 0;
174 margin-right: 12px;
175 }
176 .buttonlist ul li a span
177 {
178 left: 8px;
179 }
180 .align_top ul li a, .align_bottom ul li a
181 {
182 margin: 0 0 0 12px;
183 }
184 #adm_submenus
185 {
186 padding-left: 0;
187 padding-right: 2em;
188 }
189 /* the main title, always stay at 45 pixels in height! */
190 h1.forumtitle
191 {
192 float: right;
193 }
194 /* float these items to the left */
195 #siteslogan, img#smflogo
196 {
197 float: left;
198 }
199 /* the upshrink image needs some tweaking */
200 img#upshrink
201 {
202 float: left;
203 }
204 /* ..so does the SMF logo */
205 img#smflogo
206 {
207 margin-right: 1em;
208 }
209 #upper_section div.news
210 {
211 float: left;
212 text-align: left;
213 }
214 div#upper_section div.user
215 {
216 float: right;
217 }
218 div#upper_section div.user p
219 {
220 float: right;
221 margin: 0 0 1em 1em;
222 }
223 div#upper_section div.user ul
224 {
225 padding-left: 0;
226 padding-right: 10px;
227 }
228
229 /* The navigation list (i.e. linktree) */
230 .navigate_section ul li
231 {
232 float: right;
233 padding: 0 0 0 0.5em;
234 }
235
236 /* Styles for the board index.
237 ------------------------------------------------- */
238
239 /* the posting icons */
240 #posting_icons
241 {
242 padding: 0 1em 0.5em 1em;
243 }
244 #posting_icons img
245 {
246 margin: 0 4ex 0 0;
247 }
248 #posting_icons .buttonlist
249 {
250 float: left;
251 }
252 #postbuttons_upper ul li a span
253 {
254 line-height: 19px;
255 padding: 0 6px 0 0;
256 }
257
258 dl#ic_recentposts dt
259 {
260 float: right;
261 }
262 dl#ic_recentposts dd
263 {
264 text-align: left;
265 }
266 form#ic_login ul li
267 {
268 float: right;
269 width: 20%;
270 }
271
272 /* the small stats */
273 #index_common_stats
274 {
275 text-align: left;
276 }
277 img#upshrink_ic, img#newsupshrink
278 {
279 float: right;
280 margin: 10px 0 0 5px;
281 }
282
283 /* Styles for the message (topic) index.
284 ---------------------------------------------------- */
285 .table_frame .table_list td.icon, .table_frame .table_list td.info, .table_frame .table_list td.stats
286 {
287 border-right: none;
288 border-left: 2px solid white;
289 }
290 .lastpost img
291 {
292 float: left;
293 }
294
295 /* Styles for the display template (topic view).
296 ---------------------------------------------------- */
297 #postbuttons div.buttons
298 {
299 float: right;
300 }
301 #postbuttons span
302 {
303 text-align: left;
304 }
305 #postbuttons span.lower
306 {
307 clear: left;
308 }
309 #postbuttons .buttonlist
310 {
311 float: left;
312 }
313
314 h4#pollquestion
315 {
316 padding: 0.5em 2em 0.5em 0;
317 }
318 /* Poll vote options */
319 #poll_options ul.options
320 {
321 padding: 1em 2em 0 2.5em;
322 margin: 0 0 1em 0;
323 }
324 #poll_options div.submitbutton
325 {
326 clear: both;
327 padding: 0 2em 1em 0;
328 margin: 0 0 1em 0;
329 }
330
331 /* Poll results */
332 #poll_options dl.options
333 {
334 padding: 1em 2em 1em 2.5em;
335 margin: 0 0 1em 1em;
336 }
337 #poll_options dl.options dt
338 {
339 float: right;
340 clear: right;
341 }
342 #poll_options dl.options dd
343 {
344 margin: 0 2em 0 0;
345 float: right;
346 }
347 span.percent
348 {
349 float: left;
350 }
351
352 /* author and topic information */
353 #forumposts h3 span#author
354 {
355 margin: 0 0 0 7.7em;
356 }
357 #forumposts h3 img
358 {
359 float: right;
360 margin: 4px 0 0 0.5em;
361 }
362 /* poster and postarea + moderation area underneath */
363 .poster
364 {
365 float: right;
366 width: 15em;
367 }
368 .postarea, .moderatorbar
369 {
370 margin: 0 16em 0 0;
371 }
372 .moderatorbar
373 {
374 clear: left;
375 }
376 /* poster details and list of items */
377 .poster h4, .poster ul
378 {
379 padding: 0;
380 margin: 0 1.5em 0 1em;
381 }
382 .poster h4
383 {
384 margin: 0.2em 1.1em 0.4em 0;
385 }
386 .poster ul ul
387 {
388 margin: 0.3em 0 0 1em;
389 }
390 .messageicon
391 {
392 float: right;
393 margin: 0 0 0 0.5em;
394 }
395
396 .keyinfo
397 {
398 float: right;
399 }
400 .modifybutton
401 {
402 clear: left;
403 float: left;
404 margin: 8px 0 10px 20px;
405 text-align: left;
406 }
407
408 /* The quick buttons */
409 ul.quickbuttons
410 {
411 margin: 0.9em 0 0 11px;
412 clear: left;
413 float: left;
414 text-align: left;
415 }
416 ul.quickbuttons li
417 {
418 float: left;
419 margin: 0 11px 0 0;
420 }
421 ul.quickbuttons li a
422 {
423 padding: 0 20px 0 0;
424 float: left;
425 }
426 ul.quickbuttons li.quote_button
427 {
428 background-position: 100% 0;
429 }
430 ul.quickbuttons li.remove_button
431 {
432 background-position: 100% -30px;
433 }
434 ul.quickbuttons li.modify_button
435 {
436 background-position: 100% -60px;
437 }
438 ul.quickbuttons li.approve_button
439 {
440 background-position: 100% -90px;
441 }
442 ul.quickbuttons li.restore_button
443 {
444 background-position: 100% -120px;
445 }
446 ul.quickbuttons li.split_button
447 {
448 background-position: 100% -150px;
449 }
450 ul.quickbuttons li.reply_button
451 {
452 background-position: 100% -180px;
453 }
454 ul.quickbuttons li.reply_all_button
455 {
456 background-position: 100% -180px;
457 }
458 ul.quickbuttons li.notify_button
459 {
460 background-position: 100% -210px;
461 }
462 ul.quickbuttons li.inline_mod_check
463 {
464 margin: 0 5px 0 0;
465 }
466 .post
467 {
468 clear: left;
469 }
470 .inner
471 {
472 padding: 1em 0 0 1em;
473 margin: 0 0 0 1em;
474 }
475 #forumposts .modified
476 {
477 float: right;
478 }
479 #forumposts .reportlinks
480 {
481 margin-left: 1.5em;
482 text-align: left;
483 clear: left;
484 }
485
486 #moderationbuttons_strip
487 {
488 float: right;
489 }
490 #moderationbuttons_strip ul
491 {
492 margin: 0 0.2em 0 0;
493 padding: 0 1em 0 0;
494 }
495 /* The jump to box */
496 #display_jump_to
497 {
498 text-align: left;
499 }
500
501 /* Styles for edit post section
502 ---------------------------------------------------- */
503 #post_header dt
504 {
505 float: right;
506 }
507 #post_header dd
508 {
509 float: right;
510 }
511 ul.post_options
512 {
513 margin: 0 1em 0 0;
514 }
515 ul.post_options li
516 {
517 float: right;
518 }
519 #postAttachment dd, #postAttachment2 dd
520 {
521 margin: .3em 1em .3em 0;
522 }
523 #postAttachment dt, #postAttachment2 dt
524 {
525 font-weight: bold;
526 }
527 #postAttachment3
528 {
529 margin-left: 0;
530 margin-left: 1em;
531 }
532 .post_verification #verification_control
533 {
534 margin: .3em 1em .3em 0;
535 }
536
537 /* Styles for edit event section
538 ---------------------------------------------------- */
539 #post_event div.event_options
540 {
541 float: left;
542 }
543 #post_event #event_main input
544 {
545 margin: 0 0 1em 0;
546 float: right;
547 }
548 #post_event #event_main div.smalltext
549 {
550 float: left;
551 }
552 #post_event ul.event_main li
553 {
554 float: left;
555 }
556 #post_event ul.event_options
557 {
558 padding: 0 .7em .7em 0;
559 }
560 #post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check
561 {
562 margin: 0 0 0 1em;
563 }
564
565 /* Styles for edit poll section.
566 ---------------------------------------------------- */
567
568 #edit_poll fieldset input
569 {
570 margin-right: 7em;
571 }
572 #edit_poll ul.poll_main li
573 {
574 padding-right: 1em;
575 }
576 #edit_poll ul.poll_main input
577 {
578 margin-right: 1em;
579 }
580 #edit_poll div.poll_options
581 {
582 float: right;
583 }
584 #edit_poll ul.poll_main, dl.poll_options
585 {
586 padding: 0 .7em 0 0;
587 }
588 #edit_poll dl.poll_options dt
589 {
590 padding: 0 1em 0 0;
591 }
592 #edit_poll dl.poll_options dd input
593 {
594 margin-right: 0;
595 }
596
597 /* Styles for the personal messages section.
598 ------------------------------------------------- */
599
600 #personal_messages h3 span#author, #personal_messages h3 span#topic_title
601 {
602 float: right;
603 }
604 #personal_messages h3 span#author
605 {
606 margin: 0 0.5em 0 0;
607 }
608 #personal_messages h3 span#topic_title
609 {
610 margin: 0 9em 0 0;
611 }
612 #personal_messages .labels
613 {
614 padding: 0 0 0 1em;
615 }
616
617 /* Styles for the move topic section.
618 ---------------------------------------------------- */
619 .move_topic
620 {
621 text-align: right;
622 }
623 /* Styles for the login areas.
624 ------------------------------------------------------- */
625 .login dt
626 {
627 float: right;
628 }
629 .login dd
630 {
631 float: right;
632 text-align: right;
633 }
634 .login h3 img
635 {
636 margin: 0 0 0.5em;
637 }
638
639 /* Additional profile fields */
640 dl.register_form
641 {
642 clear: left;
643 }
644
645 dl.register_form dt
646 {
647 float: right;
648 }
649 /* Styles for maintenance mode.
650 ------------------------------------------------------- */
651 #maintenance_mode
652 {
653 text-align: right;
654 }
655 #maintenance_mode img.floatleft
656 {
657 margin-left: 1em;
658 }
659 /* common for all admin sections */
660 h3.titlebg img
661 {
662 margin-left: 0.5em;
663 }
664 tr.titlebg td
665 {
666 padding-right: 0.7em;
667 }
668 #admin_menu
669 {
670 padding-right: 0;
671 }
672 #admin_content
673 {
674 clear: right;
675 }
676 /* Styles for sidebar menus.
677 ------------------------------------------------------- */
678 #left_admsection
679 {
680 float: right;
681 padding-right: 0;
682 padding-left: 10px;
683 }
684 .left_admmenu li
685 {
686 padding: 0 0.5em 0 0;
687 }
688 /* Styles for generic tables.
689 ------------------------------------------------------- */
690 .topic_table td.stickybg2
691 {
692 background-image: url(../images/icons/quick_sticky.gif);
693 background-repeat: no-repeat;
694 background-position: 2% 4px;
695 }
696 .topic_table td.lockedbg2
697 {
698 background-image: url(../images/icons/quick_lock.gif);
699 background-repeat: no-repeat;
700 background-position: 2% 4px;
701 }
702 .topic_table td.locked_sticky2
703 {
704 background-image: url(../images/icons/quick_sticky_lock.gif);
705 background-repeat: no-repeat;
706 background-position: 2% 4px;
707 }
708 .topic_table td.lastpost
709 {
710 background-image: none;
711 }
712 /* Styles for (fatal) errors.
713 ------------------------------------------------- */
714 .errorbox p.alert
715 {
716 float: right;
717 }
718 /* Styles for the profile section.
719 ------------------------------------------------- */
720 #basicinfo
721 {
722 float: right;
723 }
724 #detailedinfo
725 {
726 float: left;
727 }
728 #basicinfo ul li
729 {
730 float: right;
731 margin-right: 0;
732 margin-left: 5px;
733 }
734 #detailedinfo div.content dl, #tracking div.content dl
735 {
736 clear: left;
737 }
738 #detailedinfo div.content dt, #tracking div.content dt
739 {
740 float: right;
741 }
742 #detailedinfo div.content dd, #tracking div.content dd
743 {
744 float: right;
745 }
746 #avatar_server_stored div
747 {
748 float: right;
749 }
750
751 #main_admsection #basicinfo h4
752 {
753 float: right;
754 }
755 #main_admsection #basicinfo img.avatar
756 {
757 float: left;
758 }
759 #main_admsection #basicinfo ul
760 {
761 clear: right;
762 }
763 #main_admsection #basicinfo span#userstatus
764 {
765 clear: right;
766 }
767
768 /* Profile statistics */
769 #generalstats div.content dt
770 {
771 float: right;
772 }
773 #generalstats div.content dd
774 {
775 float: right;
776 }
777
778 /* Activity by time */
779 #activitytime
780 {
781 clear: right;
782 }
783 .activity_stats li
784 {
785 float: right;
786 }
787 .activity_stats li span
788 {
789 border-width: 1px 0 0 1px;
790 }
791 .activity_stats li.last span
792 {
793 border-left: none;
794 }
795
796 /* Most popular boards by posts and activity */
797 #popularposts
798 {
799 float: right;
800 }
801 #popularactivity
802 {
803 float: left;
804 }
805
806 #popularposts div.content dt, #popularactivity div.content dt
807 {
808 float: right;
809 }
810 #popularposts div.content dd, #popularactivity div.content dd
811 {
812 float: right;
813 }
814
815 .profile_pie
816 {
817 background-image: url(../images/stats_pie_rtl.png);
818 float: right;
819 margin-right: 0;
820 margin-left: 1em;
821 }
822
823 /* View posts */
824 .topic .time
825 {
826 float: left;
827 }
828 .counter
829 {
830 padding: 0.2em 0.2em 0.1em 0.5em;
831 float: right;
832 }
833 .topic .mod_icons
834 {
835 text-align: left;
836 margin-right: 0;
837 margin-left: 1em;
838 }
839 #permissions div.permission_name
840 {
841 margin: 0 0 0 1%;
842 }
843
844 #ip_list li.header, #ip_list li.ip
845 {
846 float: right;
847 }
848 #creator dt
849 {
850 float: right;
851 }
852 #creator dd
853 {
854 float: right;
855 }
856
857 .ignoreboards ul
858 {
859 margin: 0 1em 0 0;
860 }
861 .ignoreboards li
862 {
863 float: right;
864 }
865
866 #pick_theme
867 {
868 float: right;
869 }
870 /* Styles for the statistics center.
871 ------------------------------------------------- */
872 #stats_left, #top_posters, #top_topics_replies, #top_topics_starter
873 {
874 float: right;
875 }
876 #stats_right, #top_boards, #top_topics_views, #most_online
877 {
878 float: left;
879 }
880 dl.stats dt
881 {
882 float: right;
883 }
884 dl.stats dd
885 {
886 text-align: left;
887 }
888 .statsbar div.bar
889 {
890 float: right;
891 }
892 .statsbar div.bar div
893 {
894 right: -6px;
895 padding: 0 0 0 6px;
896 }
897 tr.windowbg2 th.stats_month, tr.windowbg2 td.stats_day
898 {
899 text-align: right;
900 }
901
902 /* Styles for the calendar section.
903 ------------------------------------------------- */
904 #month_grid
905 {
906 float: right;
907 }
908
909 #main_grid table.weeklist td.windowbg
910 {
911
912 border-left: 2px solid #fff;
913 border-bottom: 2px solid #fff;
914 }
915
916 #main_grid table.weeklist td.weekdays
917 {
918 text-align: left;
919 vertical-align: middle;
920 border-right: 2px solid #fff;
921 border-bottom: 2px solid #fff;
922 }
923
924 /* Styles for the advanced search section.
925 ------------------------------------------------- */
926 #searchform fieldset
927 {
928 text-align: right;
929 }
930 #advanced_search dt
931 {
932 float: right;
933 text-align: left;
934 }
935 #advanced_search dd
936 {
937 float: right;
938 margin: 0 0.5em 0 0;
939 text-align: right;
940 }
941 /* Boards picker */
942 #searchform fieldset div#searchBoardsExpand ul
943 {
944 margin: 0 1em 0 0;
945 }
946 #searchform fieldset div#searchBoardsExpand li
947 {
948 float: right;
949 }
950 #searchform fieldset p
951 {
952 text-align: right;
953 }
954
955 .search_results_posts .buttons
956 {
957 padding: 5px 0 0 1em;
958 }
959
960 /* Styles for the help section.
961 ------------------------------------------------- */
962 #helpmain h3.section
963 {
964 padding: 0 0.5em 0.5em 0;
965 }
966 /* put back the bullets please */
967 #helpmain ul
968 {
969 margin: 0 2em 1em 0;
970 padding-left: 0;
971 padding-right: 1em;
972 }
973 #helpmain #messageindex
974 {
975 clear: left;
976 }
977
978 /* Styles for the admincenter (reverse admin.css).
979 ------------------------------------------------- */
980 #quick_search
981 {
982 margin-left: 5px;
983 }
984 .features_image
985 {
986 float: right;
987 margin: 0 1em 0.5em 2em;
988 }
989 .features_switch
990 {
991 float: left;
992 }
993 .features h4
994 {
995 padding: 1em 0.5em 0.5em 0;
996 }
997 /* admin home */
998 #live_news div.content dl
999 {
1000 padding: 0.5em 0.5em 0 0;
1001 }
1002 #smfAnnouncements dd
1003 {
1004 padding: 0;
1005 margin: 0 1.5em 1em 0;
1006 }
1007 #quick_tasks li
1008 {
1009 float: right;
1010 list-style-type: none;
1011 }
1012 .home_image
1013 {
1014 float: right;
1015 }
1016 /* common admin classes */
1017 .additional_row input
1018 {
1019 margin-left: 0;
1020 margin-right: 2em;
1021 }
1022 #error_log td div.marginleft
1023 {
1024 margin: 0 1ex 0 0 !important;
1025 }
1026
1027 /* Styles for the package manager.
1028 ------------------------------------------------- */
1029 #package_list .tborder
1030 {
1031 margin: .25em 26px .25em 0;
1032 }
1033 #package_list ol, #package_list ol li
1034 {
1035 margin-left: 0;
1036 margin-right: 50px;
1037 }
1038 /* ManageBoards */
1039 #manage_boards ul
1040 {
1041 overflow: hidden;
1042 }
1043 #manage_boards li
1044 {
1045 overflow: hidden;
1046 }
1047 .move_links
1048 {
1049 padding: 0 0 0 13px;
1050 }
1051
1052 span.search_weight
1053 {
1054 text-align: left;
1055 }
1056 /* Manage Bans */
1057 .ban_restriction
1058 {
1059 margin: 0.2em 2.2em 0.2em 0;
1060 }
1061 /* Themes */
1062 .is_directory
1063 {
1064 padding-right: 18px;
1065 background: url(../images/admin/boards.gif) no-repeat;
1066 background-position: 100% 0;
1067 }
1068 /* Styles for the moderation center.
1069 ------------------------------------------------- */
1070 .modblock_left
1071 {
1072 float: right;
1073 clear: left;
1074 }
1075 .modblock_right
1076 {
1077 float: left;
1078 }
1079 ul.moderation_notes li
1080 {
1081 padding: 4px 4px 4px 0;
1082 }