Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 4... Línea 4...
4
$activity-item-border: theme-color-level('primary', -2) !default;
4
$activity-item-border: theme-color-level('primary', -2) !default;
5
$activity-item-color: $body-color;
5
$activity-item-color: $body-color;
6
$activity-item-hover: theme-color-level('primary', -12) !default;
6
$activity-item-hover: theme-color-level('primary', -12) !default;
7
$activity-add-hover: theme-color-level('primary', -10) !default;
7
$activity-add-hover: theme-color-level('primary', -10) !default;
Línea -... Línea 8...
-
 
8
 
-
 
9
$category-box-padding: 20px !default;
Línea 8... Línea 10...
8
 
10
$course-cover-height: 240px !default;
9
 
-
 
10
/* Cards */
-
 
11
$course-card-shadow-color: $primary-color-600 !default;
11
 
12
 
12
/* Cards */
-
 
13
.rui-course-card-img-top {
Línea 13... Línea 14...
13
.rui-course-card-img-top {
14
    margin: 0;
14
    margin: 0;
-
 
15
 
15
    position: relative;
Línea 16... Línea 16...
16
    width: 100%;
16
 
17
    height: 200px;
17
    width: 100%;
18
    border-radius: $btn-border-radius;
18
    height: $course-cover-height;
-
 
19
 
Línea 19... Línea 20...
19
 
20
    background-repeat: no-repeat;
20
    background-repeat: no-repeat;
21
    background-size: cover;
21
    background-size: cover;
-
 
22
    background-position: center;
-
 
23
 
22
    background-position: center;
24
    @if variable-exists(showcolorcoursecardmask) {
23
    border-radius: $btn-border-radius - 1px;
Línea -... Línea 24...
-
 
24
 
-
 
25
    .block-recentlyaccessedcourses &,
-
 
26
    .block_starredcourses & {
-
 
27
        height: 140px;
-
 
28
    }
-
 
29
 
-
 
30
    .rui-course-listitem--cat & {
-
 
31
        margin-bottom: -31px;
-
 
32
    }
-
 
33
}
-
 
34
 
-
 
35
.rui-course-card-img {
-
 
36
    margin: 0;
-
 
37
 
-
 
38
    width: 100%;
-
 
39
    height: $course-cover-height;
-
 
40
 
-
 
41
    background-repeat: no-repeat;
-
 
42
    background-size: cover;
-
 
43
    background-position: center;
-
 
44
    border-radius: $btn-border-radius;
-
 
45
 
-
 
46
    position: relative;
-
 
47
    overflow: hidden;
-
 
48
 
25
        @if $showcolorcoursecardmask=='yes' {
49
    img {
Línea 26... Línea 50...
26
            background-color: $course-card-shadow-color;
50
        width: auto;
27
            background-blend-mode: luminosity;
51
        height: 100%;
28
        }
52
        object-fit: cover;
29
    }
53
        position: absolute;
-
 
54
    }
Línea 30... Línea 55...
30
 
55
}
31
}
56
 
32
 
-
 
33
.rui-course-card-deck {
-
 
34
    display: flex;
-
 
35
    flex-direction: column;
-
 
36
    align-items: stretch;
57
.rui-course-card-deck {
Línea 37... Línea 58...
37
 
58
    display: flex;
38
    .rui-course-card {
59
    flex-direction: column;
39
        width: 100%;
60
    align-items: stretch;
Línea 51... Línea 72...
51
        display: none;
72
        display: none;
52
    }
73
    }
53
}
74
}
Línea 54... Línea 75...
54
 
75
 
-
 
76
.rui-course-desc {
55
.rui-course-desc {
77
    color: $body-color-secondary;
Línea 56... Línea 78...
56
    font-size: 1.125rem; //18px
78
    font-size: 1.125rem;// 18px.
57
 
79
 
58
    @include media-breakpoint-between(xs, sm) {
80
    .theme-dark & {
Línea 59... Línea 81...
59
        font-size: 1rem; //16px
81
        color: $dm-body-color-secondary;
-
 
82
    }
Línea 60... Línea 83...
60
    }
83
 
61
 
84
    strong {
62
    width: 100%;
85
        color: $body-color;
63
 
86
 
Línea -... Línea 87...
-
 
87
        .theme-dark & {
64
    // @if variable-exists(coursedescwidth) {
88
            color: $dm-body-color;
65
    //     max-width: $coursedescwidth;
89
        }
-
 
90
    }
Línea -... Línea 91...
-
 
91
 
66
    // }
92
    @include media-breakpoint-between(xs, sm) {
67
}
93
        font-size: $font-size-md;
68
 
94
    }
69
.activity-description {
95
}
Línea -... Línea 96...
-
 
96
 
70
    width: 100%;
97
.rui-dashboard-bottom {
71
 
98
    .block:first-of-type {
72
    // @if variable-exists(incoursedescwidth) {
99
        margin-top: 30px;
73
    //     max-width: $incoursedescwidth;
100
    }
74
    // }
-
 
75
}
101
}
76
 
-
 
77
.page-mycourses,
-
 
78
.rui-dashboard-main,
102
 
79
.rui-dashboard-bottom,
103
#block-region-dmiddleblocks,
80
.rui-dashboard-top {
104
.page-mycourses,
81
 
105
.rui-dashboard-main,
Línea -... Línea 106...
-
 
106
.rui-dashboard-bottom,
82
    .block-myoverview,
107
.rui-dashboard-top {
-
 
108
    .block-myoverview {
-
 
109
        .rui-course-card-deck {
-
 
110
            display: grid;
-
 
111
            flex-direction: column;
-
 
112
            align-items: stretch;
83
    .block-recentlyaccessedcourses,
113
 
-
 
114
            @include media-breakpoint-up(xl) {
-
 
115
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
-
 
116
                gap: 40px;
-
 
117
            }
-
 
118
 
-
 
119
            @include media-breakpoint-between(md, lg) {
84
    .block_starredcourses {
120
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
85
        .rui-course-card-deck {
121
                gap: 40px;
-
 
122
            }
86
            display: grid;
123
 
Línea 87... Línea 124...
87
            flex-direction: column;
124
            @include media-breakpoint-between(xs, sm) {
88
            align-items: stretch;
125
                grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
89
 
126
                gap: 10px;
Línea 90... Línea 127...
90
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
127
            }
91
            gap: 36px;
128
        }
92
        }
129
    }
93
    }
130
 
Línea -... Línea 131...
-
 
131
}
94
}
132
 
-
 
133
.block-recentlyaccessedcourses,
-
 
134
.block_starredcourses {
-
 
135
    position: relative;
-
 
136
 
-
 
137
    .rui-course-card-deck {
95
 
138
        display: grid;
-
 
139
        flex-direction: column;
96
.courses,
140
        align-items: stretch;
97
.rui-category-browse {
141
 
Línea 98... Línea -...
98
    position: relative;
-
 
99
 
-
 
Línea 100... Línea 142...
100
    .rui-course-card-deck {
142
        @include media-breakpoint-up(md) {
101
        display: grid;
143
            grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
102
        flex-direction: column;
144
            gap: 20px;
-
 
145
        }
103
        align-items: stretch;
146
 
104
 
147
        @include media-breakpoint-between(xs, sm) {
105
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
148
            grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
106
        gap: 36px;
149
            gap: 10px;
-
 
150
        }
-
 
151
    }
-
 
152
}
-
 
153
 
Línea -... Línea 154...
-
 
154
 
-
 
155
.courses,
-
 
156
.rui-category-browse {
-
 
157
    position: relative;
-
 
158
 
-
 
159
    .rui-course-card-deck {
-
 
160
        display: grid;
-
 
161
        flex-direction: column;
-
 
162
        align-items: stretch;
-
 
163
 
-
 
164
        @include media-breakpoint-up(lg) {
107
    }
165
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
-
 
166
            gap: 40px;
-
 
167
 
-
 
168
            .rui-course-card-title {
-
 
169
                font-size: 1.25rem;
-
 
170
            }
108
}
171
        }
109
 
172
 
110
// Main Block Column
173
        @include media-breakpoint-only(lmd) {
111
#block-region-dmiddleblocks {
174
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
Línea 112... Línea 175...
112
 
175
            gap: 40px;
Línea 161... Línea 224...
161
        }
224
        }
162
    }
225
    }
163
}
226
}
Línea 164... Línea 227...
164
 
227
 
165
.rui-course-card {
228
.rui-course-card {
-
 
229
    padding: 0 0 10px;
-
 
230
    display: grid;
-
 
231
    align-content: flex-start;
-
 
232
 
-
 
233
    background-color: $container-bg;
-
 
234
    //border: 1px solid $border-color;
Línea 166... Línea 235...
166
    padding: 0;
235
    border-radius: $btn-border-radius;
167
 
-
 
Línea 168... Línea 236...
168
    position: relative;
236
 
169
    overflow: hidden;
237
    position: relative;
170
 
238
 
171
    .rui-course--list & {
-
 
Línea -... Línea 239...
-
 
239
    .block-myoverview & {
172
        padding: 20px;
240
        display: grid;
173
        border: 1px solid $border-color;
241
    }
174
        border-radius: $btn-border-radius;
242
 
-
 
243
    .course_category_tree & {
-
 
244
        display: grid;
-
 
245
        overflow: hidden;
-
 
246
    }
175
 
247
 
Línea 176... Línea 248...
176
        .theme-dark & {
248
    .theme-dark & {
177
            border-color: $dm-border-color;
-
 
178
        }
-
 
179
    }
249
        background-color: $dm-container-bg;
180
 
250
        border-color: $dm-border-color;
Línea -... Línea 251...
-
 
251
    }
-
 
252
 
-
 
253
    .customfield {
-
 
254
        font-size: $font-size-xs;
-
 
255
        color: $body-color-light;
-
 
256
 
-
 
257
        @include media-breakpoint-up(md) {
-
 
258
            padding: 0 20px;
-
 
259
            margin-top: 5px;
-
 
260
        }
181
    .customfield {
261
 
182
        padding: 0;
262
        @include media-breakpoint-between(xs, sm) {
183
        margin: 10px 0;
263
            padding: 0 10px;
Línea -... Línea 264...
-
 
264
            margin-top: 5px;
-
 
265
        }
-
 
266
 
-
 
267
        .theme-dark & {
-
 
268
            color: $body-color-light;
-
 
269
        }
-
 
270
 
-
 
271
        .rui-course--list & {
-
 
272
            padding: 0;
-
 
273
            margin: 10px 0 0;
184
        font-size: $font-size-xs;
274
 
185
        color: $body-color-light;
275
            img {
186
 
276
                max-width: 20px;
Línea -... Línea 277...
-
 
277
                max-height: 20px;
-
 
278
            }
-
 
279
        }
-
 
280
 
-
 
281
        .customfieldname {
187
        .theme-dark & {
282
            font-weight: $font-weight-medium;
188
            color: $body-color-light;
283
        }
189
        }
284
 
190
 
285
        &.rui-cf-customcourselogo,
191
        .customfieldname {
286
        &.rui-cf-customcoursedmlogo,
Línea 209... Línea 304...
209
 
304
 
210
    .dropdown {
305
    .dropdown {
211
        position: absolute;
306
        position: absolute;
212
        top: 0;
307
        top: 0;
-
 
308
        right: 0;
-
 
309
        z-index: 3;
-
 
310
    }
-
 
311
}
-
 
312
 
-
 
313
.rui-course-card-body {
-
 
314
    margin: 10px $category-box-padding 0;
-
 
315
    flex-wrap: wrap;
-
 
316
 
-
 
317
    .block-recentlyaccessedcourses &,
-
 
318
    .block_starredcourses & {
-
 
319
        @include media-breakpoint-up(md) {
-
 
320
            margin: 10px 20px 0;
-
 
321
        }
-
 
322
 
-
 
323
        @include media-breakpoint-between(xs, sm) {
-
 
324
            margin: 10px 10px 0;
-
 
325
        }
-
 
326
    }
-
 
327
 
-
 
328
    .summary {
-
 
329
        p {
-
 
330
            margin-bottom: 0;
213
        right: 0;
331
        }
214
    }
332
    }
Línea 215... Línea 333...
215
}
333
}
216
 
334
 
-
 
335
.rui-course-card-wrapper {
-
 
336
    #page-enrol-index & {
217
.rui-course-card-margin {
337
        margin-bottom: $category-box-padding - 15px;
Línea 218... Línea 338...
218
    margin: 0 20px 0;
338
    }
219
}
339
}
220
 
340
 
Línea 234... Línea 354...
234
        filter: grayscale(100%);
354
        filter: grayscale(100%);
235
    }
355
    }
236
}
356
}
Línea 237... Línea 357...
237
 
357
 
-
 
