forked from libccy/vivaldi-tweak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
executable file
·115 lines (106 loc) · 2.45 KB
/
custom.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
#browser:not(.address-off) #main>.toolbar {
position: absolute;
width: 500px;
left: calc(50% - 250px);
margin: 0;
box-shadow: rgba(0,0,0,0.4) 0 6px 24px;
background: white;
top: 8px;
z-index: 2;
transition: all 0.2s;
opacity: 0;
transform: translateY(-50px);
}
#browser:not(.address-off) #main>.toolbar>.toolbar,
#browser:not(.address-off) #main>.toolbar>.searchfield {
display: none;
}
#browser:not(.address-off) #main>.toolbar::after {
height: 0px;
}
#browser:not(.address-off) #main>.toolbar.vt-shown,
#browser:not(.address-off) #main>.toolbar.vt-shown2,
#browser:not(.address-off) #main>.toolbar.vt-shown3 {
opacity: 1;
transform: translateY(0px);
}
#browser.popup .toolbar-addressbar + div .webpageview {
top: 0px;
}
#vt-toolbar-toggle {
z-index: 2;
position: absolute;
opacity: 0;
left: 0;
top: 0;
width: 100%;
height: 3px;
}
#window-panel .vt-tab-strip {
max-height: 50%;
overflow: scroll;
}
#window-panel .vt-tab-strip>div {
display: inline-block;
height: 100px;
width: calc(50% - 6px);
margin-left: 4px;
box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 1px inset;
border-radius: 4px;
position: relative;
}
#window-panel .vt-tab-strip>div.active{
box-shadow: #0d7ebf 0 0 0 2px inset;
}
#window-panel .vt-tab-strip>div:nth-of-type(1) {
margin-top: 4px;
}
#window-panel .vt-tab-strip>div>.close {
position: absolute;
width: 18px;
height: 18px;
background-color: rgba(230, 230, 230, 0.8);
border-radius: 100%;
opacity: 0;
left: 4px;
top: 4px;
display: inline-block;
}
#window-panel .vt-tab-strip>div:hover>.close {
opacity: 1;
}
#window-panel .vt-tab-strip>div>.close:hover {
background-color: rgba(200, 200, 200, 0.8);
opacity: 1;
}
#window-panel .vt-tab-strip>div>.thumbnail {
width: calc(100% - 4px);
height: calc(100% - 4px);
left: 2px;
top: 2px;
position: absolute;
background-size: cover;
border-radius: 2px;
}
#tabs-container {
width: 1px !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
}
#panels-container.left {
margin-right: -2px !important;
}
#panels-container.right {
margin-left: -2px !important;
}
#browser.native:not(.mac) #header {
position: absolute;
z-index: 1;
}
#browser.native:not(.mac).tabs-right #header {
right: 34px;
}
#browser.native:not(.mac) #switch button:first-child {
margin-top: 28px;
}