forked from quoid/userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.css
More file actions
103 lines (89 loc) · 1.76 KB
/
Copy patheditor.css
File metadata and controls
103 lines (89 loc) · 1.76 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
93
94
95
96
97
98
99
100
101
102
103
#editor {
background-color: var(--bg-main);
display: flex;
flex-grow: 1;
flex-direction: column;
overflow: hidden;
position: relative;
}
#code {
display: flex;
flex-basis: calc(100% - 112px); /* .editor-header @ 56px .editor-footer @ 56px */
flex-grow: 1;
flex-direction: column;
overflow: hidden;
}
.editor-header {
align-items: center;
display: flex;
padding: 16px 24px;
}
.editor-header .title {
color: rgba(255, 255, 255, 1.00);
flex: 1;
font: var(--fs4);
letter-spacing: var(--ls4);
padding-right: 24px;
}
.editor-header .tag {
margin-right: 8px;
}
#downloadScript {
margin: 0 24px;
}
body:not(.editor-css) #editor .tag.css {
display: none;
}
body:not(.editor-js) #editor .tag.js {
display: none;
}
.editor-footer {
align-items: center;
display: flex;
padding: 12px 24px;
}
.editor-footer #status {
color: var(--fc2);
flex: 1;
font: var(--fs2);
font-weight: 300;
letter-spacing: var(--ls1);
}
.editor-footer button {
background-color: transparent;
color: white;
}
#save {
color: var(--link-color);
margin-left: 24px;
margin-right: -16px;
}
.empty {
align-items: center;
background-color: var(--bg-main);
color: var(--fc4);
display: flex;
flex: 1;
font: var(--fs4);
font-weight: 300;
justify-content: center;
left: 0;
letter-spacing: var(--ls4);
height: 100%;
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.editor-css .empty,
.editor-js .empty {
display: none;
}
/* disabled editor interaction when saving */
body.saving #editor button,
body.saving #editor #code ,
body.saving #editor .icon {
cursor: default;
opacity: 0.40;
pointer-events: none;
}