-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbookmarkAutoHide.css
executable file
·69 lines (57 loc) · 1.7 KB
/
bookmarkAutoHide.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
#PersonalToolbar:not([customizing]) {
position: fixed !important;
margin-top: -44px !important;
padding-bottom: 5px !important;
height: 40px !important;
width: 100% !important;
border: none !important;
transform: scaleY(0.8);
transform-origin: center bottom;
transition: transform cubic-bezier(.22,.61,.36,1) 0.15s !important;
z-index: 2;
}
#PersonalToolbar:not([customizing]) #personal-bookmarks {
opacity: 0;
transition: opacity 0.15s;
}
#titlebar {
z-index: 4 !important;
}
#nav-bar {
z-index: 3 !important;
}
/* bring up nav-bar z-index when megabar is open */
#nav-bar[urlbar-exceeds-toolbar-bounds="true"] {
z-index: 5 !important;
}
.tabbrowser-tab[selected="true"] {
z-index: 4 !important;
}
#navigator-toolbox:hover > #PersonalToolbar:not([customizing]) {
position: fixed !important;
transform: translateY(100%) scaleY(1);
}
#navigator-toolbox:hover > #PersonalToolbar:not([customizing]) #personal-bookmarks {
opacity: 1;
}
/* compact theme */
:root[lwtheme="true"] #PersonalToolbar:not([customizing]) {
top: var(--toolbar-offset-height) !important;
}
/* compact + titlebar active */
:root[lwtheme="true"]:not([tabsintitlebar="true"])
#nav-bar ~ #PersonalToolbar:not([customizing]) {
top: var(--toolbar-offset-height) !important;
}
/* default theme */
:root:not([lwtheme="true"]) #PersonalToolbar:not([customizing]) {
top: var(--toolbar-offset-height) !important;
}
/* default + titlebar active */
:root:not([lwtheme="true"]):not([tabsintitlebar="true"])
#nav-bar ~ #PersonalToolbar:not([customizing]) {
top: var(--toolbar-offset-height) !important;
}
#tabbrowser-tabs {
margin-left: 6px !important;
}