MDL-1626 mod_forum: Add icons for subscription status
[moodle.git] / theme / bootstrapbase / less / moodle / modules.less
CommitLineData
8903b17b
BB
1/* modules.less */
2
3// The home for small tweaks to modules that don't require
4// changes drastic enough to pull in the full module css
5// and replace it completely
6// Plus some misc. odds and ends
7
8select {
9 width: auto;
10}
11
8bf57320
DM
12// Forum
13
bfaee803
SH
14.path-mod-forum .forumsearch {
15 input,
16 .helptooltip {
17 margin: 0 3px;
18 }
19}
20
8903b17b
BB
21.path-mod-forum .forumheaderlist,
22.path-mod-forum .forumheaderlist td {
23 border: none;
24}
25
8bf57320
DM
26.path-mod-forum .forumheaderlist {
27 thead .header {
28 white-space: normal;
29 vertical-align: top;
30 }
8bb2d476
JC
31 thead .header.replies {
32 text-align: center;
33 }
8bf57320
DM
34 thead .header.lastpost {
35 text-align: right;
36 }
37 .discussion {
38 .author, .replies, .lastpost {
39 white-space: normal;
40 }
41 .replies {
42 text-align: center;
43 }
44 .topic, .topic.starter, .picture, .author, .replies, .lastpost {
45 vertical-align: top;
46 }
47 }
48}
49
2a8ab91c
AB
50.path-mod-feedback .generalbox div table tbody img {
51 height: 5px; // we should remove the bar height specification in core
52}
53
8903b17b
BB
54.forumpost {
55 .well;
56 padding: 6px;
73c4e333
AB
57 .header {
58 margin-bottom: 3px;
59 }
cee8be63
JC
60 .picture img {
61 margin: 3px;
62 &.userpicture {
63 margin-left: 3px;
64 margin-right: 10px;
65 }
66 }
67 .content {
68 .posting.fullpost {
69 margin-top: 8px;
70 }
71 }
72 .row {
73 .topic,
74 .content-mask,
75 .options {
76 margin-left: 48px;
77 }
78 &.side {
79 clear: both;
80 }
81 }
82}
83
84.dir-rtl .forumpost {
85 .picture img {
86 &.userpicture {
87 margin-left: 10px;
88 margin-right: 3px;
89 }
90 }
91 .row {
92 .topic,
93 .content-mask,
94 .options {
95 margin-left: 0;
96 margin-right: 48px;
73c4e333
AB
97 }
98 }
8903b17b
BB
99}
100
101.forumpost .row .left {
cee8be63 102 width: 48px;
8903b17b
BB
103}
104
105.forumpost .options .commands {
106 margin-left: 0;
107}
108
109.forumpost .subject {
110 font-weight: bold;
111}
112
113// Override hardcoded forum modules styling
114.forumsearch input[type=text] {
115 margin-bottom: 0 !important;
116}
117
35620f63
SH
118#page-mod-forum-discuss .discussioncontrols {
119 width: auto;
120 margin: 0;
8903b17b
BB
121}
122
123#page-footer {
124 margin-top: 1em;
125 padding: 1em 0;
e514c722 126 border-top: 2px solid @tableBorder;
8903b17b
BB
127}
128
129.maincalendar .calendarmonth td,.maincalendar .calendarmonth th {
e514c722 130 border: 1px dotted @tableBorder;
8903b17b
BB
131}
132
133.path-grade-report-grader h1 {
134 text-align: inherit;
135}
136
137#page-mod-chat-gui_basic input#message {
138 max-width: 100%;
139}
140
141#page-mod-data-view #singleimage {
142 width: auto;
143}
144
145.path-mod-data form {
146 margin-top: 10px;
147}
148
149.template_heading {
150 margin-top: 10px;
151}
152
153.breadcrumb-button {
154 float: right;
3355b72e 155 margin-top: 4px;
8903b17b 156}
eef85081 157
41dcfbf1
MA
158.breadcrumb-button .singlebutton {
159 float: left;
160 margin-left: 4px;
161}
162
eef85081
NK
163.dir-rtl {
164 .nav-tabs > li,
165 .nav-pills > li {
166 float: right;
167 }
168}
8903b17b
BB
169.dir-rtl .navbar .brand {
170 float: right;
171}
af9c2dcf 172
af9c2dcf
GB
173.navbar-inverse .logininfo a {
174 color: @navbarInverseLinkColor;
175}
176.navbar-inverse .logininfo a:hover {
177 background-color: @navbarInverseLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
178 color: @navbarInverseLinkColorHover;
8903b17b
BB
179}
180
181.navbar-fixed-top,
182.navbar-fixed-bottom {
58183f9b 183 z-index: 4030;
8903b17b
BB
184}
185
186.dir-rtl .breadcrumb-button,
187.dir-rtl .navbar .btn-navbar {
188 float: left;
189}
190
41dcfbf1
MA
191.dir-rtl .breadcrumb-button .singlebutton {
192 float: right;
193 margin-right: 4px;
194}
195
8903b17b 196.ie .row-fluid .desktop-first-column {
58183f9b 197 margin-left: 0;
8903b17b
BB
198}
199.langmenu form {
200 margin: 0;
201}
202.container-fluid {
203 max-width: 1680px;
204 margin: 0 auto;
205}
206// contributed by Paul Hibbitts, see http://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
207canvas {
208 -ms-touch-action: auto;
209}
210
211div#dock {
212 display: none;
213}
214
9184a2f7
AB
215.path-mod-choice {
216 .horizontal .choices {
217 margin: 0;
218 .option {
219 display: inline-block;
220 padding: 10px;
221 }
222 }
223 .results .data {
224 white-space: normal;
8903b17b
BB
225 }
226}
227
228.path-mod-lesson .firstpageoptions {
229 margin: auto;
230 min-width: 280px;
231 width: 60%;
232}
01a96461
RW
233
234.path-mod-lesson .centerpadded {
235 padding: 5px;
236 text-align: center;
237}
876c0ac3 238
14cdc257
RW
239.path-mod-wiki .wiki_headingtitle,
240.path-mod-wiki .midpad,
241.path-mod-wiki .wiki_headingtime {
242 text-align: inherit;
876c0ac3 243}
14cdc257
RW
244
245.path-mod-wiki .wiki_contentbox {
246 width: 100%;
eef85081 247}
1765866f 248
a36f97f7
JC
249// Dropdown styling.
250.dropdown-menu {
251 > li > a {
252 padding: 3px 20px 3px 8px;
253 }
254}
255.dir-rtl .dropdown-menu {
256 > li > a {
257 padding: 3px 8px 3px 20px;
258 }
259}
260.dir-rtl .dropdown-submenu > .dropdown-menu {
261 .border-radius(6px 0px 6px 6px);
262}
263
264
1765866f
DM
265// Survey module
266
267.path-mod-survey {
268 .surveytable {
e514c722
FM
269 > tbody > tr:nth-of-type(odd) {background-color: @tableBackground;}
270 > tbody > tr:nth-of-type(even) {background-color: @tableBackgroundAccent;}
1765866f
DM
271 .rblock label {text-align: center;}
272 }
273 .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
274 text-align:center;
275 }
276}
b549e66e
AB
277// rtl overrides
278.dir-rtl {
8bb2d476 279 &.path-mod-forum .forumheaderlist {
b549e66e
AB
280 thead .header.lastpost {
281 text-align: left;
282 }
8bb2d476
JC
283 .discussion {
284 .lastpost {
285 text-align: left;
286 }
287 }
b549e66e 288 }
a36f97f7
JC
289}
290
291.nav .caret {
292 margin-left: 4px;
293}
294.dir-rtl .nav .caret {
295 margin-right: 4px;
b549e66e 296}