diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-07-01 19:48:01 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-07-01 19:48:06 +0200 |
commit | be613fc53e936a8367bdca804bfab2d975c56e81 (patch) | |
tree | 1d029c548573fbf92d86a820ad4954b96fb1d65d /megabar.patch | |
parent | v78.0.1-1 (diff) | |
download | librewolf-linux-be613fc53e936a8367bdca804bfab2d975c56e81.tar.gz librewolf-linux-be613fc53e936a8367bdca804bfab2d975c56e81.tar.bz2 librewolf-linux-be613fc53e936a8367bdca804bfab2d975c56e81.zip |
update megabar patch
Diffstat (limited to 'megabar.patch')
-rw-r--r-- | megabar.patch | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/megabar.patch b/megabar.patch index 3b03191..7929773 100644 --- a/megabar.patch +++ b/megabar.patch @@ -1,8 +1,8 @@ diff --git a/browser/components/urlbar/UrlbarInput.jsm b/browser/components/urlbar/UrlbarInput.jsm -index c557a10..e2c20af 100644 +index 18d73db..7911576 100644 --- a/browser/components/urlbar/UrlbarInput.jsm +++ b/browser/components/urlbar/UrlbarInput.jsm -@@ -1090,13 +1090,13 @@ class UrlbarInput { +@@ -1172,13 +1172,13 @@ class UrlbarInput { // Enable the animation only after the first extend call to ensure it // doesn't run when opening a new window. @@ -23,55 +23,8 @@ index c557a10..e2c20af 100644 } endLayoutExtend() { -diff --git a/browser/themes/shared/urlbar-autocomplete.inc.css b/browser/themes/shared/urlbar-autocomplete.inc.css -index 13a4595..eda7bdf 100644 ---- a/browser/themes/shared/urlbar-autocomplete.inc.css -+++ b/browser/themes/shared/urlbar-autocomplete.inc.css -@@ -48,8 +48,8 @@ - display: block; - text-shadow: none; - overflow: -moz-hidden-unscrollable; -- margin-inline: @urlbarViewMarginInline@; -- width: calc(100% - 2 * @urlbarViewMarginInline@); -+ margin-inline: 0; -+ width: 100%; - - /* Match urlbar-background's border. */ - border-inline: 1px solid transparent; -@@ -72,7 +72,7 @@ - .urlbarView-row { - fill: currentColor; - fill-opacity: .6; -- padding-block: 3px; -+ padding-block: 0; - } - - .urlbarView-row-inner { -@@ -179,6 +179,7 @@ - background-repeat: no-repeat; - background-size: contain; - -moz-context-properties: fill, fill-opacity; -+ margin-inline-start: 20px; - } - - @media (min-resolution: 2dppx) { -@@ -200,10 +201,10 @@ - - .urlbarView-type-icon { - position: absolute; -- min-width: 12px; -- height: 12px; -- margin-bottom: -4px; -- margin-inline-start: 8px; -+ min-width: 16px; -+ height: 16px; -+ margin-bottom: 0; -+ margin-inline-start: 0; - background-repeat: no-repeat; - background-size: contain; - -moz-context-properties: fill, stroke; diff --git a/browser/themes/shared/urlbar-searchbar.inc.css b/browser/themes/shared/urlbar-searchbar.inc.css -index 5d5a3d1..4e84a7f 100644 +index 0b1f693..7de64a1 100644 --- a/browser/themes/shared/urlbar-searchbar.inc.css +++ b/browser/themes/shared/urlbar-searchbar.inc.css @@ -6,7 +6,7 @@ @@ -83,7 +36,7 @@ index 5d5a3d1..4e84a7f 100644 %define urlbarSearchButtonWidth calc(16px + 2 * @identityBoxPaddingInline@) :root { -@@ -196,13 +196,13 @@ +@@ -197,13 +197,13 @@ } #urlbar[breakout][breakout-extend] { @@ -101,7 +54,7 @@ index 5d5a3d1..4e84a7f 100644 } #urlbar[breakout][breakout-extend][open] > #urlbar-background { -@@ -210,9 +210,9 @@ +@@ -211,9 +211,9 @@ } #urlbar[breakout][breakout-extend] > #urlbar-input-container { @@ -114,7 +67,7 @@ index 5d5a3d1..4e84a7f 100644 } #urlbar.searchButton[breakout][breakout-extend] > #urlbar-input-container > #urlbar-search-button { -@@ -230,7 +230,7 @@ +@@ -231,7 +231,7 @@ } #urlbar[breakout][breakout-extend] > #urlbar-background { @@ -123,3 +76,50 @@ index 5d5a3d1..4e84a7f 100644 animation-duration: 0s; animation-timing-function: var(--animation-easing-function); } +diff --git a/browser/themes/shared/urlbarView.inc.css b/browser/themes/shared/urlbarView.inc.css +index 6b8cac0..54648c6 100644 +--- a/browser/themes/shared/urlbarView.inc.css ++++ b/browser/themes/shared/urlbarView.inc.css +@@ -48,8 +48,8 @@ + display: block; + text-shadow: none; + overflow: -moz-hidden-unscrollable; +- margin-inline: @urlbarViewMarginInline@; +- width: calc(100% - 2 * @urlbarViewMarginInline@); ++ margin-inline: 0; ++ width: 100%; + + /* Match urlbar-background's border. */ + border-inline: 1px solid transparent; +@@ -72,7 +72,7 @@ + .urlbarView-row { + fill: currentColor; + fill-opacity: .6; +- padding-block: 3px; ++ padding-block: 0; + } + + .urlbarView-row-inner { +@@ -179,6 +179,7 @@ + background-repeat: no-repeat; + background-size: contain; + -moz-context-properties: fill, fill-opacity; ++ margin-inline-start: 20px; + } + + @media (min-resolution: 2dppx) { +@@ -204,10 +205,10 @@ + + .urlbarView-type-icon { + position: absolute; +- min-width: 12px; +- height: 12px; +- margin-bottom: -4px; +- margin-inline-start: 8px; ++ min-width: 16px; ++ height: 16px; ++ margin-bottom: 0; ++ margin-inline-start: 0; + background-repeat: no-repeat; + background-size: contain; + -moz-context-properties: fill, stroke; |