-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
remove_megabar.css
66 lines (58 loc) · 2.09 KB
/
remove_megabar.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
/* REMOVE MEGABAR START
* VERSION 1.0.7
* CODE AT: http://userchrome.wesleybranton.com/megabar
* RELEASE NOTES: http://userchrome.wesleybranton.com/notes/megabar */
@-moz-document url(chrome://browser/content/browser.xhtml) {
/* DISABLE EXPANDING START */
#urlbar[breakout][breakout-extend] {
top: calc(var(--urlbar-container-height) * 2 - var(--urlbar-height)) !important;
width: var(--urlbar-width) !important;
position: relative !important;
margin: 0 !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-input-container,
#urlbar[breakout][breakout-extend] > .urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 0 !important;
padding-inline: var(--urlbar-container-padding) !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-background {
animation-name: none !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}
/* DISABLE EXPANDING END */
/* REMOVE URL RESULT PADDING START */
.urlbarView {
margin-inline: 0 !important;
width: 100% !important;
}
.urlbarView-row {
padding-block: 0 !important;
}
/* REMOVE URL RESULT PADDING END */
/* MOVE URL RESULT TYPE ICON TO LEFT START */
.urlbarView-type-icon {
min-width: 16px !important;
height: 16px !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
margin-inline-start: 0 !important;
}
.urlbarView-favicon {
margin-inline-start: 20px !important;
}
/* MOVE URL RESULT TYPE ICON TO LEFT END */
/* DISPLAY GO BUTTON WHEN TYPING START */
#urlbar-input-container[pageproxystate="invalid"] #urlbar-go-button {
display: block !important;
}
/* DISPLAY GO BUTTON WHEN TYPING END */
/* ALWAYS SHOW PAGE ACTIONS START */
/* DISABLED BY DEFAULT - UNCOMMENT TO ENABLE */
/*#pageActionButton {
display: block !important;
visibility: visible !important;
}*/
/* ALWAYS SHOW PAGE ACTIONS END */
}
/* REMOVE MEGABAR END */