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