This repository has been archived by the owner on Dec 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
userChromePanels.css
143 lines (132 loc) · 4.54 KB
/
userChromePanels.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* / // / / ☔ RainFox 5.3 | 2019-2022 // / / / */
/* proton panels general handler */
.subview-subheader, panelview .toolbarbutton-1, .subviewbutton, .widget-overflow-list .toolbarbutton-1 {
margin: 0 0 !important; padding: 0px 12px 0px 10px !important;
height: 24px;
border-radius: 0px !important;
background-color: transparent;
fill-opacity: 0.2 !important;
}
.panel-subview-body > toolbarbutton > .toolbarbutton-icon {
margin-right: 6px !important;
}
/* smaller gaps between panel and 1st/last menu item */
.panel-subview-body {
padding: 4px 0 !important;
}
/* bigger font for panel headers */
#protections-popup-mainView-panel-header-span,
#identity-popup-mainView-panel-header-span,
#editBookmarkPanelTitle,
#permission-popup-mainView-panel-header-span,
.panel-header > h1 > span {
font-size: 1.2em;
margin: -3px;
}
/* remove black rounded corners from some extension panels */
:root {
--arrowpanel-border-radius: 0px !important;
}
/* back button (proton panels) */
.panel-header > .subviewbutton-back {
border-radius: 1280px !important;
padding: 4px 4px !important;
margin: 0 0 !important;
margin-left: 4px !important;
}
/* account controls (proton menu panel) */
#appMenu-header-description {
font-weight: 700 !important;
}
.addon-banner-item, .panel-banner-item,
#appMenu-fxa-status2:not([fxastatus="signedin"]) {
margin: 0px 8px 4px !important;
}
#fxa-menu-avatar {
display: block !important;
margin-right: 12px;
}
#fxa-manage-account-button {
height: 40px !important;
padding-left: 16px !important;
}
#appMenu-fxa-status2 {
padding: 0 !important;
}
.syncnow-label {
margin-left: 6px !important;
}
.pageAction-sendToDevice-device .toolbarbutton-text {
padding-top: 3px !important;
}
.pageAction-sendToDevice-device .toolbarbutton-icon {
margin-top: 3px !important;
}
/* hide account email unless hovered */
#appMenu-fxa-status2[fxastatus="signedin"] > toolbarbutton #appMenu-header-description {
background: var(--panel-separator-color);
color: transparent;
transition: 200ms;
border-radius: var(--toolbarbutton-border-radius);
}
#appMenu-fxa-status2[fxastatus="signedin"] > toolbarbutton:hover #appMenu-header-description {
background-color: transparent;
color: unset;
border-radius: 0;
}
/* zoom buttons (app menu) */
#appMenu-zoomReduce-button2,
#appMenu-zoomReset-button2,
#appMenu-zoomEnlarge-button2,
#appMenu-fullscreen-button2 {
padding: 0px 4px !important;
}
#appMenu-zoomReduce-button2 > .toolbarbutton-icon,
#appMenu-zoomEnlarge-button2 > .toolbarbutton-icon,
#appMenu-fullscreen-button2 > .toolbarbutton-icon {
width: 18px !important; height: 18px !important;
padding: 2px !important;
}
#zoom-in-button > .toolbarbutton-icon {
padding-inline-start: 0px !important;
}
toolbar .toolbaritem-combined-buttons > .toolbarbutton-1 {
margin: 0px !important;
}
#appMenu-fullscreen-button2 > .toolbarbutton-icon,
#appMenu-zoomEnlarge-button2 > .toolbarbutton-icon,
#appMenu-zoomReduce-button2 > .toolbarbutton-icon,
#appMenu-fullscreen-button2 > .toolbarbutton-icon {
background-color: var(--zoom-controls-bgcolor, var(--button-bgcolor, ButtonFace));
}
#appMenu-zoomReset-button2:not([disabled], [open], :active):is(:hover) > .toolbarbutton-icon,
#appMenu-fullscreen-button2:not([disabled], [open], :active):is(:hover) > .toolbarbutton-icon,
#appMenu-zoomEnlarge-button2:not([disabled], [open], :active):is(:hover) > .toolbarbutton-icon,
#appMenu-zoomReduce-button2:not([disabled], [open], :active):is(:hover) > .toolbarbutton-icon {
background-color: var(--panel-item-hover-bgcolor) !important;
}
#appMenu-zoomReset-button2:not([disabled]):is([open], :hover:active) > .toolbarbutton-icon,
#appMenu-fullscreen-button2:not([disabled]):is([open], :hover:active) > .toolbarbutton-icon,
#appMenu-zoomEnlarge-button2:not([disabled]):is([open], :hover:active) > .toolbarbutton-icon,
#appMenu-zoomReduce-button2:not([disabled]):is([open], :hover:active) > .toolbarbutton-icon {
background-color: var(--panel-item-active-bgcolor) !important;
}
/* security panel */
#identity-popup-clear-sitedata-footer {
margin-top: 4px !important;
}
.panel-footer.panel-footer-menulike > button {
margin: 6px 0 0 !important;
}
.identity-popup-security-connection.identity-button {
background-position-x: 2px !important;
}
/* all tabs overview panel */
#allTabsMenu-allTabsViewTabs > .all-tabs-item {
margin-inline: 0px !important;
border-radius: 0px !important;
}
#allTabsMenu-allTabsViewTabs > .all-tabs-item[selected] {
background-color: color-mix(in srgb, var(--panelview-toolbarbutton-active-bgcolor) 30%, #fff0) !important;
box-shadow: 0 1px 0 hsla(210,4%,10%,.03) inset;
}