[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-147.0a1-16.0-2] BB 44522: Modify the about dialog.



Title: GitLab

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

Commits:

  • 9eae5c66
    by henry at 2026-01-27T17:37:40+00:00
    BB 44522: Modify the about dialog.
    
    We hide the Firefox-specific elements and apply some common styling
    rules.
    
    
    (cherry picked from commit 06d6d7b068b6d6d9346567e3ddb44982e1aae9ca)
    
    Co-authored-by: Henry Wilkes <henry@xxxxxxxxxxxxxx>

2 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 trademark"
    
    18 18
             >
    
    19 19
     #ifdef XP_MACOSX
    
    20 20
     #include macWindow.inc.xhtml
    
    ... ... @@ -101,9 +101,13 @@
    101 101
                   <!-- This HBOX is duplicated above without class="update" -->
    
    102 102
                   <hbox align="baseline">
    
    103 103
                     <label id="version" class="update"/>
    
    104
    -                <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
    
    105 104
                   </hbox>
    
    106 105
                   <description class="text-blurb">
    
    106
    +                <!-- Place release notes on the same line as the help and
    
    107
    +                   - feedback links. We do not want the release notes on the
    
    108
    +                   - same line as the version because it may overflow.
    
    109
    +                   - See tor-browerr#42720. -->
    
    110
    +                <label id="releasenotes" is="text-link" hidden="true" data-l10n-id="releaseNotes-link"/>
    
    107 111
                     <label id="aboutDialogHelpLink" is="text-link" data-l10n-id="aboutdialog-help-user"/>
    
    108 112
                     <label id="submit-feedback" is="text-link" data-l10n-id="aboutdialog-submit-feedback"/>
    
    109 113
                   </description>
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx