Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 2... Línea 2...
2
    width: 100%;
2
    width: 100%;
3
    margin-bottom: $spacer;
3
    margin-bottom: $spacer;
4
    color: $table-color;
4
    color: $table-color;
5
    background-color: $table-bg; // Reset for nesting within parents with `background-color`.
5
    background-color: $table-bg; // Reset for nesting within parents with `background-color`.
Línea -... Línea 6...
-
 
6
 
-
 
7
    $table-cell-padding: .75rem !default;
-
 
8
    $table-cell-padding-sm: .3rem !default;
6
 
9
 
7
    th,
10
    th,
8
    td {
11
    td {
9
        padding: $table-cell-padding;
12
        padding: $table-cell-padding;
10
        vertical-align: top;
13
        vertical-align: top;
11
        border-top: $table-border-width solid $table-border-color;
-
 
12
        .form-check {
-
 
13
            padding: 0;
-
 
14
        }
14
        border-top: $table-border-width solid $table-border-color;
Línea 15... Línea 15...
15
    }
15
    }
16
 
16
 
17
    thead th,
17
    thead th,
18
    thead td {
18
    thead td {
19
        vertical-align: bottom;
19
        vertical-align: bottom;
Línea 20... Línea 20...
20
        border-bottom: (2 * $table-border-width) solid $table-border-color;
20
        border-bottom: calc(2 * #{$table-border-width}) solid $table-border-color;
21
    }
21
    }
22
 
22
 
Línea 23... Línea -...
23
    tbody + tbody {
-
 
24
        border-top: (2 * $table-border-width) solid $table-border-color;
-
 
25
    }
-
 
26
 
-
 
27
    tbody tr:nth-of-type(#{$table-striped-order}) {
-
 
28
        background-color: $table-accent-bg;
-
 
29
    }
-
 
30
    thead .sticky-column,
-
 
31
    tbody tr:nth-of-type(even) {
-
 
32
        background-color: $white;
-
 
33
    }
23
    tbody + tbody {
34
    tbody tr:nth-of-type(#{$table-striped-order}) .sticky-column {
24
        border-top: calc(2 * #{$table-border-width}) solid $table-border-color;
35
        background-color: $table-accent-bg;
25
    }
36
    }
26
 
37
    &.table-sm {
27
    &.table-sm {
38
        th,
28
        th,
39
        td {
29
        td {
40
            padding: $table-cell-padding-sm;
30
            padding: $table-cell-padding-sm;
41
        }
-
 
42
    }
-
 
43
    tbody tr {
31
        }
44
        &:hover {
32
    }
45
            color: $table-hover-color;
33
    tbody tr {
46
            background-color: $table-hover-bg;
34
        &:hover {
47
            &.dimmed_text {
35
            &.dimmed_text {
48
                a:not(.menu-action) {
36
                a:not(.menu-action) {
49
                    color: $table-hover-color;
37
                    color: $table-hover-color;
50
                }
38
                }
51
            }
39
            }
52
            td.sticky-column {
40
            td.sticky-column {
-
 
41
                background-color: $table-hover-bg;
-
 
42
            }
-
 
43
        }
-
 
44
    }
-
 
45
    // Allow table cells to inherit text color and background color from table rows.
-
 
46
    tbody {
-
 
47
        td,
-
 
48
        th {
53
                background-color: $table-hover-bg;
49
            color: inherit;
Línea 54... Línea 50...
54
            }
50
            background-color: inherit;
55
        }
51
        }
56
    }
52
    }
Línea 69... Línea 65...
69
        left: 0;
65
        left: 0;
70
        background-color: inherit;
66
        background-color: inherit;
71
    }
67
    }
72
}
68
}
Línea 73... Línea 69...
73
 
69
 
74
.table-dynamic .loading-icon {
70
.table-dynamic > .loading-icon {
75
    position: absolute;
71
    position: absolute;
76
    left: calc(50% - 1.5rem);
72
    left: calc(50% - 1.5rem);
77
    top: 200px;
73
    top: 200px;
78
    .icon {
74
    .icon {
79
        max-height: 3rem;
75
        max-height: 3rem;
80
        max-width: 3rem;
76
        max-width: 3rem;
81
        font-size: 3rem;
77
        font-size: 3rem;
82
    }
78
    }
-
 
79
}
-
 
80
 
-
 
81
.table-responsive {
-
 
82
    // Fix dropdown menu position inside responsive tables.
-
 
83
    .dropdown {
-
 
84
        position: static !important; /* stylelint-disable-line declaration-no-important */
-
 
85
    }
-
 
86
    // Fix visually hidden text in responsive tables.
-
 
87
    .table {
-
 
88
        margin-bottom: 0;
-
 
89
        .visually-hidden,
-
 
90
        .accesshide {
-
 
91
            position: relative !important; /* stylelint-disable-line declaration-no-important */
-
 
92
            display: block;
-
 
93
        }
-
 
94
    }