Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
.dir-rtl .CodeMirror {
2
    direction: ltr;
3
    text-align: left;
4
}
5
 
6
/* Left align Custom SQL textarea and SQL help, in RTL mode.
7
*/
8
#page-blocks-configurable_reports-editreport.dir-rtl textarea,
9
#page-blocks-configurable_reports-editreport.dir-rtl .felement.fstatic {text-align: left;direction: ltr;}
10
 
11
/* Fix table header padding, to show "Sort" arrows
12
*/
13
#reportslist th.header {padding: 0 20px;}
14
 
15
/* Fix cell alignment in reports list table
16
*/
17
#page-blocks-configurable_reports-managereport .generaltable td.c5 {direction: ltr;}
18
 
19
/* Left align Setting INPUT TEXT boxes
20
*/
21
#page-admin-setting-blocksettingconfigurable_reports.dir-rtl .settingsform input[type=text],
22
#page-admin-setting-blocksettingconfigurable_reports.dir-rtl .settingsform input[type=password] {text-align: left;direction: ltr;}
23
 
24
/* Table usability & UI fixes
25
*/
26
#page-blocks-configurable_reports-viewreport .generaltable {
27
    border: 1px solid gray;
28
    margin: 0 auto;
29
 
30
}
31
#page-blocks-configurable_reports-viewreport #calcstable {
32
    width: 80%;
33
}
34
 
35
#page-blocks-configurable_reports-viewreport .generaltable th.header {
36
    background-color: #f5f5dc;
37
    border-bottom-width: 2px;
38
}
39
 
40
/* Center align bottom report statistics
41
*/
42
#page-blocks-configurable_reports-viewreport #totalrecords,
43
#page-blocks-configurable_reports-viewreport #lastexecutiontime {
44
    padding: 10px;
45
    text-align: center;
46
}
47
 
48
/* Convert "Add report" link to a beautiful button
49
    (Used: http://www.cssbuttongenerator.com/)
50
*/
51
.addbutton {text-align: center;}
52
 
