 Issue 29326238:
  Issue 3031 - Add Adblock Browser section to First Run Page  (Closed)
    
  
    Issue 29326238:
  Issue 3031 - Add Adblock Browser section to First Run Page  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 
| 3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH | 
| 4 * | 4 * | 
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify | 
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as | 
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. | 
| 8 * | 8 * | 
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, | 
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 font-weight: normal; | 132 font-weight: normal; | 
| 133 text-align: center; | 133 text-align: center; | 
| 134 margin: 0; | 134 margin: 0; | 
| 135 padding: 0; | 135 padding: 0; | 
| 136 } | 136 } | 
| 137 | 137 | 
| 138 section | 138 section | 
| 139 { | 139 { | 
| 140 margin: 0 auto; | 140 margin: 0 auto; | 
| 141 margin-bottom: 30px; | 141 margin-bottom: 30px; | 
| 142 max-width: 760px; | 142 max-width: 960px; | 
| 143 background-image: url(background.png); | 143 background-image: url(background.png); | 
| 144 padding: 40px 100px; | 144 padding: 40px 100px; | 
| 145 } | 145 } | 
| 146 | 146 | 
| 147 #general | |
| 148 { | |
| 149 padding: 40px 0px; | |
| 150 display: table; | |
| 151 } | |
| 152 | |
| 153 #general > div | |
| 154 { | |
| 155 display: table-cell; | |
| 156 width: 50%; | |
| 157 vertical-align: top; | |
| 158 padding: 0px 50px; | |
| 159 } | |
| 160 | |
| 161 #general > div:not(:first-child) | |
| 162 { | |
| 163 border-left: dashed 1px #969085; | |
| 164 } | |
| 165 | |
| 166 html[dir="rtl"] #general > div:not(:first-child) | |
| 167 { | |
| 168 border-left: none; | |
| 169 border-right: dashed 1px #969085; | |
| 170 } | |
| 171 | |
| 172 #acceptable-ads-block h2 | |
| 173 { | |
| 174 margin-bottom: 34px; | |
| 175 } | |
| 176 | |
| 177 #abb-promotion-block:lang(fr) | |
| 178 { | |
| 179 display: none; | |
| 180 } | |
| 181 | |
| 182 #abb-promotion-block | |
| 183 { | |
| 184 text-align: center; | |
| 185 } | |
| 186 | |
| 187 #abb-promotion-block h2 | |
| 188 { | |
| 189 color: #7795b6; | |
| 190 margin-bottom: 40px; | |
| 191 } | |
| 192 | |
| 193 #abb-promotion-block a | |
| 194 { | |
| 195 border: solid 1px #446a96; | |
| 196 border-radius: 5px; | |
| 197 display: inline-block; | |
| 198 padding: 6px 16px; | |
| 199 background: -webkit-linear-gradient(bottom, #294e76, #6b92be); | |
| 200 background: linear-gradient(to top, #294e76, #6b92be); | |
| 201 text-decoration: none; | |
| 202 text-align: left; | |
| 
Thomas Greiner
2015/09/16 12:28:12
What about RTL languages?
 
Sebastian Noack
2015/09/16 12:32:33
Well spotted. It should be |text-algin: start|.
 
saroyanm
2015/09/16 12:47:20
Done.
 | |
| 203 } | |
| 204 | |
| 205 #abb-promotion-block a > div | |
| 206 { | |
| 207 display: inline-block; | |
| 208 vertical-align: middle; | |
| 209 padding: 6px; | |
| 210 } | |
| 211 | |
| 212 #abb-promotion-block .title | |
| 213 { | |
| 214 font-size: 21px; | |
| 215 color: #ffffff; | |
| 216 font-weight: bold; | |
| 217 } | |
| 218 | |
| 219 #abb-promotion-block .subtitle | |
| 220 { | |
| 221 font-size: 12px; | |
| 222 color: #9ab7d6; | |
| 223 } | |
| 224 | |
| 225 #abb-promotion-block a:hover | |
| 226 { | |
| 227 box-shadow: 0px 0px 5px #5D5D5D; | |
| 228 } | |
| 229 | |
| 230 #abb-promotion-block a:active | |
| 231 { | |
| 232 box-shadow: 0px 0px 5px 1px #5D5D5D; | |
| 233 } | |
| 234 | |
| 235 @media (max-width: 960px) | |
| 236 { | |
| 237 #general | |
| 238 { | |
| 239 display: block; | |
| 240 } | |
| 241 | |
| 242 #content #general > div:not(:first-child) | |
| 
saroyanm
2015/09/16 11:08:43
I'm using #content for css Specificity, becuase ht
 | |
| 243 { | |
| 244 border: none; | |
| 245 } | |
| 246 | |
| 247 #content #general > div:not(:first-child) | |
| 
Thomas Greiner
2015/09/16 12:28:12
You're using the same selector as the block above
 
Sebastian Noack
2015/09/16 12:32:33
This will be redundant, if you use the CSS I sugge
 | |
| 248 { | |
| 249 border-top: dashed 1px #969085; | |
| 250 } | |
| 251 | |
| 252 #general > div | |
| 253 { | |
| 254 display: block; | |
| 255 width: auto; | |
| 256 padding: 10px 0px; | |
| 257 margin: 0px 50px; | |
| 258 } | |
| 259 } | |
| 260 | |
| 147 section > p | 261 section > p | 
| 148 { | 262 { | 
| 149 margin: 15px 0 0 0; | 263 margin: 15px 0 0 0; | 
| 150 } | 264 } | 
| 151 | 265 | 
| 152 #logo | 266 #logo | 
| 153 { | 267 { | 
| 154 margin: 0 auto; | 268 margin: 0 auto; | 
| 155 height: 128px; | 269 height: 128px; | 
| 156 width: 128px; | 270 width: 128px; | 
| 157 display: block; | 271 display: block; | 
| 158 } | 272 } | 
| 159 | 273 | 
| 160 #can-do-more | 274 #can-do-more | 
| 161 { | 275 { | 
| 162 max-width: 960px; | |
| 163 padding: 40px 0px 0px 0px; | 276 padding: 40px 0px 0px 0px; | 
| 164 border-bottom: 4px solid #968D81; | 277 border-bottom: 4px solid #968D81; | 
| 165 } | 278 } | 
| 166 | 279 | 
| 167 #can-do-more > h2 | 280 #can-do-more > h2 | 
| 168 { | 281 { | 
| 169 margin: 0 100px; | 282 margin: 0 100px; | 
| 170 } | 283 } | 
| 171 | 284 | 
| 172 .feature-malware-image | 285 .feature-malware-image | 
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 592 background-image: url(donate.png); | 705 background-image: url(donate.png); | 
| 593 background-repeat: repeat-x; | 706 background-repeat: repeat-x; | 
| 594 } | 707 } | 
| 595 | 708 | 
| 596 footer | 709 footer | 
| 597 { | 710 { | 
| 598 margin: 0 auto 30px; | 711 margin: 0 auto 30px; | 
| 599 max-width: 960px; | 712 max-width: 960px; | 
| 600 text-align: center; | 713 text-align: center; | 
| 601 } | 714 } | 
| OLD | NEW |