Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
/* admin.less */
2
.formtable tbody th {
3
    font-weight: normal;
4
    text-align: right;
5
}
6
 
7
.path-admin #assignrole {
8
    width: 60%;
9
    margin-left: auto;
10
    margin-right: auto;
11
}
12
 
13
.path-admin .admintable .leftalign {
14
    text-align: left;
15
}
16
 
17
.path-admin .admintable.environmenttable .name,
18
.path-admin .admintable.environmenttable .info,
19
.path-admin #assignrole .admintable .role,
20
.path-admin #assignrole .admintable .userrole,
21
.path-admin #assignrole .admintable .roleholder {
22
    white-space: nowrap;
23
}
24
 
25
.path-admin .incompatibleblockstable td.c0 {
26
    font-weight: bold;
27
}
28
 
29
#page-admin-course-category .addcategory {
30
    padding: 10px;
31
}
32
 
33
#page-admin-course-index .editcourse {
34
    margin: 20px auto;
35
}
36
 
37
#page-admin-course-index .editcourse th,
38
#page-admin-course-index .editcourse td {
39
    padding-left: 10px;
40
    padding-right: 10px;
41
}
42
 
43
.timewarninghidden {
44
    display: none;
45
}
46
 
47
#page-admin-qtypes #qtypes div,
48
#page-admin-qtypes #qtypes form,
49
#page-admin-qbehaviours #qbehaviours div,
50
#page-admin-qbehaviours #qbehaviours form {
51
    display: inline;
52
}
53
 
54
#page-admin-qtypes #qtypes img.spacer,
55
#page-admin-qbehaviours #qbehaviours img.spacer {
56
    width: 16px;
57
}
58
 
59
#page-admin-qbehaviours .cell.c3,
60
#page-admin-qtypes .cell.c3 {
61
    font-size: $font-size-sm;
62
}
63
 
64
#page-admin-lang .generalbox,
65
#page-admin-course-index .singlebutton,
66
#page-admin-course-index .addcategory,
67
#page-course-index .buttons,
68
#page-course-index-category .buttons,
69
#page-admin-course-category .addcategory,
70
#page-admin-stickyblocks .generalbox,
71
#page-admin-maintenance .buttons,
72
#page-admin-course-index .buttons,
73
#page-admin-course-category .buttons,
74
#page-admin-index .copyright,
75
#page-admin-index .copyrightnotice,
76
#page-admin-index .adminerror .singlebutton,
77
#page-admin-index .adminwarning .singlebutton,
78
#page-admin-index #layout-table .singlebutton {
79
    text-align: center;
80
    margin-bottom: 1em;
81
}
82
 
83
.path-admin-roles .capabilitysearchui {
84
    text-align: left;
85
    margin-left: auto;
86
    margin-right: auto;
87
    margin-top: $spacer;
88
}
89
 
90
#page-admin-roles-define .topfields {
91
    margin: 1em 0 2em;
92
}
93
 
94
#page-admin-roles-override .capcurrent,
95
#page-admin-roles-define .capdefault {
96
    background-color: $table-hover-bg;
97
}
98
 
99
#page-filter-manage .backlink,
100
.path-admin-roles .backlink {
101
    margin-top: 1em;
102
}
103
 
104
#page-admin-roles-explain #chooseuser h3,
105
#page-admin-roles-usersroles .contextname {
106
    margin-top: 0;
107
}
108
 
109
#page-admin-roles-explain #chooseusersubmit {
110
    margin-top: 0;
111
    text-align: center;
112
}
113
 
114
#page-admin-roles-usersroles p {
115
    margin: 0;
116
}
117
 
118
#page-admin-roles-override .cell.c1,
119
#page-admin-roles-assign .cell.c3,
120
#page-admin-roles-assign .cell.c1 {
121
    padding-top: 0.75em;
122
}
123
 
124
#page-admin-roles-override .overridenotice,
125
#page-admin-roles-define .definenotice {
126
    margin: 1em 10% 2em 10%;
127
    text-align: left;
128
}
129
 
1441 ariadna 130
#page-admin-index .upgradekeyreq {
131
    min-width: 220px;
132
}
133
 
1 efrain 134
#page-admin-index .adminwarning.availableupdatesinfo .moodleupdateinfo span {
135
    display: block;
136
}
137
 
138
#page-admin-index .updateplugin div {
139
    margin-bottom: 0.5em;
140
}
141
 
142
#page-admin-user-user_bulk #users .fgroup {
143
    white-space: nowrap;
144
}
145
 
146
#page-admin-report-stats-index .graph {
147
    text-align: center;
