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

Commits:

2 changed files:

Changes:

  • browser/components/abouttor/content/aboutTor.css
    ... ... @@ -52,9 +52,11 @@ h1 {
    52 52
       display: flex;
    
    53 53
       gap: 10px;
    
    54 54
       align-items: center;
    
    55
    -  padding-inline: 24px;
    
    56
    -  padding-block: 12px;
    
    55
    +  padding-inline: 23px;
    
    56
    +  padding-block: 11px;
    
    57
    +  border: 1px solid var(--in-content-box-border-color);
    
    57 58
       border-radius: 8px;
    
    59
    +  background-color: var(--in-content-box-info-background);
    
    58 60
       margin-block-start: 0;
    
    59 61
       margin-block-end: 30px;
    
    60 62
     }
    
    ... ... @@ -106,6 +108,7 @@ body:not(.show-tor-check) #tor-check {
    106 108
       border-radius: calc(var(--form-radius) + var(--form-border-width));
    
    107 109
       border-width: var(--form-border-width);
    
    108 110
       border-style: solid;
    
    111
    +  border-color: var(--in-content-box-border-color);
    
    109 112
     }
    
    110 113
     
    
    111 114
     #search-form.search-input-focus-visible {
    
    ... ... @@ -154,17 +157,10 @@ body:not(.show-tor-check) #tor-check {
    154 157
     
    
    155 158
     }
    
    156 159
     
    
    157
    -@media (prefers-contrast) {
    
    158
    -  #search-form {
    
    159
    -    border-color: var(--in-content-box-border-color);
    
    160
    -  }
    
    160
    +@media not ((prefers-contrast) or (forced-colors)) {
    
    161
    +  /* Force the page to follow the same Tor theme, regardless of
    
    162
    +   * prefers-color-scheme. */
    
    161 163
     
    
    162
    -  #tor-check {
    
    163
    -    background-color: var(--in-content-box-info-background);
    
    164
    -  }
    
    165
    -}
    
    166
    -
    
    167
    -@media not (prefers-contrast) {
    
    168 164
       /* On dark background */
    
    169 165
       :root {
    
    170 166
         background-color: #2C0449;
    
    ... ... @@ -176,6 +172,7 @@ body:not(.show-tor-check) #tor-check {
    176 172
     
    
    177 173
       #tor-check {
    
    178 174
         background-color: #1f0333;
    
    175
    +    border-color: transparent;
    
    179 176
       }
    
    180 177
     
    
    181 178
       body > :not(#search-form) {
    

  • browser/components/torcircuit/content/torCircuitPanel.css
    ... ... @@ -17,7 +17,7 @@
    17 17
       background: currentColor;
    
    18 18
     }
    
    19 19
     
    
    20
    -@media not (prefers-contrast) {
    
    20
    +@media not ((prefers-contrast) or (forced-colors)) {
    
    21 21
       #tor-circuit-button-icon {
    
    22 22
         background: linear-gradient(315deg, #008799 0%, #6153C6 50%, #CA00CC 100%);
    
    23 23
       }