b952606b8d2a5a885c2adb65dcc1fa56b7961c4a
[moodle.git] / mod / forum / styles.css
1 /**
2  * Structure of a forum post
3  * div.forumpost(.read.unread)
4  *     div.header.row
5  *         div.picture.left
6  *         div.topic(.starter)
7  *             div.subject
8  *             div.author
9  *     div.row
10  *         div.side.left
11  *         div.content-mask
12  *             div.content
13  *                 div.attachments
14  *                 div.posting(.shortenedpost|.fullpost)
15  *                     // message
16  *                 div.attachedimages
17  *                     // attachedimages
18  *     div.row
19  *         div.left
20  *         div.options
21  *             div.commands
22  *             div.forum-post-rating
23  *             div.link
24  *             div.footer
25  */
27 .forumpost {display: block;position:relative;margin:0 0 1em 0;padding:0;border:1px solid #000;max-width:100%;}
28 .forumpost .row {width:100%;position:relative;}
29 .forumpost .row .left {float:left;width: 43px;overflow:hidden;}
30 .forumpost .row .left .grouppictures a {text-align:center;display:block;margin:6px 2px 0 2px;}
31 .forumpost .row .left .grouppicture {width:20px;height:20px;}
32 .forumpost .row .topic,
33 .forumpost .row .content-mask,
34 .forumpost .row .options {margin-left:43px;}
35 .forumpost .picture img {margin:4px;}
36 .forumpost .options .commands,
37 .forumpost .content .attachments,
38 .forumpost .options .footer,
39 .forumpost .options .link {text-align:right;}
40 .forumpost .options .forum-post-rating {float:left;}
41 .forumpost .content .posting {overflow:auto;max-width:100%;}
42 .forumpost .content .attachedimages img {max-width:100%;}
44 .dir-rtl .forumpost .row .topic,
45 .dir-rtl .forumpost .row .content-mask,
46 .dir-rtl .forumpost .row .options {margin-right:43px;margin-left:0;}
47 .dir-rtl .forumpost .row .left {float:right;}
48 .dir-rtl.path-mod-forum .indent {margin-right:30px;margin-left:0;}
50 .path-mod-forum .forumolddiscuss,
51 #page-mod-forum-search .c0 {text-align:right;}
52 .path-mod-forum .indent {margin-left: 30px;}
53 .path-mod-forum .forumheaderlist {width: 100%;border-width:1px;border-style:solid;border-collapse:separate;margin-top: 10px;}
54 .path-mod-forum .forumheaderlist td {border-width:1px 0px 0px 1px;border-style:solid;}
55 .path-mod-forum .forumheaderlist .picture {width: 35px;}
56 .path-mod-forum .forumheaderlist .discussion .starter {vertical-align: middle;}
57 .path-mod-forum .forumheaderlist .discussion .lastpost {white-space: nowrap;text-align: right;}
58 .path-mod-forum .forumheaderlist .replies,
59 .path-mod-forum .forumheaderlist .discussion .author {white-space: nowrap;}
61 /** Styles for subscribers.php */
62 #page-mod-forum-subscribers .subscriberdiv,
63 #page-mod-forum-subscribers .subscribertable {width:100%;vertical-align:top;}
64 #page-mod-forum-subscribers .subscribertable tr td {vertical-align:top;}
65 #page-mod-forum-subscribers .subscribertable tr td.actions {width:16%;padding-top:3em;}
66 #page-mod-forum-subscribers .subscribertable tr td.actions .actionbutton {margin:0.3em 0;padding:0.5em 0;width:100%;}
67 #page-mod-forum-subscribers .subscribertable tr td.existing,
68 #page-mod-forum-subscribers .subscribertable tr td.potential {width:42%;}
70 /** Styles for discuss.php **/
71 #page-mod-forum-discuss .discussioncontrols {width:100%;margin:5px;}
72 #page-mod-forum-discuss .displaymode {float:left;width:55%;}
73 #page-mod-forum-discuss .exporttoportfolio {float:left;width:15%;text-align:right;}
74 #page-mod-forum-discuss .movediscussion .movediscussionoption {float:right;width:25%;text-align:right;padding-right:10px;}
75 #page-mod-forum-discuss .discussioncontrols .displaymode .singleselect {text-align:right;margin: 0;}
77 /** Styles for view.php **/
78 #page-mod-forum-view .forumaddnew {margin-bottom: 20px;}
79 #page-mod-forum-view .groupmenu {float: left;text-align:left;white-space: nowrap;}
80 #page-mod-forum-index .subscription,
81 #page-mod-forum-view .subscription {float: right;text-align:right;white-space: nowrap;margin: 5px 0;}
83 /** Styles for search.php */
84 #page-mod-forum-search .introcontent {padding: 15px;font-weight:bold;}
86 #page-mod-forum-index .unread img,
87 #page-mod-forum-view .unread img {margin-left: 5px;}
89 /** Unknown Styles ??? */
90 #email .unsubscribelink {margin-top:20px;}