148
    margin-bottom: 1em;
149
}
150
 
151
#page-admin-report-courseoverview-index .graph {
152
    text-align: center;
153
    margin-bottom: 1em;
154
}
155
 
156
#page-admin-lang .translator {
157
    border-width: 1px;
158
    border-style: solid;
159
}
160
 
161
// This is the CSS for the role assignment control.
162
.path-admin .roleassigntable {
163
    width: 100%;
164
}
165
 
166
.path-admin .roleassigntable td {
167
    vertical-align: top;
168
    padding: 0.2em 0.3em;
169
}
170
 
171
.path-admin .roleassigntable p {
172
    text-align: left;
173
    margin: 0.2em 0;
174
}
175
 
176
.path-admin .roleassigntable #existingcell,
177
.path-admin .roleassigntable #potentialcell {
178
    width: 42%;
179
}
180
 
181
// Targetting the label at the top.
182
.path-admin .roleassigntable #existingcell p > label:first-child,
183
.path-admin .roleassigntable #potentialcell p > label:first-child {
184
    font-weight: bold;
185
}
186
 
187
.path-admin .roleassigntable #buttonscell {
188
    width: 16%;
189
}
190
 
191
.path-admin .roleassigntable #buttonscell #assignoptions {
192
    font-size: $font-size-sm;
193
}
194
 
195
.path-admin .roleassigntable #removeselect_wrapper,
196
.path-admin .roleassigntable #addselect_wrapper {
197
    width: 100%;
198
}
199
 
200
.path-admin table.rolecap tr.rolecap th {
201
    text-align: left;
202
    font-weight: normal;
203
}
204
 
205
.path-admin .rolecap .hiddenrow {
206
    display: none;
207
}
208
 
209
.path-admin #defineroletable {
210
    .rolecap {
211
        .inherit,
212
        .allow,
213
        .prevent,
214
        .prohibit {
215
            text-align: center;
216
            padding: 0;
217
            min-width: 3.5em;
218
        }
219
    }
220
}
221
 
222
.path-admin .rolecap .cap-name,
223
.path-admin .rolecap .note {
224
    display: block;
225
    font-size: $font-size-sm;
226
    white-space: nowrap;
227
    font-weight: normal;
228
}
229
 
230
.path-admin .rolecap label {
231
    display: block;
232
    text-align: center;
233
    padding: 0.5em;
234
    margin: 0;
235
}
236
 
237
.path-admin,
238
.format-site {
239
    .header-maxwidth,
240
    .secondary-navigation .navigation .nav-tabs {
241
        max-width: none;
242
    }
243
}
244
.path-admin.path-admin-roles:not(.format-site),
245
.path-admin.path-admin-tool-lp {
246
    .header-maxwidth,
247
    .secondary-navigation .navigation .nav-tabs {
248
        max-width: $course-content-maxwidth;
249
    }
250
}
251
 
252
.plugincheckwrapper {
253
    width: 100%;
254
}
255
 
256
.environmentbox {
257
    margin-top: 1em;
258
}
259
 
260
#mnetconfig table {
261
    margin-left: auto;
262
    margin-right: auto;
263
}
264
 
265
.environmenttable .cell {
266
    padding: .15em .5em;
267
}
268
 
269
#trustedhosts .generaltable {
270
    margin-left: auto;
271
    margin-right: auto;
272
    width: 500px;
273
}
274
 
275
#trustedhosts .standard {
276
    width: auto;
277
}
278
 
279
// This usage of legend is a bit weird,
280
// seems to be using them as error text
281
// that's only sometimes visible. Should
282
// look into sorting it.
283
#adminsettings legend {
284
    display: none;
285
}
286
 
287
#adminsettings fieldset.error {
288
    margin: .2em 0 .5em 0;
289
}
290
 
291
#adminsettings fieldset.error legend {
292
    display: block;
293
}
294
 
295
#admin-spelllanguagelist textarea {
296
    /* rtl:ignore */
297
    text-align: left;
298
    /* rtl:ignore */
299
    direction: ltr;
300
}
301
 
302
/* Styles for flags on admin settings */
303
.adminsettingsflags {
304
    float: right;
305
}
306
 
307
.adminsettingsflags label {
308
    margin-right: 7px;
309
}
310
 
311
.form-description pre,
312
.formsettingheading pre {
313
    /*rtl:ignore*/
314
    direction: ltr;
315
}
316
 
317
.form-item .form-setting .form-htmlarea {
318
    display: inline;
319
}
320
 
