-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathbackup.css
More file actions
92 lines (76 loc) · 1.69 KB
/
backup.css
File metadata and controls
92 lines (76 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#backup-panel section {
padding: 8px;
}
#backup-panel section:not(:last-child) {
border-bottom: 1px dotted rgb(var(--active-grey));
}
#backup-panel form {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
row-gap: 8px;
margin-block-start: 0;
margin-block-end: 8px;
}
#backup-panel textarea {
overflow: auto;
overflow-wrap: break-word;
padding: 8px;
border: none;
margin: 0;
background-color: rgb(var(--passive-grey));
color: rgb(var(--black));
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
font-size: smaller;
white-space: pre;
}
#backup-panel fieldset {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0;
border: none;
margin: 0;
}
#backup-panel fieldset button {
padding: 0;
border: none;
margin: 0;
background-color: inherit;
color: rgb(var(--accent));
cursor: pointer;
font-weight: bold;
}
#export-copy.copied::after {
margin-left: 1ch;
content: "Copied!";
color: rgb(var(--black));
font-weight: normal;
transition: opacity 1s;
opacity: 1;
}
#export-copy.copied.fading::after {
opacity: 0;
}
#import-submit {
display: block;
width: 100%;
text-align: center;
}
#import-submit:is(.success, .failure) {
background-color: transparent;
border-color: transparent;
font-weight: bold;
}
#import-submit.success { color: #00cf35; }
#import-submit.failure { color: #cf0000; }
#import-warning[data-force-hidden="false"],
#import-warning:where([data-hidden="false"]) {
display: flex;
justify-content: center;
}
#import-warning[data-force-hidden="true"],
#import-warning:where([data-hidden="true"]) {
display: none;
}