mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-11 14:28:40 +00:00
Small UI changes and added highlighting to PDF previews
This commit is contained in:
@@ -58,12 +58,16 @@ pref('extensions.pocket.enabled', false);
|
||||
|
||||
// Pdf
|
||||
pref('browser.download.open_pdf_attachments_inline', true);
|
||||
pref('pdfjs.enableHighlightEditor', true);
|
||||
pref('pdfjs.enableHighlightFloatingButton', true);
|
||||
|
||||
// Tabs
|
||||
pref('browser.bookmarks.openInTabClosesMenu', false);
|
||||
pref('browser.menu.showViewImageInfo', true);
|
||||
pref('findbar.highlightAll', true);
|
||||
pref('layout.word_select.eat_space_to_next_word', false);
|
||||
pref('privacy.userContext.enabled', true);
|
||||
pref('privacy.userContext.ui.enabled', true);
|
||||
|
||||
// UA
|
||||
pref('general.useragent.compatMode.firefox', true);
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<vbox id="PanelUI-zen-profiles-list">
|
||||
</vbox>
|
||||
<toolbarseparator />
|
||||
<menuitem command="Tools:PrivateBrowsing" data-l10n-id="appmenuitem-new-private-window" class="PanelUI-zen-profiles-item"></menuitem>
|
||||
<menuitem command="Tools:ZenProfiles" data-l10n-id="appmenuitem-new-zen-profiles-tab" class="PanelUI-zen-profiles-item"></menuitem>
|
||||
<menuitem oncommand="ZenProfileDialogUI.createProfileWizard();" data-l10n-id="appmenuitem-new-zen-create-profile" class="PanelUI-zen-profiles-item"></menuitem>
|
||||
<toolbarbutton id="PanelUI-zen-profiles-privateWin" command="Tools:PrivateBrowsing" data-l10n-id="appmenuitem-new-private-window" class="subviewbutton"></toolbarbutton>
|
||||
<toolbarbutton id="PanelUI-zen-profiles-managePrfs" command="Tools:ZenProfiles" data-l10n-id="appmenu-manage-profiles" class="subviewbutton"></toolbarbutton>
|
||||
<toolbarbutton id="PanelUI-zen-profiles-newProfile" oncommand="ZenProfileDialogUI.createProfileWizard();" data-l10n-id="appmenu-create-profile" class="subviewbutton"></toolbarbutton>
|
||||
</vbox>
|
||||
</panelview>
|
||||
@@ -1,19 +1,8 @@
|
||||
diff --git a/browser/locales/en-US/browser/appmenu.ftl b/browser/locales/en-US/browser/appmenu.ftl
|
||||
index 5ad2d75f6215f7da44948cda5ad938db8fd97e8d..6a3e361bbed2fc36493011509366274c4dfc6874 100644
|
||||
index 5ad2d75f6215f7da44948cda5ad938db8fd97e8d..dfc551d8d3227e9b5d1d0c9d3380fd0ad85ca65e 100644
|
||||
--- a/browser/locales/en-US/browser/appmenu.ftl
|
||||
+++ b/browser/locales/en-US/browser/appmenu.ftl
|
||||
@@ -25,6 +25,10 @@ appmenuitem-new-window =
|
||||
.label = New window
|
||||
appmenuitem-new-private-window =
|
||||
.label = New private window
|
||||
+appmenuitem-new-zen-profiles-tab =
|
||||
+ .label = Open Profiles Page
|
||||
+appmenuitem-new-zen-create-profile =
|
||||
+ .label = Create a new profile
|
||||
appmenuitem-history =
|
||||
.label = History
|
||||
appmenuitem-downloads =
|
||||
@@ -314,3 +318,5 @@ appmenuitem-relay-title = { -relay-brand-short-name }
|
||||
@@ -314,3 +314,5 @@ appmenuitem-relay-title = { -relay-brand-short-name }
|
||||
appmenuitem-relay-description = Mask your real email and phone
|
||||
appmenuitem-vpn-title = { -mozilla-vpn-brand-name }
|
||||
appmenuitem-vpn-description = Protect your online activity
|
||||
|
||||
@@ -141,7 +141,8 @@
|
||||
#zoom-in-button,
|
||||
#tabs-newtab-button,
|
||||
#TabsToolbar #new-tab-button,
|
||||
#appMenu-zoomEnlarge-button2 {
|
||||
#appMenu-zoomEnlarge-button2,
|
||||
#PanelUI-zen-profiles-newProfile {
|
||||
list-style-image: url("plus.svg") !important;
|
||||
}
|
||||
|
||||
@@ -168,6 +169,7 @@
|
||||
#preferences-button,
|
||||
.search-setting-button > .button-box > .button-icon,
|
||||
#appMenu-settings-button,
|
||||
#PanelUI-zen-profiles-managePrfs,
|
||||
.unified-extensions-item-open-menu.subviewbutton {
|
||||
list-style-image: url("settings.svg") !important;
|
||||
}
|
||||
@@ -178,7 +180,8 @@
|
||||
list-style-image: url("forget.svg") !important;
|
||||
}
|
||||
|
||||
#appMenu-new-private-window-button2 {
|
||||
#appMenu-new-private-window-button2,
|
||||
#PanelUI-zen-profiles-privateWin {
|
||||
list-style-image: url("private-window.svg") !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
#PanelUI-zen-profiles {
|
||||
--menu-panel-width: 20em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles-header {
|
||||
@@ -95,31 +96,13 @@
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles toolbarseparator {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles toolbarbutton label {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles menuitem {
|
||||
padding: 8px 0;
|
||||
font-size: 15px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles menuitem > label {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles menuitem::after {
|
||||
#PanelUI-zen-profiles toolbarbutton::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles menuitem:last-child {
|
||||
margin-bottom: 5px;
|
||||
#PanelUI-zen-profiles toolbarbutton:last-child {
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles-current-profile-current {
|
||||
@@ -129,3 +112,21 @@
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
#PanelUI-zen-profiles-managePrfs {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
border-radius: 5px !important;
|
||||
padding: 5px !important;
|
||||
transition: .1s;
|
||||
color: light-dark(black, white);
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles-managePrfs:hover {
|
||||
background: var(--panel-item-hover-bgcolor);
|
||||
}
|
||||
|
||||
#PanelUI-zen-profiles-managePrfs label {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
--arrowpanel-menuitem-border-radius: 5px !important;
|
||||
--arrowpanel-menuitem-margin: var(--uc-arrowpanel-menuitem-margin-block) var(--uc-arrowpanel-menuitem-margin-inline) !important;
|
||||
--arrowpanel-menuitem-padding-block: 8px !important;
|
||||
--arrowpanel-menuitem-padding-inline: 9px !important;
|
||||
--arrowpanel-menuitem-padding-inline: 14px !important;
|
||||
--uc-arrowpanel-menuicon-margin-inline: 14px;
|
||||
--uc-arrowpanel-menuitem-margin-inline: 4px;
|
||||
--uc-arrowpanel-menuitem-margin-block: 2px;
|
||||
@@ -241,7 +241,8 @@ toolbarbutton:not(:is(
|
||||
#appMenu-fxa-label2,
|
||||
.subviewbutton-iconic,
|
||||
.zen-sidebar-action-button,
|
||||
.all-tabs-close-button
|
||||
.all-tabs-close-button,
|
||||
#PanelUI-zen-profiles-managePrfs
|
||||
)),
|
||||
#PanelUI-zen-profiles menuitem {
|
||||
/** ADD HERE ALL TYPES OF BUTTONS THAT WANT TO LOOK CHROME LIKE!!! */
|
||||
@@ -354,3 +355,13 @@ hbox.editBMPanel_folderRow {
|
||||
#unified-extensions-manage-extensions {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
/* Dialog box */
|
||||
|
||||
.printDialogBox {
|
||||
max-width: 90vw !important;
|
||||
}
|
||||
|
||||
.printSettingsBrowser {
|
||||
min-width: 350px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user