321
.form-item .form-setting .form-htmlarea .htmlarea {
322
    width: 640px;
323
    display: block;
324
}
325
 
326
.form-item .form-setting .form-multicheckbox ul {
327
    list-style: none;
328
    padding: 0;
329
    margin: 7px 0 0 0;
330
}
331
 
332
.form-item .form-setting .defaultsnext {
1441 ariadna 333
    display: inline-block;
1 efrain 334
}
335
 
336
.form-item .form-setting .locked-checkbox {
337
    margin-right: 0.2em;
338
    margin-left: 0.5em;
339
    display: inline;
340
}
341
 
342
.form-item .form-setting .form-password .unmask,
343
.form-item .form-setting .form-defaultinfo {
344
    display: inline-block;
345
}
346
 
347
.form-item .form-setting .form-defaultinfo {
348
    max-width: 100%;
349
    word-wrap: break-word;
350
}
351
 
352
#admin-emoticons td input {
353
    width: 8em;
354
}
355
 
356
#admin-emoticons td.c0 input {
357
    width: 4em;
358
}
359
 
360
.admin_colourpicker,
361
.admin_colourpicker_preview {
362
    display: none;
363
}
364
 
365
.jsenabled .admin_colourpicker_preview {
366
    display: inline;
367
}
368
 
369
@include media-breakpoint-up(md) {
370
    .jsenabled .admin_colourpicker {
371
        display: block;
372
        height: 102px;
373
        width: 410px;
374
        margin-bottom: 10px;
375
        box-sizing: content-box;
376
    }
377
    .admin_colourpicker .colourdialogue {
378
        float: left;
379
        border: 1px solid $input-border-color;
380
    }
381
    .admin_colourpicker .previewcolour {
382
        border: 1px solid $input-border-color;
383
        margin-left: 301px;
384
    }
385
 
386
    .admin_colourpicker .currentcolour {
387
        border: 1px solid $input-border-color;
388
        margin-left: 301px;
389
        border-top-width: 0;
390
    }
391
}
392
 
1441 ariadna 393
@include media-breakpoint-down(md) {
1 efrain 394
    .jsenabled .admin_colourpicker {
395
        height: 150px;
396
        margin-bottom: 10px;
397
        display: block;
398
        position: relative;
399
    }
400
    .admin_colourpicker .previewcolour {
401
        display: none;
402
    }
403
    .admin_colourpicker .currentcolour {
404
        position: absolute;
405
        border: 1px solid $border-color;
406
        top: 100px;
407
        left: 0;
408
    }
409
 
410
}
411
.admin_colourpicker .loadingicon {
412
    vertical-align: middle;
413
    margin-left: auto;
414
}
415
 
416
#page-admin-index #notice .checkforupdates {
417
    text-align: center;
418
}
419
 
1441 ariadna 420
#page-admin-index #page-content .alert a {
421
    font-weight: normal;
422
    text-decoration: underline;
423
}
424
 
1 efrain 425
// Plugins overview page at admin/plugins.php
426
#page-admin-plugins {
427
    #plugins-overview-panel {
428
        .info {
429
            display: inline-block;
430
            margin-right: 1em;
1441 ariadna 431
 
432
            [data-filterby].active {
433
                font-weight: bold;
434
            }
1 efrain 435
        }
1441 ariadna 436
        .updateavailableinstallall {
437
            margin-right: 1em;
438
        }
1 efrain 439
    }
440
 
441
    .checkforupdates {
442
        margin: 10px 0;
443
 
444
        .singlebutton {
445
            margin: 5px 0;
446
            padding: 0;
447
 
448
            div,
449
            input {
450
                margin: 0 3px 0 0;
451
            }
452
        }
453
    }
454
 
455
    .updateavailableinstallall {
456
        margin: 5px 0;
457
        padding: 0;
458
 
459
        div,
460
        input {
461
            margin: 0 3px 5px 0;
462
        }
463
    }
464
 
465
    #plugins-control-panel {
1441 ariadna 466
        .status-missing td,
467
        .deprecatedtype td {
1 efrain 468
            background-color: $state-warning-bg;
469
        }
470
 
471
        .pluginname {
472
            .componentname {
473
                font-size: $font-size-sm;
474
                color: $text-muted;
475
                margin-left: 22px;
476
            }
477
        }
478
 
479
        .version {
480
            .versionnumber {
481
                font-size: $font-size-sm;
482
                color: $text-muted;
483
            }
484
        }
485
 
486
        .uninstall {
487
            a {
488
                color: $danger;
489
            }
490
        }
491
 
