Create classic_firefox_menu_button.css
This commit is contained in:
parent
db6135bffd
commit
2f063ef389
3 changed files with 44 additions and 1 deletions
41
chrome/classic_firefox_menu_button.css
Normal file
41
chrome/classic_firefox_menu_button.css
Normal file
|
@ -0,0 +1,41 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/classic_firefox_menu_button.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Makes the main menu button appear in the top left corner styled similarly to Firefox versions 4 to 29 */
|
||||
|
||||
#PanelUI-button{
|
||||
/* Nightly colors scheme */
|
||||
/*--uc-fx-button-color: #9752fa;
|
||||
--uc-fx-button-sec-color: #00b2fa8a;*/
|
||||
|
||||
/* Release color scheme*/
|
||||
--uc-fx-button-color: #ff8313;
|
||||
--uc-fx-button-sec-color: #ffdfbf85;
|
||||
}
|
||||
|
||||
#PanelUI-button{ -moz-box-ordinal-group: 0; margin-inline: 2px var(--uc-window-drag-space-width,24px) !important; }
|
||||
:root[tabsintitlebar] #nav-bar{ border-left-width: 0px; padding-left: 0px !important; }
|
||||
#PanelUI-menu-button{ -moz-box-align: start !important; }
|
||||
#PanelUI-menu-button > stack{
|
||||
background-color: var(--uc-fx-button-color);
|
||||
background-image: linear-gradient(var(--uc-fx-button-sec-color), transparent) !important;
|
||||
padding-inline: 5px !important;
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-dropdown-12.svg) !important;
|
||||
border-radius: 0 0 4px 4px !important;
|
||||
border: 2px groove var(--uc-fx-button-color);
|
||||
border-top: none;
|
||||
display: -moz-box;
|
||||
padding-block: 4px !important;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button:hover > stack,
|
||||
#PanelUI-menu-button[open] > stack{
|
||||
background-color: var(--uc-fx-button-color) !important;
|
||||
background-image: linear-gradient(rgba(100,100,150,0.3), transparent) !important;
|
||||
}
|
||||
|
||||
#PanelUI-menu-button > stack::before{
|
||||
display: -moz-box;
|
||||
content: "Firefox"; /* Change text here */
|
||||
font-weight: 700;
|
||||
}
|
|
@ -99,5 +99,6 @@
|
|||
"vertical_context_navigation_v2.css":["navigation","menu","popup"],
|
||||
"vertical_menubar.css":["menubar","hack"],
|
||||
"window_control_placeholder_support.css":["window-control","patch"],
|
||||
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"]
|
||||
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
|
||||
"classic_firefox_menu_button.css":["classic","menu"]
|
||||
}
|
||||
|
|
1
tags.csv
1
tags.csv
|
@ -99,3 +99,4 @@ vertical_context_navigation_v2.css,navigation,menu,popup
|
|||
vertical_menubar.css,menubar,hack
|
||||
window_control_placeholder_support.css,window-control,patch
|
||||
vertical_popup_menubar.css,menubar,menu,toolbars,popup
|
||||
classic_firefox_menu_button.css,classic,menu
|
||||
|
|
|
Loading…
Reference in a new issue