53
.linkbutton {
54
    -moz-box-shadow:inset 0px 1px 0px 0px #dcecfb;
55
    -webkit-box-shadow:inset 0px 1px 0px 0px #dcecfb;
56
    box-shadow:inset 0px 1px 0px 0px #dcecfb;
57
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bddbfa), color-stop(1, #80b5ea) );
58
    background:-moz-linear-gradient( center top, #bddbfa 5%, #80b5ea 100% );
59
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bddbfa', endColorstr='#80b5ea');
60
    background-color:#bddbfa;
61
    -webkit-border-top-left-radius:0px;
62
    -moz-border-radius-topleft:0px;
63
    border-top-left-radius:0px;
64
    -webkit-border-top-right-radius:0px;
65
    -moz-border-radius-topright:0px;
66
    border-top-right-radius:0px;
67
    -webkit-border-bottom-right-radius:0px;
68
    -moz-border-radius-bottomright:0px;
69
    border-bottom-right-radius:0px;
70
    -webkit-border-bottom-left-radius:0px;
71
    -moz-border-radius-bottomleft:0px;
72
    border-bottom-left-radius:0px;
73
    text-indent:0;
74
    border:1px solid #84bbf3;
75
    display:inline-block;
76
    color:#ffffff;
77
    font-family:Arial;
78
    font-size:15px;
79
    font-weight:bold;
80
    font-style:normal;
81
    height:30px;
82
    line-height:30px;
83
    width:100px;
84
    text-decoration:none;
85
    text-align:center;
86
    text-shadow:1px 1px 0px #528ecc;
87
}
88
.linkbutton:hover {
89
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #80b5ea), color-stop(1, #bddbfa) );
90
    background:-moz-linear-gradient( center top, #80b5ea 5%, #bddbfa 100% );
91
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80b5ea', endColorstr='#bddbfa');
92
    background-color:#80b5ea;
93
}.linkbutton:active {
94
     position:relative;
95
     top:1px;
96
 }
97
 
98
 
99
 
100
/* DataTables styles */
101
 
102
/*
103
 * Table
104
 */
105
table.dataTable {
106
    margin: 0 auto;
107
    clear: both;
108
    width: 100%;
109
}
110
 
111
table.dataTable thead th {
112
    padding: 3px 18px 3px 10px;
113
    border-bottom: 1px solid black;
114
    font-weight: bold;
115
    cursor: pointer;
116
    *cursor: hand;
117
}
118
 
119
table.dataTable tfoot th {
120
    padding: 3px 18px 3px 10px;
121
    border-top: 1px solid black;
122
    font-weight: bold;
123
}
124
 
125
table.dataTable td {
126
    padding: 3px 10px;
127
}
128
 
129
table.dataTable td.center,
130
table.dataTable td.dataTables_empty {
131
    text-align: center;
132
}
133
 
134
table.dataTable tr.odd { background-color: #E2E4FF; }
135
table.dataTable tr.even { background-color: white; }
136
 
137
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
138
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
139
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
140
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
141
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
142
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
143
 
144
 
145
/*
146
 * Table wrapper
147
 */
148
.dataTables_wrapper {
149
    position: relative;
150
    clear: both;
151
    *zoom: 1;
152
}
153
 
154
 
155
/*
156
 * Page length menu
157
 */
158
.dataTables_length {
159
    float: left;
160
}
161
 
162
 
163
/*
164
 * Filter
165
 */
166
.dataTables_filter {
167
    float: right;
168
    text-align: right;
169
}
170
 
171
 
172
/*
173
 * Table information
174
 */
175
.dataTables_info {
176
    clear: both;
177
    float: left;
178
}
179
 
180
 
181
/*
182
 * Pagination
183
 */
184
.dataTables_paginate {
185
    float: right;
186
    text-align: right;
187
}
188
 
189
/* Two button pagination - previous / next */
190
.paginate_disabled_previous,
191
.paginate_enabled_previous,
192
.paginate_disabled_next,
193
.paginate_enabled_next {
194
    height: 19px;
195
    float: left;
196
    cursor: pointer;
197
    *cursor: hand;
198
    color: #111 !important;
199
}
200
.paginate_disabled_previous:hover,
201
.paginate_enabled_previous:hover,
202
.paginate_disabled_next:hover,
203
.paginate_enabled_next:hover {
204
    text-decoration: none !important;
205
}
206
.paginate_disabled_previous:active,
207
.paginate_enabled_previous:active,
208
.paginate_disabled_next:active,
209
.paginate_enabled_next:active {
210
    outline: none;
211
}
212
 
213
.paginate_disabled_previous,
214
.paginate_disabled_next {
215
    color: #666 !important;
216
}
217
.paginate_disabled_previous,
218
.paginate_enabled_previous {
219
    padding-left: 23px;
220
}
221
.paginate_disabled_next,
222
.paginate_enabled_next {
223
    padding-right: 23px;
224
    margin-left: 10px;
225
}
226
 
227
.paginate_enabled_previous { background: url([[pix:block_configurable_reports|datatable/back_enabled]]) no-repeat top left; }
228
.paginate_enabled_previous:hover { background: url([[pix:block_configurable_reports|datatable/back_enabled_hover]]) no-repeat top left; }
229
.paginate_disabled_previous { background: url([[pix:block_configurable_reports|datatable/back_disabled]]) no-repeat top left; }
230
 
231
.paginate_enabled_next { background: url([[pix:block_configurable_reports|datatable/forward_enabled]]) no-repeat top right; }
232
.paginate_enabled_next:hover { background: url([[pix:block_configurable_reports|datatable/forward_enabled_hover]]) no-repeat top right; }
233
.paginate_disabled_next { background: url([[pix:block_configurable_reports|datatable/forward_disabled]]) no-repeat top right; }
234
 
235
/* Full number pagination */
236
.paging_full_numbers {
237
    height: 22px;
238
    line-height: 22px;
239
}
240
.paging_full_numbers a:active {
241
    outline: none
242
}
243
.paging_full_numbers a:hover {
244
    text-decoration: none;
245
}
246
 
247
.paging_full_numbers a.paginate_button,
248
.paging_full_numbers a.paginate_active {
249
    border: 1px solid #aaa;
250
    -webkit-border-radius: 5px;
251
    -moz-border-radius: 5px;
252
    border-radius: 5px;
253
    padding: 2px 5px;
254
    margin: 0 3px;
255
    cursor: pointer;
256
    *cursor: hand;
257
    color: #333 !important;
258
}
259
 
260
.paging_full_numbers a.paginate_button {
261
    background-color: #ddd;
262
}
263
 
264
.paging_full_numbers a.paginate_button:hover {
265
    background-color: #ccc;
266
    text-decoration: none !important;
267
}
268
 
269
.paging_full_numbers a.paginate_active {
270
    background-color: #99B3FF;
271
}
272
 
273
 
274
/*
275
 * Processing indicator
276
 */
277
.dataTables_processing {
278
    position: absolute;
279
    top: 50%;
280
    left: 50%;
281
    width: 250px;
282
    height: 30px;
283
    margin-left: -125px;
284
    margin-top: -15px;
285
    padding: 14px 0 2px 0;
286
    border: 1px solid #ddd;
287
    text-align: center;
288
    color: #999;
289
    font-size: 14px;
290
    background-color: white;
291
}
292
 
293
 
294
/*
295
 * Sorting
296
 */
297
.sorting { background: url([[pix:block_configurable_reports|datatable/sort_both]]) no-repeat center right; }
298
.sorting_asc { background: url([[pix:block_configurable_reports|datatable/sort_asc]]) no-repeat center right; }
299
.sorting_desc { background: url([[pix:block_configurable_reports|datatable/sort_desc]]) no-repeat center right; }
300
 
301
.sorting_asc_disabled { background: url([[pix:block_configurable_reports|datatable/sort_asc_disabled]]) no-repeat center right; }
302
.sorting_desc_disabled { background: url([[pix:block_configurable_reports|datatable/sort_desc_disabled]]) no-repeat center right; }
303
 
304
table.dataTable thead th:active,
305
table.dataTable thead td:active {
306
    outline: none;
307
}
308
 
309
 
310
/*
311
 * Scrolling
312
 */
313
.dataTables_scroll {
314
    clear: both;
315
}
316
 
317
.dataTables_scrollBody {
318
    *margin-top: -1px;
319
    -webkit-overflow-scrolling: touch;
320
}
321
 
322
 
323
/* CodeMirror styles */
324
 
325
/* BASICS */
326
 
327
.CodeMirror {
328
  /* Set height, width, borders, and global font properties here */
329
  font-family: monospace;
330
  height: 300px;
331
  color: black;
332
  direction: ltr;
333
}
334
 
335
/* PADDING */
336
 
337
.CodeMirror-lines {
338
  padding: 4px 0; /* Vertical padding around content */
339
}
340
.CodeMirror pre {
341
  padding: 0 4px; /* Horizontal padding of content */
342
}
343
 
344
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
345
  background-color: white; /* The little square between H and V scrollbars */
346
}
347
 
348
/* GUTTER */
349
 
350
.CodeMirror-gutters {
351
  border-right: 1px solid #ddd;
352
  background-color: #f7f7f7;
353
  white-space: nowrap;
354
}
355
.CodeMirror-linenumbers {}
356
.CodeMirror-linenumber {
357
  padding: 0 3px 0 5px;
358
  min-width: 20px;
359
  text-align: right;
360
  color: #999;
361
  white-space: nowrap;
362
}
363
 
364
.CodeMirror-guttermarker { color: black; }
365
.CodeMirror-guttermarker-subtle { color: #999; }
366
 
367
/* CURSOR */
368
 
369
.CodeMirror-cursor {
370
  border-left: 1px solid black;
371
  border-right: none;
372
  width: 0;
373
}
374
/* Shown when moving in bi-directional text */
375
.CodeMirror div.CodeMirror-secondarycursor {
376
  border-left: 1px solid silver;
377
}
378
.cm-fat-cursor .CodeMirror-cursor {
379
  width: auto;
380
  border: 0 !important;
381
  background: #7e7;
382
}
383
.cm-fat-cursor div.CodeMirror-cursors {
384
  z-index: 1;
385
}
386
.cm-fat-cursor-mark {
387
  background-color: rgba(20, 255, 20, 0.5);
388
  -webkit-animation: blink 1.06s steps(1) infinite;
389
  -moz-animation: blink 1.06s steps(1) infinite;
390
  animation: blink 1.06s steps(1) infinite;
391
}
392
.cm-animate-fat-cursor {
393
  width: auto;
394
  border: 0;
395
  -webkit-animation: blink 1.06s steps(1) infinite;
396
  -moz-animation: blink 1.06s steps(1) infinite;
397
  animation: blink 1.06s steps(1) infinite;
398
  background-color: #7e7;
399
}
400
@-moz-keyframes blink {
401
  0% {}
402
  50% { background-color: transparent; }
403
  100% {}
404
}
405
@-webkit-keyframes blink {
406
  0% {}
407
  50% { background-color: transparent; }
408
  100% {}
409
}
410
@keyframes blink {
411
  0% {}
412
  50% { background-color: transparent; }
413
  100% {}
414
}
415
 
416
/* Can style cursor different in overwrite (non-insert) mode */
417
.CodeMirror-overwrite .CodeMirror-cursor {}
418
 
419
.cm-tab { display: inline-block; text-decoration: inherit; }
420
 
421
.CodeMirror-rulers {
422
  position: absolute;
423
  left: 0; right: 0; top: -50px; bottom: -20px;
424
  overflow: hidden;
425
}
426
.CodeMirror-ruler {
427
  border-left: 1px solid #ccc;
428
  top: 0; bottom: 0;
429
  position: absolute;
430
}
431
 
432
/* DEFAULT THEME */
433
 
434
.cm-s-default .cm-header {color: blue;}
435
.cm-s-default .cm-quote {color: #090;}
436
.cm-negative {color: #d44;}
437
.cm-positive {color: #292;}
438
.cm-header, .cm-strong {font-weight: bold;}
439
.cm-em {font-style: italic;}
440
.cm-link {text-decoration: underline;}
441
.cm-strikethrough {text-decoration: line-through;}
442
 
443
.cm-s-default .cm-keyword {color: #708;}
444
.cm-s-default .cm-atom {color: #219;}
445
.cm-s-default .cm-number {color: #164;}
446
.cm-s-default .cm-def {color: #00f;}
447
.cm-s-default .cm-variable,
448
.cm-s-default .cm-punctuation,
449
.cm-s-default .cm-property,
450
.cm-s-default .cm-operator {}
451
.cm-s-default .cm-variable-2 {color: #05a;}
452
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
453
.cm-s-default .cm-comment {color: #a50;}
454
.cm-s-default .cm-string {color: #a11;}
455
.cm-s-default .cm-string-2 {color: #f50;}
456
.cm-s-default .cm-meta {color: #555;}
457
.cm-s-default .cm-qualifier {color: #555;}
458
.cm-s-default .cm-builtin {color: #30a;}
459
.cm-s-default .cm-bracket {color: #997;}
460
.cm-s-default .cm-tag {color: #170;}
461
.cm-s-default .cm-attribute {color: #00c;}
462
.cm-s-default .cm-hr {color: #999;}
463
.cm-s-default .cm-link {color: #00c;}
464
 
465
.cm-s-default .cm-error {color: #f00;}
466
.cm-invalidchar {color: #f00;}
467
 
468
.CodeMirror-composing { border-bottom: 2px solid; }
469
 
470
/* Default styles for common addons */
471
 
472
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
473
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
474
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
475
.CodeMirror-activeline-background {background: #e8f2ff;}
476
 
477
/* STOP */
478
 
479
/* The rest of this file contains styles related to the mechanics of
480
   the editor. You probably shouldn't touch them. */
481
 
482
.CodeMirror {
483
  position: relative;
484
  overflow: hidden;
485
  background: white;
486
}
487
 
488
.CodeMirror-scroll {
489
  overflow: scroll !important; /* Things will break if this is overridden */
490
  /* 30px is the magic margin used to hide the element's real scrollbars */
491
  /* See overflow: hidden in .CodeMirror */
492
  margin-bottom: -30px; margin-right: -30px;
493
  padding-bottom: 30px;
494
  height: 100%;
495
  outline: none; /* Prevent dragging from highlighting the element */
496
  position: relative;
497
}
498
.CodeMirror-sizer {
499
  position: relative;
500
  border-right: 30px solid transparent;
501
}
502
 
503
/* The fake, visible scrollbars. Used to force redraw during scrolling
504
   before actual scrolling happens, thus preventing shaking and
505
   flickering artifacts. */
506
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
507
  position: absolute;
508
  z-index: 6;
509
  display: none;
510
}
511
.CodeMirror-vscrollbar {
512
  right: 0; top: 0;
513
  overflow-x: hidden;
514
  overflow-y: scroll;
515
}
516
.CodeMirror-hscrollbar {
517
  bottom: 0; left: 0;
518
  overflow-y: hidden;
519
  overflow-x: scroll;
520
}
521
.CodeMirror-scrollbar-filler {
522
  right: 0; bottom: 0;
523
}
524
.CodeMirror-gutter-filler {
525
  left: 0; bottom: 0;
526
}
527
 
528
.CodeMirror-gutters {
529
  position: absolute; left: 0; top: 0;
530
  min-height: 100%;
531
  z-index: 3;
532
}
533
.CodeMirror-gutter {
534
  white-space: normal;
535
  height: 100%;
536
  display: inline-block;
537
  vertical-align: top;
538
  margin-bottom: -30px;
539
}
540
.CodeMirror-gutter-wrapper {
541
  position: absolute;
542
  z-index: 4;
543
  background: none !important;
544
  border: none !important;
545
}
546
.CodeMirror-gutter-background {
547
  position: absolute;
548
  top: 0; bottom: 0;
549
  z-index: 4;
550
}
551
.CodeMirror-gutter-elt {
552
  position: absolute;
553
  cursor: default;
554
  z-index: 4;
555
}
556
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
557
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
558
 
559
.CodeMirror-lines {
560
  cursor: text;
561
  min-height: 1px; /* prevents collapsing before first draw */
562
}
563
.CodeMirror pre {
564
  /* Reset some styles that the rest of the page might have set */
565
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
566
  border-width: 0;
567
  background: transparent;
568
  font-family: inherit;
569
  font-size: inherit;
570
  margin: 0;
571
  white-space: pre;
572
  word-wrap: normal;
573
  line-height: inherit;
574
  color: inherit;
575
  z-index: 2;
576
  position: relative;
577
  overflow: visible;
578
  -webkit-tap-highlight-color: transparent;
579
  -webkit-font-variant-ligatures: contextual;
580
  font-variant-ligatures: contextual;
581
}
582
.CodeMirror-wrap pre {
583
  word-wrap: break-word;
584
  white-space: pre-wrap;
585
  word-break: normal;
586
}
587
 
588
.CodeMirror-linebackground {
589
  position: absolute;
590
  left: 0; right: 0; top: 0; bottom: 0;
591
  z-index: 0;
592
}
593
 
594
.CodeMirror-linewidget {
595
  position: relative;
596
  z-index: 2;
597
  padding: 0.1px; /* Force widget margins to stay inside of the container */
598
}
599
 
600
.CodeMirror-widget {}
601
 
602
.CodeMirror-rtl pre { direction: rtl; }
603
 
604
.CodeMirror-code {
605
  outline: none;
606
}
607
 
608
/* Force content-box sizing for the elements where we expect it */
609
.CodeMirror-scroll,
610
.CodeMirror-sizer,
611
.CodeMirror-gutter,
612
.CodeMirror-gutters,
613
.CodeMirror-linenumber {
614
  -moz-box-sizing: content-box;
615
  box-sizing: content-box;
616
}
617
 
618
.CodeMirror-measure {
619
  position: absolute;
620
  width: 100%;
621
  height: 0;
622
  overflow: hidden;
623
  visibility: hidden;
624
}
625
 
626
.CodeMirror-cursor {
627
  position: absolute;
628
  pointer-events: none;
629
}
630
.CodeMirror-measure pre { position: static; }
631
 
632
div.CodeMirror-cursors {
633
  visibility: hidden;
634
  position: relative;
635
  z-index: 3;
636
}
637
div.CodeMirror-dragcursors {
638
  visibility: visible;
639
}
640
 
641
.CodeMirror-focused div.CodeMirror-cursors {
642
  visibility: visible;
643
}
644
 
645
.CodeMirror-selected { background: #d9d9d9; }
646
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
647
.CodeMirror-crosshair { cursor: crosshair; }
648
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
649
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
650
 
651
.cm-searching {
652
  background-color: #ffa;
653
  background-color: rgba(255, 255, 0, .4);
654
}
655
 
656
/* Used to force a border model for a node */
657
.cm-force-border { padding-right: .1px; }
658
 
659
@media print {
660
  /* Hide the cursor when printing */
661
  .CodeMirror div.CodeMirror-cursors {
662
    visibility: hidden;
663
  }
664
}
665
 
666
/* See issue #2901 */
667
.cm-tab-wrap-hack:after { content: ''; }
668
 
669
/* Help users use markselection to safely style text background */
670
span.CodeMirror-selectedtext { background: none; }