Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
.path-backup .mform {
2
    .grouped_settings {
3
        clear: both;
4
        overflow: hidden;
5
 
6
        /* Use card styles but avoid extend because that brings in too much. */
7
        &.section_level {
8
            background-color: $card-bg;
9
            @include border-radius($card-border-radius);
10
            border: $card-border-width solid $card-border-color;
11
            @include clearfix;
12
            padding: $card-spacer-x;
13
            margin-bottom: $card-spacer-x;
14
        }
1441 ariadna 15
 
16
        &.subsection_level {
17
            background-color: $card-bg;
18
            @include border-radius($card-border-radius);
19
            border: $card-border-width solid $card-border-color;
20
            @include clearfix;
21
            padding: $card-spacer-x;
22
            margin: 0 $card-spacer-x $card-spacer-x $card-spacer-x;
23
        }
1 efrain 24
    }
25
 
1441 ariadna 26
    $table-cell-padding-sm: .3rem !default;
27
 
1 efrain 28
    /* These are long labels with checkboxes on the right. */
29
    .include_setting {
30
        width: 50%;
31
        display: inline-block;
32
        float: left;
33
        padding: $table-cell-padding-sm;
34
    }
35
    .normal_setting {
36
        width: 50%;
37
        display: inline-block;
38
        float: left;
39
        padding: $table-cell-padding-sm;
40
    }
41
}
42
 
43
.path-backup {
44
    /* Bold section labels */
45
    .section_level {
46
        font-weight: bold;
47
    }
48
    .section_level .activity_level {
49
        font-weight: normal;
50
    }
51
    .proceedbutton {
52
        margin-left: auto;
53
    }
54
}
55
 
56
/* Override the columns width to leave more room for the labels. */
57
.path-backup .mform {
1441 ariadna 58
    fieldset {
59
        padding: map-get($spacers, 3) 0;
60
    }
61
    .grouped_settings.activity_level {
1 efrain 62
        /* Striped rows like a table */
63
        &:nth-of-type(odd) {
1441 ariadna 64
            background-color: $table-striped-bg;
1 efrain 65
        }
66
        &:nth-of-type(even) {
1441 ariadna 67
            background-color: $table-accent-bg;
1 efrain 68
        }
1441 ariadna 69
    }
70
    .fcontainer {
71
        .grouped_settings,
72
        .root_setting {
73
            .fitem {
74
                margin: map-get($spacers, 1) 0 !important; /* stylelint-disable declaration-no-important */
75
                .col-form-label {
76
                    padding-top: 0;
77
                }
78
                /* These checkboxes with no label on the left. */
79
                .col-md-3.checkbox {
80
                    width: 0%;
81
                }
82
                .col-md-9.checkbox {
83
                    width: 100%;
84
                    left: 0;
85
                }
1 efrain 86
            }
87
        }
88
    }
89
}
90
 
91
/* Detail pair is (usually) some short label with a longer value */
92
.path-backup .detail-pair {
93
    .detail-pair-label {
94
        width: 25%;
95
        float: left;
96
        clear: left;
97
    }
98
    .detail-pair-value {
99
        width: 75%;
100
        float: left;
101
    }
102
}
103
 
104
.path-backup .backup-restore .singlebutton {
105
    float: right;
106
}
107
/* Make these bits full width and work with the detail-pair */
108
.path-backup .backup-section {
109
    .sub-header,
110
    .backup-sub-section,
111
    .singlebutton,
112
    .header {
113
        width: 100%;
114
        float: left;
115
        clear: both;
116
    }
117
    /* Fix for nested table headers */
118
    th.header {
119
        width: auto;
120
        float: none;
121
    }
122
 
123
    /* Add card styles to backup sections */
124
    ::after {
125
        content: "";
126
        display: table;
127
        clear: both;
128
    }
129
 
130
    background-color: $card-bg;
131
    @include border-radius($card-border-radius);
132
    border: $card-border-width solid $card-border-color;
133
    @include clearfix;
134
    padding: $card-spacer-x;
135
    margin-bottom: $card-spacer-x;
136
}
137
 
138
.path-backup .notification.dependencies_enforced {
139
    color: $danger;
140
    font-weight: bold;
141
}
142
 
143
.path-backup .backup_progress {
144
    margin-top: $spacer;
145
    margin-bottom: $spacer;
146
 
147
    .backup_stage {
148
        color: $text-muted;
149
 
150
        &.backup_stage_current {
151
            font-weight: bold;
152
            color: inherit;
153
        }
154
    }
155
}
156
 
157
.path-backup .backup_progress span.backup_stage.backup_stage_complete {
158
    color: inherit;
159
}
160
 
161
#page-backup-restore .filealiasesfailures {
162
    background-color: $state-danger-bg;
163
 
164
    .aliaseslist {
165
        background-color: $body-bg;
166
    }
167
}
168
 
169
 
170
.path-backup .wibbler {
171
    width: 500px;
172
    margin: 0 auto 10px;
173
    border-bottom: 1px solid $backup-restore-wibbler-border-color;
174
    border-right: 1px solid $backup-restore-wibbler-border-color;
175
    border-left: 1px solid $backup-restore-wibbler-border-color;
176
    position: relative;
177
    min-height: 4px;
178
 
179
    .wibble {
180
        position: absolute;
181
        left: 0;
182
        right: 0;
183
        top: 0;
184
        height: 4px;
185
    }
186
 
187
    .state0 {
188
        background: $backup-restore-state0-bg;
189
    }
190
    .state1 {
191
        background: $backup-restore-state1-bg;
192
    }
193
    .state2 {
194
        background: $backup-restore-state2-bg;
195
    }
196
    .state3 {
197
        background: $backup-restore-state3-bg;
198
    }
199
    .state4 {
200
        background: $backup-restore-state4-bg;
201
    }
202
    .state5 {
203
        background: $backup-restore-state5-bg;
204
    }
205
    .state6 {
206
        background: $backup-restore-state6-bg;
207
    }
208
    .state7 {
209
        background: $backup-restore-state7-bg;
210
    }
211
    .state8 {
212
        background: $backup-restore-state8-bg;
213
    }
214
    .state9 {
215
        background: $backup-restore-state9-bg;
216
    }
217
    .state10 {
218
        background: $backup-restore-state10-bg;
219
    }
220
    .state11 {
221
        background: $backup-restore-state11-bg;
222
    }
223
    .state12 {
224
        background: $backup-restore-state12-bg;
225
    }
226
}