MDL-42711 theme port from LM: Info, Date and Author on the latest News block reordered
[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
8903b17b
BB
14.path-mod-forum .forumheaderlist,
15.path-mod-forum .forumheaderlist td {
16 border: none;
17}
18
8bf57320
DM
19.path-mod-forum .forumheaderlist {
20 thead .header {
21 white-space: normal;
22 vertical-align: top;
23 }
24 thead .header.lastpost {
25 text-align: right;
26 }
27 .discussion {
28 .author, .replies, .lastpost {
29 white-space: normal;
30 }
31 .replies {
32 text-align: center;
33 }
34 .topic, .topic.starter, .picture, .author, .replies, .lastpost {
35 vertical-align: top;
36 }
37 }
38}
39
40@media (max-width: 979px) {
41 .path-mod-forum .forumheaderlist {
42 thead .header {
43 font-weight: normal;
44 font-size: round(@fontSizeSmall);
45 }
46 .discussion {
47 .author, .replies, .lastpost {
48 font-size: round(@fontSizeSmall);
49 }
50 .replies .unread a {
51 padding: 0;
52 }
53 }
54 }
55}
56
8903b17b
BB
57.forumpost {
58 .well;
59 padding: 6px;
73c4e333
AB
60 .header {
61 margin-bottom: 3px;
62 }
63 .maincontent {
64 .left {
65 padding: 0 10px 0 10px;
66 }
67 }
8903b17b
BB
68}
69
70.forumpost .row .left {
71 width: auto;
72}
73
74.forumpost .options .commands {
75 margin-left: 0;
76}
77
78.forumpost .subject {
79 font-weight: bold;
80}
81
82// Override hardcoded forum modules styling
83.forumsearch input[type=text] {
84 margin-bottom: 0 !important;
85}
86
87#page-mod-forum-discuss .discussioncontrol.displaymode {
88 text-align: left;
89}
90
91#page-mod-forum-discuss .discussioncontrols .discussioncontrol {
92 float: left;
93}
94
95#page-footer {
96 margin-top: 1em;
97 padding: 1em 0;
98 border-top: 2px solid #eee;
99}
100
101.maincalendar .calendarmonth td,.maincalendar .calendarmonth th {
102 border: 1px dotted #ddd;
103}
104
105.path-grade-report-grader h1 {
106 text-align: inherit;
107}
108
109#page-mod-chat-gui_basic input#message {
110 max-width: 100%;
111}
112
113#page-mod-data-view #singleimage {
114 width: auto;
115}
116
117.path-mod-data form {
118 margin-top: 10px;
119}
120
121.template_heading {
122 margin-top: 10px;
123}
124
125.breadcrumb-button {
126 float: right;
3355b72e 127 margin-top: 4px;
8903b17b 128}
eef85081
NK
129
130.dir-rtl {
131 .nav-tabs > li,
132 .nav-pills > li {
133 float: right;
134 }
135}
8903b17b
BB
136.dir-rtl .navbar .brand {
137 float: right;
138}
af9c2dcf 139
af9c2dcf
GB
140.navbar-inverse .logininfo a {
141 color: @navbarInverseLinkColor;
142}
143.navbar-inverse .logininfo a:hover {
144 background-color: @navbarInverseLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
145 color: @navbarInverseLinkColorHover;
8903b17b
BB
146}
147
148.navbar-fixed-top,
149.navbar-fixed-bottom {
58183f9b 150 z-index: 4030;
8903b17b
BB
151}
152
153.dir-rtl .breadcrumb-button,
154.dir-rtl .navbar .btn-navbar {
155 float: left;
156}
157
158.ie .row-fluid .desktop-first-column {
58183f9b 159 margin-left: 0;
8903b17b
BB
160}
161.langmenu form {
162 margin: 0;
163}
164.container-fluid {
165 max-width: 1680px;
166 margin: 0 auto;
167}
168// contributed by Paul Hibbitts, see http://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
169canvas {
170 -ms-touch-action: auto;
171}
172
173div#dock {
174 display: none;
175}
176
9184a2f7
AB
177.path-mod-choice {
178 .horizontal .choices {
179 margin: 0;
180 .option {
181 display: inline-block;
182 padding: 10px;
183 }
184 }
185 .results .data {
186 white-space: normal;
8903b17b
BB
187 }
188}
189
190.path-mod-lesson .firstpageoptions {
191 margin: auto;
192 min-width: 280px;
193 width: 60%;
194}
01a96461
RW
195
196.path-mod-lesson .centerpadded {
197 padding: 5px;
198 text-align: center;
199}
876c0ac3 200
14cdc257
RW
201.path-mod-wiki .wiki_headingtitle,
202.path-mod-wiki .midpad,
203.path-mod-wiki .wiki_headingtime {
204 text-align: inherit;
876c0ac3 205}
14cdc257
RW
206
207.path-mod-wiki .wiki_contentbox {
208 width: 100%;
eef85081 209}
1765866f
DM
210
211// Survey module
212
213.path-mod-survey {
214 .surveytable {
215 .r0 {background-color: #eee;}
216 .r1 {background-color: #ddd;}
217 .rblock label {text-align: center;}
218 }
219 .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
220 text-align:center;
221 }
222}