Fixed welcome screen preference

This commit is contained in:
mauro-balades
2024-04-07 14:28:33 +02:00
parent 4d04e94295
commit b20a9abf78
9 changed files with 9 additions and 137 deletions

View File

@@ -1,11 +0,0 @@
<!--
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<svg width="806" height="196" viewBox="0 0 806 196" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="348" height="196" rx="8" fill="#4D4950" />
<rect x="458" width="348" height="196" rx="8" fill="#6829A3" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M319.86 121.731C319.799 121.26 320.148 120.791 320.478 120.143C320.743 119.623 321.048 119.03 321.468 118.391C323.721 114.965 328.465 110.321 333.923 105.51C344.245 96.4135 357.14 86.8081 361.289 84.6683C380.823 74.4687 398.734 79.6824 417.41 86.6977C435.966 93.6674 455.28 102.675 477.166 101.848C486.854 101.482 496.976 99.0791 507.671 94.0144C508.339 93.7162 508.848 93.1937 509.084 92.5618C509.32 91.9299 509.266 91.2402 508.932 90.6443C508.596 90.0488 508.01 89.596 507.3 89.3854C506.591 89.1748 505.817 89.2235 505.148 89.5209C495.566 93.5219 486.594 95.1324 478.084 95.4383C471.681 95.6678 465.526 95.1579 459.539 94.0599C434.35 89.4386 412.107 75.7095 389.533 74.1515C379.418 73.4531 369.23 75.083 358.711 80.8408C353.914 83.5064 337.502 96.3881 327.055 107.245C322.971 111.489 319.627 115.374 318.495 118.302C317.864 119.937 317.86 121.258 318.35 122.155C318.382 122.243 318.432 122.325 318.499 122.396C318.566 122.467 318.647 122.526 318.739 122.569C318.832 122.611 318.932 122.638 319.036 122.646C319.139 122.654 319.244 122.644 319.343 122.616C319.442 122.588 319.534 122.543 319.614 122.484C319.693 122.424 319.759 122.352 319.807 122.269C319.855 122.187 319.885 122.098 319.894 122.005C319.903 121.913 319.891 121.82 319.86 121.732V121.731Z" fill="#F2F1F4" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M507.044 91.7045C507.811 91.9849 508.488 92.3135 509.043 92.6982C508.604 92.9777 508.15 93.9512 507.301 94.8187C504.039 98.1563 498.275 103.345 495.485 107.281C494.397 108.814 493.565 110.233 493.652 111.319C493.758 112.614 494.095 113.536 495.193 113.955C495.484 114.215 495.88 114.361 496.292 114.361C496.704 114.361 497.1 114.215 497.391 113.955C497.683 113.695 497.846 113.343 497.846 112.976C497.846 112.609 497.683 112.256 497.391 111.997C497.269 111.777 497.983 111.994 498.119 111.696C498.406 111.055 498.746 110.434 499.136 109.837C501.312 106.537 505.746 102.068 508.696 98.5191C509.54 97.5078 510.313 96.4514 511.012 95.3559C512.248 93.4018 512.186 91.9367 511.531 91.446C510.397 90.4708 508.713 89.7619 506.702 89.1976C501.036 87.6089 492.445 87.2961 488.033 85.272L483.928 84.1626L483.585 84.0636L483.583 84.0697L483.487 84.0435C483.288 84.0039 483.082 83.9998 482.88 84.0312C482.679 84.0626 482.487 84.129 482.315 84.2266C482.142 84.3242 481.993 84.4511 481.876 84.6C481.759 84.7489 481.676 84.917 481.631 85.0945C481.587 85.2721 481.582 85.4557 481.618 85.6348C481.653 85.814 481.727 85.9852 481.837 86.1387C481.947 86.2922 482.089 86.425 482.256 86.5295C482.423 86.6339 482.612 86.708 482.811 86.7476L486.056 87.736C488.886 88.9619 493.31 90.5006 497.602 91.3567C500.654 91.9656 503.612 92.2084 505.814 92.0813C506.383 92.0357 506.777 91.8885 507.043 91.7045H507.044Z" fill="#F2F1F4" />
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,11 +0,0 @@
<!--
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<svg width="806" height="196" viewBox="0 0 806 196" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="348" height="196" rx="8" fill="#BFBCC2" />
<rect x="458" width="348" height="196" rx="8" fill="#C18CF2" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M319.86 121.731C319.799 121.26 320.148 120.791 320.478 120.143C320.743 119.623 321.048 119.03 321.468 118.391C323.721 114.965 328.465 110.321 333.923 105.51C344.245 96.4135 357.14 86.8081 361.289 84.6683C380.823 74.4687 398.734 79.6824 417.41 86.6977C435.966 93.6674 455.28 102.675 477.166 101.848C486.854 101.482 496.976 99.0791 507.671 94.0144C508.339 93.7162 508.848 93.1937 509.084 92.5618C509.32 91.9299 509.266 91.2402 508.932 90.6443C508.596 90.0488 508.01 89.596 507.3 89.3854C506.591 89.1748 505.817 89.2235 505.148 89.5209C495.566 93.5219 486.594 95.1324 478.084 95.4383C471.681 95.6678 465.526 95.1579 459.539 94.0599C434.35 89.4386 412.107 75.7095 389.533 74.1515C379.418 73.4531 369.23 75.083 358.711 80.8408C353.914 83.5064 337.502 96.3881 327.055 107.245C322.971 111.489 319.627 115.374 318.495 118.302C317.864 119.937 317.86 121.258 318.35 122.155C318.382 122.243 318.432 122.325 318.499 122.396C318.566 122.467 318.647 122.526 318.739 122.569C318.832 122.611 318.932 122.638 319.036 122.646C319.139 122.654 319.244 122.644 319.343 122.616C319.442 122.588 319.534 122.543 319.614 122.484C319.693 122.424 319.759 122.352 319.807 122.269C319.855 122.187 319.885 122.098 319.894 122.005C319.903 121.913 319.891 121.82 319.86 121.732V121.731Z" fill="black" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M507.044 91.7045C507.811 91.9849 508.488 92.3135 509.043 92.6982C508.604 92.9777 508.15 93.9512 507.301 94.8187C504.039 98.1563 498.275 103.345 495.485 107.281C494.397 108.814 493.565 110.233 493.652 111.319C493.758 112.614 494.095 113.536 495.193 113.955C495.484 114.215 495.88 114.361 496.292 114.361C496.704 114.361 497.1 114.215 497.391 113.955C497.683 113.695 497.846 113.343 497.846 112.976C497.846 112.609 497.683 112.256 497.391 111.997C497.269 111.777 497.983 111.994 498.119 111.696C498.406 111.055 498.746 110.434 499.136 109.837C501.312 106.537 505.746 102.068 508.696 98.5191C509.54 97.5078 510.313 96.4514 511.012 95.3559C512.248 93.4018 512.186 91.9367 511.531 91.446C510.397 90.4708 508.713 89.7619 506.702 89.1976C501.036 87.6089 492.445 87.2961 488.033 85.272L483.928 84.1626L483.585 84.0636L483.583 84.0697L483.487 84.0435C483.288 84.0039 483.082 83.9998 482.88 84.0312C482.679 84.0626 482.487 84.129 482.315 84.2266C482.142 84.3242 481.993 84.4511 481.876 84.6C481.759 84.7489 481.676 84.917 481.631 85.0945C481.587 85.2721 481.582 85.4557 481.618 85.6348C481.653 85.814 481.727 85.9852 481.837 86.1387C481.947 86.2922 482.089 86.425 482.256 86.5295C482.423 86.6339 482.612 86.708 482.811 86.7476L486.056 87.736C488.886 88.9619 493.31 90.5006 497.602 91.3567C500.654 91.9656 503.612 92.2084 505.814 92.0813C506.383 92.0357 506.777 91.8885 507.043 91.7045H507.044Z" fill="black" />
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 66 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -43,15 +43,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
</div> </div>
<div class="page" id="import"> <div class="page" id="import">
<img
class="asset light-only"
src="chrome://browser/content/zen-welcome/migrate.light.svg"
/>
<img
class="asset dark-only"
src="chrome://browser/content/zen-welcome/migrate.dark.svg"
/>
<h1 data-l10n-id="welcome-dialog-import"></h1> <h1 data-l10n-id="welcome-dialog-import"></h1>
<p data-l10n-id="welcome-dialog-import-subtext"></p> <p data-l10n-id="welcome-dialog-import-subtext"></p>

View File

@@ -16,7 +16,7 @@ ChromeUtils.defineModuleGetter(
'resource://gre/modules/ExtensionSettingsStore.jsm' 'resource://gre/modules/ExtensionSettingsStore.jsm'
) )
const welcomeSeenPref = 'pulse.welcome.seen' const welcomeSeenPref = 'zen.welcomeScreen.seen'
// ============================================================================= // =============================================================================
// Util stuff copied from browser/components/preferences/search.js // Util stuff copied from browser/components/preferences/search.js

View File

@@ -128,3 +128,7 @@
margin-left: 15px; margin-left: 15px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.panel-subview-footer-button {
margin-bottom: 0 !important;
}

View File

@@ -4,7 +4,7 @@
:root { :root {
--zen-dialog-background: Field; --zen-dialog-background: Field;
--zen-dialog-border-color: rgba(0,0,0,.2); --zen-dialog-border-color: rgba(0,0,0,.2);
--zen-panel-radius: 15px; --zen-panel-radius: 7px;
--arrowpanel-background: var(--zen-dialog-background) !important; --arrowpanel-background: var(--zen-dialog-background) !important;
--arrowpanel-border-color: var(--zen-dialog-border-color) !important; --arrowpanel-border-color: var(--zen-dialog-border-color) !important;

View File

@@ -218,5 +218,7 @@
margin-inline: 0 !important; margin-inline: 0 !important;
} }
#identity-popup-mainView > toolbarseparator:first-child {
display: none !important;
}