diff --git a/README.md b/README.md index 8c1fced..f499067 100644 --- a/README.md +++ b/README.md @@ -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* diff --git a/theme/matching-autocomplete-width.css b/theme/matching-autocomplete-width.css index a3f153b..9958bfa 100644 --- a/theme/matching-autocomplete-width.css +++ b/theme/matching-autocomplete-width.css @@ -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 **************************************** diff --git a/theme/parts/headerbar-urlbar.css b/theme/parts/headerbar-urlbar.css index e82508c..4e4fd32 100644 --- a/theme/parts/headerbar-urlbar.css +++ b/theme/parts/headerbar-urlbar.css @@ -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; +} diff --git a/userChrome.css b/userChrome.css index e2b2d6c..b851db0 100644 --- a/userChrome.css +++ b/userChrome.css @@ -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) */