Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 159... Línea 159...
159
        }
159
        }
160
    }
160
    }
161
}
161
}
Línea 162... Línea 162...
162
 
162
 
163
.discussion-settings-container {
163
.discussion-settings-container {
164
    .custom-select {
164
    .form-select {
165
        width: 100%;
165
        width: 100%;
Línea 166... Línea 166...
166
    }
166
    }
167
 
167
 
Línea 311... Línea 311...
311
        padding: .25em 1.75rem 0.25em .75em;
311
        padding: .25em 1.75rem 0.25em .75em;
312
        line-height: 1;
312
        line-height: 1;
313
        height: auto;
313
        height: auto;
314
        border-radius: 10rem;
314
        border-radius: 10rem;
Línea 315... Línea 315...
315
 
315
 
316
        @include media-breakpoint-down(sm) {
316
        @include media-breakpoint-down(md) {
317
            margin-top: .5rem;
317
            margin-top: .5rem;
318
        }
318
        }
Línea 319... Línea 319...
319
    }
319
    }
Línea 326... Línea 326...
326
        display: inline-block;
326
        display: inline-block;
327
    }
327
    }
Línea 328... Línea 328...
328
 
328
 
329
    /** Don't show the discussion locked alert in this mode because it's already indicated with a badge. */
329
    /** Don't show the discussion locked alert in this mode because it's already indicated with a badge. */
330
    .alert.discussionlocked {
330
    .alert.discussionlocked {
331
        @include sr-only();
331
        @include visually-hidden();
Línea 332... Línea 332...
332
    }
332
    }
333
 
333
 
334
    /** Fix muted text contrast ratios for accessibility. */
334
    /** Fix muted text contrast ratios for accessibility. */
Línea 345... Línea 345...
345
        }
345
        }
346
    }
346
    }
Línea 347... Línea 347...
347
 
347
 
348
    /** Make the tag list text screen reader visible only */
348
    /** Make the tag list text screen reader visible only */
349
    .tag_list > b {
349
    .tag_list > b {
350
        @include sr-only();
350
        @include visually-hidden();
Línea 351... Línea 351...
351
    }
351
    }
352
 
352
 
353
    :target > .focus-target {
353
    :target > .focus-target {
Línea 423... Línea 423...
423
        }
423
        }
424
    }
424
    }
425
}
425
}
Línea 426... Línea 426...
426
 
426
 
