chore: Remove floating URL bar feature

This commit is contained in:
Mauro Balades
2024-08-15 19:17:21 +02:00
parent edca28339b
commit 6cf7fe90b8
7 changed files with 0 additions and 60 deletions

View File

@@ -66,7 +66,6 @@ pref('zen.theme.accent-color', "#aac7ff");
pref('zen.theme.border-radius', 10); // In pixels
pref('zen.theme.toolbar-themed', true);
pref('zen.theme.pill-button', false);
pref('zen.theme.floating-urlbar', false);
pref('zen.view.compact', false);
pref('zen.view.compact.hide-toolbar', false);
pref('zen.view.sidebar-expanded', false);

View File

@@ -11,7 +11,6 @@
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-single-components.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-browser-container.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-urlbar.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-floating-urlbar.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-workspaces.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-decks.css" />
<link rel="stylesheet" type="text/css" href="chrome://browser/content/zen-styles/zen-profile-dialog.css" />

View File

@@ -18,7 +18,6 @@
content/browser/zen-styles/zen-animations.css (content/zen-styles/zen-animations.css)
content/browser/zen-styles/zen-panel-ui.css (content/zen-styles/zen-panel-ui.css)
content/browser/zen-styles/zen-single-components.css (content/zen-styles/zen-single-components.css)
content/browser/zen-styles/zen-floating-urlbar.css (content/zen-styles/zen-floating-urlbar.css)
content/browser/zen-styles/zen-sidebar.css (content/zen-styles/zen-sidebar.css)
content/browser/zen-styles/zen-toolbar.css (content/zen-styles/zen-toolbar.css)
content/browser/zen-styles/zen-decks.css (content/zen-styles/zen-decks.css)

View File

@@ -1,45 +0,0 @@
@media (-moz-bool-pref: "zen.theme.floating-urlbar") {
#urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
#urlbar-input {
font-size: 16px !important;
}
z-index: 2;
position: fixed !important;
bottom: auto !important;
top: 20vh !important;
padding-left: 6px !important;
padding-right: 8px !important;
left: 18vw !important;
right: 18vw !important;
width: 64vw !important;
&:after {
content: "";
position: fixed;
pointer-events: none;
width: 100vw;
height: 100vh;
top: 0px;
left: 0px;
background-color: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(5px);
z-index: -1;
}
#identity-box {
margin: auto 0;
height: 30px;
margin-right: 10px;
}
.urlbar-go-button {
margin: auto 0;
}
}
}

View File

@@ -250,11 +250,6 @@ Preferences.addAll([
type: "bool",
default: true,
},
{
id: "zen.theme.floating-urlbar",
type: "bool",
default: false,
},
{
id: "zen.keyboard.shortcuts.disable-firefox",
type: "bool",

View File

@@ -91,10 +91,6 @@
<label><html:h2 data-l10n-id="zen-look-and-feel-urlbar-header"/></label>
<description class="description-deemphasized" data-l10n-id="zen-look-and-feel-urlbar-description" />
<checkbox id="zenLooksAndFeelFloatingUrlbar"
data-l10n-id="zen-look-and-feel-floating-urlbar"
preference="zen.theme.floating-urlbar"/>
</groupbox>
</html:template>

View File

@@ -49,9 +49,6 @@ pane-zen-theme-title = Theme Settings
zen-look-and-feel-urlbar-header = Awesome Bar Settings
zen-look-and-feel-urlbar-description = Customize the look and feel of the Awesome Bar
zen-look-and-feel-floating-urlbar =
.label = Floating URL Bar when focused
zen-vertical-tabs-title = Sidebar and tabs layout
zen-vertical-tabs-header = Vertical Tabs
zen-vertical-tabs-description = Manage your tabs in a vertical layout