on-demand release 3.2beta+
[moodle.git] / theme / boost / scss / moodle / backup-restore.scss
CommitLineData
17553c63
FM
1.path-backup .mform {
2 fieldset {
3 margin-left: 0;
4 }
f4143537 5
17553c63
FM
6 .grouped_settings {
7 clear: both;
8 overflow: hidden;
9
10 &.section_level {
11 @extend .card;
12 @extend .card-block;
13 }
14 }
536f0460 15}
f4143537 16
17553c63
FM
17.path-backup {
18 .include_setting,
19 .grouped_settings .normal_setting {
20 display: inline-block;
21 width: 50%;
22
23 .form-group {
24 margin-top: 0;
25 margin-bottom: 0;
26 }
27 }
28
29 .include_setting.section_level label {
30 font-weight: bold;
31 }
536f0460
DW
32}
33
17553c63
FM
34@include media-breakpoint-up(md) {
35 /* Override the columns width to leave more room for the labels. */
36 .path-backup .mform {
37 .grouped_settings {
38 .form-group {
39 .col-md-3 {
40 width: 75%;
41 }
42 .col-md-9 {
43 width: 25%;
44 }
45 }
46 }
47 }
536f0460 48}
f4143537 49
536f0460
DW
50.path-backup .mform .fitem .fitemtitle {
51 width: 260px;
52}
f4143537 53
536f0460
DW
54.path-backup .notification.dependencies_enforced {
55 text-align: center;
56 color: $state-danger-text;
57 font-weight: bold;
58}
f4143537 59
536f0460
DW
60.path-backup .backup_progress {
61 text-align: center;
17553c63
FM
62 margin-top: $spacer-y;
63 margin-bottom: $spacer-y;
f4143537 64
17553c63
FM
65 .backup_stage {
66 @extend .text-muted;
f4143537 67
17553c63
FM
68 &.backup_stage_current {
69 font-weight: bold;
70 color: inherit;
71 }
72 }
536f0460 73}
f4143537 74
536f0460
DW
75.path-backup .backup_progress span.backup_stage.backup_stage_complete {
76 color: inherit;
77}
f4143537 78
536f0460
DW
79#page-backup-restore .filealiasesfailures {
80 background-color: $state-danger-bg;
f4143537 81
17553c63
FM
82 .aliaseslist {
83 width: 90%;
84 margin: 0.8em auto;
85 background-color: $body-bg;
86 border: 1px dotted #666;
87 }
536f0460 88}
f4143537 89
17553c63
FM
90#page-backup-restorefile h2 + div {
91 margin-bottom: $spacer-y;
536f0460 92}
f4143537 93
17553c63
FM
94.backup-restore {
95 .backup-section,
96 .backup-sub-section {
97 margin-top: $spacer-y;
98 }
f4143537 99
17553c63
FM
100 .backup-section {
101 span.error {
102 @extend .alert;
103 @extend .alert-danger;
104 display: inline-block;
105 }
106
107 fieldset.error {
108 border: $border-width solid $state-danger-border;
109 }
110
111 .noticebox {
112 margin: 1em auto;
113 width: 60%;
114 text-align: center;
115 }
116 }
536f0460 117}
f4143537 118
17553c63
FM
119.backup-restore .backup-section.settings-section {
120 .detail-pair {
121 width: 50%;
122 display: inline-block;
123 }
f4143537 124
17553c63
FM
125 .detail-pair-label {
126 width: 75%;
127 }
128
129 .detail-pair-value {
130 width: 25%;
131 }
536f0460 132}
f4143537 133
536f0460
DW
134.backup-restore .activitytable {
135 min-width: 500px;
f4143537 136
17553c63
FM
137 .modulename {
138 width: 100px;
139 }
f4143537 140
17553c63
FM
141 .moduleincluded {
142 width: 50px;
143 }
f4143537 144
17553c63
FM
145 .userinfoincluded {
146 width: 50px;
147 }
536f0460 148}
f4143537 149
536f0460
DW
150.backup-restore .detail-pair-label {
151 display: inline-block;
152 width: 25%;
153 padding: 8px;
154 margin: 0;
155 text-align: right;
156 font-weight: bold;
157 vertical-align: top;
158}
f4143537 159
536f0460
DW
160.backup-restore .detail-pair-value {
161 display: inline-block;
162 width: 65%;
163 padding: 8px;
164 margin: 0;
f4143537 165
17553c63
FM
166 > .sub-detail {
167 display: block;
168 font-size: $font-size-sm;
169 @extend .text-muted;
170 }
536f0460 171}
f4143537 172
536f0460 173.backup-restore > .singlebutton {
17553c63 174 float: right;
536f0460 175}
f4143537 176
17553c63
FM
177.path-backup .mform {
178 .proceedbutton,
536f0460
DW
179 .oneclickbackup {
180 float: right;
181 }
182}
f4143537 183
536f0460
DW
184.restore-course-search .rcs-results {
185 width: 70%;
186 min-width: 400px;
f4143537 187
17553c63
FM
188 table {
189 width: 100%;
190 margin: 0;
191 border-width: 0;
f4143537 192
17553c63
FM
193 .no-overflow {
194 max-width: 600px;
195 }
196 }
f4143537 197
17553c63
FM
198 .paging {
199 text-align: left;
200 margin: 0;
201 background-color: #eee;
202 padding: 3px;
203 }
536f0460 204}
f4143537 205
536f0460
DW
206.restore-course-category .rcs-results {
207 width: 70%;
208 min-width: 400px;
209 border: 1px solid #ddd;
210 margin: 5px 0;
f4143537 211
17553c63
FM
212 table {
213 width: 100%;
214 margin: 0;
215 border-width: 0;
216 .no-overflow {
217 max-width: 600px;
218 }
219 }
f4143537 220
17553c63
FM
221 .paging {
222 text-align: left;
223 margin: 0;
224 background-color: #eee;
225 padding: 3px;
226 }
536f0460 227}
f4143537 228
536f0460
DW
229.path-backup .wibbler {
230 width: 500px;
231 margin: 0 auto 10px;
232 border-bottom: 1px solid black;
233 border-right: 1px solid black;
234 border-left: 1px solid black;
235 position: relative;
236 min-height: 4px;
f4143537 237
17553c63
FM
238 .wibble {
239 position: absolute;
240 left: 0;
241 right: 0;
242 top: 0;
243 height: 4px;
244 }
f4143537 245
17553c63
FM
246 .state0 {
247 background: #eee;
248 }
249 .state1 {
250 background: #ddd;
251 }
252 .state2 {
253 background: #ccc;
254 }
255 .state3 {
256 background: #bbb;
257 }
258 .state4 {
259 background: #aaa;
260 }
261 .state5 {
262 background: #999;
263 }
264 .state6 {
265 background: #888;
266 }
267 .state7 {
268 background: #777;
269 }
270 .state8 {
271 background: #666;
272 }
273 .state9 {
274 background: #555;
275 }
276 .state10 {
277 background: #444;
278 }
279 .state11 {
280 background: #333;
281 }
282 .state12 {
283 background: #222;
284 }
536f0460 285}
f4143537 286
536f0460
DW
287.path-backup .backup_log {
288 margin-top: 2em;
f4143537 289
17553c63
FM
290 h2 {
291 font-size: 1em;
292 }
536f0460 293}
f4143537 294
536f0460 295.path-backup .backup_log_contents {
17553c63
FM
296 border: $border-width solid $card-border-color;
297 padding: $spacer;
536f0460
DW
298 height: 300px;
299 overflow-y: scroll;
17553c63 300}