427
/** Extra small devices (portrait phones, less than 576px). */
427
/** Extra small devices (portrait phones, less than 576px). */
428
@include media-breakpoint-down(sm) {
428
@include media-breakpoint-down(md) {
429
    #page-mod-forum-discuss.nested-v2-display-mode {
429
    #page-mod-forum-discuss.nested-v2-display-mode {
430
        .forum-post-container {
430
        .forum-post-container {
431
            .author-image-container {
431
            .author-image-container {
432
                width: $author-image-width-sm;
432
                width: $author-image-width-sm;
Línea 466... Línea 466...
466
 
466
 
467
$grading-drawer-width: 430px !default;
467
$grading-drawer-width: 430px !default;
468
$grading-animation-duration: .3s !default;
468
$grading-animation-duration: .3s !default;
469
$grading-icon-button-size: 36px !default;
469
$grading-icon-button-size: 36px !default;
470
$grading-search-button-padding-left: calc(#{map-get($spacers, 2)} + 8px) !default;
470
$grading-search-button-padding-left: calc(#{map-get($spacers, 2)} + 8px) !default;
471
$grading-search-input-padding-left: calc(#{map-get($spacers, 2)} + #{map-get($spacers, 2)} + #{$grading-icon-button-size - ($input-border-width * 2)}) !default; /* stylelint-disable-line max-line-length */
471
$grading-search-input-padding-left: calc(#{map-get($spacers, 2)} + #{map-get($spacers, 2)} + #{$grading-icon-button-size} - calc(#{$input-border-width} * 2)) !default; /* stylelint-disable-line max-line-length */
472
$grading-search-input-padding-right: calc(#{map-get($spacers, 2)} + #{$grading-icon-button-size}) !default;
472
$grading-search-input-padding-right: calc(#{map-get($spacers, 2)} + #{$grading-icon-button-size}) !default;
473
$grading-nav-bar-active-drawer-button-bottom: calc(#{map-get($spacers, 2) * -1} - 1px) !default;
473
$grading-nav-bar-active-drawer-button-bottom: calc(#{map-get($spacers, 2) * -1} - 1px) !default;
Línea -... Línea 474...
-
 
474
$grading-content-show-content-button-padding-left: calc(#{map-get($spacers, 2) * 2} + 45px) !default;
-
 
475
 
474
$grading-content-show-content-button-padding-left: calc(#{map-get($spacers, 2) * 2} + 45px) !default;
476
$input-line-height-lg:  1.5 !default;
475
 
477
 
476
@keyframes expandSearchButton {
478
@keyframes expandSearchButton {
477
    from {
479
    from {
478
        height: $grading-icon-button-size;
480
        height: $grading-icon-button-size;
Línea 632... Línea 634...
632
                        top: 50%;
634
                        top: 50%;
633
                        left: map-get($spacers, 2);
635
                        left: map-get($spacers, 2);
634
                        transform: translateY(-50%);
636
                        transform: translateY(-50%);
635
                        color: $input-color;
637
                        color: $input-color;
636
                        height: $grading-icon-button-size;
638
                        height: $grading-icon-button-size;
637
                        width: $grading-icon-button-size - ($input-border-width * 2);
639
                        width: calc(#{$grading-icon-button-size} - calc(#{$input-border-width} * 2));
638
                        background-color: $input-bg;
640
                        background-color: $input-bg;
639
                        opacity: 1;
641
                        opacity: 1;
640
                        visibility: visible;
642
                        visibility: visible;
641
                        transition:
643
                        transition:
642
                            opacity 0s linear $grading-animation-duration,
644
                            opacity 0s linear $grading-animation-duration,
Línea 939... Línea 941...
939
    .post-subject {
941
    .post-subject {
940
        display: none;
942
        display: none;
941
    }
943
    }
942
}
944
}
Línea 943... Línea 945...
943
 
945
 
944
@include media-breakpoint-down(xs) {
946
@include media-breakpoint-down(sm) {
945
    .path-mod-forum .unified-grader {
947
    .path-mod-forum .unified-grader {
946
        .grader-grading-panel {
948
        .grader-grading-panel {
947
            width: 100%;
949
            width: 100%;
948
            position: fixed;
950
            position: fixed;
Línea 965... Línea 967...
965
 
967
 
966
.path-grade-report-grader h1 {
968
.path-grade-report-grader h1 {
967
    text-align: inherit;
969
    text-align: inherit;
Línea 968... Línea -...
968
}
-
 
969
 
-
 
970
#page-mod-chat-gui_basic input#message {
-
 
971
    max-width: 100%;
-
 
972
}
970
}
973
 
971
 
974
#page-mod-data-view #singleimage {
972
#page-mod-data-view #singleimage {
Línea 975... Línea 973...
975
    width: auto;
973
    width: auto;
Línea 1024... Línea 1022...
1024
        + .singlebutton {
1022
        + .singlebutton {
1025
            margin-left: 0;
1023
            margin-left: 0;
1026
            margin-top: 1rem;
1024
            margin-top: 1rem;
1027
        }
1025
        }
1028
    }
1026
    }
1029
    .fitem .felement .custom-select {
1027
    .fitem .felement .form-select {
1030
        align-self: flex-start;
1028
        align-self: flex-start;
1031
    }
1029
    }
1032
}
1030
}
1033
.path-mod-lesson .generaltable td {
1031
.path-mod-lesson .generaltable td {
1034
    vertical-align: middle;
1032
    vertical-align: middle;
Línea 1052... Línea 1050...
1052
 
1050
 
1053
.path-mod-wiki .wiki_contentbox {
1051
.path-mod-wiki .wiki_contentbox {
1054
    width: 100%;
1052
    width: 100%;
Línea 1055... Línea -...
1055
}
-
 
1056
 
-
 
1057
// Survey module
-
 
1058
 
-
 
1059
.path-mod-survey {
-
 
1060
    .surveytable {
-
 
1061
        > tbody > tr:nth-of-type(odd) {
-
 
1062
            background-color: $table-bg;
-
 
1063
        }
-
 
1064
 
-
 
1065
        > tbody > tr:nth-of-type(even) {
-
 
1066
            background-color: $table-accent-bg;
-
 
1067
        }
-
 
1068
 
-
 
1069
        .rblock label {
-
 
1070
            text-align: center;
-
 
1071
        }
-
 
1072
    }
-
 
1073
 
-
 
1074
}
1053
}
1075
 
1054
 
1076
.nav .caret {
1055
.nav .caret {
Línea 1077... Línea 1056...
1077
    margin-left: 4px;
1056
    margin-left: 4px;
Línea 1182... Línea 1161...
1182
 
1161
 
1183
img.userpicture {
1162
img.userpicture {
1184
    margin-right: $spacer * 0.25;
1163
    margin-right: $spacer * 0.25;
Línea 1185... Línea 1164...
1185
}
1164
}
1186
 
1165
 
1187
@include media-breakpoint-down(sm) {
1166
@include media-breakpoint-down(md) {
1188
    .usertext {
1167
    .usertext {
1189
        display: none;
1168
        display: none;
Línea 1261... Línea 1240...
1261
 
1240
 
1262
    .allquestionsononepage .qnbutton.thispage .thispageholder {
1241
    .allquestionsononepage .qnbutton.thispage .thispageholder {
1263
        border-width: 1px;
1242
        border-width: 1px;
Línea 1264... Línea -...
1264
    }
-
 
1265
 
-
 
1266
    .qnbutton.flagged .thispageholder {
-
 
1267
        background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
-
 
1268
    }
1243
    }
1269
 
1244
 
1270
    .qnbutton .trafficlight {
1245
    .qnbutton .trafficlight {
1271
        border: 0;
1246
        border: 0;
1272
        background: $card-bg none center / 10px no-repeat scroll;
1247
        background: $card-bg none center / 10px no-repeat scroll;
1273
        height: 20px;
1248
        height: 20px;
1274
        margin-top: 20px;
1249
        margin-top: 20px;
Línea 1275... Línea 1250...
1275
        border-radius: 0 0 3px 3px;
1250
        border-radius: 0 0 3px 3px;
-
 
1251
    }
-
 
1252
 
-
 
1253
    .qnbutton.correct .thispageholder {
1276
    }
1254
        border-color: shift-color($success, 10%);
1277
 
1255
    }
1278
    .qnbutton.notyetanswered .trafficlight,
1256
 
Línea -... Línea 1257...
-
 
1257
    .qnbutton.incorrect .thispageholder {
-
 
1258
        border-color: shift-color($danger, 10%);
-
 
1259
    }
-
 
1260
 
-
 
1261
    .qnbutton.partiallycorrect .thispageholder {
-
 
1262
        border-color: shift-color($warning, 40%);
-
 
1263
    }
-
 
1264
 
-
 
1265
    .qnbutton.correct,
-
 
1266
    .qnbutton.correct .trafficlight {
-
 
1267
        background-color: #dff4d8; /* light green */
-
 
1268
    }
-
 
1269
 
-
 
1270
    .qnbutton.incorrect,
-
 
1271
    .qnbutton.incorrect .trafficlight {
-
 
1272
        background-color: #fdd; /* light red */
-
 
1273
    }
-
 
1274
 
-
 
1275
    .qnbutton.partiallycorrect,
-
 
1276
    .qnbutton.partiallycorrect .trafficlight {
-
 
1277
        background-color: #fcefdc; /* light yellow */
-
 
1278
    }
-
 
1279
 
-
 
1280
    .qnbutton.blocked,
-
 
1281
    .qnbutton.blocked .trafficlight,
-
 
1282
    .qnbutton.complete,
-
 
1283
    .qnbutton.complete .trafficlight,
-
 
1284
    .qnbutton.answersaved,
-
 
1285
    .qnbutton.answersaved .trafficlight,
-
 
1286
    .qnbutton.requiresgrading,
-
 
1287
    .qnbutton.requiresgrading .trafficlight {
1279
    .qnbutton.invalidanswer .trafficlight {
1288
        background-color: $gray-300;
1280
        background-color: $card-bg;
1289
    }
1281
    }
1290
 
Línea 1282... Línea 1291...
1282
 
1291
    .qnbutton.notyetanswered .trafficlight,
1283
    .qnbutton.invalidanswer .trafficlight {
1292
    .qnbutton.invalidanswer .trafficlight {
1284
        background-image: url([[pix:theme|mod/quiz/warningtriangle]]);
1293
        background-color: $card-bg;
-
 
1294
    }
1285
    }
1295
 
Línea 1286... Línea 1296...
1286
 
1296
    .qnbutton.correct .trafficlight {
1287
    .qnbutton.correct .trafficlight {
1297
        background-image: url([[pix:core|i/grade_correct]]);
1288
        background-image: url([[pix:theme|mod/quiz/checkmark]]);
-
 
1289
        background-color: $success;
1298
        color: $success;
Línea 1290... Línea 1299...
1290
    }
1299
        background-size: 14px;
1291
 
1300
    }
-
 
1301
 
-
 
1302
    .qnbutton.blocked .trafficlight {
1292
    .qnbutton.blocked .trafficlight {
1303
        background-image: url([[pix:core|t/locked]]);
1293
        background-image: url([[pix:core|t/locked]]);
1304
    }
Línea 1294... Línea 1305...
1294
        background-color: $input-disabled-bg;
1305
 
1295
    }
1306
    .qnbutton.notanswered .trafficlight,
1296
 
1307
    .qnbutton.incorrect .trafficlight {
-
 
1308
        background-image: url([[pix:core|i/grade_incorrect]]);
1297
    .qnbutton.notanswered .trafficlight,
1309
        color: $danger;
Línea 1298... Línea 1310...
1298
    .qnbutton.incorrect .trafficlight {
1310
        background-size: 14px;
1299
        background-color: $danger;
1311
    }
1300
    }
1312
 
1301
 
1313
    .qnbutton.partiallycorrect .trafficlight {
1302
    .qnbutton.partiallycorrect .trafficlight {
1314
        background-image: url([[pix:core|i/grade_partiallycorrect]]);
1303
        background-image: url([[pix:theme|mod/quiz/whitecircle]]);
1315
        color: $warning;
Línea 1304... Línea 1316...
1304
        background-color: $warning;
1316
        background-size: 14px;
1305
    }
1317
    }
Línea 1319... Línea 1331...
1319
#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
1331
#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
1320
    padding: 0.5em 0 0.5em 0.1em;
1332
    padding: 0.5em 0 0.5em 0.1em;
1321
    margin: 2px;
1333
    margin: 2px;
1322
}
1334
}
Línea -... Línea 1335...
-
 
1335
 
-
 
1336
/* Override the color of the quiz attempt icons for accessibility. */
-
 
1337
#attemptsform,
-
 
1338
.formulation .answer {
-
 
1339
    .icon.text-success {
-
 
1340
        color: shift-color($success, 10%) !important; /* stylelint-disable-line declaration-no-important */
-
 
1341
    }
-
 
1342
    .icon.text-danger {
-
 
1343
        color: shift-color($danger, 10%) !important; /* stylelint-disable-line declaration-no-important */
-
 
1344
    }
-
 
1345
    .icon.text-warning {
-
 
1346
        color: shift-color($warning, 40%) !important; /* stylelint-disable-line declaration-no-important */
-
 
1347
    }
-
 
1348
}
1323
 
1349
 
1324
/* Countdown timer. */
1350
/* Countdown timer. */
1325
#page-mod-quiz-attempt #region-main {
1351
#page-mod-quiz-attempt #region-main {
1326
    overflow-x: inherit;
1352
    overflow-x: inherit;
Línea 1343... Línea 1369...
1343
 
1369
 
1344
@for $i from 0 through 16 {
1370
@for $i from 0 through 16 {
1345
    #quiz-timer-wrapper #quiz-timer.timeleft#{$i} {
1371
    #quiz-timer-wrapper #quiz-timer.timeleft#{$i} {
1346
        $bg: lighten($red, ($i * 3%));
1372
        $bg: lighten($red, ($i * 3%));
1347
        background-color: $bg;
1373
        background-color: $bg;
1348
        color: color-yiq($bg);
1374
        color: color-contrast($bg);
1349
    }
1375
    }
Línea 1350... Línea 1376...
1350
}
1376
}
1351
 
1377
 
Línea 1472... Línea 1498...
1472
.assignfeedback_editpdf_widget .label {
1498
.assignfeedback_editpdf_widget .label {
1473
    position: relative;
1499
    position: relative;
1474
    padding: $alert-padding-y $alert-padding-x;
1500
    padding: $alert-padding-y $alert-padding-x;
1475
    margin-bottom: $alert-margin-bottom;
1501
    margin-bottom: $alert-margin-bottom;
1476
    border: $alert-border-width solid transparent;
1502
    border: $alert-border-width solid transparent;
-
 
1503
    color: shift-color($info, $alert-color-scale);
-
 
1504
    border-color: shift-color($info, $alert-border-scale);
1477
    @include border-radius($alert-border-radius);
1505
    @include border-radius($alert-border-radius);
1478
    @include alert-variant(theme-color-level('info', $alert-bg-level), theme-color-level('info', $alert-border-level), theme-color-level('info', $alert-color-level)); /* stylelint-disable-line max-line-length */
1506
    @include gradient-bg(shift-color($info, $alert-bg-scale));
1479
}
1507
}
Línea 1480... Línea 1508...
1480
 
1508
 
1481
.assignfeedback_editpdf_menu {
1509
.assignfeedback_editpdf_menu {
1482
    padding: 0;
1510
    padding: 0;
Línea 1495... Línea 1523...
1495
.path-mod-assign [data-region="grade-panel"] .showmarkerdesc,
1523
.path-mod-assign [data-region="grade-panel"] .showmarkerdesc,
1496
.path-mod-assign [data-region="grade-panel"] .showstudentdesc {
1524
.path-mod-assign [data-region="grade-panel"] .showstudentdesc {
1497
    background-color: $card-bg;
1525
    background-color: $card-bg;
1498
}
1526
}
Línea -... Línea 1527...
-
 
1527
 
-
 
1528
.path-mod-assign .gradingtable thead tr {
-
 
1529
    position: sticky;
-
 
1530
    top: $navbar-height;
-
 
1531
    z-index: 1;
-
 
1532
}
1499
 
1533
 
1500
/**
1534
/**
1501
 * Mod LTI.
1535
 * Mod LTI.
1502
 */
1536
 */
1503
.path-admin-mod-lti {
1537
.path-admin-mod-lti {
1504
    .btn .loader img,
1538
    .btn .loader img,
1505
    #tool-list-loader-container .loader img {
1539
    #tool-list-loader-container .loader img {
1506
        height: auto;
1540
        height: auto;
1507
    }
1541
    }
-
 
1542
}
-
 
1543
 
-
 
1544
/**
-
 
1545
 * Mod Feedback.
-
 
1546
 */
-
 
1547
 
-
 
1548
.path-mod-feedback {
-
 
1549
    span.feedback_info {
-
 
1550
        font-weight: bold;
-
 
1551
    }
-
 
1552
    div.feedback_is_dependent {
-
 
1553
        background: $gray-600;
-
 
1554
    }
-
 
1555
    span.feedback_depend {
-
 
1556
        color: $danger;
-
 
1557
    }
-
 
1558
    hr.feedback_pagebreak {
-
 
1559
        height: 4px;
-
 
1560
        color: $gray-600;
-
 
1561
        background-color: $gray-600;
-
 
1562
        border: 0;
-
 
1563
        margin: 0;
-
 
1564
    }
-
 
1565
    .feedback_bar_image {
-
 
1566
        height: 10px;
-
 
1567
    }
-
 
1568
    #analysis-form {
-
 
1569
        label {
-
 
1570
            display: inline;
-
 
1571
        }
-
 
1572
    }
-
 
1573
    .templateslist {
-
 
1574
        td.cell.action {
-
 
1575
            width: 10%;
-
 
1576
        }
-
 
1577
        th.header.action {
-
 
1578
            width: 10%;
-
 
1579
        }
-
 
1580
    }
-
 
1581
    .feedback-item-label {
-
 
1582
        width: 100%;
-
 
1583
    }
-
 
1584
    // Feedback edit form.
-
 
1585
    #feedback_edit_form {
-
 
1586
        [id*=_feedback_item_].feedback_itemlist,
-
 
1587
        .feedback_itemlist.sortable-list-is-dragged {
-
 
1588
            padding: map-get($spacers, 3);
-
 
1589
            border: $border-width solid $border-color;
-
 
1590
            background-color: $white;
-
 
1591
            position: relative;
-
 
1592
            @include border-radius();
-
 
1593
            .itemname {
-
 
1594
                margin-right: map-get($spacers, 5);
-
 
1595
            }
-
 
1596
            .itemactions {
-
 
1597
                position: absolute;
-
 
1598
                top: map-get($spacers, 3);
-
 
1599
                right: map-get($spacers, 3);
-
 
1600
            }
-
 
1601
            &.sortable-list-current-position {
-
 
1602
                background-color: $light;
-
 
1603
            }
-
 
1604
        }
-
 
1605
        .sortable-list-is-dragged {
-
 
1606
            opacity: .75;
-
 
1607
            max-width: $course-content-maxwidth;
-
 
1608
        }
-
 
1609
        .loading-icon {
-
 
1610
            position: absolute;
-
 
1611
            left: 50%;
-
 
1612
            top: calc(50% - .5rem);
-
 
1613
        }
-
 
1614
    }
-
 
1615
 
-
 
1616
    // Templates page.
-
 
1617
    &#page-mod-feedback-manage_templates {
-
 
1618
        .coursetemplates,
-
 
1619
        .publictemplates {
-
 
1620
            .no-overflow {
-
 
1621
                overflow: visible;
-
 
1622
            }
-
 
1623
            .action-menu .menubar {
-
 
1624
                justify-content: end;
-
 
1625
            }
-
 
1626
        }
-
 
1627
    }
-
 
1628
 
-
 
1629
    // Analysis page.
-
 
1630
    table.analysis {
-
 
1631
        width: 100%;
-
 
1632
        border-top: $border-width solid $border-color;
-
 
1633
        margin-top: 10px;
-
 
1634
        &.itemtype_textarea td {
-
 
1635
            padding: 4px 0;
-
 
1636
        }
-
 
1637
        tr:first-child th {
-
 
1638
            padding-top: 10px;
-
 
1639
        }
-
 
1640
        tr:hover {
-
 
1641
            background: $gray-300;
-
 
1642
        }
-
 
1643
        td.singlevalue:before,
-
 
1644
        td.optionname:before {
-
 
1645
            content: '- ';
-
 
1646
        }
-
 
1647
        tr.isempty {
-
 
1648
            display: none;
-
 
1649
        }
-
 
1650
    }
-
 
1651
 
-
 
1652
    // Responses list.
-
 
1653
    #showentrytable td.cell.completed_timemodified,
-
 
1654
    #showentryanontable td.cell.random_response {
-
 
1655
        font-weight: bold;
-
 
1656
    }
-
 
1657
 
-
 
1658
    #showentrytable td.cell.userpic,
-
 
1659
    #showentrytable td.cell.deleteentry,
-
 
1660
    #showentryanontable td.cell.deleteentry {
-
 
1661
        width: 10px;
-
 
1662
    }
-
 
1663
 
-
 
1664
    // Responses navigation.
-
 
1665
    .response_navigation {
-
 
1666
        margin: map-get($spacers, 2) 0;
-
 
1667
        a {
-
 
1668
            display: block;
-
 
1669
            &.back_to_list {
-
 
1670
                text-align: center;
-
 
1671
            }
-
 
1672
        }
-
 
1673
        .prev_response {
-
 
1674
            text-align: left;
-
 
1675
            &:before {
-
 
1676
                /*rtl:raw:
-
 
1677
                content: ' â–º ';
-
 
1678
                */
-
 
1679
                /*rtl:remove*/
-
 
1680
                content: ' â—„ ';
-
 
1681
            }
-
 
1682
        }
-
 
1683
        .next_response {
-
 
1684
            text-align: right;
-
 
1685
            &:after {
-
 
1686
                /*rtl:raw:
-
 
1687
                content: ' â—„ ';
-
 
1688
                */
-
 
1689
                /*rtl:remove*/
-
 
1690
                content: ' â–º ';
-
 
1691
            }
-
 
1692
        }
-
 
1693
    }