358
.rui-course-cat-badge {
238
.rui-course-cat-badge {
359
    margin-bottom: 3px;
-
 
360
    display: grid;
-
 
361
 
-
 
362
    font-weight: $font-weight-bold;
-
 
363
    color: $body-color-light;
-
 
364
 
239
    display: grid;
365
    @include media-breakpoint-up(md) {
-
 
366
        font-size: $font-size-sm;
-
 
367
    }
-
 
368
 
240
    font-size: $font-size-sm;
369
    @include media-breakpoint-between(xs, sm) {
-
 
370
        font-size: 11px;
-
 
371
 
-
 
372
        svg {
241
    font-weight: $font-weight-medium;
373
            width: 12px;
-
 
374
            height: 12px;
-
 
375
        }
-
 
376
    }
-
 
377
 
-
 
378
    .block-recentlyaccessedcourses &,
-
 
379
    .block_starredcourses & {
-
 
380
        font-size: 0.688rem; // 11px
Línea 242... Línea 381...
242
    color: $gray-500;
381
    }
243
 
382
 
244
    .theme-dark & {
383
    .theme-dark & {
245
        color: $dm-body-color-light;
384
        color: $dm-body-color-light;
Línea 246... Línea 385...
246
    }
385
    }
-
 
386
}
-
 
387
 
247
}
388
a.rui-course-cat-badge:hover {
248
 
389
    background-color: $gray-200;
Línea 249... Línea 390...
249
a.rui-course-cat-badge:hover {
390
 
-
 
391
    color: $gray-500;
250
    color: $gray-500;
392
    text-decoration: none;
251
    text-decoration: none;
393
 
252
 
394
    .theme-dark & {
Línea 253... Línea 395...
253
    .theme-dark & {
395
        background-color: $dm-gray-200;
254
        color: $dm-gray-200;
396
        color: $dm-gray-800;
255
    }
397
    }
Línea 256... Línea 398...
256
}
398
}
257
 
399
 
258
.rui-course-hidden-badge {
400
.rui-course-hidden-badge {
259
    padding: 3px 7px;
401
    padding: .25rem .75rem;
260
    border-radius: $btn-border-radius;
402
    border-radius: $btn-border-radius;
Línea 261... Línea -...
261
 
-
 
262
    background-color: $red-100;
403
 
263
    font-size: 11px;
404
    background-color: $red-100;
264
    font-weight: $font-weight-medium;
-
 
265
    color: $red-700;
-
 
266
}
-
 
267
 
405
    font-size: $font-size-xs;
Línea -... Línea 406...
-
 
406
    font-weight: $font-weight-medium;
-
 
407
    color: $red-700;
-
 
408
}
-
 
409
 
-
 
410
.rui-course-card-progress-bar,
-
 
411
.rui-course-card-footer-progress {
-
 
412
    align-self: flex-end;
-
 
413
 
-
 
414
    position: relative;
-
 
415
    margin: 10px 0;
-
 
416
    line-height: 25px;
-
 
417
 
-
 
418
    .rui-mo-progress-text {
-
 
419
        background-color: $gray-900;
-
 
420
        color: $gray-100;
-
 
421
 
-
 
422
        position: absolute;
-
 
423
        top: 4px;
-
 
424
        padding: 1px 6px;
-
 
425
 
-
 
426
        font-size: 11px!important;
-
 
427
        line-height: 1.5;
-
 
428
        border-radius: $btn-border-radius;
268
.rui-customfields-container,
429
    }
269
.rui-card-course-contacts,
430
 
270
.rui-course-card-footer-progress {
431
    @include media-breakpoint-between(xs, sm) {
-
 
432
        svg {
-
 
433
            display: none;
-
 
434
        }
-
 
435
    }
-
 
436
 
-
 
437
    .rui-course-listitem & {
-
 
438
        padding: 0 20px 10px;
-
 
439
        border-top: none;
271
    width: 100%;
440
 
Línea 272... Línea 441...
272
    padding: 0 20px;
441
        @include media-breakpoint-up(md) {
273
 
442
            padding: 0 20px 10px;
274
    align-self: flex-end;
443
        }
275
 
444
 
Línea 276... Línea 445...
276
    .rui-course-listitem & {
445
        @include media-breakpoint-between(xs, sm) {
-
 
446
            padding: 0 10px 5px;
-
 
447
        }
-
 
448
    }
-
 
449
 
277
        padding: 0 20px 10px;
450
    .rui-progress-100 & {
-
 
451
        border-color: var(--primary-color-100);
-
 
452
    }
-
 
453
}
Línea 278... Línea 454...
278
        border-top: none;
454
 
-
 
455
.rui-mo-progress-text {
-
 
456
    .rui-mo-progress-0 & {
-
 
457
        left: 0!important;
Línea -... Línea 458...
-
 
458
    }
-
 
459
    .rui-mo-progress-100 & {
-
 
460
        right: 0!important;
-
 
461
        left: auto!important;
-
 
462
    }
-
 
463
}
279
    }
464
 
-
 
465
.rui-customfields-container {
-
 
466
    @include media-breakpoint-up(md) {
-
 
467
        margin: 15px $category-box-padding 0;
-
 
468
    }
-
 
469
 
280
 
470
    @include media-breakpoint-between(xs,sm) {
-
 
471
        margin: 15px 10px 0;
281
    .rui-progress-100 & {
472
    }
282
        border-color: var(--primary-color-100);
473
}
Línea 283... Línea 474...
283
    }
474
 
284
}
475
.rui-course-card-wrapper + .rui-customfields-container {
Línea 305... Línea 496...
305
 
496
 
306
.rui-course-card-icons {
497
.rui-course-card-icons {
307
    position: absolute;
498
    position: absolute;
308
    top: 10px;
499
    top: 10px;
-
 
500
    left: 10px;
Línea 309... Línea 501...
309
    left: 10px;
501
    z-index: 2;
Línea 310... Línea 502...
310
 
502
 
311
    display: inline-flex;
503
    display: inline-flex;
Línea 318... Línea 510...
318
        width: 18px;
510
        width: 18px;
319
        height: 18px;
511
        height: 18px;
320
        color: $white;
512
        color: $white;
Línea 321... Línea 513...
321
 
513
 
322
        background-color: rgba($black, 0.2);
514
        background-color: rgba($black, 0.2);
323
        backdrop-filter: blur(10px);
515
        backdrop-filter: blur(2rem);
324
        -webkit-backdrop-filter: blur(10px);
-
 
325
 
-
 
Línea 326... Línea -...
326
        border-radius: 50%;
-
 
327
 
516
        -webkit-backdrop-filter: blur(2rem);
328
        .theme-dark & {
-
 
Línea 329... Línea 517...
329
            filter: invert(0);
517
 
330
        }
518
        border-radius: $btn-border-radius-xl;
Línea 331... Línea 519...
331
 
519
 
Línea 350... Línea 538...
350
        display: flex;
538
        display: flex;
351
        align-content: center;
539
        align-content: center;
352
        justify-content: center;
540
        justify-content: center;
Línea 353... Línea 541...
353
 
541
 
354
        background-color: rgba($black, 0.2);
542
        background-color: rgba($black, 0.2);
355
        backdrop-filter: blur(10px);
543
        backdrop-filter: blur(2rem);
Línea 356... Línea 544...
356
        -webkit-backdrop-filter: blur(10px);
544
        -webkit-backdrop-filter: blur(2rem);
357
 
545
 
Línea 358... Línea 546...
358
        border-radius: 50%;
546
        border-radius: $btn-border-radius-xl;
359
        box-sizing: content-box;
547
        box-sizing: content-box;
360
 
548
 
Línea 366... Línea 554...
366
    .icon:not(.hidden) {
554
    .icon:not(.hidden) {
367
        display: inline-grid;
555
        display: inline-grid;
368
    }
556
    }
Línea 369... Línea 557...
369
 
557
 
370
    .rui-course-card--noimg & {
-
 
371
        margin: 10px 20px 0;
558
    .rui-course-card--noimg & {
372
        position: relative;
559
        position: relative;
373
        top: 0;
560
        top: 0;
Línea 374... Línea -...
374
        left: 0;
-
 
375
 
-
 
376
        @include media-breakpoint-down(sm) {
-
 
377
            margin-left: 0;
-
 
378
        }
561
        left: 0;
379
 
562
 
380
        &:empty {
563
        &:empty {
381
            display: none;
564
            display: none;
382
        }
565
        }
Línea 383... Línea 566...
383
    }
566
    }
384
}
567
}
385
 
568
 
386
.rui-course-card-icons--right {
569
.rui-course-card-icons--right {
-
 
570
    position: absolute;
Línea 387... Línea 571...
387
    position: absolute;
571
    top: 10px;
388
    top: 10px;
572
    left: 10px;
389
    right: 10px;
-
 
390
 
-
 
391
    display: inline-flex;
-
 
392
    font-size: 11px;
-
 
393
 
-
 
394
    .rui-course-list & {
-
 
Línea 395... Línea 573...
395
        position: relative;
573
    z-index: 3;
396
        top: 0;
574
 
397
        right: 0;
575
    display: inline-flex;
398
    }
576
    font-size: 12px;
Línea 399... Línea -...
399
 
-
 
400
    .rui-icon-container {
577
 
Línea 401... Línea 578...
401
        color: $white;
578
    .rui-icon-container {
402
        font-weight: $font-weight-bold;
579
        color: $white;
403
        text-transform: uppercase;
580
        font-weight: $font-weight-bold;
Línea 404... Línea 581...
404
 
581
        text-transform: uppercase;
405
        margin-left: .35rem;
582
 
406
        padding: 6px;
583
        padding: 6px;
Línea 407... Línea 584...
407
 
584
 
408
        display: flex;
585
        display: flex;
409
        align-items: center;
586
        align-items: center;
Línea 410... Línea 587...
410
        justify-content: center;
587
        justify-content: center;
Línea 411... Línea 588...
411
 
588
 
412
        width: 30px;
589
        width: 32px;
413
        height: 30px;
590
        height: 32px;
Línea 431... Línea 608...
431
            }
608
            }
432
        }
609
        }
433
    }
610
    }
434
}
611
}
Línea 435... Línea 612...
435
 
612
 
436
.rui-coursemenu-btn {
613
.rui-myoverview-action-menu {
437
    position: absolute;
614
    position: absolute;
438
    top: 10px;
615
    top: 0;
439
    right: 10px;
616
    right: 0;
-
 
617
    z-index: 3;
Línea -... Línea 618...
-
 
618
}
-
 
619
 
440
    z-index: 3;
620
.rui-coursemenu-btn {
441
 
621
    margin: 10px;
442
    width: 30px;
622
    width: 30px;
443
    height: 30px;
623
    height: 30px;
444
    display: inline-grid;
624
    display: inline-grid;
Línea 445... Línea 625...
445
    align-content: center;
625
    align-content: center;
446
    justify-content: center;
626
    justify-content: center;
-
 
627
 
447
 
628
    background-color: rgba($black, 0.2);
Línea 448... Línea 629...
448
    background-color: rgba($black, 0.2);
629
    backdrop-filter: blur(2rem);
Línea 449... Línea 630...
449
    backdrop-filter: blur(10px);
630
    -webkit-backdrop-filter: blur(2rem);
Línea 450... Línea 631...
450
    border: none;
631
    border: none;
451
 
632
 
452
    color: $white;
633
    color: $white;
453
 
634
 
Línea 454... Línea 635...
454
    border-radius: $btn-border-radius;
635
    border-radius: $btn-border-radius;
-
 
636
 
-
 
637
    .rui-course-listitem & {
-
 
638
        top: -20px;
-
 
639
        right: 14px;
-
 
640
    }
455
 
641
 
456
    .rui-course-listitem & {
642
    .rui-course-list-body & {
457
        top: 5px;
643
        @include media-breakpoint-up(md) {
Línea 458... Línea 644...
458
        right: 0;
644
            color: $body-color;
Línea 459... Línea 645...
459
    }
645
 
-
 
646
            .theme-dark & {
460
 
647
                color: $dm-body-color;
461
    .rui-course-list-body & {
648
            }
462
        top: 0;
649
        }
Línea 463... Línea 650...
463
        right: 0;
650
    }
464
    }
651
 
465
 
652
}
Línea 466... Línea 653...
466
}
653
 
467
 
