Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@font-face {
2
    font-family: 'swiper-icons';
3
    src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgA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Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA') format('woff');
4
    font-weight: 400;
5
    font-style: normal;
6
}
7
 
8
.swiper {
9
    position: relative;
10
    overflow: hidden;
11
    list-style: none;
12
    padding: 0 0 44px 0;
13
    /* Fix of Webkit flickering */
14
    z-index: 1;
15
}
16
 
17
.swiper-vertical>.swiper-wrapper {
18
    flex-direction: column;
19
}
20
 
21
.swiper-wrapper {
22
    position: relative;
23
    width: 100%;
24
    height: 100%;
25
    z-index: 1;
26
    display: flex;
27
    transition-property: transform;
28
    box-sizing: content-box;
29
}
30
 
31
.swiper-android .swiper-slide,
32
.swiper-wrapper {
33
    transform: translate3d(0px, 0, 0);
34
}
35
 
36
.swiper-pointer-events {
37
    touch-action: pan-y;
38
 
39
    &.swiper-vertical {
40
        touch-action: pan-x;
41
    }
42
}
43
 
44
.swiper-slide {
45
    flex-shrink: 0;
46
    width: 100%;
47
    height: 100%;
48
    position: relative;
49
    transition-property: transform;
50
}
51
 
52
.swiper-slide-bottom-gap {
53
    margin-bottom: 40px;
54
}
55
 
56
.swiper-slide-invisible-blank {
57
    visibility: hidden;
58
}
59
 
60
/* Auto Height */
61
.swiper-autoheight {
62
 
63
    &,
64
    .swiper-slide {
65
        height: auto;
66
    }
67
 
68
    .swiper-wrapper {
69
        align-items: flex-start;
70
        transition-property: transform, height;
71
    }
72
}
73
 
74
/* 3D Effects */
75
.swiper-3d {
76
 
77
    &,
78
    &.swiper-css-mode .swiper-wrapper {
79
        perspective: 1200px;
80
    }
81
 
82
    .swiper-wrapper,
83
    .swiper-slide,
84
    .swiper-slide-shadow,
85
    .swiper-slide-shadow-left,
86
    .swiper-slide-shadow-right,
87
    .swiper-slide-shadow-top,
88
    .swiper-slide-shadow-bottom,
89
    .swiper-cube-shadow {
90
        transform-style: preserve-3d;
91
    }
92
 
93
    .swiper-slide-shadow,
94
    .swiper-slide-shadow-left,
95
    .swiper-slide-shadow-right,
96
    .swiper-slide-shadow-top,
97
    .swiper-slide-shadow-bottom {
98
        position: absolute;
99
        left: 0;
100
        top: 0;
101
        width: 100%;
102
        height: 100%;
103
        pointer-events: none;
104
        z-index: 10;
105
    }
106
 
107
    .swiper-slide-shadow {
108
        background: rgba(0, 0, 0, 0.15);
109
    }
110
 
111
    .swiper-slide-shadow-left {
112
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
113
    }
114
 
115
    .swiper-slide-shadow-right {
116
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
117
    }
118
 
119
    .swiper-slide-shadow-top {
120
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
121
    }
122
 
123
    .swiper-slide-shadow-bottom {
124
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
125
    }
126
}
127
 
128
/* CSS Mode */
129
.swiper-css-mode {
130
    >.swiper-wrapper {
131
        overflow: auto;
132
        scrollbar-width: none;
133
        /* For Firefox */
134
        -ms-overflow-style: none;
135
 
136
        /* For Internet Explorer and Edge */
137
        &::-webkit-scrollbar {
138
            display: none;
139
        }
140
    }
141
 
142
    >.swiper-wrapper>.swiper-slide {
143
        scroll-snap-align: start start;
144
    }
145
}
146
 
147
.swiper-horizontal.swiper-css-mode {
148
    >.swiper-wrapper {
149
        scroll-snap-type: x mandatory;
150
    }
151
}
152
 
153
.swiper-vertical.swiper-css-mode {
154
    >.swiper-wrapper {
155
        scroll-snap-type: y mandatory;
156
    }
157
}
158
 
159
.swiper-centered {
160
    >.swiper-wrapper::before {
161
        content: '';
162
        flex-shrink: 0;
163
        order: 9999;
164
    }
165
 
166
    &.swiper-horizontal {
167
        >.swiper-wrapper>.swiper-slide:first-child {
168
            margin-inline-start: var(--swiper-centered-offset-before);
169
        }
170
 
171
        >.swiper-wrapper::before {
172
            height: 100%;
173
            width: var(--swiper-centered-offset-after);
174
        }
175
    }
176
 
177
    &.swiper-vertical {
178
        >.swiper-wrapper>.swiper-slide:first-child {
179
            margin-block-start: var(--swiper-centered-offset-before);
180
        }
181
 
182
        >.swiper-wrapper::before {
183
            width: 100%;
184
            height: var(--swiper-centered-offset-after);
185
        }
186
    }
187
 
188
    >.swiper-wrapper>.swiper-slide {
189
        scroll-snap-align: center center;
190
    }
191
}
192
 
