URL bar results: include theming by default for Firefox 70+

This commit is contained in:
Rafael Mardojai CM 2019-10-04 08:22:22 -05:00
parent bf7f125fa2
commit 75e56d22a8
4 changed files with 43 additions and 37 deletions

View File

@ -128,6 +128,7 @@ Alternatively you can run installation script with `-g` flag to auto install GNO
- **matching-autocomplete-width.css** *GNOMISH*
Limit the URL bar's autocompletion popup's width to the URL bar's width.
*This feature is included by default for Firefox 70+*
- **rounded-title-buttons.css** *GNOMISH*

View File

@ -1,41 +1,8 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* FIREFOX 70 FIX */
#urlbar .urlbarView {
left: calc(var(--item-padding-start) - 6px) !important;
right: var(--item-padding-end) !important;
top: 40px !important;
z-index: 10 !important;
max-width: 100% !important;
background: var(--gnome-popover-background) !important;
border: 1px solid !important;
border-color: var(--gnome-popover-border-color) !important;
border-radius: 9px;
box-shadow: var(--gnome-popover-shadow) !important;
color: var(--gnome-toolbar-color) !important;
padding: 8px;
}
#urlbar .urlbarView-body-outer {
max-height: 35vh !important;
overflow-x: auto;
}
#urlbar .search-one-offs {
padding: 8px 0 0 0 !important;
margin-top: 8px !important;
border-color: var(--gnome-popover-separator-color) !important;
}
#urlbar .search-panel-header > label {
margin-top: 0px !important;
}
.urlbarView-body-outer {
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
}
/*
This feature is included by default for Firefox 70+
*/
/**************************************************************************************
*********************************** FIREFOX 68 ****************************************

View File

@ -32,3 +32,40 @@ toolbarspring {
background-color: transparent !important;
fill-opacity: 1 !important;
}
/* URL bar results */
#urlbar .urlbarView {
left: calc(var(--item-padding-start) - 6px) !important;
right: var(--item-padding-end) !important;
top: 40px !important;
z-index: 10 !important;
max-width: 100% !important;
background: var(--gnome-popover-background) !important;
border: 1px solid !important;
border-color: var(--gnome-popover-border-color) !important;
border-radius: 9px;
box-shadow: var(--gnome-popover-shadow) !important;
color: var(--gnome-toolbar-color) !important;
padding: 8px;
}
#urlbar .urlbarView-body-outer {
max-height: 35vh !important;
overflow-x: auto;
}
#urlbar .search-one-offs {
padding: 8px 0 0 0 !important;
margin-top: 8px !important;
border-color: var(--gnome-popover-separator-color) !important;
}
#urlbar .search-panel-header > label {
margin-top: 0px !important;
}
.urlbarView-body-outer {
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
}

View File

@ -13,7 +13,8 @@
* default it is on the tab bar too. */
/*@import "theme/hide-single-tab.css"; /**/
/* Limit the URL bar's autocompletion popup's width to the URL bar's width (GNOMISH) */
/* Limit the URL bar's autocompletion popup's width to the URL bar's width (GNOMISH)
* This feature is included by default for Firefox 70+ */
/*@import "theme/matching-autocomplete-width.css"; /**/
/* Rounded title buttons (headerbar window controls) (GNOMISH) */