MDL-44364 theme_more: More settings to style the theme
[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 }
57 .maincontent {
58 .left {
59 padding: 0 10px 0 10px;
60 }
61 }
8903b17b
BB
62}
63
64.forumpost .row .left {
65 width: auto;
66}
67
68.forumpost .options .commands {
69 margin-left: 0;
70}
71
72.forumpost .subject {
73 font-weight: bold;
74}
75
76// Override hardcoded forum modules styling
77.forumsearch input[type=text] {
78 margin-bottom: 0 !important;
79}
80
35620f63
SH
81#page-mod-forum-discuss .discussioncontrols {
82 width: auto;
83 margin: 0;
8903b17b
BB
84}
85
86#page-footer {
87 margin-top: 1em;
88 padding: 1em 0;
89 border-top: 2px solid #eee;
90}
91
92.maincalendar .calendarmonth td,.maincalendar .calendarmonth th {
93 border: 1px dotted #ddd;
94}
95
96.path-grade-report-grader h1 {
97 text-align: inherit;
98}
99
100#page-mod-chat-gui_basic input#message {
101 max-width: 100%;
102}
103
104#page-mod-data-view #singleimage {
105 width: auto;
106}
107
108.path-mod-data form {
109 margin-top: 10px;
110}
111
112.template_heading {
113 margin-top: 10px;
114}
115
116.breadcrumb-button {
117 float: right;
3355b72e 118 margin-top: 4px;
8903b17b 119}
eef85081 120
41dcfbf1
MA
121.breadcrumb-button .singlebutton {
122 float: left;
123 margin-left: 4px;
124}
125
eef85081
NK
126.dir-rtl {
127 .nav-tabs > li,
128 .nav-pills > li {
129 float: right;
130 }
131}
8903b17b
BB
132.dir-rtl .navbar .brand {
133 float: right;
134}
af9c2dcf 135
af9c2dcf
GB
136.navbar-inverse .logininfo a {
137 color: @navbarInverseLinkColor;
138}
139.navbar-inverse .logininfo a:hover {
140 background-color: @navbarInverseLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
141 color: @navbarInverseLinkColorHover;
8903b17b
BB
142}
143
144.navbar-fixed-top,
145.navbar-fixed-bottom {
58183f9b 146 z-index: 4030;
8903b17b
BB
147}
148
149.dir-rtl .breadcrumb-button,
150.dir-rtl .navbar .btn-navbar {
151 float: left;
152}
153
41dcfbf1
MA
154.dir-rtl .breadcrumb-button .singlebutton {
155 float: right;
156 margin-right: 4px;
157}
158
8903b17b 159.ie .row-fluid .desktop-first-column {
58183f9b 160 margin-left: 0;
8903b17b
BB
161}
162.langmenu form {
163 margin: 0;
164}
165.container-fluid {
166 max-width: 1680px;
167 margin: 0 auto;
168}
169// contributed by Paul Hibbitts, see http://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
170canvas {
171 -ms-touch-action: auto;
172}
173
174div#dock {
175 display: none;
176}
177
9184a2f7
AB
178.path-mod-choice {
179 .horizontal .choices {
180 margin: 0;
181 .option {
182 display: inline-block;
183 padding: 10px;
184 }
185 }
186 .results .data {
187 white-space: normal;
8903b17b
BB
188 }
189}
190
191.path-mod-lesson .firstpageoptions {
192 margin: auto;
193 min-width: 280px;
194 width: 60%;
195}
01a96461
RW
196
197.path-mod-lesson .centerpadded {
198 padding: 5px;
199 text-align: center;
200}
876c0ac3 201
14cdc257
RW
202.path-mod-wiki .wiki_headingtitle,
203.path-mod-wiki .midpad,
204.path-mod-wiki .wiki_headingtime {
205 text-align: inherit;
876c0ac3 206}
14cdc257
RW
207
208.path-mod-wiki .wiki_contentbox {
209 width: 100%;
eef85081 210}
1765866f
DM
211
212// Survey module
213
214.path-mod-survey {
215 .surveytable {
6b216432
AA
216 > tbody > tr:nth-of-type(odd) {background-color: #eee;}
217 > tbody > tr:nth-of-type(even) {background-color: #ddd;}
1765866f
DM
218 .rblock label {text-align: center;}
219 }
220 .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
221 text-align:center;
222 }
223}
b549e66e
AB
224// rtl overrides
225.dir-rtl {
226 .path-mod-forum .forumheaderlist {
227 thead .header.lastpost {
228 text-align: left;
229 }
230 }
231}