create vertical_urlbar_one-off_items.css

This commit is contained in:
MrOtherGuy 2022-11-17 11:32:38 +02:00
parent b08805185f
commit cf3d865b7d
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,32 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/vertical_urlbar_one-off_items.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Makes one-off search buttons in the urlbar popup show vertically to the right of results */
#urlbar[open="true"] > .urlbarView{
display: flex !important;
}
.urlbarView-body-outer{
width: calc(100% - 2 * (5px + var(--urlbar-container-padding)) - 30px); !important;
}
#urlbar .search-one-offs{
width: 40px !important;
flex-direction: column;
align-items: stretch !important;
}
.search-panel-one-offs,
.search-panel-one-offs-container{
flex-direction: column !important;
min-width: unset !important;
align-items: stretch !important;
justify-content: start !important;
}
#urlbar .searchbar-engine-one-off-item{
min-width: unset !important;
margin-inline: 0 !important;
align-self: unset !important;
}
.search-panel-one-offs .searchbar-engine-one-off-item{
min-height: 40px !important;
}
.search-panel-one-offs-header{ display: none !important }

View file

@ -156,5 +156,6 @@
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
"window_control_force_linux_system_style.css":["window-control","buttons","icon"],
"window_control_placeholder_support.css":["window-control","patch"]
"window_control_placeholder_support.css":["window-control","patch"],
"vertical_urlbar_one-off_items.css":["urlbar"]
}

View file

@ -156,3 +156,4 @@ vertical_popup_menubar.css,menubar,menu,toolbars,popup
window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
window_control_force_linux_system_style.css,window-control,buttons,icon
window_control_placeholder_support.css,window-control,patch
vertical_urlbar_one-off_items.css,urlbar

1 auto_devtools_theme_for_rdm.css,devtools,colors
156 window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
157 window_control_force_linux_system_style.css,window-control,buttons,icon
158 window_control_placeholder_support.css,window-control,patch
159 vertical_urlbar_one-off_items.css,urlbar