 Issue 29592569:
  Issue 5943 - Implement Updates Page for Adblock Plus extension  (Closed) 
  Base URL: https://hg.adblockplus.org/adblockplusui/
    
  
    Issue 29592569:
  Issue 5943 - Implement Updates Page for Adblock Plus extension  (Closed) 
  Base URL: https://hg.adblockplus.org/adblockplusui/| Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 @font-face | 1 @font-face | 
| 2 { | 2 { | 
| 3 font-family: "Source Sans Pro"; | 3 font-family: "Source Sans Pro"; | 
| 4 font-style: normal; | 4 font-style: normal; | 
| 5 font-weight: 400; | 5 font-weight: 400; | 
| 6 font-stretch: normal; | 6 font-stretch: normal; | 
| 7 src: local ("Ø"), | 7 src: local ("Ø"), | 
| 8 url(fonts/SourceSansPro-Regular.woff) format("woff"); | 8 url(fonts/SourceSansPro-Regular.woff) format("woff"); | 
| 9 } | 9 } | 
| 10 | 10 | 
| 11 @font-face | 11 @font-face | 
| 12 { | 12 { | 
| 13 font-family: "Source Sans Pro"; | 13 font-family: "Source Sans Pro"; | 
| 14 font-style: bold; | 14 font-style: bold; | 
| 15 font-weight: 600; | 15 font-weight: 600; | 
| 16 font-stretch: normal; | 16 font-stretch: normal; | 
| 17 src: local ("Ø"), | 17 src: local ("Ø"), | 
| 18 url(fonts/SourceSansPro-bold.woff) format("woff"); | 18 url(fonts/SourceSansPro-bold.woff) format("woff"); | 
| 19 } | 19 } | 
| 20 | 20 | 
| 21 html | 21 html | 
| 22 { | 22 { | 
| 23 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; | 23 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; | 
| 24 -webkit-font-smoothing: antialiased; | |
| 24 } | 25 } | 
| 25 | 26 | 
| 26 body | 27 body | 
| 27 { | 28 { | 
| 28 margin: 0; | 29 margin: 0; | 
| 29 padding: 0; | 30 padding: 0; | 
| 30 } | 31 } | 
| 31 | 32 | 
| 32 #container | 33 #container | 
| 33 { | 34 { | 
| 34 display: flex; | 35 display: flex; | 
| 35 flex-direction: row; | 36 flex-direction: row; | 
| 36 align-items: stretch; | 37 align-items: stretch; | 
| 37 } | 38 } | 
| 38 | 39 | 
| 39 .column | 40 .column | 
| 40 { | 41 { | 
| 41 height: 100vh; | 42 height: 100vh; | 
| 42 display: flex; | 43 display: flex; | 
| 43 align-items: center; | 44 align-items: center; | 
| 44 justify-content: center; | 45 justify-content: center; | 
| 45 flex: 1; | 46 flex: 1; | 
| 46 } | 47 } | 
| 47 | 48 | 
| 48 #graphic-column | 49 #graphic-column, | 
| 49 { | 50 .graphic-column | 
| 50 background-color: #8DC446; | |
| 51 } | |
| 52 | |
| 53 .graphic-column | |
| 54 { | 51 { | 
| 55 background-color: #8DC446; | 52 background-color: #8DC446; | 
| 56 } | 53 } | 
| 57 | 54 | 
| 58 #content | 55 #content | 
| 59 { | 56 { | 
| 60 padding: 0 3em; | 57 padding: 0 3em; | 
| 61 max-width: 760px; | 58 max-width: 760px; | 
| 62 } | 59 } | 
| 63 | 60 | 
| 64 #content a | 61 #content a | 
| 65 { | 62 { | 
| 66 color: #C70D2C; | 63 color: #C70D2C; | 
| 67 text-decoration: none; | 64 text-decoration: none; | 
| 68 } | 65 } | 
| 69 | 66 | 
| 70 #optionsPageLink | 67 #optionsPageLink | 
| 71 { | 68 { | 
| 72 color: red; | 69 color: red; | 
| 73 } | 70 } | 
| 74 | 71 | 
| 72 /* Needed in order to achieve standard behavior | |
| 73 for links, due to lacking href attribute */ | |
| 75 #content a:hover | 74 #content a:hover | 
| 76 { | 75 { | 
| 77 text-decoration: underline; | 76 text-decoration: underline; | 
| 78 cursor: pointer; | 77 cursor: pointer; | 
| 
Thomas Greiner
2017/11/27 16:15:48
Detail: Why is this necessary? `<a>` elements have
 
martin
2017/12/05 14:37:31
I *think* what's happening is that because the  "S
 
Thomas Greiner
2017/12/11 12:11:08
Makes sense. Generally, we add `href="#"` for such
 
martin
2017/12/19 12:59:49
Added a comment here to explain the styles.
On 20
 | |
| 79 } | 78 } | 
| 80 | 79 | 
| 81 #content header | 80 #content header | 
| 82 { | 81 { | 
| 83 margin: 0 0 2em 5em; | 82 margin: 0 0 2em 5em; | 
| 84 } | 83 } | 
| 85 | 84 | 
| 86 html[dir="rtl"] #content header | 85 html[dir="rtl"] #content header | 
| 87 { | 86 { | 
| 88 margin: 0 5em 2em 0; | 87 margin: 0 5em 2em 0; | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 156 .feature-entry | 155 .feature-entry | 
| 157 { | 156 { | 
| 158 display: flex; | 157 display: flex; | 
| 159 align-items: center; | 158 align-items: center; | 
| 160 padding: 0 1em; | 159 padding: 0 1em; | 
| 161 } | 160 } | 
| 162 | 161 | 
| 163 .feature-entry img | 162 .feature-entry img | 
| 164 { | 163 { | 
| 165 width: 50px; | 164 width: 50px; | 
| 166 height: 50px; | 165 height: 50px; | 
| 
Thomas Greiner
2017/11/27 16:15:49
Suggestion: I noticed that the content jumps when
 
martin
2017/12/05 14:37:30
I'm ignoring this issue for now.
 | |
| 167 display: block; | 166 display: block; | 
| 168 margin: 0 1em 0 0; | 167 margin: 0 1em 0 0; | 
| 169 } | 168 } | 
| 170 | 169 | 
| 171 html[dir="rtl"] .feature-entry img | 170 html[dir="rtl"] .feature-entry img | 
| 172 { | 171 { | 
| 173 margin: 0 0 0 1em; | 172 margin: 0 0 0 1em; | 
| 174 } | 173 } | 
| 175 | 174 | 
| 176 #block-ads-text > strong | 175 #block-ads-text > strong | 
| (...skipping 14 matching lines...) Expand all Loading... | |
| 191 } | 190 } | 
| 192 | 191 | 
| 193 .store-button | 192 .store-button | 
| 194 { | 193 { | 
| 195 display: block; | 194 display: block; | 
| 196 height: 58px; | 195 height: 58px; | 
| 197 border-radius: 6px; | 196 border-radius: 6px; | 
| 198 background-color: #000; | 197 background-color: #000; | 
| 199 float: left; | 198 float: left; | 
| 200 margin-bottom: 1em; | 199 margin-bottom: 1em; | 
| 201 overflow: hidden; | |
| 
Thomas Greiner
2017/11/27 16:15:49
Detail: What's the purpose of this? There shouldn'
 
martin
2017/12/05 14:37:31
Oops. Was playing around with something and forgot
 | |
| 202 } | 200 } | 
| 203 | 201 | 
| 204 html[dir="rtl"] .store-button | 202 html[dir="rtl"] .store-button | 
| 205 { | 203 { | 
| 206 float: right; | 204 float: right; | 
| 207 } | 205 } | 
| 208 | 206 | 
| 209 .store-button > img | 207 .store-button > img | 
| 210 { | 208 { | 
| 211 height: 100%; | 209 height: 100%; | 
| (...skipping 28 matching lines...) Expand all Loading... | |
| 240 .column | 238 .column | 
| 241 { | 239 { | 
| 242 align-items: flex-start; | 240 align-items: flex-start; | 
| 243 } | 241 } | 
| 244 | 242 | 
| 245 html[dir="rtl"] .applestore-button | 243 html[dir="rtl"] .applestore-button | 
| 246 { | 244 { | 
| 247 margin: 0 0 1em 0; | 245 margin: 0 0 1em 0; | 
| 248 } | 246 } | 
| 249 } | 247 } | 
| LEFT | RIGHT |