193
 
194
 
195
/* a11y */
196
.swiper .swiper-notification {
197
    position: absolute;
198
    left: 0;
199
    top: 0;
200
    pointer-events: none;
201
    opacity: 0;
202
    z-index: -1000;
203
}
204
 
205
//Effect Creative
206
.swiper-creative {
207
    .swiper-slide {
208
        backface-visibility: hidden;
209
        overflow: hidden;
210
        transition-property: transform, opacity, height;
211
    }
212
}
213
 
214
//Grid
215
.swiper-grid>.swiper-wrapper {
216
    flex-wrap: wrap;
217
}
218
 
219
.swiper-grid-column>.swiper-wrapper {
220
    flex-wrap: wrap;
221
    flex-direction: column;
222
}
223
 
224
 
225
//Navigation
226
.swiper-button-prev,
227
.swiper-button-next {
228
    position: absolute;
229
    top: calc(50% - 25px);
230
    z-index: 10;
231
    cursor: pointer;
232
    display: flex;
233
    align-items: center;
234
    justify-content: center;
235
 
236
    &.swiper-button-disabled {
237
        opacity: 0.35;
238
        cursor: auto;
239
        pointer-events: none;
240
        display: none !important;
241
    }
242
}
243
 
244
.swiper-button-prev,
245
.swiper-rtl .swiper-button-next {
246
    &:after {
247
        content: '';
248
        background-color: rgba($gray-100, .5);
249
        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");
250
        background-repeat: no-repeat;
251
        background-position: center;
252
 
253
        width: 50px;
254
        height: 50px;
255
        border-radius: 50px;
256
        transition: $transition-base;
257
    }
258
 
259
    &:hover:after {
260
        background-color: rgba($gray-900, .8);
261
        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($gray-100)}' 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($gray-100)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19.25 12H5'%3E%3C/path%3E%3C/svg%3E%0A");
262
    }
263
 
264
    left: 10px;
265
    right: auto;
266
}
267
 
268
.swiper-button-next,
269
.swiper-rtl .swiper-button-prev {
270
    &:after {
271
        content: '';
272
        background-color: rgba($gray-100, .8);
273
        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='M13.75 6.75L19.25 12L13.75 17.25'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($body-color)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 12H4.75'%3E%3C/path%3E%3C/svg%3E%0A");
274
        background-repeat: no-repeat;
275
        background-position: center;
276
        width: 50px;
277
        height: 50px;
278
        border-radius: 50px;
279
        transition: $transition-base;
280
    }
281
 
282
    &:hover:after {
283
        background-color: rgba($gray-900, .8);
284
        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($gray-100)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.75 6.75L19.25 12L13.75 17.25'%3E%3C/path%3E%3Cpath stroke='#{url-friendly-colour($gray-100)}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 12H4.75'%3E%3C/path%3E%3C/svg%3E%0A");
285
        background-repeat: no-repeat;
286
    }
287
 
288
    right: 10px;
289
    left: auto;
290
}
291
 
292
.swiper-button-lock {
293
    display: none;
294
}
295
 
296
//Pagination
297
.swiper-pagination {
298
    position: absolute;
299
    text-align: center;
300
    transition: 300ms opacity;
301
    transform: translate3d(0, 0, 0);
302
    z-index: 10;
303
 
304
    &.swiper-pagination-hidden {
305
        opacity: 0;
306
    }
307
}
308
 
309
/* Common Styles */
310
.swiper-pagination-fraction,
311
.swiper-pagination-custom,
312
.swiper-horizontal>.swiper-pagination-bullets,
313
.swiper-pagination-bullets.swiper-pagination-horizontal {
314
    bottom: 10px;
315
    left: 50px;
316
    width: calc(100% - 100px);
317
}
318
 
319
/* Bullets */
320
.swiper-pagination-bullets-dynamic {
321
    overflow: hidden;
322
    font-size: 0px;
323
 
324
    .swiper-pagination-bullet {
325
        transform: scale(0.33);
326
        position: relative;
327
    }
328
 
329
    .swiper-pagination-bullet-active {
330
        transform: scale(1);
331
    }
332
 
333
    .swiper-pagination-bullet-active-main {
334
        transform: scale(1);
335
    }
336
 
337
    .swiper-pagination-bullet-active-prev {
338
        transform: scale(0.66);
339
    }
340
 
341
    .swiper-pagination-bullet-active-prev-prev {
342
        transform: scale(0.33);
343
    }
344
 
345
    .swiper-pagination-bullet-active-next {
346
        transform: scale(0.66);
347
    }
348
 
349
    .swiper-pagination-bullet-active-next-next {
350
        transform: scale(0.33);
351
    }
352
}
353
 
354
.swiper-pagination-bullet {
355
    width: 8px;
356
    height: 8px;
357
    display: inline-block;
358
    border-radius: 8px;
359
    background: $black;
360
    opacity: 0.2;
361
 
362
    .theme-dark & {
363
        background: $white;
364
    }
365
 
366
    @at-root button#{&} {
367
        border: none;
368
        margin: 0;
369
        padding: 0;
370
        box-shadow: none;
371
        appearance: none;
372
    }
