Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 89... Línea 89...
89
 
89
 
90
        width: 30px;
90
        width: 30px;
91
        height: 30px;
91
        height: 30px;
Línea -... Línea 92...
-
 
92
        border-radius: 30px;
-
 
93
 
92
        border-radius: 30px;
94
        margin: 0 4px;
93
 
95
 
94
        &:hover {
96
        &:hover {
Línea 95... Línea 97...
95
            background-color: $primary-color-300;
97
            background-color: var(--primary-color-300);
96
        }
98
        }
97
 
99
 
98
        .theme-dark & {
100
        .theme-dark & {
Línea 99... Línea 101...
99
            background-color: $dm-gray-100;
101
            background-color: $dm-gray-100;
100
            color: $dm-gray-800;
102
            color: $dm-gray-800;
101
        }
103
        }
-
 
104
 
-
 
105
        .icon {
-
 
106
            font-size: 12px;
-
 
107
            line-height: 20px;
-
 
108
            color: $gray-800;
102
 
109
 
103
        .icon {
110
            .theme-dark & {
Línea 104... Línea 111...
104
            font-size: 12px;
111
                color: $dm-gray-800;
105
            line-height: 20px;
112
            }
Línea 117... Línea 124...
117
 
124
 
118
        &.courseindex-section-title {
125
        &.courseindex-section-title {
119
            padding: 0;
126
            padding: 0;
Línea -... Línea 127...
-
 
127
        }
-
 
128
 
-
 
129
        .icon {
-
 
130
            font-size: 12px;
120
        }
131
        }
121
 
132
 
122
        &.courseindex-section-title a {
133
        &.courseindex-section-title a {
123
            font-weight: $font-weight-bold;
134
            font-weight: $font-weight-bold;
124
            font-size: 14px;
135
            font-size: 14px;
Línea 187... Línea 198...
187
 
198
 
188
                .icon {
199
                .icon {
189
                    padding: 4px;
200
                    padding: 4px;
190
                    width: 16px;
201
                    width: 16px;
-
 
202
                    height: 16px;
191
                    height: 16px;
203
                    font-size: 14px;
192
                }
204
                }
193
            }
205
            }
Línea 194... Línea 206...
194
        }
206
        }
195
 
207
 
196
        // Current page item.
208
        // Current page item.
197
        &.pageitem {
209
        &.pageitem {
198
            &:before {
210
            &:before {
199
                content: '';
211
                content: '';
200
                position: absolute;
212
                position: absolute;
201
                top: calc(50% - 4px);
213
                top: calc(50% - 4px);
202
                left: -35px;
214
                left: -23px;
203
                z-index: 1;
215
                z-index: 1;
204
                background-color: $primary-color-400;
216
                background-color: var(--primary-color-400);
205
                width: 8px;
217
                width: 8px;
206
                height: 8px;
218
                height: 8px;
Línea 267... Línea 279...
267
            }
279
            }
268
        }
280
        }
Línea 269... Línea 281...
269
 
281
 
270
        &.indented {
282
        &.indented {
271
            padding: 4px 2px !important;
283
            padding: 4px 2px !important;
Línea 272... Línea 284...
272
            margin-left: 27px;
284
            margin-left: 20px;
273
 
285
 
274
            .courseindex-link {
286
            .courseindex-link {
275
                font-size: 12px;
287
                font-size: 12px;
Línea 280... Línea 292...
280
 
292
 
281
    // The full section collapsable.
293
    // The full section collapsable.
282
    .courseindex-section {
294
    .courseindex-section {
283
        border-radius: $btn-border-radius;
295
        border-radius: $btn-border-radius;
-
 
296
        margin-left: 4px;
284
        margin-left: 4px;
297
        margin-right: 10px;
Línea 285... Línea 298...
285
        margin-bottom: 5px;
298
        margin-bottom: 5px;
Línea 286... Línea 299...
286
 
299
 
287
        @include courseindex-item-dragging();
300
        @include courseindex-item-dragging();
288
 
301
 
289
        .current-badge {
302
        .current-badge {
290
            font-size: 11px;
303
            font-size: 11px;
291
            font-weight: $font-weight-medium;
304
            font-weight: $font-weight-medium;
-
 
305
            line-height: $line-height-base;
-
 
306
            border-radius: $btn-border-radius - 3px;
-
 
307
            display: none;
-
 
308
 
292
            line-height: $line-height-base;
309
            color: $yellow-800;
293
            border-radius: $btn-border-radius - 3px;
310
            background-color: $yellow-100;
294
            display: none;
311
 
-
 
312
            position: absolute;
-
 
313
            top: 0;
-
 
314
            right: -20px;
-
 
315
 
295
            position: absolute;
316
            padding: 3px;
Línea 296... Línea 317...
296
            top: 4px;
317
            text-align: center;
297
            right: 4px;
318
            box-sizing: content-box;
298
        }
319
        }
299
 
-
 
300
        &.current {
-
 
301
            position: relative;
-
 
302
            color: $drawer-nav-btn-text-hover;
-
 
303
 
320
 
304
            background-color: $gray-100;
-
 
Línea 305... Línea 321...
305
 
321
        &.current {
306
            .theme-dark & {
322
            position: relative;
307
                background-color: $dm-gray-200;
323
            color: $drawer-nav-btn-text-hover;
308
            }
324
            border-left: 3px solid var(--main-theme-color);
Línea 323... Línea 339...
323
            }
339
            }
324
        }
340
        }
325
    }
341
    }
Línea 326... Línea 342...
326
 
342
 
327
    .courseindex-sectioncontent {
343
    .courseindex-sectioncontent {
328
        padding: 3px 3px 20px 46px;
344
        padding: 3px 3px 20px 38px;
Línea 329... Línea 345...
329
    }
345
    }
330
 
346
 
331
    // Element visible only on editing mode.
347
    // Element visible only on editing mode.
Línea 354... Línea 370...
354
            margin: 0.5rem 0;
370
            margin: 0.5rem 0;
355
        }
371
        }
356
    }
372
    }
357
}
373
}
Línea 358... Línea -...
358
 
-
 
359
// @include media-breakpoint-up(lmd) {
-
 
360
// .btn-drawer--left {
-
 
361
//     .drawer-open-index--open &,
-
 
362
//     .drawer-courseindex--open & {
-
 
363
//         display: none;
-
 
364
//     }
-
 
365
// }
-
 
366
// }
-
 
367
 
374
 
368
.drawerheadercontent {
375
.drawerheadercontent {
Línea 369... Línea 376...
369
    position: absolute;
376
    position: absolute;
370
 
377