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