373
 
374
    .swiper-pagination-clickable & {
375
        cursor: pointer;
376
    }
377
 
378
    &:only-child {
379
        display: none !important;
380
    }
381
}
382
 
383
.swiper-pagination-bullet-active {
384
    opacity: 1;
385
    width: 16px;
386
    background: var(--primary-color-500);
387
}
388
 
389
.swiper-vertical>.swiper-pagination-bullets,
390
.swiper-pagination-vertical.swiper-pagination-bullets {
391
    right: 10px;
392
    top: 50%;
393
    transform: translate3d(0px, -50%, 0);
394
 
395
    .swiper-pagination-bullet {
396
        margin: 6px 0;
397
        display: block;
398
    }
399
 
400
    &.swiper-pagination-bullets-dynamic {
401
        top: 50%;
402
        transform: translateY(-50%);
403
        width: 8px;
404
 
405
        .swiper-pagination-bullet {
406
            display: inline-block;
407
            transition: 200ms transform, 200ms top;
408
        }
409
    }
410
}
411
 
412
.swiper-horizontal>.swiper-pagination-bullets,
413
.swiper-pagination-horizontal.swiper-pagination-bullets {
414
    .swiper-pagination-bullet {
415
        margin: 0 4px;
416
    }
417
 
418
    &.swiper-pagination-bullets-dynamic {
419
        left: 50%;
420
        transform: translateX(-50%);
421
        white-space: nowrap;
422
 
423
        .swiper-pagination-bullet {
424
            transition: 200ms transform, 200ms left;
425
        }
426
    }
427
}
428
 
429
.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
430
    transition: 200ms transform, 200ms right;
431
}
432
 
433
/* Progress */
434
.swiper-pagination-progressbar {
435
    background: rgba(0, 0, 0, 0.25);
436
    position: absolute;
437
 
438
    .swiper-pagination-progressbar-fill {
439
        background: var(--primary-color-300);
440
        position: absolute;
441
        left: 0;
442
        top: 0;
443
        width: 100%;
444
        height: 100%;
445
        transform: scale(0);
446
        transform-origin: left top;
447
    }
448
 
449
    .swiper-rtl & .swiper-pagination-progressbar-fill {
450
        transform-origin: right top;
451
    }
452
 
453
    .swiper-horizontal>&,
454
    &.swiper-pagination-horizontal,
455
    .swiper-vertical>&.swiper-pagination-progressbar-opposite,
456
    &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
457
        height: 5px;
458
        width: calc(100% - 80px);
459
        left: 40px;
460
        top: 10px;
461
        border-radius: $btn-border-radius;
462
        overflow: hidden;
463
    }
464
 
465
    .swiper-vertical>&,
466
    &.swiper-pagination-vertical,
467
    .swiper-horizontal>&.swiper-pagination-progressbar-opposite,
468
    &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
469
        width: 5px;
470
        height: calc(100% - 10px);
471
        left: 5px;
472
        top: 5px;
473
        overflow: hidden;
474
        border-radius: 5px;
475
    }
476
}
477
 
478
.swiper-pagination-lock {
479
    display: none;
480
}
481
 
482
 
483
/* CSS Mode */
484
.swiper-css-mode {
485
    >.swiper-wrapper {
486
        overflow: auto;
487
        scrollbar-width: none;
488
        /* For Firefox */
489
        -ms-overflow-style: none;
490
 
491
        /* For Internet Explorer and Edge */
492
        &::-webkit-scrollbar {
493
            display: none;
494
        }
495
    }
496
 
497
    >.swiper-wrapper>.swiper-slide {
498
        scroll-snap-align: start start;
499
    }
500
}
501
 
502
.swiper-horizontal.swiper-css-mode {
503
    >.swiper-wrapper {
504
        scroll-snap-type: x mandatory;
505
    }
506
}
507
 
508
.swiper-vertical.swiper-css-mode {
509
    >.swiper-wrapper {
510
        scroll-snap-type: y mandatory;
511
    }
512
}
513
 
514
.swiper-centered {
515
    >.swiper-wrapper::before {
516
        content: '';
517
        flex-shrink: 0;
518
        order: 9999;
519
    }
520
 
521
    &.swiper-horizontal {
522
        >.swiper-wrapper>.swiper-slide:first-child {
523
            margin-inline-start: var(--swiper-centered-offset-before);
524
        }
525
 
526
        >.swiper-wrapper::before {
527
            height: 100%;
528
            width: var(--swiper-centered-offset-after);
529
        }
530
    }
531
 
532
    &.swiper-vertical {
533
        >.swiper-wrapper>.swiper-slide:first-child {
534
            margin-block-start: var(--swiper-centered-offset-before);
535
        }
536
 
537
        >.swiper-wrapper::before {
538
            width: 100%;
539
            height: var(--swiper-centered-offset-after);
540
        }
541
    }
542
 
543
    >.swiper-wrapper>.swiper-slide {
544
        scroll-snap-align: center center;
545
    }
546
}