-
Notifications
You must be signed in to change notification settings - Fork 0
/
properties.css
117 lines (111 loc) · 2.15 KB
/
properties.css
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
/* System-like styles */
html {
/*
background-color: -moz-Dialog;
color: -moz-DialogText;
*/
background-color: Menu;
color: MenuText;
}
html, button, input {
font: message-box;
}
body {
margin: 10px;
}
label {
margin: 1px 5px;
}
/* UI */
.grid {
display: grid;
grid-gap: 0.3em;
}
#input {
grid-template-columns: max-content auto min-content max-content;
align-items: safe center;
}
#output {
grid-template-columns: max-content auto min-content;
align-items: first baseline;
margin-top: 0.4em;
}
#url:invalid, #referer {
grid-column-end: span 2; /* Two-sell item */
box-shadow: none; /* Hide "invalid" highlighting */
}
#url:invalid + #utils-url {
display: none;
}
.utils {
white-space: nowrap;
}
.link {
text-decoration: none;
}
.icon {
vertical-align: middle;
padding-bottom: 1px;
transition: filter 100ms ease-in-out;
}
.link:hover > .icon {
filter: brightness(0.9);
}
#output > .value {
grid-column-end: span 2; /* Two-sell item */
}
#output > #direct:not(.changed) + #utils-direct {
display: none;
}
#output > #direct.changed {
grid-column-end: auto; /* One-cell item */
}
#status.canResume {
color: #090;
}
:root.darkBG #status.canResume {
color: #0b0;
}
#headers:not(:empty) {
border: 1px solid ThreeDLightShadow;
outline: 1px solid ThreeDShadow;
padding: 0 0.25em;
}
#output.hide-status > #statusLabel, #output.hide-status > #status,
#output.hide-direct > #directLabel, #output.hide-direct > #direct,
#output.hide-headers > #headersLabel, #output.hide-headers > #headers {
display: none;
}
.value {
word-break: break-all;
}
.header-spacer {
overflow: hidden;
height: 0.8em;
max-height: 0.8em;
}
.header-caption {
font-size: 1.1em;
margin: 0 0 0.1em;
cursor: pointer;
}
.header-caption:hover,
.header-caption:hover + .header-block {
opacity: 0.7;
}
.header-expanded > .header-twisty::after {
content: "+";
margin-inline-end: 2px;
}
.header-collapsed > .header-twisty::after {
content: "−";
margin-inline-end: 2px;
}
:root[lpp_notify~="fixedURL#url"] #url,
:root[lpp_notify~="fixedURL#referer"] #referer {
color: #090;
}
:root.darkBG[lpp_notify~="fixedURL#url"] #url,
:root.darkBG[lpp_notify~="fixedURL#referer"] #referer {
color: #0b0;
}