492
        .notes {
493
            .label {
494
                margin-right: 3px;
495
            }
496
 
497
            .requiredby {
498
                font-size: $font-size-sm;
499
                color: $text-muted;
500
            }
501
        }
502
    }
503
}
504
 
505
 
506
// Plugins check page displayed during upgrade.
507
#plugins-check-page {
508
 
509
    // Plugins check table.
510
    #plugins-check {
511
        .status-missing,
1441 ariadna 512
        .deprecatedtype,
1 efrain 513
        .status-downgrade {
514
            td {
515
                background-color: $state-danger-bg;
516
            }
517
        }
518
    }
519
}
520
 
521
// Available plugin update notification.
522
 
523
#plugins-check-page,
524
#plugins-control-panel {
525
    .pluginupdateinfo {
526
        background-color: $state-info-bg;
527
 
528
        &.maturity50 {
529
            background-color: $state-danger-bg;
530
        }
531
 
532
        &.maturity100,
533
        &.maturity150 {
534
            background-color: $state-warning-bg;
535
        }
536
        padding: 5px;
537
        margin: 10px 0;
538
 
539
        @include border-radius(5px);
540
 
541
        .info {
542
            display: inline-block;
543
        }
544
 
545
        .separator:after {
546
            content: " | ";
547
        }
548
 
549
        .singlebutton {
550
            margin: 5px 0;
551
            padding: 0;
552
 
553
            div,
554
            input {
555
                margin: 0 3px 0 0;
556
            }
557
        }
558
    }
559
}
560
 
561
.plugins-management-confirm-buttons {
562
    > div {
563
        display: inline-block;
564
        margin: 1em 1em 1em 0;
565
    }
566
 
567
    .continue {
568
        padding: 0;
569
 
570
        div,
571
        input {
572
            margin: 0;
573
        }
574
    }
575
}
576
 
577
#page-admin-index .upgradepluginsinfo {
578
    text-align: center;
579
}
580
 
581
#page-admin-index .adminwarning.availableupdatesinfo .moodleupdateinfo .separator:after {
582
    content: " | ";
583
}
584
 
585
/** MNet networking */
586
#page-admin-mnet-peers .box.deletedhosts {
587
    margin-bottom: 1em;
588
    font-size: $font-size-sm;
589
}
590
 
591
#core-cache-plugin-summaries table,
592
#core-cache-store-summaries table {
593
    width: 100%;
594
}
595
 
596
#core-cache-lock-summary table,
597
#core-cache-definition-summaries table,
598
#core-cache-mode-mappings table {
599
    margin: 0 auto;
600
}
601
 
602
#core-cache-store-summaries .default-store td {
603
    font-style: italic;
604
}
605
 
606
#core-cache-rescan-definitions,
607
#core-cache-mode-mappings .edit-link,
608
#core-cache-lock-additional-actions .new-instance {
609
    margin-top: 0.5em;
610
    text-align: center;
611
}
612
 
613
.maintenancewarning {
614
    position: fixed;
615
    bottom: 0;
616
    right: 0;
1441 ariadna 617
    margin: 1rem;
1 efrain 618
    overflow: hidden;
619
    z-index: $zindex-dropdown;
620
}
1441 ariadna 621
.jsenabled .maintenancewarning {
622
    @include transition(0.2s);
623
}
1 efrain 624
 
625
.modal.modal-in-page {
626
    z-index: 0;
627
}
628
 
629
#page-admin-search {
630
    .adminpagetitle {
631
        margin-bottom: 0;
632
        border-bottom: none;
633
    }
634
    .adminpagepath {
635
        display: flex;
636
        flex-wrap: wrap;
637
        list-style: none;
638
        padding: 0;
639
        margin: 0 0 1.5rem 0;
640
        li {
641
            + li:before {
642
                padding-right: 0.5rem;
643
                padding-left: 0.5rem;
644
                content: "#{$breadcrumb-divider}";
645
            }
646
        }
647
    }
648
    @media (min-width: 576px) {
649
        .container {
650
            overflow-wrap: break-word;
651
        }
652
    }
653
}
654
 
655
#page-admin-tasklogs {
656
    .task-class {
657
        font-size: $font-size-sm;
658
        color: $gray-600;
659
    }
660
}
661
 
662
.path-admin-tool-uploaduser {
663
    .uuwarning {
664
        background-color: $state-warning-bg;
665
    }
666
 
667
    .uuerror {
668
        background-color: $state-danger-bg;
669
    }
670
 
671
    .uuinfo {
672
        background-color: $state-success-bg;
673
    }
674
}