henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser

Commits:

6 changed files:

Changes:

  • browser/base/content/aboutDialog.css
    ... ... @@ -120,6 +120,10 @@
    120 120
       }
    
    121 121
     }
    
    122 122
     
    
    123
    +/* #releasenotes is moved to the same line as #aboutDialogHelpLink and
    
    124
    + * #submit-feedback, so we also want #aboutDialogHelpLink to have a starting
    
    125
    + * margin. */
    
    126
    +#releasenotes:not([hidden]) ~ #aboutDialogHelpLink,
    
    123 127
     #submit-feedback {
    
    124 128
       margin-inline-start: 0.9em;
    
    125 129
     }
    
    ... ... @@ -169,3 +173,38 @@
    169 173
         content: url("chrome://global/skin/icons/loading.svg");
    
    170 174
       }
    
    171 175
     }
    
    176
    +
    
    177
    +/* Common Base Browser rules. */
    
    178
    +
    
    179
    +/* Hide Firefox elements. */
    
    180
    +#communityExperimentalDesc,
    
    181
    +#communityDesc,
    
    182
    +#contributeDesc,
    
    183
    +.bottom-link:not(.visible-bottom-link) {
    
    184
    +  /* NOTE: Anything hidden here should also be removed from the aria-describedby
    
    185
    +   * of the dialog element. */
    
    186
    +  display: none;
    
    187
    +}
    
    188
    +
    
    189
    +#aboutDialogContainer {
    
    190
    +  background-color: var(--about-dialog-background-color);
    
    191
    +  color: var(--about-dialog-text-color);
    
    192
    +  color-scheme: var(--about-dialog-color-scheme);
    
    193
    +}
    
    194
    +
    
    195
    +#rightBox {
    
    196
    +  background-size: auto;
    
    197
    +  margin-inline: 30px;
    
    198
    +}
    
    199
    +
    
    200
    +#bottomBox {
    
    201
    +  background-color: var(--about-dialog-background-color-bottom);
    
    202
    +  padding: 15px 10px 15px;
    
    203
    +}
    
    204
    +
    
    205
    +#trademark {
    
    206
    +  font-size: xx-small;
    
    207
    +  text-align: center;
    
    208
    +  color: var(--about-dialog-text-color-trademark);
    
    209
    +  margin-block: 10px;
    
    210
    +}

  • browser/base/content/aboutDialog.xhtml
    ... ... @@ -14,7 +14,7 @@
    14 14
             data-l10n-id="aboutDialog-title"
    
    15 15
     #endif
    
    16 16
             role="dialog"
    
    17
    -        aria-describedby="version distribution distributionId communityDesc contributeDesc trademark"
    
    17
    +        aria-describedby="version distribution distributionId mullvadBrowserDesc trademark"
    
    18 18
             >
    
    19 19
     #ifdef XP_MACOSX
    
    20 20
     #include macWindow.inc.xhtml
    
    ... ... @@ -102,11 +102,15 @@
    102 102
                   <!-- This HBOX is duplicated above without class="update" -->
    
    103 103
                   <hbox align="baseline">
    
    104 104
                     <label id="version" class="update"/>
    
    105
    -                <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
    
    106 105
                   </hbox>
    
    107
    -              <description class="text-blurb" hidden="true">
    
    108
    -                <label id="aboutDialogHelpLink" is="text-link" data-l10n-id="aboutdialog-help-user"/>
    
    109
    -                <label id="submit-feedback" is="text-link" data-l10n-id="aboutdialog-submit-feedback"/>
    
    106
    +              <description class="text-blurb">
    
    107
    +                <!-- Place release notes on the same line as the help and
    
    108
    +                   - feedback links. We do not want the release notes on the
    
    109
    +                   - same line as the version because it may overflow.
    
    110
    +                   - See tor-browerr#42720. -->
    
    111
    +                <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
    
    112
    +                <label id="aboutDialogHelpLink" is="text-link" hidden="true" data-l10n-id="aboutdialog-help-user"/>
    
    113
    +                <label id="submit-feedback" is="text-link" hidden="true" data-l10n-id="aboutdialog-submit-feedback"/>
    
    110 114
                   </description>
    
    111 115
                 </vbox>
    
    112 116
     #endif
    
    ... ... @@ -126,7 +130,15 @@
    126 130
                   <label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-exp-creditsLink"/>
    
    127 131
                 </description>
    
    128 132
               </vbox>
    
    129
    -          <description class="text-blurb" data-l10n-id="mullvad-about-desc">
    
    133
    +          <description class="text-blurb" id="communityDesc" data-l10n-id="community-2">
    
    134
    +            <label is="text-link" href="https://www.mozilla.org/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-name="community-mozillaLink"/>
    
    135
    +            <label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-creditsLink"/>
    
    136
    +          </description>
    
    137
    +          <description class="text-blurb" id="contributeDesc" data-l10n-id="helpus">
    
    138
    +            <label is="text-link" href="https://foundation.mozilla.org/?form=firefox-about" data-l10n-name="helpus-donateLink"/>
    
    139
    +            <label is="text-link" href="https://www.mozilla.org/contribute/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-name="helpus-getInvolvedLink"/>
    
    140
    +          </description>
    
    141
    +          <description class="text-blurb" id="mullvadBrowserDesc" data-l10n-id="mullvad-about-desc">
    
    130 142
                 <label is="text-link" href="https://mullvad.net" data-l10n-name="mullvad-about-mullvadLink"/>
    
    131 143
                 <label is="text-link" href="https://www.torproject.org" data-l10n-name="mullvad-about-torProjectLink"/>
    
    132 144
               </description>
    
    ... ... @@ -139,10 +151,11 @@
    139 151
         </hbox>
    
    140 152
         <vbox id="bottomBox">
    
    141 153
           <hbox pack="center">
    
    142
    -        <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
    
    143
    -        <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:rights" data-l10n-id="bottomLinks-rights"/>
    
    144
    -        <label is="text-link" class="bottom-link" href="https://mullvad.net/en/help/privacy-policy/" data-l10n-id="bottomLinks-privacy"/>
    
    145
    -        <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:telemetry" data-l10n-id="mullvad-about-telemetryLink"/>
    
    154
    +        <label is="text-link" class="bottom-link visible-bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
    
    155
    +        <label is="text-link" class="bottom-link" href="https://www.mozilla.org/about/legal/terms/firefox/" data-l10n-id="bottom-links-terms"/>
    
    156
    +        <label is="text-link" class="bottom-link" href="https://www.mozilla.org/privacy/firefox/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-id="bottom-links-privacy"/>
    
    157
    +        <label is="text-link" class="bottom-link visible-bottom-link" href="https://mullvad.net/en/help/privacy-policy/" data-l10n-id="mullvad-about-privacy-policy"/>
    
    158
    +        <label is="text-link" class="bottom-link visible-bottom-link" useoriginprincipal="true" href="about:telemetry" data-l10n-id="mullvad-about-telemetryLink"/>
    
    146 159
           </hbox>
    
    147 160
           <description id="trademark" data-l10n-id="trademarkInfo"></description>
    
    148 161
         </vbox>
    

  • browser/branding/mb-alpha/content/aboutDialog.css
    ... ... @@ -2,27 +2,15 @@
    2 2
      * License, v. 2.0. If a copy of the MPL was not distributed with this
    
    3 3
      * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    
    4 4
     
    
    5
    -#aboutDialogContainer {
    
    6
    -  background-color: #0b2138;
    
    7
    -  color: #fff;
    
    8
    -  color-scheme: dark;
    
    5
    +:root {
    
    6
    +  --about-dialog-background-color: #0b2138;
    
    7
    +  --about-dialog-text-color: #fff;
    
    8
    +  --about-dialog-color-scheme: dark;
    
    9
    +  --about-dialog-background-color-bottom: rgba(0, 0, 0, 0.2);
    
    10
    +  --about-dialog-text-color-trademark: #999999;
    
    9 11
     }
    
    10 12
     
    
    11 13
     #rightBox {
    
    12
    -  margin-inline: 30px;
    
    13
    -  background-size: auto;
    
    14 14
       /* Increase the default width to fit the about-wordmark.svg width. */
    
    15 15
       width: 559px;
    
    16 16
     }
    17
    -
    
    18
    -#bottomBox {
    
    19
    -  background-color: rgba(0, 0, 0, 0.2);
    
    20
    -  padding: 15px 10px 15px;
    
    21
    -}
    
    22
    -
    
    23
    -#trademark {
    
    24
    -  font-size: xx-small;
    
    25
    -  text-align: center;
    
    26
    -  color: #999999;
    
    27
    -  margin-block: 10px;
    
    28
    -}

  • browser/branding/mb-nightly/content/aboutDialog.css
    ... ... @@ -2,27 +2,15 @@
    2 2
      * License, v. 2.0. If a copy of the MPL was not distributed with this
    
    3 3
      * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    
    4 4
     
    
    5
    -#aboutDialogContainer {
    
    6
    -  background-color: #0b2138;
    
    7
    -  color: #fff;
    
    8
    -  color-scheme: dark;
    
    5
    +:root {
    
    6
    +  --about-dialog-background-color: #0b2138;
    
    7
    +  --about-dialog-text-color: #fff;
    
    8
    +  --about-dialog-color-scheme: dark;
    
    9
    +  --about-dialog-background-color-bottom: rgba(0, 0, 0, 0.2);
    
    10
    +  --about-dialog-text-color-trademark: #999999;
    
    9 11
     }
    
    10 12
     
    
    11 13
     #rightBox {
    
    12
    -  margin-inline: 30px;
    
    13
    -  background-size: auto;
    
    14 14
       /* Increase the default width to fit the about-wordmark.svg width. */
    
    15 15
       width: 601px;
    
    16 16
     }
    17
    -
    
    18
    -#bottomBox {
    
    19
    -  background-color: rgba(0, 0, 0, 0.2);
    
    20
    -  padding: 15px 10px 15px;
    
    21
    -}
    
    22
    -
    
    23
    -#trademark {
    
    24
    -  font-size: xx-small;
    
    25
    -  text-align: center;
    
    26
    -  color: #999999;
    
    27
    -  margin-block: 10px;
    
    28
    -}

  • browser/branding/mb-release/content/aboutDialog.css
    ... ... @@ -2,25 +2,10 @@
    2 2
      * License, v. 2.0. If a copy of the MPL was not distributed with this
    
    3 3
      * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    
    4 4
     
    
    5
    -#aboutDialogContainer {
    
    6
    -  background-color: #0b2138;
    
    7
    -  color: #fff;
    
    8
    -  color-scheme: dark;
    
    9
    -}
    
    10
    -
    
    11
    -#rightBox {
    
    12
    -  margin-inline: 30px;
    
    13
    -  background-size: auto;
    
    14
    -}
    
    15
    -
    
    16
    -#bottomBox {
    
    17
    -  background-color: rgba(0, 0, 0, 0.2);
    
    18
    -  padding: 15px 10px 15px;
    
    19
    -}
    
    20
    -
    
    21
    -#trademark {
    
    22
    -  font-size: xx-small;
    
    23
    -  text-align: center;
    
    24
    -  color: #999999;
    
    25
    -  margin-block: 10px;
    
    5
    +:root {
    
    6
    +  --about-dialog-background-color: #0b2138;
    
    7
    +  --about-dialog-text-color: #fff;
    
    8
    +  --about-dialog-color-scheme: dark;
    
    9
    +  --about-dialog-background-color-bottom: rgba(0, 0, 0, 0.2);
    
    10
    +  --about-dialog-text-color-trademark: #999999;
    
    26 11
     }

  • toolkit/locales/en-US/toolkit/global/mullvad-browser.ftl
    ... ... @@ -10,6 +10,7 @@ mullvad-about-readMore = Read more
    10 10
     #   $emailAddress (String) - The email address of Mullvad's support
    
    11 11
     mullvad-about-feedback2 = Help & feedback: { $emailAddress }
    
    12 12
     mullvad-about-telemetryLink = Telemetry
    
    13
    +mullvad-about-privacy-policy = Privacy Policy
    
    13 14
     
    
    14 15
     ## Mullvad browser home page.
    
    15 16