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