/
violentmonkey.oneline.css
71 lines (60 loc) · 1.21 KB
/
violentmonkey.oneline.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
/* 以下をViolentmonkeyの設定 -> 高度な設定 -> カスタムスタイル に貼り付けてください */
.script {
display: flex;
height: auto;
padding: 0 10px;
margin: 0;
border: none;
border-radius: 0;
}
.script.removed {
padding-bottom: unset;
}
.script.disabled,
.script.removed {
background: unset;
}
.script:hover {
background: #e6e6e6;
}
.script-icon {
--icon-size: 1.8em;
position: relative;
top: unset;
width: var(--icon-size);
min-width: var(--icon-size);
height: var(--icon-size);
min-height: var(--icon-size);
margin: auto;
margin-right: 0.25em;
}
.script-icon ~ * {
margin: 0;
}
.script-info {
order: 1;
width: 100%;
}
.script-buttons {
order: 3;
min-width: calc(30px * 6 + 15px + 30px);
}
.script-message {
position: absolute;
left: 40%;
padding: 3px;
font-size: 90%;
white-space: nowrap;
background: #ffffff;
border-radius: 3px;
}
.script-message:empty {
padding: 0;
}
.vl-tooltip-bottom.vl-tooltip-align-start > .vl-tooltip-wrap,
.vl-tooltip-top.vl-tooltip-align-start > .vl-tooltip-wrap {
right: 0;
margin: unset;
margin-right: -10px;
text-align: right;
}