mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 01:16:35 +00:00
Added UI changes to password site and popups. Also added a window separator for native vs website contents
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
diff --git a/browser/components/aboutlogins/content/components/login-list.css b/browser/components/aboutlogins/content/components/login-list.css
|
||||
index bc8e72a3cd07e8746c6fbf190bdd2bf70f4000d4..07031dfdfadf393db5fd848948e33510bd7225d7 100644
|
||||
--- a/browser/components/aboutlogins/content/components/login-list.css
|
||||
+++ b/browser/components/aboutlogins/content/components/login-list.css
|
||||
@@ -3,7 +3,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
:host {
|
||||
- border-inline-end: 1px solid var(--in-content-border-color);
|
||||
+ border: 1px solid var(--in-content-border-color);
|
||||
background-color: var(--in-content-box-background);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -161,3 +161,8 @@ ol {
|
||||
font-size: 0.85em;
|
||||
color: var(--text-color-deemphasized);
|
||||
}
|
||||
+
|
||||
+:host {
|
||||
+ border-radius: 5px;
|
||||
+ margin: 10px;
|
||||
+}
|
@@ -0,0 +1,13 @@
|
||||
diff --git a/browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx b/browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx
|
||||
index 57ed935e93198bb50555d119080552934c49e428..21e8fb35501091d448502dbd0c53ee01ce8b7bc0 100644
|
||||
--- a/browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx
|
||||
+++ b/browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx
|
||||
@@ -153,7 +153,7 @@ export class ContentSection extends React.PureComponent {
|
||||
data-l10n-args='{"num": 4}'
|
||||
/>
|
||||
</select>
|
||||
- {mayHaveSponsoredTopSites && (
|
||||
+ {false && (
|
||||
<div className="check-wrapper" role="presentation">
|
||||
<input
|
||||
id="sponsored-shortcuts"
|
@@ -0,0 +1,13 @@
|
||||
diff --git a/browser/components/newtab/lib/AboutPreferences.sys.mjs b/browser/components/newtab/lib/AboutPreferences.sys.mjs
|
||||
index 33f7ecdaeb7074c7633dd229a4446f2a8ed4b247..f422a9bfb9694b190e84e81a430a509b4ab8c986 100644
|
||||
--- a/browser/components/newtab/lib/AboutPreferences.sys.mjs
|
||||
+++ b/browser/components/newtab/lib/AboutPreferences.sys.mjs
|
||||
@@ -34,7 +34,7 @@ const PREFS_BEFORE_SECTIONS = () => [
|
||||
titleString: "home-prefs-shortcuts-header",
|
||||
descString: "home-prefs-shortcuts-description",
|
||||
get nestedPrefs() {
|
||||
- return Services.prefs.getBoolPref("browser.topsites.useRemoteSetting")
|
||||
+ return Services.prefs.getBoolPref("browser.topsites.useRemoteSetting") && false
|
||||
? [
|
||||
{
|
||||
name: "showSponsoredTopSites",
|
@@ -0,0 +1,13 @@
|
||||
diff --git a/browser/components/newtab/lib/ActivityStream.sys.mjs b/browser/components/newtab/lib/ActivityStream.sys.mjs
|
||||
index f2287fe45edbf4f1e792e3fdcd6886a17c1bb9d2..07437d4fb426919bf8754c01776b00ab06401370 100644
|
||||
--- a/browser/components/newtab/lib/ActivityStream.sys.mjs
|
||||
+++ b/browser/components/newtab/lib/ActivityStream.sys.mjs
|
||||
@@ -127,7 +127,7 @@ export const PREFS_CONFIG = new Map([
|
||||
"showSponsoredTopSites",
|
||||
{
|
||||
title: "Show sponsored top sites",
|
||||
- value: true,
|
||||
+ value: false,
|
||||
},
|
||||
],
|
||||
[
|
Reference in New Issue
Block a user