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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.1.0esr-14.0-1] 2 commits: fixup! Bug 40701: Add security warning when downloading a file



Title: GitLab

morgan pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 2f5828ec
    by Henry Wilkes at 2024-08-12T18:00:12+00:00
    fixup! Bug 40701: Add security warning when downloading a file
    
    Bug 42641: Use moz-button-group for panel buttons.
    
  • 9167ae43
    by Henry Wilkes at 2024-08-12T18:00:12+00:00
    fixup! Bug 40925: Implemented the Security Level component
    
    Bug 42641: Use moz-button-group for panel buttons.
    
    Also tweak the "Learn more" link to have block-end padding to ensure its
    focus outline is visible, and restrict it to align-start so that it does
    not span the full width.
    
    Also switch from `em` to `px` units for the vertical spacing.
    

3 changed files:

Changes:

  • browser/components/downloads/content/downloadsPanel.inc.xhtml
    ... ... @@ -126,12 +126,12 @@
    126 126
                   class="downloads-tor-warning-tails-link"
    
    127 127
                 ></html:a>
    
    128 128
               </html:p>
    
    129
    -          <html:div class="panel-footer">
    
    129
    +          <html:moz-button-group class="panel-footer">
    
    130 130
                 <html:button
    
    131
    -              class="downloads-tor-warning-dismiss-button"
    
    131
    +              class="footer-button downloads-tor-warning-dismiss-button"
    
    132 132
                   data-l10n-id="downloads-tor-warning-dismiss-button"
    
    133 133
                 ></html:button>
    
    134
    -          </html:div>
    
    134
    +          </html:moz-button-group>
    
    135 135
             </vbox>
    
    136 136
             <toolbarseparator />
    
    137 137
           </vbox>
    

  • browser/components/securitylevel/content/securityLevelPanel.css
    ... ... @@ -3,8 +3,8 @@
    3 3
     #securityLevel-background {
    
    4 4
       min-height: 10em;
    
    5 5
       padding-inline: 16px;
    
    6
    -  padding-block: 1em 0;
    
    7
    -  gap: 1em;
    
    6
    +  padding-block: 16px 8px;
    
    7
    +  gap: 16px;
    
    8 8
       background-repeat: no-repeat;
    
    9 9
       background-position-y: top 0.4em;
    
    10 10
       /* Icon center should be in-line with end padding.
    
    ... ... @@ -61,3 +61,7 @@
    61 61
       padding-inline-end: 5em;
    
    62 62
       max-width: 20em;
    
    63 63
     }
    
    64
    +
    
    65
    +#securityLevel-learnMore {
    
    66
    +  align-self: start;
    
    67
    +}

  • browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
    ... ... @@ -28,14 +28,16 @@
    28 28
           data-l10n-id="security-level-panel-learn-more-link"
    
    29 29
         ></html:a>
    
    30 30
       </vbox>
    
    31
    -  <hbox class="panel-footer">
    
    31
    +  <html:moz-button-group class="panel-footer">
    
    32 32
         <button
    
    33 33
           id="securityLevel-settings"
    
    34
    +      class="footer-button"
    
    34 35
           data-l10n-id="security-level-panel-open-settings-button"
    
    35 36
         />
    
    36 37
         <button
    
    37 38
           id="securityLevel-restoreDefaults"
    
    39
    +      class="footer-button"
    
    38 40
           data-l10n-id="security-level-restore-defaults-button"
    
    39 41
         />
    
    40
    -  </hbox>
    
    42
    +  </html:moz-button-group>
    
    41 43
     </panel>

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits