MDL-34353 Javascript: Allow chooser dialogues to fall back to non-JS version
[moodle.git] / mod / wiki / styles.css
blobd028184ba2f267b9e190d7487950bf0223537f52
1 /*
2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16 */ /**
17 * Wiki module style sheet
19 * @package mod-wiki-2.0
20 * @copyright 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu
21 * @copyright 2009 Universitat Politecnica de Catalunya http://www.upc.edu
23 * @author Jordi Piguillem
24 * @author Marc Alier
25 * @author David Jimenez
26 * @author Josep Arus
27 * @author Kenneth Riba
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31 .wiki_contentbox {
32 width: 80%;
33 margin: auto;
34 min-width: 200px;
35 min-height: 100px;
38 .wiki_editor {
39 width: 50%;
40 margin: auto;
41 margin-top: 10px;
42 margin-bottom: 10px;
45 .wiki_previewbox {
46 width: 50%;
47 margin: auto;
48 border: thin solid blue;
51 .wiki_button {
52 margin: 5px;
55 .wiki_warning {
56 color: red;
59 .emptycomments {
60 color: red;
61 display: inline;
64 .wiki-toc {
65 border: 1px solid #BBB;
66 background: #EEE;
67 margin: 16px;
68 padding: 8px;
71 .wiki-toc-title {
72 color: #666;
73 font-size: 1.1em;
74 font-variant: small-caps;
75 text-align: center;
78 .wiki-toc-section {
79 padding: 0;
80 margin: 2px 8px;
83 .wiki-toc-section-2 {
84 padding-left: 12px;
87 .wiki-toc-section-3 {
88 padding-left: 24px;
91 .wiki_form-button {
92 margin-left: 0%;
95 .wiki-form-center {
96 text-align: center;
97 margin: auto;
98 width: 320px;
101 .wiki-upload-table {
102 margin: 8px auto;
103 clear: both;
106 .wiki-upload-table table {
107 margin: auto;
110 .wiki-upload-table h3 {
111 margin: 4px 0px;
112 text-align: center;
115 .wiki-upload-section {
116 border: 1px solid #EEE;
117 width: 400px;
118 margin: 8px auto;
121 .wiki-upload-section legend {
122 font-weight: bold;
123 font-size: 0.9em;
124 margin-left: 16px;
127 .wiki-tags {
128 text-align: right;
131 .wiki-tags span {
132 font-weight: bold;
135 .wiki_modifieduser p {
136 line-height: 35px;
139 .wiki_modifieduser img {
140 border: thin solid black;
143 .wiki_restore_yes, .wiki_deletecomment_yes,
144 .dir-rtl .wiki_restore_no, .dir-rtl .wiki_deletecomment_no {
145 float: left;
147 .wiki_restore_no, .wiki_deletecomment_no,
148 .dir-rtl .wiki_restore_yes, .dir-rtl .wiki_deletecomment_yes {
149 float: right;
152 .wiki_restoreform, .wiki_deletecommentform {
153 width: 10%;
154 margin: auto;
157 .wiki_versionuser {
158 float: left;
161 .wiki_diffuserleft,.wiki_diffuserright {
162 font-weight: normal;
163 padding-top: 1%;
166 .wiki_diffuserleft {
167 float: right;
170 .dir-rtl .wiki_diffuserleft {
171 float: left;
174 .wiki_diffuserright {
175 float: left;
178 .wiki_compareheading {
179 font-weight: normal;
182 .wiki_restore,.wiki_diffview,.wiki_difftime,.wiki_headingtime {
183 font-size: 0.8em;
184 font-weight: normal;
187 .wiki_difftime,.wiki_headingtime {
188 font-style: oblique;
189 text-align: center;
192 .wiki_diff_oldpaging {
193 float: left;
194 width: 40%;
195 min-width: 200px;
196 margin-left: 5%;
199 .wiki_diff_newpaging {
200 float: right;
201 width: 40%;
202 min-width: 200px;
203 margin-right: 5%;
206 .wiki_diff_old,.wiki_diff_new {
207 float: left;
208 min-width: 200px;
209 width: 40%;
212 .wiki_difftable td {
213 width: 50%;
214 float: left;
217 .wiki_histdate {
218 text-align: left;
221 .wiki_histnewdate {
222 border-top: 1px dotted gray;
225 .ouw_deleted {
226 background: #FFFFAA;
227 color: red;
228 text-decoration: line-through;
231 .ouw_added {
232 background: #CCFFCC;
233 color: red;
236 a.wiki_newentry:link, a.wiki_newentry:visited {
237 color: red;
238 font-style: italic;
241 .wiki_newentry a {
242 color: red;
243 font-style: italic;
246 #intro.generalbox {
247 margin-top: 10px;
248 padding: 5px;
251 .wiki_navigation_container {
252 margin: 0 auto;
255 .wiki_navigation_from {
256 float: left;
257 width: 40%;
258 min-width: 200px;
259 margin-left: 5%;
262 .wiki_navigation_to {
263 float: left;
264 width: 40%;
265 min-width: 200px;
266 margin-right: 5%;
269 .wiki_headingtitle {
270 text-align: center;
273 .wiki_clear {
274 clear: both;
277 .wiki_right {
278 text-align: right;
281 .wiki_index {
282 text-align: right;
285 .notunderlined {
286 text-decoration: none;
289 a.wiki_edit_section {
290 font-size: 0.6em;
291 vertical-align: top;
292 position: relative;
293 float: right;
296 .midpad {
297 text-align: center;
298 margin-top: 0.4em;
299 margin-bottom: 0.4em;
302 .block_wiki_search ul {
303 margin-top: 0.5em;
304 margin-bottom: 3px;
307 .wiki-attachment:before {
308 content: url("/mod/wiki/pix/attachment.png");
309 padding-right: 2px;
312 /** Print CSS */
313 #wiki_printable_content {
314 text-align: left;
317 .dir-rtl #wiki_printable_content {
318 text-align: right;
321 #wiki_printable_content a {
322 color: black;
325 #wiki_printable_title {
326 font-size: 2.2em;
327 text-decoration: underline;
330 .wiki_diff_boxes {
331 width: 100%;
332 clear: both;
335 .wiki_diff_paging {
336 width: 100%;
337 clear: both;
340 .wiki_grayline {
341 color: gray
344 .wikisearchresults{
345 padding-left: 50px;
346 padding-top: 20px;
349 .wiki-diff-container {width:95%;margin:10px auto;}
350 .wiki-diff-container .wiki-diff-leftside,
351 .wiki-diff-container .wiki-diff-rightside {width:49.5%;margin:0;padding:0;float:left;}
352 .wiki-diff-container .wiki-diff-rightside {margin-left:1%;}
353 .wiki-diff-container .wiki-diff-heading,
354 .wiki-diff-container .no-overflow {padding:10px;border:1px solid #DDD;}
355 .wiki-diff-container .wiki-diff-rightside .wiki_diffversion {text-align:right;}
357 .wikieditor-toolbar img{
358 width: 22px;
359 height: 22px;
360 vertical-align: middle;
363 .path-mod-wiki .printicon {
364 background: url([[pix:t/print]]) no-repeat scroll 2px center transparent; padding-left: 20px;
366 #page-mod-wiki-prettyview .displayprinticon {text-align: right;}