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

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-128.1.0esr-14.0-1] fixup! Bug 40925: Implemented the Security Level component



Title: GitLab

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

Commits:

  • 96e96fa2
    by Henry Wilkes at 2024-08-12T18:22:00+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.
    

2 changed files:

Changes:

  • 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