654
.rui-course-listitem {
468
.rui-course-listitem {
655
    list-style: none;
469
    margin: 0 0 5px;
-
 
470
    border: 1px solid $border-color !important;
-
 
471
    border-radius: $btn-border-radius;
-
 
472
 
-
 
473
    .theme-dark & {
-
 
474
        border-color: $dm-border-color !important;
656
    margin: 0 0 5px;
Línea 475... Línea 657...
475
    }
657
    border: 1px solid $border-color!important;
476
 
-
 
477
    .rui-course-card-title .icon {
658
    border-radius: $btn-border-radius;
478
        margin-right: .35rem;
-
 
479
    }
659
 
480
 
-
 
481
    .rui-course-card-title a {
660
    .theme-dark & {
482
        max-width: calc(100% - 100px);
661
        border-color: $dm-border-color;
Línea -... Línea 662...
-
 
662
    }
483
        min-width: 100%;
663
 
-
 
664
    .rui-course-card-title .icon {
484
    }
665
        margin-right: .35rem;
Línea 485... Línea -...
485
}
-
 
486
 
666
    }
487
.rui-course-listitem-img {
667
}
488
    margin-bottom: 35px;
-
 
489
    width: 200px;
668
 
490
    height: 100%;
669
.rui-card-course-contacts {
Línea 491... Línea 670...
491
    min-height: 100px;
670
    width: 100%;
492
    border-radius: $btn-border-radius;
671
    display: inline-flex;
-
 
672
    flex-wrap: wrap;
493
    overflow: hidden;
673
    align-items: center;
Línea 494... Línea -...
494
    position: relative;
-
 
495
 
-
 
496
    background-size: cover;
674
 
497
    background-position: center;
-
 
498
 
675
    .rui-contant-name {
499
    @if variable-exists(showcolorcoursecardmask) {
-
 
500
        @if $showcolorcoursecardmask=='yes' {
676
        font-size: $font-size-sm;
501
            background-color: $course-card-shadow-color;
677
        font-weight: $font-weight-medium;
502
            background-blend-mode: luminosity;
678
        color: $body-color;
503
        }
-
 
504
    }
679
 
505
 
-
 
506
    @include media-breakpoint-between(xs, sm) {
680
        .theme-dark & {
507
        display: none;
-
 
Línea 508... Línea 681...
508
    }
681
            color: $dm-body-color;
509
 
682
        }
-
 
683
    }
510
}
684
 
Línea 511... Línea 685...
511
 
685
    #page-enrol-index & {
512
.rui-card-course-contacts {
686
        display: none;
513
    position: absolute;
-
 
514
    top: 185px;
-
 
515
 
687
        visibility: hidden;
516
    padding-right: 15px;
688
    }
Línea 517... Línea 689...
517
    display: inline-flex;
689
 
518
    flex-wrap: wrap;
-
 
519
 
-
 
520
    .rui-course-card--noimg & {
-
 
521
        top: 0;
690
    .rui-card-avatar {
522
        margin: 20px 0 10px;
691
        width: 36px;
523
    }
692
        height: 36px;
524
 
-
 
525
    .rui-card-contact {
-
 
526
        margin-right: .35rem;
-
 
527
    }
-
 
528
 
-
 
529
    .rui-card-avatar {
-
 
530
        width: 30px;
-
 
531
        height: 30px;
-
 
532
        border-radius: $btn-border-radius-lg;
-
 
533
    }
-
 
534
}
-
 
535
 
-
 
536
.rui-course-card-link {
-
 
537
    padding: 10px 20px;
-
 
538
 
-
 
539
    width: 100%;
-
 
540
    display: flex;
-
 
541
    justify-content: flex-start;
-
 
542
    align-content: center;
-
 
543
 
-
 
544
    color: $body-color;
-
 
545
 
-
 
546
    .theme-dark & {
-
 
547
        color: $dm-body-color;
-
 
548
    }
693
        margin: -3px;
Línea 549... Línea 694...
549
 
694
        border: 3px solid $container-bg;
550
    &:hover {
695
        border-radius: $btn-border-radius-lg;
551
        text-decoration: none;
696
        position: relative;
Línea 552... Línea 697...
552
        color: $link-color;
697
 
553
 
698
        .theme-dark & {
Línea 554... Línea 699...
554
        .theme-dark & {
699
            border-color: $dm-container-bg;
Línea 586... Línea 731...
586
        }
731
        }
587
    }
732
    }
588
}
733
}
Línea 589... Línea 734...
589
 
734
 
590
.rui-course-card-title {
-
 
591
    font-size: $font-size-base;
735
.rui-course-card-title {
592
    font-weight: $font-weight-bold;
736
    font-weight: $font-weight-bold;
-
 
737
    line-height: 1.3;
-
 
738
 
-
 
739
    @include media-breakpoint-up(md) {
-
 
740
        font-size: 1.125rem; // 18px.
-
 
741
    }
-
 
742
 
593
    line-height: 1.3;
743
    @include media-breakpoint-between(xs, sm) {
-
 
744
        font-size: 1rem;
-
 
745
    }
-
 
746
 
-
 
747
    .block-recentlyaccessedcourses &,
-
 
748
    .block_starredcourses & {
-
 
749
        font-size: $font-size-md;
-
 
750
    }
-
 
751
 
-
 
752
    .theme-primary.icon {
-
 
753
        .theme-dark {
-
 
754
            color: var(--primary-color-300);
-
 
755
        }
Línea 594... Línea 756...
594
    margin-bottom: 0;
756
    }
-
 
757
 
595
 
758
    a {
-
 
759
        font-weight: $font-weight-bold;
-
 
760
        color: $body-color;
-
 
761
        text-decoration: none;
-
 
762
 
-
 
763
        &:before {
-
 
764
            display: none;
-
 
765
        }
-
 
766
 
-
 
767
        .block-recentlyaccessedcourses &,
-
 
768
        .block_starredcourses & {
Línea 596... Línea 769...
596
    a {
769
            display: grid;
597
        color: $body-color;
770
        }
598
 
771
 
Línea 609... Línea 782...
609
        }
782
        }
610
    }
783
    }
611
}
784
}
Línea 612... Línea 785...
612
 
785
 
613
.rui-course-card-text {
786
.rui-course-card-text {
-
 
787
    margin-bottom: 16px;
614
    margin-top: .35rem;
788
    padding-right: 7px;
615
    max-height: $max-course-card-text-height;
789
    max-height: $max-course-card-text-height;
Línea -... Línea 790...
-
 
790
    overflow-y: auto;
-
 
791
 
-
 
792
    color: $body-color-light;
-
 
793
 
-
 
794
    #page-enrol-index & {
-
 
795
        display: none;
-
 
796
        visibility: hidden;
-
 
797
    }
616
    overflow-y: auto;
798
 
-
 
799
    @include media-breakpoint-up(md) {
-
 
800
        font-size: $font-size-sm;
-
 
801
    }
617
 
802
 
-
 
803
    @include media-breakpoint-between(xs, sm) {
Línea 618... Línea 804...
618
    font-size: $font-size-md;
804
        font-size: $font-size-xs;
619
    color: $body-color-secondary;
805
    }
620
 
806
 
Línea -... Línea 807...
-
 
807
    .rui-course-card--noimg & {
-
 
808
        max-height: $max-course-card-text-height + 200px;
-
 
809
    }
-
 
810
 
-
 
811
    .theme-dark & {
-
 
812
        color: $dm-body-color-light;
-
 
813
    }
-
 
814
 
-
 
815
    .no-overflow {
-
 
816
        overflow: hidden;
-
 
817
    }
-
 
818
 
-
 
819
    img {
-
 
820
        max-width: 100%;
-
 
821
        height: auto;
621
    .rui-course-card--noimg & {
822
        margin-left: 0;
622
        max-height: $max-course-card-text-height + 200px;
823
        margin-right: 0;
623
    }
824
    }
Línea 624... Línea 825...
624
 
825
 
Línea 635... Línea 836...
635
    }
836
    }
Línea 636... Línea 837...
636
 
837
 
637
    h4 {
838
    h4 {
638
        font-size: 12px;
839
        font-size: 12px;
639
    }
-
 
640
 
-
 
641
    .theme-dark & {
-
 
642
        color: $dm-body-color-secondary;
-
 
643
    }
840
    }
Línea 644... Línea 841...
644
}
841
}
645
 
-
 
646
.rui-course-list-body {
-
 
647
    padding: 10px;
-
 
648
 
-
 
649
    //Container for SVG
-
 
650
    .icon {
-
 
651
        margin-right: .35rem;
-
 
652
        padding: 6px;
-
 
653
 
-
 
654
        width: 18px;
842
 
655
        height: 18px;
-
 
656
        color: $white;
-
 
657
 
-
 
658
        background-color: rgba($black, 0.2);
-
 
659
        backdrop-filter: blur(10px);
-
 
660
        -webkit-backdrop-filter: blur(10px);
-
 
Línea 661... Línea 843...
661
 
843
.rui-course-list-body {
662
        border-radius: 50%;
844
    position: relative;
663
 
-
 
664
        .theme-dark & {
845
 
Línea 665... Línea -...
665
            filter: invert(0);
-
 
666
        }
-
 
667
    }
-
 
668
 
-
 
669
    //Moodle 4.0
-
 
670
    .text-primary:not(.hidden) {
-
 
671
        position: absolute;
-
 
672
        z-index: 2;
-
 
673
        top: 20px;
-
 
674
        left: 20px;
-
 
675
 
-
 
676
        margin-right: .35rem;
-
 
677
        padding: 6px;
-
 
678
 
-
 
679
        width: 18px;
-
 
680
        height: 18px;
-
 
681
        color: $white !important;
-
 
682
 
-
 
683
        display: flex;
-
 
684
        align-content: center;
-
 
685
        justify-content: center;
-
 
686
 
-
 
687
        background-color: rgba($black, 0.2);
-
 
688
        backdrop-filter: blur(10px);
-
 
689
        -webkit-backdrop-filter: blur(10px);
-
 
690
 
846
    [data-region="favourite-icon"] {
691
        border-radius: 50%;
847
        line-height: 1;
692
        box-sizing: content-box;
-
 
693
 
-
 
694
        @include media-breakpoint-between(xs, sm) {
-
 
695
            top: 3px;
848
    }
Línea 696... Línea 849...
696
            left: 3px;
849
 
697
            width: 14px;
850
    @include media-breakpoint-up(md) {
698
            height: 14px;
-
 
699
        }
851
        padding: 20px;
Línea -... Línea 852...
-
 
852
    }
700
 
853
 
701
        .theme-dark & {
854
    @include media-breakpoint-between(xs, sm) {
-
 
855
        padding: 10px;
702
            filter: invert(0);
856
    }
Línea 703... Línea 857...
703
        }
857
 
Línea 704... Línea 858...
704
    }
858
    .rui-course-card-title {
705
 
859
        .icon:not(.hidden) {
706
    .icon:not(.hidden) {
-
 
Línea 707... Línea 860...
707
        display: inline-grid;
860
            display: inline;
708
    }
861
        }
Línea 709... Línea 862...
709
 
862
    }
710
}
863
 
711
 
864
}
712
//UI for Course Card - Finished
865
 
713
.rui-progress-100 {
866
//UI for Course Card - Finished
714
    border-color: $green-200;
867
.rui-progress-100 {
Línea 715... Línea 868...
715
 
868
 
Línea 729... Línea 882...
729
    .theme-dark & {
882
    .theme-dark & {
730
        filter: invert(1);
883
        filter: invert(1);
731
    }
884
    }
732
}
885
}
Línea 733... Línea 886...
733
 
886
 
734
.section_add_menus {
887
.rui-category-label a {
735
    text-align: right;
888
    &::after {
-
 
889
        display: none;
736
    clear: both;
890
    }
Línea 737... Línea 891...
737
}
891
}
-
 
892
 
738
 
893
.section_add_menus {
739
.section-modchooser {
894
    text-align: right;
Línea 740... Línea 895...
740
    clear: both;
895
    clear: both;
741
}
896
}
Línea 794... Línea 949...
794
 
949
 
795
        .contentwithoutlink,
950
        .contentwithoutlink,
