MDL-38016 Themes - Add a bootstrap theme to core
[moodle.git] / theme / bootstrap / 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
12.path-mod-forum .forumheaderlist,
13.path-mod-forum .forumheaderlist td {
14 border: none;
15}
16
17.forumpost {
18 .well;
19 padding: 6px;
20}
21
22.forumpost .row .left {
23 width: auto;
24}
25
26.forumpost .options .commands {
27 margin-left: 0;
28}
29
30.forumpost .subject {
31 font-weight: bold;
32}
33
34// Override hardcoded forum modules styling
35.forumsearch input[type=text] {
36 margin-bottom: 0 !important;
37}
38
39#page-mod-forum-discuss .discussioncontrol.displaymode {
40 text-align: left;
41}
42
43#page-mod-forum-discuss .discussioncontrols .discussioncontrol {
44 float: left;
45}
46
47#page-footer {
48 margin-top: 1em;
49 padding: 1em 0;
50 border-top: 2px solid #eee;
51}
52
53.maincalendar .calendarmonth td,.maincalendar .calendarmonth th {
54 border: 1px dotted #ddd;
55}
56
57.path-grade-report-grader h1 {
58 text-align: inherit;
59}
60
61#page-mod-chat-gui_basic input#message {
62 max-width: 100%;
63}
64
65#page-mod-data-view #singleimage {
66 width: auto;
67}
68
69.path-mod-data form {
70 margin-top: 10px;
71}
72
73.template_heading {
74 margin-top: 10px;
75}
76
77.breadcrumb-button {
78 float: right;
79 margin-top: 3px;
80}
81.dir-rtl .navbar .brand {
82 float: right;
83}
84.navbar .logininfo a {
85 color: @navbarLinkColor;
86}
87.navbar .logininfo a:hover {
88 background-color: @navbarLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
89 color: @navbarLinkColorHover;
90}
91
92.navbar-fixed-top,
93.navbar-fixed-bottom {
94 z-index: 4030;
95}
96
97.dir-rtl .breadcrumb-button,
98.dir-rtl .navbar .btn-navbar {
99 float: left;
100}
101
102.ie .row-fluid .desktop-first-column {
103 margin-left: 0;
104}
105.langmenu form {
106 margin: 0;
107}
108.container-fluid {
109 max-width: 1680px;
110 margin: 0 auto;
111}
112// contributed by Paul Hibbitts, see http://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
113canvas {
114 -ms-touch-action: auto;
115}
116
117div#dock {
118 display: none;
119}
120
121.path-mod-choice .horizontal .choices {
122 margin: 0;
123 .option {
124 display: inline-block;
125 padding: 10px;
126 }
127}
128
129.path-mod-lesson .firstpageoptions {
130 margin: auto;
131 min-width: 280px;
132 width: 60%;
133}