forked from quoid/userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.css
More file actions
159 lines (137 loc) · 2.81 KB
/
Copy pathsettings.css
File metadata and controls
159 lines (137 loc) · 2.81 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#settings {
align-items: center;
background-color: rgba(0, 0, 0, 0.45);
display: flex;
height: 100%;
justify-content: center;
left: 0;
opacity: 0;
position: absolute;
top: 0;
/* this is the "transition out" */
transition: visibility 375ms linear 0s, opacity 150ms linear 0s;
visibility: hidden;
width: 100%;
}
.modal {
background-color: var(--bg-sidebar);
border-radius: var(--border-radius);
color: var(--fc2);
font-weight: 300;
letter-spacing: var(--ls2);
max-height: 80%;
opacity: 0;
overflow-y: auto;
transform: translateY(50px);
transition: opacity 150ms linear 75ms, transform 150ms ease-in-out 75ms;
width: 440px;
}
.modal .title {
align-items: center;
border-bottom: 1px solid var(--border-dark);
color: var(--fc1);
display: flex;
font: var(--fs3);
letter-spacing: var(--ls3);
padding: 16px 16px 7px 16px;
}
.modal .title div:not(.icon) {
flex: 1;
}
.modal .row {
align-items: center;
border-bottom: 1px solid var(--border-dark);
display: flex;
font-size: 14px;
line-height: 16px;
padding: 16px;
}
.modal .row > div {
flex-grow: 1;
}
.modal p {
margin: 0 16px 24px 16px;
}
/* target the last title element (for info) and custom style */
.modal .modal-section:last-child .title {
border: none;
margin-top: 8px;
}
body.settings #settings {
opacity: 1;
/* this is the "transition in" */
transition: visibility 0s linear 0s, opacity 150ms linear 0s;
visibility: visible;
}
body.settings #settings .modal {
opacity: 1;
transform: translateY(0);
}
#blacklist {
flex-wrap: wrap;
}
#blacklistStatus {
align-items: center;
display: flex;
}
#blacklistStatus > div {
display: none;
font-size: 13px;
margin-left: 8px;
opacity: 0.50;
}
#blacklistStatus svg {
display: none;
height: 12px;
margin-left: 8px;
width: 12px;
}
#blacklistStatus.saving svg {
display: block;
}
#blacklistStatus.saved > div {
display: block;
}
textarea {
background-color: var(--border-dark);
border: none;
border-radius: 3px;
color: inherit;
display: block;
flex-basis: 100%;
font-family: var(--editor-font);
font-size: 13px;
height: 64px;
line-height: 16px;
margin-top: 8px;
opacity: 0.75;
padding: 8px;
width: 100%;
}
textarea:focus {
opacity: 1;
outline: none;
}
.modal .row > div[data-localize="settingSaveLocation"] {
flex-grow: 0;
}
.saveLocationContainer {
display: flex;
}
#saveLocation {
display: block;
font-size: 13px;
max-width: 280px;
margin-left: auto;
text-align: right;
}
#changeSaveLocation {
flex-grow: 0;
height: 16px;
margin-left: 8px;
width: 16px;
}
#changeSaveLocation svg {
height: 100%;
width: auto;
}