796
        .activityinstance {
951
        .activityinstance {
797
            min-width: 40%;
952
            min-width: 40%;
798
            display: table-cell;
953
            display: table-cell;
799
            padding-right: 0;
954
            padding-right: 4px;
Línea 800... Línea 955...
800
            min-height: 2em;
955
            min-height: 2em;
801
 
956
 
802
            >a {
957
            >a {
Línea 825... Línea 980...
825
            /* stylelint-disable-line declaration-no-important */
980
            /* stylelint-disable-line declaration-no-important */
826
        }
981
        }
Línea 827... Línea 982...
827
 
982
 
828
        &.indented {
983
        &.indented {
829
            .activity-item {
984
            .activity-item {
830
                margin-left: 64px;
-
 
831
            }
-
 
Línea 832... Línea 985...
832
        }
985
                border: 0;
833
 
986
 
834
        &.indented+.indented {
987
                @include media-breakpoint-up(md) {
Línea 835... Línea 988...
835
            .activity-item {
988
                    margin-left: 63px;
836
                border-color: rgba($border-color, .6);
989
                }
837
 
990
 
838
                .theme-dark & {
991
                @include media-breakpoint-between(xs, sm) {
839
                    border-color: rgba($dm-border-color, .6);
992
                    margin-left: 20px;
840
                }
993
                }
Línea 919... Línea 1072...
919
.topics+.single-section {
1072
.topics+.single-section {
920
    margin-top: 30px;
1073
    margin-top: 30px;
921
}
1074
}
Línea 922... Línea 1075...
922
 
1075
 
923
.section li.activity {
1076
.section li.activity {
924
    padding: .25rem 0;
1077
    padding: 0;
925
    margin: 0;
1078
    margin: .25rem 0;
Línea 926... Línea 1079...
926
    clear: both;
1079
    clear: both;
927
 
1080
 
Línea 928... Línea 1081...
928
    position: relative;
1081
    position: relative;
929
    transition: $transition-base;
1082
    transition: $transition-base;
-
 
1083
 
930
 
1084
    &:last-child {
Línea 931... Línea 1085...
931
    &:last-child {
1085
        padding: 0;
932
        padding: 0 0 0 0;
1086
        margin-bottom: 0;
933
    }
1087
    }
Línea 1003... Línea 1157...
1003
}
1157
}
Línea 1004... Línea 1158...
1004
 
1158
 
1005
.course-content .current::before {
1159
.course-content .current::before {
Línea 1006... Línea 1160...
1006
    content: "";
1160
    content: "";
1007
 
1161
 
1008
    border: 2px solid $primary-color-600;
1162
    border-left: 3px solid var(--main-theme-color);
1009
    border-radius: 17px;
1163
    border-radius: 17px;
Línea 1010... Línea 1164...
1010
    width: calc(100% + 12px);
1164
    width: calc(100% + 12px);
1011
    height: calc(100% + 12px);
1165
    height: calc(100% + 18px);
1012
 
1166
 
1013
    position: absolute;
1167
    position: absolute;
Línea 1014... Línea 1168...
1014
    z-index: -1;
1168
    z-index: -1;
1015
    top: -6px;
1169
    top: -9px;
1016
    left: -6px;
1170
    left: -16px;
1017
 
1171
 
Línea 1018... Línea 1172...
1018
    // background-color: rgba($primary-color-100, .5);
1172
    // background-color: rgba(var(--primary-color-100), .5);
Línea 1150... Línea 1304...
1150
}
1304
}
Línea 1151... Línea 1305...
1151
 
1305
 
1152
.course-content li {
1306
.course-content li {
1153
    &.section {
1307
    &.section {
-
 
1308
        ul {
1154
        ul {
1309
            flex-wrap: wrap;
Línea 1155... Línea 1310...
1155
            list-style: disc;
1310
            list-style: disc;
1156
 
1311
 
Línea 1196... Línea 1351...
1196
    display: block;
1351
    display: block;
1197
}
1352
}
Línea 1198... Línea 1353...
1198
 
1353
 
1199
.jumpmenu {
1354
.jumpmenu {
-
 
1355
    float: none;
1200
    float: none;
1356
    max-width: 160px;
Línea 1201... Línea 1357...
1201
}
1357
}
1202
 
1358
 
1203
.completionprogress {
1359
.completionprogress {
Línea 1226... Línea 1382...
1226
 
1382
 
1227
#page-site-index .subscribelink {
1383
#page-site-index .subscribelink {
1228
    text-align: right;
1384
    text-align: right;
Línea -... Línea 1385...
-
 
1385
}
1229
}
1386
 
1230
 
1387
#frontpage-available-course-list h2,
1231
#site-news-forum h2,
1388
#site-news-forum h2,
1232
#frontpage-course-list h2,
1389
#frontpage-course-list h2,
1233
#frontpage-category-names h2,
1390
#frontpage-category-names h2,
-
 
1391
#frontpage-category-combo h2 {
-
 
1392
    margin: 0 0 30px;
-
 
1393
 
-
 
1394
    display: block;
-
 
1395
 
-
 
1396
    font-size: 3rem;
-
 
1397
    font-weight: $font-weight-bold;
-
 
1398
    text-align: center;
-
 
1399
    color: $body-color;
-
 
1400
 
-
 
1401
    .theme-dark & {
-
 
1402
        color: $dm-body-color;
-
 
1403
    }
-
 
1404
 
-
 
1405
    @include media-breakpoint-only(md) {
Línea 1234... Línea 1406...
1234
#frontpage-category-combo h2 {
1406
        font-size: 2.5rem; // 40px
1235
    margin-bottom: 9px;
-
 
1236
 
1407
    }
1237
    @include media-breakpoint-between(xs, sm) {
1408
 
1238
        display: block;
1409
    @include media-breakpoint-between(xs, sm) {
Línea 1239... Línea 1410...
1239
        text-align: center;
1410
        font-size: 1.5rem; // 24px
1240
    }
1411
    }
Línea 1255... Línea 1426...
1255
.path-course-view .block.drag .header {
1426
.path-course-view .block.drag .header {
1256
    cursor: move;
1427
    cursor: move;
1257
}
1428
}
Línea 1258... Línea 1429...
1258
 
1429
 
1259
.path-course-view .completionprogress {
1430
.path-course-view .completionprogress {
1260
    font-size: $font-size-md;
1431
    font-size: $font-size-sm;
Línea 1261... Línea 1432...
1261
    color: $body-color-secondary;
1432
    color: $body-color-secondary;
Línea 1262... Línea 1433...
1262
 
1433
 
Línea 1347... Línea 1518...
1347
 
1518
 
1348
span.editinstructions {
1519
span.editinstructions {
1349
    position: absolute;
1520
    position: absolute;
Línea 1350... Línea 1521...
1350
    top: -15px;
1521
    top: -15px;
1351
 
1522
 
1352
    font-size: $font-size-md;
1523
    font-size: $font-size-sm;
1353
    padding: .25rem .5rem;
1524
    padding: .25rem .5rem;
1354
    text-decoration: none;
1525
    text-decoration: none;
1355
    z-index: $zindex-tooltip;
1526
    z-index: $zindex-tooltip;
Línea 1371... Línea 1542...
1371
    left: 0;
1542
    left: 0;
1372
    width: 60%;
1543
    width: 60%;
1373
    margin: 0 20%;
1544
    margin: 0 20%;
1374
    padding: .5rem;
1545
    padding: .5rem;
Línea 1375... Línea 1546...
1375
 
1546
 
1376
    font-size: $font-size-md;
1547
    font-size: $font-size-sm;
1377
    text-align: center;
1548
    text-align: center;
1378
    z-index: 1; // Required in order to have this above relatively positioned course content@mixin
1549
    z-index: 1; // Required in order to have this above relatively positioned course content@mixin
1379
    border: none;
1550
    border: none;
Línea 1386... Línea 1557...
1386
 
1557
 
1387
.dndupload-preview {
1558
.dndupload-preview {
1388
    list-style: none;
1559
    list-style: none;
1389
    margin-top: 1rem;
1560
    margin-top: 1rem;
1390
    margin-bottom: 1rem;
1561
    margin-bottom: 1rem;
Línea 1391... Línea 1562...
1391
    padding: .85rem 1.5rem;
1562
    padding: 1rem;
1392
 
1563
 
1393
    display: inline-flex;
1564
    display: inline-flex;
Línea 1399... Línea 1570...
1399
    border-radius: $btn-border-radius;
1570
    border-radius: $btn-border-radius;
Línea 1400... Línea 1571...
1400
 
1571
 
1401
    color: $gray-800;
1572
    color: $gray-800;
Línea 1402... Línea -...
1402
    font-weight: $font-weight-medium;
-
 
1403
 
1573
    font-weight: $font-weight-medium;
1404
 
1574
 
1405
    .theme-dark & {
1575
    .theme-dark & {
1406
        background-color: $dm-gray-100;
1576
        background-color: $dm-gray-100;
1407
        border: 2px dashed $dm-gray-300;
1577
        border: 2px dashed $dm-gray-300;
Línea 1569... Línea 1739...
1569
    &.even {
1739
    &.even {
1570
        background-color: $table-accent-bg;
1740
        background-color: $table-accent-bg;
1571
    }
1741
    }
1572
}
1742
}
Línea 1573... Línea -...
1573
 
-
 
1574
.courses>.paging.paging-morelink {
-
 
1575
    text-align: right;
-
 
1576
    padding: 0 0 $spacer 0;
-
 
1577
}
-
 
1578
 
-
 
1579
.course_category_tree .category .numberofcourse {
-
 
1580
    font-size: $font-size-md;
-
 
1581
}
-
 
1582
 
1743
 
1583
.course_category_tree .controls {
-
 
1584
    visibility: hidden;
-
 
1585
}
-
 
1586
 
-
 
1587
.course_category_tree .controls div {
-
 
1588
    display: inline;
-
 
1589
    cursor: pointer;
-
 
1590
}
-
 
1591
 
-
 
1592
.jsenabled .course_category_tree .controls {
-
 
1593
    visibility: visible;
-
 
1594
}
-
 
1595
 
-
 
1596
.course_category_tree .controls {
1744
.subcategories {
1597
    margin-bottom: 5px;
-
 
1598
    text-align: right;
-
 
1599
    float: right;
-
 
1600
}
-
 
1601
 
-
 
1602
.course_category_tree .controls div {
-
 
1603
    padding-right: 2em;
-
 
1604
    font-size: 75%;
-
 
1605
}
-
 
1606
 
-
 
1607
.course_category_tree .category.with_children.collapsed>.info>.categoryname {
1745
    padding-bottom: 30px;
Línea 1608... Línea -...
1608
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.25 12L8.75 7.75V16.25L14.25 12Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
-
 
1609
 
1746
    margin-bottom: 30px;
1610
    .dir-rtl & {
-
 
Línea 1611... Línea 1747...
1611
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.75 12L14.25 7.75V16.25L8.75 12Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
1747
 
1612
    }
1748
    border-bottom: 1px solid $border-color;
1613
 
1749
 
Línea 1614... Línea 1750...
1614
    .theme-dark & {
1750
    .theme-dark & {
1615
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.25 12L8.75 7.75V16.25L14.25 12Z' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
1751
        border-color: $dm-border-color;
1616
    }
-
 
1617
 
-
 
1618
    .dir-rtl.theme-dark & {
-
 
1619
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.75 12L14.25 7.75V16.25L8.75 12Z' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
1752
    }
1620
    }
1753
 
Línea -... Línea 1754...
-
 
1754
    @include media-breakpoint-up(xl) {
1621
}
1755
        display: grid;
-
 
1756
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
1622
 
1757
        gap: 30px;
1623
.course_category_tree .category.with_children>.info>.categoryname {
1758
 
1624
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 9.75L16.25 15.25H7.75L12 9.75Z' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
-
 
Línea 1625... Línea 1759...
1625
 
1759
        #page-site-index &,
-
 
1760
        .category-browse-0 & {
1626
    .theme-dark & {
1761
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
-
 
1762
        }
Línea -... Línea 1763...
-
 
1763
    }
1627
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 9.75L16.25 15.25H7.75L12 9.75Z' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
1764
 
-
 
1765
    @include media-breakpoint-between(lmd,lg) {
1628
    }
1766
        display: grid;
1629
}
1767
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
1630
 
-
 
1631
.course_category_tree .category>.info>.categoryname {
-
 
1632
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.25 17.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75H4.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25Z'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M13.5 7.5L12.5685 5.7923C12.2181 5.14977 11.5446 4.75 10.8127 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V11'%3E%3C/path%3E%3C/svg%3E%0A");
-
 
1633
 
-
 
1634
    .theme-dark & {
-
 
1635
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='#{url-friendly-colour($dm-body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.25 17.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75H4.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25Z'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($dm-body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M13.5 7.5L12.5685 5.7923C12.2181 5.14977 11.5446 4.75 10.8127 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V11'%3E%3C/path%3E%3C/svg%3E%0A");
-
 
1636
    }
-
 
1637
}
-
 
1638
 
-
 
1639
.course_category_tree .category.with_children.collapsed>.info>.categoryname,
-
 
1640
.course_category_tree .category.with_children>.info>.categoryname,
-
 
Línea 1641... Línea -...
1641
.course_category_tree .category>.info>.categoryname {
-
 
1642
    background-color: $container-bg;
-
 
1643
    background-size: 24px;
-
 
1644
    background-repeat: no-repeat;
-
 
1645
    background-position: 17px;
-
 
1646
 
-
 
1647
    border: 1px solid $border-color;
1768
        gap: 30px;
1648
 
-
 
1649
    position: relative;
-
 
1650
 
1769
 
1651
    width: 100%;
-
 
1652
    margin: .25rem auto;
1770
        #page-site-index &,
1653
    padding-top: 7px;
1771
        .category-browse-0 & {
1654
    padding-left: 46px;
-
 
1655
    padding-bottom: 7px;
-
 
1656
    padding-right: 7px;
-
 
1657
 
-
 
1658
    display: inline-flex;
-
 
1659
    align-items: center;
-
 
1660
    justify-content: space-between;
-
 
1661
    flex-wrap: wrap;
-
 
1662
 
-
 
1663
    border-radius: $btn-border-radius;
-
 
1664
    font-family: $font-family-base;
1772
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
Línea 1665... Línea 1773...
1665
    font-weight: $font-weight-medium;
1773
        }
1666
    font-size: $font-size-base;
1774
    }
1667
    line-height: 1.5;
1775
 
1668
    color: $body-color;
1776
    @include media-breakpoint-only(md) {
1669
 
1777
        display: grid;
Línea 1670... Línea 1778...
1670
    .dir-rtl & {
1778
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
1671
        background-position: calc(100% - 12px);
1779
        gap: 30px;
1672
    }
-
 
1673
 
-
 
1674
    .theme-dark & {
-
 
1675
        background-color: $dm-container-bg;
1780
    }
1676
        border-color: $dm-border-color;
-
 
Línea 1677... Línea 1781...
1677
        color: $dm-body-color;
1781
 
-
 
1782
    @include media-breakpoint-between(xs, sm) {
-
 
1783
        display: grid;
1678
    }
1784
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
1679
 
1785
        gap: 30px;
Línea 1680... Línea -...
1680
    .spinner {
-
 
1681
        position: absolute;
-
 
1682
        top: 5px;
-
 
1683
        left: 5px;
-
 
1684
 
1786
    }
1685
        width: 12px;
1787
 
1686
        height: 12px;
-
 
1687
 
-
 
1688
        margin: 0;
-
 
1689
    }
-
 
1690
}
-
 
1691
 
-
 
1692
.course_category_tree .category.collapsed>.content {
-
 
1693
    display: none;
1788
    .category {
1694
}
-
 
1695
 
-
 
1696
.course_category_tree .category>.info {
1789
        border-radius: $btn-border-radius;
Línea 1697... Línea 1790...
1697
    clear: both;
1790
        border: 1px solid $border-color;
1698
}
-
 
1699
 
1791
 
1700
.course_category_tree .category>.content {
-
 
1701
    .wrapper-md {
-
 
1702
        width: $wrapper-md - 20px;
1792
        .theme-dark & {
1703
 
-
 
1704
        @include media-breakpoint-between(xs, md) {
-
 
1705
            width: 100%;
-
 
1706
        }
-
 
1707
    }
-
 
Línea 1708... Línea 1793...
1708
}
1793
            border-color: $dm-border-color;
1709
 
1794
        }
1710
.rui-category-link {
-
 
1711
    border-radius: $btn-border-radius;
1795
    }
Línea 1712... Línea 1796...
1712
    position: relative;
1796
}
Línea 1713... Línea 1797...
1713
 
1797
 
1714
    padding: 4px 7px;
1798
.courses>.paging.paging-morelink {
1715
    border-radius: $btn-border-radius;
1799
    text-align: right;
1716
    color: $body-color;
1800
    padding: 0 0 $spacer 0;
-
 
1801
}
-
 
1802
 
-
 
1803
.rui-category-link {
-
 
1804
    font-size: 2rem;
1717
 
1805
    font-weight: $font-weight-bold;
Línea 1718... Línea 1806...
1718
    .theme-dark & {
1806
 
1719
        color: $dm-body-color;
1807
    &:after {
1720
    }
1808
        display: none;
Línea 1996... Línea 2084...
1996
        }
2084
        }
Línea 1997... Línea 2085...
1997
 
2085
 
1998
        &.highlight {
2086
        &.highlight {
Línea -... Línea 2087...
-
 
2087
            background-color: $body-bg;
-
 
2088
 
-
 
2089
            .theme-dark & {
-
 
2090
                background-color: $dm-body-bg;
1999
            background-color: $body-bg;
2091
            }
2000
 
2092
 
2001
            >div,
2093
            >div,
2002
            >div:hover,
2094
            >div:hover,
2003
            &[data-selected='1']>div {
2095
            &[data-selected='1']>div {
Línea 2227... Línea 2319...
2227
 * Tablets                           768      979
2319
 * Tablets                           768      979
2228
 * Small tablets and large phones    481      767
2320
 * Small tablets and large phones    481      767
2229
 * Phones                              0      480
2321
 * Phones                              0      480
2230
 */
2322
 */
Línea 2231... Línea -...
2231
 
-
 
2232
#page-course-management #action_bar {
-
 
2233
    margin-bottom: 30px;
-
 
2234
}
-
 
2235
 
-
 
2236
#course-category-listings {
-
 
2237
    padding: 0;
-
 
2238
    margin: 30px 0;
-
 
2239
}
-
 
2240
 
-
 
2241
#category-listing,
-
 
2242
#course-listing {
-
 
2243
    border: 1px solid $border-color;
-
 
2244
    border-radius: $btn-border-radius;
-
 
2245
 
-
 
2246
    .theme-dark & {
-
 
2247
        border-color: $dm-border-color;
-
 
2248
    }
-
 
2249
}
-
 
2250
 
2323
 
2251
@media (min-width: 1200px) and (max-width: 1600px) {
2324
@media (min-width: 1200px) and (max-width: 1600px) {
2252
    #course-category-listings.columns-3 {
2325
    #course-category-listings.columns-3 {
2253
        background-color: $body-bg;
2326
        background-color: $body-bg;
Línea 2284... Línea 2357...
2284
            margin: 0 0 1em;
2357
            margin: 0 0 1em;
2285
        }
2358
        }
2286
    }
2359
    }
2287
}
2360
}
Línea 2288... Línea -...
2288
 
-
 
2289
 
2361
 
2290
.page-settings-menu .menubar>a>.icon {
2362
.page-settings-menu .menubar>a>.icon {
2291
    width: auto;
2363
    width: auto;
2292
    height: 32px;
2364
    height: 32px;
2293
    font-size: 32px;
2365
    font-size: 32px;
Línea 2294... Línea 2366...
2294
}
2366
}
2295
 
2367
 
2296
.activity-navigation {
-
 
2297
    background-color: $gray-100;
-
 
2298
 
2368
.activity-navigation {
2299
    padding: 10px;
-
 
2300
    border-radius: 30px;
-
 
2301
 
-
 
2302
    @include media-breakpoint-between(xs, sm) {
-
 
Línea 2303... Línea 2369...
2303
        padding: 0;
2369
    background-color: $gray-100;
2304
    }
2370
    border-radius: $btn-border-radius + 6px;
2305
 
2371
 
Línea 2306... Línea 2372...
2306
    .theme-dark & {
2372
    .theme-dark & {
2307
        background-color: $dm-gray-100;
2373
        background-color: $dm-gray-100;
2308
    }
-
 
2309
 
2374
    }
Línea -... Línea 2375...
-
 
2375
 
2310
    .row {
2376
    .row {
2311
        align-items: center;
2377
        align-items: center;
2312
        flex-wrap: nowrap;
2378
    }
-
 
2379
 
Línea 2313... Línea 2380...
2313
    }
2380
    #prev-activity-link,
2314
 
2381
    #next-activity-link {
2315
    #jump-to-activity.custom-select {
-
 
2316
        margin: 0 auto;
-
 
2317
    }
2382
        white-space: pre-wrap;
2318
 
-
 
2319
    .text-truncate {
2383
    }
-
 
2384
}
Línea 2320... Línea -...
2320
        max-width: 200px;
-
 
2321
 
2385
 
2322
        @include media-breakpoint-between(xs, sm) {
2386
.automatic-completion-conditions {
2323
            display: none;
-
 
Línea 2324... Línea 2387...
2324
        }
2387
    .badge {
2325
    }
2388
        font-size: 100%;
2326
 
2389
    }
2327
    @include media-breakpoint-between(xs, sm) {
2390
}
Línea -... Línea 2391...
-
 
2391
 
-
 
2392
.action-menu-item,
-
 
2393
.course-item-actions {
2328
        .urlselect {
2394
 
Línea -... Línea 2395...
-
 
2395
    .action-hide,
-
 
2396
    .action-show {
Línea 2329... Línea -...
2329
            margin: 10px 0;
-
 
2330
        }
-
 
2331
 
2397
        margin: 0 .5rem;
2332
        .btn {
2398
    }
2333
            width: 100%;
-
 
Línea 2334... Línea 2399...
2334
        }
2399
 
2335
    }
2400
    .action-delete {
-
 
2401
        float: right;
Línea 2336... Línea -...
2336
 
-
 
2337
}
2402
        margin-left: .5rem;
2338
 
-
 
Línea 2339... Línea 2403...
2339
 
2403
    }
2340
.rui-forum-nav-btns,
2404
 
Línea 2341... Línea -...
2341
#prev-activity-link,
-
 
2342
#next-activity-link {
2405
    a {
2343
    white-space: pre-wrap;
-
 
Línea 2344... Línea 2406...
2344
    position: relative;
2406
        margin: 1px;
2345
 
2407
 
2346
    background-repeat: no-repeat;
2408
        .fa-fw {
2347
    background-size: 20px;
2409
            padding: 9px;
2348
 
-
 
Línea 2349... Línea 2410...
2349
    height: 40px;
2410
 
2350
    border-radius: 30px;
2411
            display: inline-flex;
2351
}
-
 
Línea 2352... Línea 2412...
2352
 
2412
            align-items: center;
2353
.rui-btn-action-link {
2413
            justify-content: center;
2354
    padding: 10px;
2414
 
2355
 
2415
            border-radius: $btn-border-radius;
Línea 2356... Línea -...
2356
    &.current {
-
 
2357
        background-color: $gray-300;
-
 
2358
        color: $gray-700;
-
 
2359
 
2416
 
2360
        .theme-dark & {
-
 
2361
            background-color: $dm-gray-300;
2417
            background-color: $gray-200;
2362
            color: $dm-gray-600;
2418
            color: $gray-800;
2363
        }
2419
 
Línea -... Línea 2420...
-
 
2420
            transition: $transition-base;
2364
    }
2421
 
2365
 
2422
            .theme-dark & {
2366
    &:hover {
2423
                filter: invert(1);
Línea 2367... Línea 2424...
2367
        background-color: $gray-400;
2424
            }
-
 
2425
        }
2368
        color: $gray-800;
2426
 
2369
 
2427
        &:hover .fa-fw {
2370
        .theme-dark & {
2428
            background-color: $gray-300;
Línea 2371... Línea -...
2371
            background-color: $dm-gray-400;
-
 
2372
            color: $dm-gray-800;
-
 
2373
        }
-
 
2374
 
-
 
2375
    }
-
 
Línea 2376... Línea -...
2376
}
-
 
2377
 
-
 
2378
.prev-discussion .rui-forum-nav-btns,
-
 
2379
#prev-activity-link {
-
 
2380
    padding-left: 30px;
-
 
2381
    background-position: center;
-
 
2382
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.25 6.75L4.75 12L10.25 17.25'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19.25 12H5'%3E%3C/path%3E%3C/svg%3E%0A");
-
 
2383
 
-
 
Línea 2384... Línea 2429...
2384
    @include media-breakpoint-between(xs, sm) {
2429
 
2385
        padding-left: 30px;
2430
            .theme-dark & {
2386
    }
2431
                background-color: $dm-gray-300;
2387
 
2432
            }
Línea 2657... Línea 2702...
2657
        display: none;
2702
        display: none;
2658
    }
2703
    }
Línea 2659... Línea 2704...
2659
 
2704
 
2660
    @include media-breakpoint-up(md) {
2705
    @include media-breakpoint-up(md) {
-
 
2706
        margin: 0 $rui-date-margin-left;
-
 
2707
 
-
 
2708
        .modtype_subsection & {
-
 
2709
            margin-right: 0;
2661
        margin: 0 $rui-date-margin-left;
2710
        }
Línea 2662... Línea 2711...
2662
    }
2711
    }
2663
 
2712
 
2664
    @include media-breakpoint-between(xs, sm) {
2713
    @include media-breakpoint-between(xs, sm) {
Línea 2859... Línea 2908...
2859
    .rui-activity-wrapper {
2908
    .rui-activity-wrapper {
2860
        display: flex;
2909
        display: flex;
2861
        flex-wrap: wrap;
2910
        flex-wrap: wrap;
Línea 2862... Línea 2911...
2862
 
2911
 
2863
        border: 1px solid $border-color;
2912
        border: 1px solid $border-color;
2864
        border-radius: $btn-border-radius;
2913
        border-radius: $btn-border-radius + 5px;
Línea 2865... Línea 2914...
2865
        padding: 5px;
2914
        padding: 5px;
2866
 
2915
 
2867
        .theme-dark & {
2916
        .theme-dark & {
Línea 2881... Línea 2930...
2881
            padding-bottom: 0;
2930
            padding-bottom: 0;
2882
            border: none;
2931
            border: none;
2883
        }
2932
        }
Línea 2884... Línea 2933...
2884
 
2933
 
-
 
2934
        .automatic-completion-conditions {
2885
        .automatic-completion-conditions {
2935
            margin-left: 5px;
2886
            width: 100%;
2936
            width: 100%;
2887
            display: inline-flex;
2937
            display: inline-flex;
2888
            justify-content: flex-start;
2938
            justify-content: flex-start;
2889
            flex-flow: wrap;
2939
            flex-flow: wrap;
Línea 3083... Línea 3133...
3083
            width: 100%;
3133
            width: 100%;
3084
            background-color: var(--primary-color-100);
3134
            background-color: var(--primary-color-100);
3085
            border-color: var(--primary-color-100);
3135
            border-color: var(--primary-color-100);
Línea 3086... Línea 3136...
3086
 
3136
 
3087
            .theme-dark & {
3137
            .theme-dark & {
3088
                background-color: $primary-color-700;
3138
                background-color: var(--primary-color-700);
3089
                border-color: var(--primary-color-100);
3139
                border-color: var(--primary-color-100);
3090
            }
3140
            }
Línea 3091... Línea 3141...
3091
        }
3141
        }
Línea 3421... Línea 3471...
3421
.block-add {
3471
.block-add {
3422
    width: 100%;
3472
    width: 100%;
3423
    margin: .35rem 0;
3473
    margin: .35rem 0;
3424
    border-radius: $btn-border-radius;
3474
    border-radius: $btn-border-radius;
3425
    background-color: var(--primary-color-100);
3475
    background-color: var(--primary-color-100);
3426
    color: $primary-color-600;
3476
    color: var(--main-theme-color);
3427
    border-width: $border-width;
3477
    border-width: $border-width;
Línea 3428... Línea 3478...
3428
 
3478
 
3429
    .theme-dark & {
3479
    .theme-dark & {
3430
        background-color: var(--primary-color-100);
3480
        background-color: var(--primary-color-100);
3431
        color: $primary-color-600;
3481
        color: var(--main-theme-color);
Línea 3432... Línea 3482...
3432
    }
3482
    }
3433
 
3483
 
3434
    .pluscontainer {
3484
    .pluscontainer {
Línea 3435... Línea 3485...
3435
        border: 1px solid var(--primary-color-100);
3485
        border: 1px solid var(--primary-color-100);
3436
    }
3486
    }
3437
 
3487
 
3438
    &:hover {
3488
    &:hover {
Línea 3439... Línea 3489...
3439
        cursor: pointer;
3489
        cursor: pointer;
3440
        background-color: var(--primary-color-100);
3490
        background-color: var(--primary-color-100);
3441
        color: $primary-color-600;
3491
        color: var(--main-theme-color);
3442
 
3492
 
Línea 3443... Línea 3493...
3443
        .theme-dark & {
3493
        .theme-dark & {
3444
            background-color: var(--primary-color-100);
3494
            background-color: var(--primary-color-100);
3445
            color: $primary-color-600;
3495
            color: var(--main-theme-color);
Línea 3491... Línea 3541...
3491
    justify-content: center;
3541
    justify-content: center;
3492
    align-items: center;
3542
    align-items: center;
3493
    background-color: $gray-100;
3543
    background-color: $gray-100;
3494
    border-radius: $activity-iconcontainer-width;
3544
    border-radius: $activity-iconcontainer-width;
3495
    padding: 0.7rem;
3545
    padding: 0.7rem;
3496
    margin: 0 10px 0 0;
3546
    margin: 0 12px;
3497
    color: $gray-600;
3547
    color: $gray-600;
-
 
3548
    text-decoration: none;
Línea 3498... Línea 3549...
3498
 
3549
 
3499
    .theme-dark & {
3550
    .theme-dark & {
3500
        background-color: $dm-gray-100;
3551
        background-color: $dm-gray-400;
3501
        color: $dm-gray-600;
3552
        color: $dm-gray-900;
Línea 3502... Línea -...
3502
    }
-
 
3503
 
3553
    }
3504
    &[aria-expanded="true"],
3554
 
3505
    &:hover {
3555
    &:hover {
Línea 3506... Línea 3556...
3506
        background-color: var(--primary-color-100);
3556
        background-color: var(--primary-color-100);
3507
        color: $primary-color-600;
3557
        color: var(--main-theme-color);
3508
 
3558
 
3509
        .theme-dark & {
3559
        .theme-dark & {
3510
            background-color: $dm-gray-200;
3560
            background-color: $dm-gray-400;
3511
            color: $dm-gray-700;
3561
            color: $dm-gray-900;
Línea 3512... Línea 3562...
3512
        }
3562
        }
Línea 3520... Línea 3570...
3520
    width: 100%;
3570
    width: 100%;
3521
    justify-content: space-between;
3571
    justify-content: space-between;
Línea 3522... Línea 3572...
3522
 
3572
 
3523
    color: $body-color;
3573
    color: $body-color;
-
 
3574
    border-bottom: 1px solid $border-color;
Línea 3524... Línea 3575...
3524
    border-bottom: 1px solid $border-color;
3575
    text-decoration: none;
3525
 
3576
 
3526
    .theme-dark & {
3577
    .theme-dark & {
3527
        color: $dm-body-color;
3578
        color: $dm-body-color;
Línea 3534... Línea 3585...
3534
        font-size: 1rem;
3585
        font-size: 1rem;
3535
    }
3586
    }
Línea 3536... Línea 3587...
3536
 
3587
 
3537
    &[aria-expanded="true"],
3588
    &[aria-expanded="true"],
3538
    &:hover {
3589
    &:hover {
3539
        border-color: $primary-color-600;
3590
        border-color: var(--main-theme-color);
3540
        text-decoration: none;
3591
        text-decoration: none;
Línea 3541... Línea 3592...
3541
    }
3592
    }
3542
 
3593
 
Línea 3581... Línea 3632...
3581
    .theme-dark & {
3632
    .theme-dark & {
3582
        color: $dm-body-color-secondary;
3633
        color: $dm-body-color-secondary;
3583
    }
3634
    }
Línea 3584... Línea 3635...
3584
 
3635
 
3585
    &:hover {
3636
    &:hover {
Línea 3586... Línea 3637...
3586
        color: $primary-color-600;
3637
        color: var(--main-theme-color);
3587
 
3638
 
3588
        .theme-dark & {
3639
        .theme-dark & {
3589
            color: var(--primary-color-100);
3640
            color: var(--primary-color-100);
Línea 3616... Línea 3667...
3616
.rui-hidden-badge {
3667
.rui-hidden-badge {
3617
    position: relative;
3668
    position: relative;
3618
    margin: 0 $rui-date-margin-left;
3669
    margin: 0 $rui-date-margin-left;
3619
}
3670
}
Línea -... Línea 3671...
-
 
3671
 
3620
 
3672
.path-section-view,
3621
.path-course-view {
3673
.path-course-view {
3622
    .activity-item {
3674
    .activity-item {
3623
        position: relative;
3675
        position: relative;
3624
        background-color: $container-bg;
3676
        background-color: $container-bg;
Línea 3702... Línea 3754...
3702
            }
3754
            }
3703
        }
3755
        }
3704
    }
3756
    }
3705
}
3757
}
Línea -... Línea 3758...
-
 
3758
 
3706
 
3759
.theme-dark.path-section-view,
3707
.theme-dark.path-course-view {
3760
.theme-dark.path-course-view {
3708
    .activity-item {
3761
    .activity-item {
Línea 3709... Línea 3762...
3709
        background-color: $dm-container-bg;
3762
        background-color: $dm-container-bg;
Línea 3724... Línea 3777...
3724
 
3777
 
3725
.theme-dark.editing .activity-item:hover {
3778
.theme-dark.editing .activity-item:hover {
3726
    background-color: $dm-black;
3779
    background-color: $dm-black;
Línea 3727... Línea -...
3727
}
-
 
3728
 
-
 
3729
.section .draggable .activity-item .dragicon {
-
 
3730
    display: none;
-
 
3731
}
3780
}
3732
 
3781
 
Línea 3733... Línea 3782...
3733
.automatic-completion-conditions .badge {
3782
.automatic-completion-conditions .badge {
3734
    font-size: 80%;
3783
    font-size: 80%;
Línea 3751... Línea 3800...
3751
    .theme-dark & {
3800
    .theme-dark & {
3752
        color: $dm-body-color-light;
3801
        color: $dm-body-color-light;
3753
    }
3802
    }
3754
}
3803
}
Línea 3755... Línea 3804...
3755
 
3804
 
-
 
3805
.subcategories {
3756
.subcategories .subcategories {
3806
    padding-bottom: 30px;
Línea -... Línea 3807...
-
 
3807
    margin-bottom: 30px;
-
 
3808
 
3757
    margin-left: 30px;
3809
    border-bottom: 1px solid $border-color;
-
 
3810
 
-
 
3811
    .theme-dark & {
-
 
3812
        border-color: $dm-border-color;
-
 
3813
    }
-
 
3814
 
-
 
3815
    @include media-breakpoint-up(xl) {
-
 
3816
        display: grid;
-
 
3817
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
-
 
3818
        gap: 30px;
-
 
3819
 
-
 
3820
        #page-site-index &,
-
 
3821
        .category-browse-0 & {
-
 
3822
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
-
 
3823
        }
-
 
3824
    }
-
 
3825
 
-
 
3826
    @include media-breakpoint-between(lmd,lg) {
-
 
3827
        display: grid;
-
 
3828
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
-
 
3829
        gap: 30px;
-
 
3830
 
-
 
3831
        #page-site-index &,
-
 
3832
        .category-browse-0 & {
-
 
3833
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
-
 
3834
        }
-
 
3835
    }
-
 
3836
 
-
 
3837
    @include media-breakpoint-only(md) {
-
 
3838
        display: grid;
-
 
3839
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
-
 
3840
        gap: 30px;
-
 
3841
    }
-
 
3842
 
-
 
3843
    @include media-breakpoint-between(xs, sm) {
-
 
3844
        display: grid;
-
 
3845
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
-
 
3846
        gap: 30px;
-
 
3847
    }
-
 
3848
 
-
 
3849
    .category {
-
 
3850
        border-radius: $btn-border-radius;
-
 
3851
        border: 1px solid $border-color;
-
 
3852
 
-
 
3853
        .theme-dark & {
-
 
3854
            border-color: $dm-border-color;
-
 
3855
        }
-
 
3856
    }
-
 
3857
}
-
 
3858
 
-
 
3859
// Custom Fields on Course Box
-
 
3860
.rui-course-card {
-
 
3861
    .rui-custom-field-contaner {
-
 
3862
        margin-top: 10px;
-
 
3863
    }
3758
 
3864
 
-
 
3865
    .rui-custom-field-contaner + .rui-custom-field-contaner {
-
 
3866
        margin-top: 0;
-
 
3867
    }
-
 
3868
 
-
 
3869
    .rui-custom-field-box { 
-
 
3870
        display: flex;
-
 
3871
        flex-wrap: wrap;
-
 
3872
        font-size: $font-size-sm;
-
 
3873
        color: $body-color-secondary;
-
 
3874
    
-
 
3875
        margin: 0 0 6px; 
-
 
3876
 
-
 
3877
        .theme-dark & {
-
 
3878
            color: $dm-body-color-secondary;
-
 
3879
        }
-
 
3880
    
-
 
3881
        .rui-custom-field-name {
-
 
3882
            margin-right: .5rem;
-
 
3883
            font-weight: $font-weight-bold;
-
 
3884
        }
-
 
3885
 
-
 
3886
        .rui-custom-field-price {
-
 
3887
            display: none;
-
 
3888
 
-
 
3889
            + .rui-custom-field-value {
-
 
3890
                font-size: 20px;
-
 
3891
                font-weight: $font-weight-bold;
-
 
3892
                color: var(--main-theme-color);
-
 
3893
            }
-
 
3894
        }
-
 
3895
 
-
 
3896
        #page-enrol-index & {
-
 
3897
            display: none;
-
 
3898
            visibility: hidden;
-
 
3899
        }
-
 
3900
    }
-
 
3901
 
-
 
3902
    // Reset margin for ratings.
-
 
3903
    .rui-cf-tool_courserating {
-
 
3904
        margin: 0!important;
-
 
3905
    }
-
 
3906
 
-
 
3907
    .rui-cf-price {
-
 
3908
        margin-top: 20px;
-
 
3909
    }
3759
    .dir-rtl & {
3910
 
-
 
3911
    .rui-cf-price + .rui-custom-field-box {
-
 
3912
        margin-top: 20px;
-
 
3913
    }
-
 
3914
}
-
 
3915
 
-
 
3916
.rui-course-header-custom-f .rui-cf-tool_courserating {
-
 
3917
    display: none!important;
-
 
3918
    visibility: hidden;
-
 
3919
}
-
 
3920
 
-
 
3921
.rui-categorybox-wrapper {
-
 
3922
    p, div.rui-cat-content, ul, ol  {
-
 
3923
        padding: 0 $category-box-padding;
-
 
3924
        font-size: $font-size-sm;
-
 
3925
        color: $body-color-secondary;
-
 
3926
 
-
 
3927
        word-break: break-word;
-
 
3928
 
-
 
3929
        .theme-dark & {
-
 
3930
            color: $dm-body-color-secondary;
-
 
3931
        }
-
 
3932
 
-
 
3933
        &:empty {
-
 
3934
            display: none;
-
 
3935
        }
-
 
3936
    }
-
 
3937
 
-
 
3938
    img,
-
 
3939
    .vjs-poster {
-
 
3940
        width: 100%;
-
 
3941
        border-radius: $btn-border-radius;
-
 
3942
        overflow: hidden;
-
 
3943
    }
-
 
3944
}
-
 
3945
 
-
 
3946
.rui-category-box-subcat {
-
 
3947
    margin: 20px $category-box-padding;
-
 
3948
    display: flex;
-
 
3949
    flex-wrap: wrap;
-
 
3950
    gap: 10px;
-
 
3951
}
-
 
3952
 
-
 
3953
.rui-categoryname {
-
 
3954
    padding: 20px $category-box-padding;
-
 
3955
    margin-bottom: 0;
-
 
3956
 
-
 
3957
    a {
-
 
3958
        display: flex;
-
 
3959
        font-size: 1.5rem;
-
 
3960
        color: $headings-color;
-
 
3961
        font-weight: $font-weight-bold;
-
 
3962
    
-
 
3963
        .subcategories & {
-
 
3964
            font-size: $font-size-base;
-
 
3965
        
-
 
3966
            #page-site-index &,
-
 
3967
            .category-browse-0 & {
-
 
3968
                font-size: 1.5rem;
-
 
3969
            }
-
 
3970
        }
-
 
3971
 
-
 
3972
        &:hover {
-
 
3973
            color: $link-hover-color;
-
 
3974
    
-
 
3975
            .theme-dark & {
-
 
3976
                color: $dm-link-hover-color;
-
 
3977
            }
-
 
3978
        }
-
 
3979
    
-
 
3980
        .theme-dark & {
-
 
3981
            color: $dm-headings-color;
-
 
3982
        }
-
 
3983
    }
-
 
3984
}
-
 
3985
 
-
 
3986
.rui-no-courses-title {
-
 
3987
    margin: -15px 20px 20px;
-
 
3988
    font-size: 1rem;
-
 
3989
    color: $body-color-light;
-
 
3990
    font-weight: $font-weight-medium;
-
 
3991
 
-
 
3992
    .subcategories & {
-
 
3993
        font-size: $font-size-sm;
-
 
3994
 
-
 
3995
        #page-site-index &,
-
 
3996
        .category-browse-0 & {
-
 
3997
            font-size: 1rem;
-
 
3998
        }
-
 
3999
    }
-
 
4000
 
-
 
4001
    .theme-dark & {
-
 
4002
        color: $dm-body-color-light;
-
 
4003
    }
-
 
4004
}
-
 
4005
 
-
 
4006
.rui-subcat-badge {
-
 
4007
    padding: 4px 10px;
-
 
4008
    background-color: $gray-100;
-
 
4009
    border-radius: $btn-border-radius;
-
 
4010
 
-
 
4011
    font-size: .85rem;
-
 
4012
    color: $body-color;
-
 
4013
    font-weight: $font-weight-medium;
-
 
4014
    text-decoration: none;
-
 
4015
 
-
 
4016
    &:hover {
-
 
4017
        text-decoration: none;
-
 
4018
    }
-
 
4019
 
-
 
4020
    .theme-dark & {
3760
        margin-left: 0;
4021
        background-color: $dm-gray-100;
3761
        margin-right: 30px;
4022
        color: $dm-body-color;
Línea 3762... Línea 4023...
3762
    }
4023
    }
3763
}
4024
}
Línea 3847... Línea 4108...
3847
    width: 100%;
4108
    width: 100%;
Línea 3848... Línea 4109...
3848
 
4109
 
3849
    border-radius: $btn-border-radius-lg;
4110
    border-radius: $btn-border-radius-lg;
Línea 3850... Línea -...
3850
    aspect-ratio: 16 / 6;
-
 
3851
 
-
 
3852
    @if variable-exists(showcolorcoursecardmask) {
-
 
3853
        @if $showcolorcoursecardmask=='yes' {
-
 
3854
            background-color: $course-card-shadow-color;
-
 
3855
            background-blend-mode: luminosity;
-
 
3856
        }
4111
    aspect-ratio: 16 / 6;
-
 
4112
 
-
 
4113
}
-
 
4114
 
-
 
4115
.rui-course-cover--style-2 {
-
 
4116
    background-attachment: fixed;
-
 
4117
    background-size: contain;
3857
    }
4118
}
3858
}
4119
 
3859
.rui-course-cover--fw {
4120
.rui-course-cover--fw {
3860
    .show-drawer-left.show-drawer-right & {
4121
    .show-drawer-left.show-drawer-right & {
3861
        margin-left: -40px;
4122
        margin-left: -40px;
Línea 3862... Línea 4123...
3862
        width: calc(100% + 80px);
4123
        width: calc(100% + 80px);
3863
    }
4124
    }
3864
 
4125
 
3865
    @include media-breakpoint-up(md) {
4126
    @include media-breakpoint-up(md) {
3866
        margin-left: -127px;
4127
        margin-left: -100px;
Línea 3867... Línea 4128...
3867
        width: calc(100% + 254px);
4128
        width: calc(100% + 200px);
Línea 3874... Línea 4135...
3874
.course-section-header:focus-within+.content .section .activity:first-child div.divider button,
4135
.course-section-header:focus-within+.content .section .activity:first-child div.divider button,
3875
.content .section .activity:focus-within div.divider button {
4136
.content .section .activity:focus-within div.divider button {
3876
    visibility: visible;
4137
    visibility: visible;
3877
}
4138
}
Línea 3878... Línea -...
3878
 
-
 
3879
.activity {
-
 
3880
    div.divider {
-
 
3881
        height: 2rem;
-
 
3882
        margin-top: -1.25rem;
-
 
3883
        margin-bottom: -0.75rem;
-
 
3884
        z-index: 5;
-
 
3885
 
-
 
3886
        button {
-
 
3887
            border-radius: 100%;
-
 
3888
            background-color: $primary-color-600;
-
 
3889
            width: 40px;
-
 
3890
            height: 40px;
-
 
3891
            position: absolute;
-
 
3892
            top: -14px;
-
 
3893
            left: calc(50% - 20px);
-
 
3894
            opacity: 0;
-
 
3895
            visibility: hidden;
-
 
3896
            transition: visibility 0.1s;
-
 
3897
            margin: 0;
-
 
3898
            padding: 0;
-
 
3899
 
-
 
3900
            .icon {
-
 
3901
                color: $primary-color-100;
-
 
3902
                font-size: 18px;
-
 
3903
                display: flex;
-
 
3904
                align-items: center;
-
 
3905
                justify-content: center;
-
 
3906
            }
-
 
3907
 
-
 
3908
            img {
-
 
3909
                width: 24px;
-
 
3910
                height: 24px;
-
 
3911
                filter: invert(1);
-
 
3912
            }
-
 
3913
        }
-
 
3914
    }
-
 
3915
 
-
 
3916
    &:not(.dragging) div.divider {
-
 
3917
 
-
 
3918
        &:hover button,
-
 
3919
        &:focus button,
-
 
3920
        &:focus-within button {
-
 
3921
            opacity: 1;
-
 
3922
            visibility: visible;
-
 
3923
        }
-
 
3924
    }
-
 
3925
}
-
 
3926
 
4139
 
3927
.bulkenabled .bulk-hidden {
4140
.bulkenabled .bulk-hidden {
3928
    display: none !important; // stylelint-disable-line declaration-no-important
4141
    display: none !important; // stylelint-disable-line declaration-no-important
Línea 3929... Línea 4142...
3929
}
4142
}
Línea 3954... Línea 4167...
3954
.rui-forum-nav-btns {
4167
.rui-forum-nav-btns {
3955
    white-space: pre-wrap;
4168
    white-space: pre-wrap;
3956
    position: relative;
4169
    position: relative;
3957
}
4170
}
Línea 3958... Línea -...
3958
 
-
 
3959
.subcategories .category.loaded {
-
 
3960
    border: 2px solid $gray-200;
-
 
3961
    margin-bottom: 4px;
-
 
3962
    padding: 4px 9px 9px;
-
 
3963
    border-radius: $btn-border-radius;
-
 
3964
 
-
 
3965
    .theme-dark & {
-
 
3966
        border-color: $dm-border-color;
-
 
3967
    }
-
 
3968
 
-
 
3969
    &.collapsed {
-
 
3970
        padding: 0;
-
 
3971
        border: 0;
-
 
3972
    }
-
 
Línea 3973... Línea 4171...
3973
}
4171
 
3974
 
4172
 
3975
// Moodle 4.3
4173
// Moodle 4.3
3976
.btn--dialog {
4174
.btn--dialog {
Línea 4051... Línea 4249...
4051
        }
4249
        }
4052
    }
4250
    }
4053
}
4251
}
Línea 4054... Línea 4252...
4054
 
4252
 
4055
&.section-summary {
4253
&.section-summary {
4056
    padding: 10px;
4254
    padding: 7px 14px 7px 24px;
-
 
4255
    border-radius: $btn-border-radius;
-
 
4256
    border: 1px solid $border-color;
-
 
4257
 
-
 
4258
    .theme-dark & {
-
 
4259
        border-color: $dm-border-color;
-
 
4260
    }
-
 
4261
 
-
 
4262
    .section-summary-activities {
-
 
4263
        font-size: $font-size-xs;
-
 
4264
        .icon {
-
 
4265
            font-size: $font-size-xs;
-
 
4266
            margin-right: 3px;  
-
 
4267
        }
-
 
4268
    }
-
 
4269
 
-
 
4270
    .theme-dark & {
-
 
4271
        background-color: $dm-gray-100;
4057
    border-radius: $btn-border-radius;
4272
    }
Línea 4058... Línea 4273...
4058
}
4273
}
4059
 
4274
 
4060
.section-summary-activities .activity-count {
4275
.section-summary-activities .activity-count {
Línea 4109... Línea 4324...
4109
}
4324
}
Línea 4110... Línea 4325...
4110
 
4325
 
4111
.courseindex .courseindex-item {
4326
.courseindex .courseindex-item {
4112
    .dragicon {
4327
    .dragicon {
-
 
4328
        position: absolute;
4113
        position: absolute;
4329
        z-index: 3;
4114
        top: 0;
4330
        top: 0;
-
 
4331
        right: -3px;
-
 
4332
 
-
 
4333
        .icon {
-
 
4334
            color: $body-color;
4115
        right: 0;
4335
        }
Línea 4116... Línea 4336...
4116
    }
4336
    }
4117
 
4337
 
Línea 4136... Línea 4356...
4136
                color: $dm-body-color-light;
4356
                color: $dm-body-color-light;
4137
            }
4357
            }
4138
        }
4358
        }
4139
    }
4359
    }
Línea 4140... Línea 4360...
4140
 
4360
 
4141
    &.dimmed:not(.restrictions)::before {
4361
    &.dimmed:not(.restrictions)::after {
4142
        content: '';
4362
        content: '';
4143
        position: absolute;
4363
        position: absolute;
4144
        top: 0;
4364
        top: 3px;
4145
        right: 0;
4365
        right: -20px;
4146
        width: 30px;
4366
        width: 20px;
4147
        height: 30px;
4367
        height: 20px;
4148
        border-radius: 30px;
4368
        border-radius: 20px;
4149
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.25 4.75L4.75 19.25'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409'%3E%3C/path%3E%3C/svg%3E");
4369
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.25 4.75L4.75 19.25'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409'%3E%3C/path%3E%3C/svg%3E");
4150
        background-repeat: no-repeat;
4370
        background-repeat: no-repeat;
4151
        background-position: center;
4371
        background-position: center;
4152
        background-size: 18px;
4372
        background-size: 12px;
4153
        background-color: $yellow-300;
4373
        background-color: $yellow-300;
Línea 4154... Línea 4374...
4154
        z-index: 1;
4374
        z-index: 1;
4155
 
4375
 
Línea 4173... Línea 4393...
4173
    }
4393
    }
4174
}
4394
}
Línea 4175... Línea 4395...
4175
 
4395
 
4176
// Course additional informations.
4396
// Course additional informations.
4177
.rui-course-card {
-
 
4178
    .rui-mo-progress-text {
-
 
4179
        font-size: $font-size-xs;
-
 
Línea 4180... Línea 4397...
4180
    }
4397
.rui-course-card {
4181
 
4398
 
4182
    .rui-course-card-text+.rui-custom-field-box {
4399
    .rui-course-card-text+.rui-custom-field-box {
Línea 4183... Línea 4400...
4183
        margin-top: 20px;
4400
        margin-top: 20px;
4184
    }
4401
    }
4185
 
4402
 
4186
    .rui-custom-field-box {
4403
    .rui-custom-field-box {
4187
        width: 100%;
4404
        width: 100%;
4188
        display: flex;
-
 
Línea 4189... Línea 4405...
4189
        margin-bottom: 5px;
4405
        display: flex;
4190
        font-size: $font-size-xs;
4406
        margin-bottom: 5px;
4191
        opacity: .7;
4407
        font-size: $font-size-xs;
4192
 
4408
 
Línea 4193... Línea 4409...
4193
        .rui-custom-field-name {
4409
        .rui-custom-field-name {
4194
            margin-right: 5px;
4410
            margin-right: 5px;
4195
        }
4411
        }
4196
    }
4412
    }
Línea 4197... Línea 4413...
4197
 
4413
 
Línea 4252... Línea 4468...
4252
    align-items: center;
4468
    align-items: center;
Línea 4253... Línea 4469...
4253
 
4469
 
4254
    overflow-x: auto;
4470
    overflow-x: auto;
Línea -... Línea 4471...
-
 
4471
    gap: 0;
-
 
4472
 
-
 
4473
    .path-enrol & {
-
 
4474
        margin: 7px 0 0 0;
4255
    gap: 0;
4475
    }
4256
 
4476
 
4257
    .rui-custom-field-box {
4477
    .rui-custom-field-box {
4258
        margin-right: 32px;
4478
        margin-right: 32px;
4259
        margin-bottom: 20px;
4479
        margin-bottom: 20px;
Línea 4267... Línea 4487...
4267
    display: none !important;
4487
    display: none !important;
4268
    visibility: hidden;
4488
    visibility: hidden;
4269
}
4489
}
Línea 4270... Línea 4490...
4270
 
4490
 
4271
.tool_courserating-cfield {
-
 
4272
    display: inline-flex;
4491
.tool_courserating-cfield {
4273
    border: 1px solid $border-color;
4492
    border: 1px solid $border-color;
4274
    padding: 13px;
-
 
4275
    margin: 10px 0;
4493
    padding: 13px;
4276
    box-sizing: content-box;
4494
    box-sizing: content-box;
Línea 4277... Línea 4495...
4277
    border-radius: $btn-border-radius;
4495
    border-radius: $btn-border-radius;
4278
 
-
 
4279
    .rui-course-card & {
4496
 
4280
        padding: 0;
4497
    .tool_courserating-ratingcolor,
4281
        margin: 0 -3px;
-
 
Línea 4282... Línea 4498...
4282
        border: 0;
4498
    .tool_courserating-ratings {
4283
        color: $body-color;
4499
        text-decoration: none;
4284
 
4500
 
4285
        .theme-dark & {
4501
        .rui-course-card & {
Línea -... Línea 4502...
-
 
4502
            color: $white;
-
 
4503
        }
-
 
4504
    }
-
 
4505
 
-
 
4506
    .rui-course-card & {
-
 
4507
        position: absolute;
-
 
4508
        top: calc(#{$course-cover-height} - 47px);
-
 
4509
        left: 10px;
-
 
4510
        padding: 7px;
-
 
4511
        background-color: rgba($black, .5);
-
 
4512
        backdrop-filter: blur(2rem);
4286
            color: $dm-body-color;
4513
        -webkit-backdrop-filter: blur(2rem);   
4287
        }
4514
        border: 0; 
4288
    }
4515
    }
Línea 4289... Línea 4516...
4289
 
4516
 
4290
    .theme-dark & {
4517
    .theme-dark & {
4291
        border-color: $dm-border-color;
4518
        border-color: $dm-border-color;
4292
    }
4519
    }
4293
 
4520
 
4294
    .rui-course-info-box & {
4521
    .rui-course-info-box & {
4295
        margin: 0;
4522
        margin: 0;
4296
        display: none;
4523
        display: none;
4297
        visibility: hidden;
4524
        visibility: hidden;
Línea 4298... Línea 4525...
4298
    }
4525
    }
Línea 4313... Línea 4540...
4313
            color: $dm-body-color-light;
4540
            color: $dm-body-color-light;
4314
        }
4541
        }
4315
    }
4542
    }
4316
}
4543
}
Línea -... Línea 4544...
-
 
4544
 
-
 
4545
.tool_courserating-widget {
-
 
4546
    .add-rating-link {
-
 
4547
        margin: 20px 3px;
-
 
4548
    }
-
 
4549
}
-
 
4550
 
-
 
4551
.rui-course-card {
-
 
4552
    .rui-custom-field-box.rui-cf-difficulty,
-
 
4553
    .rui-custom-field-box.rui-cf-duration {
-
 
4554
        margin: 0;
-
 
4555
        background-color: rgba($black, .7);
-
 
4556
        border-radius: $btn-border-radius;
-
 
4557
        padding: 4px 10px;
-
 
4558
        font-size: $font-size-sm;
-
 
4559
        font-weight: $font-weight-medium;
-
 
4560
        color: $white;
-
 
4561
    
-
 
4562
        .rui-custom-field-name {
-
 
4563
            display: none;
-
 
4564
        }
-
 
4565
    }
-
 
4566
    
-
 
4567
    .rui-custom-field-box.rui-cf-difficulty {
-
 
4568
        position: absolute;
-
 
4569
        top: 10px;
-
 
4570
        right: 10px;
-
 
4571
        width: auto;
-
 
4572
    }
-
 
4573
    
-
 
4574
    .rui-custom-field-box.rui-cf-duration {
-
 
4575
        position: absolute;
-
 
4576
        top: 10px;
-
 
4577
        right: 10px;
-
 
4578
        width: auto;
-
 
4579
    }
-
 
4580
}
4317
 
4581
 
4318
#course-category-listings .listitem>div .item-actions .aabtn.menu-action {
4582
#course-category-listings .listitem>div .item-actions .aabtn.menu-action {
4319
    background-color: transparent;
4583
    background-color: transparent;
Línea 4320... Línea 4584...
4320
}
4584
}
Línea 4330... Línea 4594...
4330
    .list-group-item {
4594
    .list-group-item {
4331
        .flex-shrink-0 {
4595
        .flex-shrink-0 {
4332
            display: flex;
4596
            display: flex;
4333
        }
4597
        }
4334
    }
4598
    }
-
 
4599
}
-
 
4600
 
-
 
4601
/* Moodle 4.4 *
-
 
4602
/
-
 
4603
/* Variables definition*/
-
 
4604
 
-
 
4605
$activity-border-radius: 1rem !default;
-
 
4606
$activity-border-width: 1px !default;
-
 
4607
$activity-hover-border-color: $primary !default;
-
 
4608
$divider-color: $gray-300 !default;
-
 
4609
$divider-width: 2px !default;
-
 
4610
$divider-hover-color: $primary !default;
-
 
4611
 
-
 
4612
/* Functions/Mixins definition */
-
 
4613
 
-
 
4614
// Activity completion button custom styling mixin.
-
 
4615
@mixin completion-button() {
-
 
4616
    &.btn {
-
 
4617
        @include button-variant($white, $gray-400, $gray-600);
-
 
4618
        min-height: map-get($iconsizes, 5);
-
 
4619
        font-weight: bold;
-
 
4620
        @include border-radius();
-
 
4621
        .icon {
-
 
4622
            font-size: inherit;
-
 
4623
        }
-
 
4624
    }
-
 
4625
    @each $color, $value in $theme-colors {
-
 
4626
        &.btn-#{$color} {
-
 
4627
            $bg-color: theme-color-level($color, $alert-bg-level);
-
 
4628
            @include button-variant($bg-color, $bg-color, $value);
-
 
4629
            color: theme-color-level($color, $alert-color-level);
-
 
4630
            &:hover {
-
 
4631
                color: color-yiq($value);
-
 
4632
            }
-
 
4633
        }
-
 
4634
    }
-
 
4635
}
-
 
4636
 
-
 
4637
.editing .activity-item {
-
 
4638
    cursor: move;
-
 
4639
    border: $activity-border-width solid transparent;
-
 
4640
    @include border-radius($activity-border-radius);
-
 
4641
    .a {
-
 
4642
        cursor: pointer;
-
 
4643
    }
-
 
4644
    &:hover,
-
 
4645
    &.selected {
-
 
4646
        border: $activity-border-width solid $activity-hover-border-color;
-
 
4647
        box-shadow: $box-shadow-sm;
-
 
4648
    }
-
 
4649
}
-
 
4650
 
-
 
4651
 
-
 
4652
/* Dividers */
-
 
4653
.divider {
-
 
4654
    position: relative;
-
 
4655
    hr {
-
 
4656
        width: 100%;
-
 
4657
        margin: 20px;
-
 
4658
        border-top: $divider-width dashed $divider-color;
-
 
4659
    }
-
 
4660
    .divider-content {
-
 
4661
        opacity: 0;
-
 
4662
        visibility: hidden;
-
 
4663
        transition: visibility 0.1s;
-
 
4664
        position: absolute;
-
 
4665
        background: linear-gradient(transparent 40%, $container-bg 40%, $container-bg 60%, transparent 60%);
-
 
4666
        .section.hidden & {
-
 
4667
            background: linear-gradient(transparent 40%, $container-bg 40%, $container-bg 60%, transparent 60%);
-
 
4668
 
-
 
4669
            .theme-dark & {
-
 
4670
                background: linear-gradient(transparent 40%, $dm-container-bg 40%, $dm-container-bg 60%, transparent 60%);
-
 
4671
            }
-
 
4672
        }
-
 
4673
 
-
 
4674
        .theme-dark & {
-
 
4675
            background: linear-gradient(transparent 40%, $dm-container-bg 40%, $dm-container-bg 60%, transparent 60%);
-
 
4676
        }
-
 
4677
    }
-
 
4678
    &.always-visible {
-
 
4679
        .divider-content {
-
 
4680
            opacity: 1;
-
 
4681
            visibility: visible;
-
 
4682
        }
-
 
4683
    }
-
 
4684
    &.always-hidden {
-
 
4685
        hr {
-
 
4686
            opacity: 0;
-
 
4687
            visibility: hidden;
-
 
4688
        }
-
 
4689
    }
-
 
4690
    &:hover,
-
 
4691
    &:focus,
-
 
4692
    &:focus-within {
-
 
4693
        .divider-content {
-
 
4694
            opacity: 1;
-
 
4695
            visibility: visible;
-
 
4696
        }
-
 
4697
        hr {
-
 
4698
            opacity: 1;
-
 
4699
            visibility: visible;
-
 
4700
        }
-
 
4701
    }
-
 
4702
    // Style the hr divider when the "Add content" button is hovered.
-
 
4703
    &:has(.btn.add-content:hover) {
-
 
4704
        hr {
-
 
4705
            border-color: $divider-hover-color;
-
 
4706
        }
-
 
4707
    }
-
 
4708
}
-
 
4709
 
-
 
4710
// These styles will make the activity and section dividers buttons visible (but still without opacity) so
-
 
4711
// buttons can be keyboard focusable.
-
 
4712
.activity:focus-within + .activity .divider .divider-content,
-
 
4713
.course-section-header:focus-within + .content .section .activity:first-child .divider .divider-content,
-
 
4714
.content .section .activity:focus-within .divider .divider-content,
-
 
4715
.course-content:focus-within .changenumsections .divider .divider-content {
-
 
4716
    visibility: visible;
-
 
4717
}
-
 
4718
 
-
 
4719
// Hide last section "Add section". It will rely on the course format general "Add section" button.
-
 
4720
.course-content ul.topics > li:last-child .changenumsections {
-
 
4721
    display: none;
-
 
4722
}
-
 
4723
 
-
 
4724
// Custom buttons for dividers.
-
 
4725
.btn.add-content {
-
 
4726
    position: relative;
-
 
4727
    z-index: 1;
-
 
4728
    @include border-radius($rounded-pill);
-
 
4729
    font-size: $font-size-sm;
-
 
4730
    font-weight: bold;
-
 
4731
    color: theme-color-level("primary", $alert-color-level);
-
 
4732
    background-color: theme-color-level("primary", $alert-bg-level);
-
 
4733
    border: 0;
-
 
4734
    &:hover,
-
 
4735
    &:focus {
-
 
4736
        color: color-yiq($primary);
-
 
4737
        background-color: $primary;
-
 
4738
    }
-
 
4739
    .icon {
-
 
4740
        font-size: 16px;
-
 
4741
    }
-
 
4742
}
-
 
4743
 
-
 
4744
/* Course section */
-
 
4745
 
-
 
4746
.course-section {
-
 
4747
    list-style: none;
-
 
4748
    //margin-top: map-get($spacers, 3);
-
 
4749
    // Custom styles for course sections while editing.
-
 
4750
    .editing & {
-
 
4751
        margin-top: map-get($spacers, 2);
-
 
4752
    }
-
 
4753
 
-
 
4754
    .section-item {
-
 
4755
        width: 100%;
-
 
4756
        display: inline-flex;
-
 
4757
        justify-content: space-between;
-
 
4758
        align-items: center;
-
 
4759
    }
-
 
4760
 
-
 
4761
    &.hidden {
-
 
4762
        .section-item {
-
 
4763
            background-color: $gray-100;
-
 
4764
        }
-
 
4765
    }
-
 
4766
 
-
 
4767
    .sectionname > a {
-
 
4768
        &:before {
-
 
4769
            background-color: $dm-body-color;
-
 
4770
 
-
 
4771
            .theme-dark & {
-
 
4772
                background-color: $dm-body-color;
-
 
4773
            }
-
 
4774
        }
-
 
4775
 
-
 
4776
        .theme-dark & {
-
 
4777
            color: $dm-body-color;
-
 
4778
        }
-
 
4779
 
-
 
4780
        &:hover {
-
 
4781
            text-decoration: none;
-
 
4782
            text-decoration-color: $body-color;
-
 
4783
 
-
 
4784
            .theme-dark & {
-
 
4785
                text-decoration-color: $dm-body-color;
-
 
4786
            }
-
 
4787
        }
-
 
4788
    }
-
 
4789
 
-
 
4790
    .sectionbadges .badge {
-
 
4791
        margin-left: map-get($spacers, 2);
-
 
4792
        font-weight: normal;
-
 
4793
        .icon {
-
 
4794
            font-size: 12px;
-
 
4795
            width: 12px;
-
 
4796
            height: 12px;
-
 
4797
        }
-
 
4798
    }
-
 
4799
 
-
 
4800
    .course-section-header.draggable {
-
 
4801
        cursor: move;
-
 
4802
    }
-
 
4803
 
-
 
4804
    .section_action_menu {
-
 
4805
        .dropdown-toggle::after {
-
 
4806
            display: none;
-
 
4807
        }
-
 
4808
    }
-
 
4809
 
-
 
4810
    .summarytext {
-
 
4811
        // Add rounded borders to images.
-
 
4812
        img {
-
 
4813
            @include border-radius($activity-border-radius);
-
 
4814
        }
-
 
4815
    }
-
 
4816
}
-
 
4817
 
-
 
4818
.rui-course-header {
-
 
4819
    .single-section-page & {
-
 
4820
        display: none;
-
 
4821
        visibility: hidden;
-
 
4822
    }
-
 
4823
}
-
 
4824
 
-
 
4825
.course-section.main.section-summary {
-
 
4826
    position: relative;
-
 
4827
 
-
 
4828
    h3.sectionname {
-
 
4829
        font-size: $font-size-lg;
-
 
4830
        font-weight: $font-weight-medium;
-
 
4831
    }
-
 
4832
}
-
 
4833
 
-
 
4834
.section-summary-activities {
-
 
4835
    &:empty {
-
 
4836
        display: none;
-
 
4837
    }
-
 
4838
 
-
 
4839
    font-size: $font-size-sm;
-
 
4840
}
-
 
4841
 
-
 
4842
.course-content li.section li.activity ul {
-
 
4843
    margin: 0 0 10px!important;
-
 
4844
}
-
 
4845
 
-
 
4846
.modtype_subsection {
-
 
4847
    h3.sectionname {
-
 
4848
        font-size: $font-size-md!important;
-
 
4849
    }
-
 
4850
 
-
 
4851
    .section-summary {
-
 
4852
        margin-bottom: 0!important;
-
 
4853
        background-color: $gray-100;
-
 
4854
        border: 0;
-
 
4855
 
-
 
4856
        .theme-dark & {
-
 
4857
            background-color: $dm-gray-100;
-
 
4858
            border: 0;
-
 
4859
        }
-
 
4860
    }
4335
}
4861
}
4336
4862