Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
/* reports.less */
2
 
3
// The home for small tweaks to reports that don't require
4
// changes drastic enough to pull in the full module css
5
// and replace it completely.
6
 
7
#page-report-participation-index .participationselectform div label { // Using 'div' here to override the report styles.css
8
    display: inline-block;
9
    margin: 0 5px; // No top and bottom margin with a 5px left and right for LTR and RTL.
10
}
11
 
12
#page-report-participation-index .participationselectform div label[for=menuinstanceid] {
13
    margin-left: 0; // No left margin for LTR.
14
}
15
 
16
#page-report-outline-user {
17
    .main-content {
18
        .section {
19
            margin: 1rem auto;
20
            padding: 1rem;
21
            border: 1px solid $border-color;
22
            border-radius: $btn-border-radius;
23
 
24
            .theme-dark & {
25
                border-color: $dm-border-color;
26
            }
27
 
28
            .content {
29
                margin: 1rem 0;
30
 
31
                table {
32
                    width: 100%;
33
                    font-size: $font-size-xs;
34
 
35
                    td {
36
                        vertical-align: middle!important;
37
 
38
                        &:nth-child(1) {
39
                            width: max-content;
40
 
41
                            .rui-icon {
42
                                margin-right: 0;
43
                            }
44
                        }
45
 
46
                        &:nth-child(2) {
47
                            max-width: 300px!important;
48
                            font-size: $font-size-sm;
49
                            font-weight: $font-weight-medium;
50
                        }
51
 
52
                        &:nth-child(6) {
53
                            max-width: 300px!important;
54
                            color: $body-color-light;
55
                            white-space: normal!important;
56
 
57
                            .theme-dark & {
58
                                color: $dm-body-color-light;
59
                            }
60
                        }
61
                    }
62
                }
63
            }
64
 
65
            h2 {
66
                margin: 0;
67
                padding: .35rem .45rem;
68
                display: inline-block;
69
 
70
                background-color: $gray-100;
71
                border-radius: $btn-border-radius;
72
 
73
                font-size: $font-size-sm;
74
                font-weight: $font-weight-bold;
75
 
76
                .theme-dark & {
77
                    background-color: $dm-gray-100;
78
                }
79
            }
80
 
81
            h4 {
82
                width: calc(100% + 2rem);
83
                margin-left: -1rem;
84
                margin-top: 1rem;
85
                padding-top: 1rem;
86
                padding-left: 1rem;
87
                padding-right: 1rem;
88
 
89
                border-top: 2px solid $border-color;
90
 
91
                .theme-dark & {
92
                    border-color: $dm-border-color;
93
                }
94
            }
95
 
96
            .rui-icon {
97
                margin-right: 8px;
98
            }
99
 
100
            ul {
101
                margin-left: 23px;
102
                font-size: $font-size-sm;
103
            }
104
 
105
        }
106
    }
107
}
108
 
109
.export-actions a {
110
    margin-top: .5rem;
111
}
112
 
113
#page-report-log-index .logselecform {
114
    margin-bottom: $page-padding-global
115
}
116
 
117
#page-report-completion-index {
118
    .rui-main-content-title--h3 {
119
        margin-bottom: $page-padding-global;
120
    }
121
 
122
    .urlselect .urlselect {
123
        margin-bottom: 0!important;
124
    }
125
}
126
 
127
 
128
/* Log live report table */
129
.reportloglive {
130
    .c0 {
131
        font-size: $font-size-xs;
132
        color: $body-color-light;
133
    }
134
}
135
 
136
#page-report-progress-index {
137
    .main-content {
138
        div.urlselect {
139
            display: inline-flex;
140
            margin-right: 2rem!important;
141
            width: auto;
142
        }
143
    }
144
}