Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/firstRun.css

Issue 29326238: Issue 3031 - Add Adblock Browser section to First Run Page (Closed)
Patch Set: Removed block for French locale Created Sept. 10, 2015, 9:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« firstRun.html ('K') | « skin/abb-logo.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 760px;
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 max-width: 960px;
151 display: table;
152 }
Thomas Greiner 2015/09/11 18:12:00 Why do you need to deviate so much from the defaul
saroyanm 2015/09/15 09:42:37 I did this because I wanted to setup equal right a
Thomas Greiner 2015/09/15 11:19:31 Not to each element, no. It should only be applied
saroyanm 2015/09/15 12:43:31 I've made a fix accordingly so we will not need to
153
154 #general > div
155 {
156 display: table-cell;
157 width: 50%;
158 vertical-align: top;
159 padding: 0px 50px;
160 }
161
162 #general > div:not(:first-child)
163 {
164 border-left: dashed 1px #969085;
165 }
166
167 html[dir="rtl"] #general > div:not(:first-child)
168 {
169 border-left: none;
170 border-right: dashed 1px #969085;
171 }
172
173 #acceptable-ads-block h2
174 {
175 margin-bottom: 34px;
176 }
177
178 #abb-promotion-block:lang(fr)
179 {
180 display: none;
181 }
182
183 #abb-promotion-block h2
184 {
185 color: #7795b6;
186 margin-bottom: 40px;
187 }
188
189 #abb-promotion-block a
190 {
191 border: solid 1px #446a96;
192 border-radius: 5px;
193 display: table;
194 padding: 6px 16px;
195 background: -prefix-gradient(to top, #294e76, #6b92be);
Thomas Greiner 2015/09/11 18:11:59 I suppose that "-prefix-" is a placeholder for ven
saroyanm 2015/09/15 09:42:37 That's stupid sorry :D Done.
196 background: linear-gradient(to top, #294e76, #6b92be);
197 text-decoration: none;
198 width: 100%;
199 -webkit-box-sizing: border-box;
200 -moz-box-sizing: border-box;
201 box-sizing: border-box;
202 }
203
204 #abb-promotion-block a > div
205 {
206 display: table-cell;
207 vertical-align: middle;
208 padding: 6px;
209 }
210
211 #abb-promotion-block a > div:first-child
212 {
213 width: 1px;
Thomas Greiner 2015/09/11 18:11:59 What is this supposed to do? Looks like it's a wor
saroyanm 2015/09/15 09:42:37 Yes, I need the first cell to be adjusted to the w
Thomas Greiner 2015/09/15 11:19:31 The behavior on small screens hasn't been specifie
saroyanm 2015/09/15 12:43:31 Well in that case we will need to specify width I
Thomas Greiner 2015/09/15 14:15:50 No, you shouldn't need to specify a width. If you'
saroyanm 2015/09/15 15:03:35 Done.
214 }
215
216 #abb-promotion-block a div > div:first-child
217 {
218 font-size: 22px;
219 color: #ffffff;
220 font-weight: bold;
221 }
222
223 #abb-promotion-block a div > div:not(:first-child)
Thomas Greiner 2015/09/11 18:12:00 Detail: That's a situation where assigning a class
saroyanm 2015/09/15 09:42:37 Done.
224 {
225 font-size: 12px;
226 color: #9ab7d6;
227 }
228
229 #abb-promotion-block a:hover
230 {
231 -moz-box-shadow: 0px 0px 5px #5D5D5D;
232 -webkit-box-shadow: 0px 0px 5px #5D5D5D;
Thomas Greiner 2015/09/11 18:11:59 According to MDN the prefixes have been removed in
saroyanm 2015/09/15 09:42:37 Safari 5.0 ? The prefixes looks to be removed from
Thomas Greiner 2015/09/15 11:19:31 1) `-moz-xxx` is still unnecessary. 2) AFAIK we do
saroyanm 2015/09/15 12:43:31 Done.
233 box-shadow: 0px 0px 5px #5D5D5D;
234 }
235
236 #abb-promotion-block a:active
237 {
238 -moz-box-shadow: 0px 0px 5px 1px #5D5D5D;
239 -webkit-box-shadow: 0px 0px 5px 1px #5D5D5D;
240 box-shadow: 0px 0px 5px 1px #5D5D5D;
241 }
242
243 @media (max-width: 960px)
244 {
245 #general
246 {
247 padding: 40px 0px;
248 max-width: 960px;
249 display: block;
250 }
Thomas Greiner 2015/09/11 18:11:59 Basically, all this block does is override `displa
saroyanm 2015/09/15 09:42:37 Ahh right, hmm. Done.
251
252 #general > div:not(:first-child),
253 html[dir="rtl"] #general > div:not(:first-child)
254 {
255 border: none;
256 }
257
258 #general > div
259 {
260 display: block;
261 width: auto;
262 vertical-align: top;
263 padding: 0px 50px;
264 }
265 }
266
147 section > p 267 section > p
148 { 268 {
149 margin: 15px 0 0 0; 269 margin: 15px 0 0 0;
150 } 270 }
151 271
152 #logo 272 #logo
153 { 273 {
154 margin: 0 auto; 274 margin: 0 auto;
155 height: 128px; 275 height: 128px;
156 width: 128px; 276 width: 128px;
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 background-image: url(donate.png); 712 background-image: url(donate.png);
593 background-repeat: repeat-x; 713 background-repeat: repeat-x;
594 } 714 }
595 715
596 footer 716 footer
597 { 717 {
598 margin: 0 auto 30px; 718 margin: 0 auto 30px;
599 max-width: 960px; 719 max-width: 960px;
600 text-align: center; 720 text-align: center;
601 } 721 }
OLDNEW
« firstRun.html ('K') | « skin/abb-logo.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld