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

Side by Side Diff: skin/updates.css

Issue 29592569: Issue 5943 - Implement Updates Page for Adblock Plus extension (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Addressed third round of feedback Created Nov. 20, 2017, 11:44 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
OLDNEW
(Empty)
1 @font-face
2 {
3 font-family: "Source Sans Pro";
4 font-style: normal;
5 font-weight: 400;
6 font-stretch: normal;
7 src: local ("Ø"),
8 url(fonts/SourceSansPro-Regular.woff) format("woff");
9 }
10
11 @font-face
12 {
13 font-family: "Source Sans Pro";
14 font-style: bold;
15 font-weight: 600;
16 font-stretch: normal;
17 src: local ("Ø"),
18 url(fonts/SourceSansPro-bold.woff) format("woff");
19 }
20
21 html
22 {
23 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
24 }
25
26 body
27 {
28 margin: 0;
29 padding: 0;
30 }
31
32 #container
33 {
34 display: flex;
35 flex-direction: row;
36 align-items: stretch;
37 }
38
39 .column
40 {
41 height: 100vh;
42 display: flex;
43 align-items: center;
44 justify-content: center;
45 flex: 1;
46 }
47
48 #graphic-column
49 {
50 background-color: #8DC446;
51 }
52
53 .graphic-column
54 {
55 background-color: #8DC446;
56 }
57
58 #content
59 {
60 padding: 0 3em;
61 max-width: 760px;
62 }
63
64 #content a
65 {
66 color: #C70D2C;
67 text-decoration: none;
68 }
69
70 #optionsPageLink
71 {
72 color: red;
73 }
74
75 #content a:hover
76 {
77 text-decoration: underline;
78 }
79
80 #content header
81 {
82 margin: 0 0 2em 5em;
83 }
84
85 html[dir="rtl"] #content header
86 {
87 margin: 0 5em 2em 0;
88 }
89
90 #content header p {
91 margin: 0;
92 opacity: 0.5;
93 font-weight: 400;
94 font-size: 1.2em;
95 }
96
97 #content header h1
98 {
99 margin: 0;
100 }
101
102 .custom-feature-entry
103 {
104 margin-top: 2em;
105 }
106
107 .custom-feature-entry h2
108 {
109 margin: 0 0 0 3.4em;
110 }
111
112 html[dir="rtl"] .custom-feature-entry h2
113 {
114 margin: 0 3.4em 0 0;
115 }
116
117 .update-graphic-container
118 {
119 width: 560px;
120 height: 460px;
121 background-image: url(./updates/base-graphic.svg);
122 position: relative;
123 display: flex;
124 align-items: center;
125 background-repeat: no-repeat;
126 background-size: cover;
127 }
128
129 .update-graphic-container img
130 {
131 display: block;
132 width: 162px;
133 height: 162px;
134 }
135
136 .update-graphic-content
137 {
138 position: absolute;
139 top: 65px;
140 left: 100px;
141 display: flex;
142 align-items: center;
143 }
144
145 .version-details
146 {
147 margin: 0 1em 0 1em;
148 }
149
150 .version-details h2
151 {
152 margin: 0;
153 }
154
155 .feature-entry
156 {
157 display: flex;
158 align-items: center;
159 padding: 0 1em;
160 }
161
162 .feature-entry img
163 {
164 width: 50px;
165 height: 50px;
166 display: block;
167 margin: 0 1em 0 0;
168 }
169
170 html[dir="rtl"] .feature-entry img
171 {
172 margin: 0 0 0 1em;
173 }
174
175 #block-ads-text > strong
176 {
177 text-decoration: line-through;
178 font-weight: normal;
179 }
180
181 .store-buttons
182 {
183 height: 58px;
184 margin: 0 0 0 5em;
185 }
186
187 html[dir="rtl"] .store-buttons
188 {
189 margin: 0 5em 0 0;
190 }
191
192 .store-button
193 {
194 display: block;
195 width: 180px;
196 height: 58px;
197 border-radius: 6px;
198 background-color: #000;
199 float: left;
200 margin-bottom: 1em;
201 }
202
203 html[dir="rtl"] .store-button
204 {
205 float: right;
206 }
207
208 .store-button > img
209 {
210 height: 54px;
211 }
212
213 .applestore-button
214 {
215 margin-right: 1em;
216 }
217
218 html[dir="rtl"] .applestore-button
219 {
220 margin: 0 0 0 1em;
Thomas Greiner 2017/11/20 17:06:06 Detail: As I mentioned in one of my previous comme
martin 2017/11/26 17:08:39 Done.
221 }
222
223 @media(max-width: 960px)
224 {
225 #container
226 {
227 flex-direction: column;
228 }
229 }
230
231 @media(max-width: 480px)
232 {
233 #content header
234 {
235 margin: 2em 0 2em 5em;
236 }
237 .column
Thomas Greiner 2017/11/20 17:06:06 Coding style: "Separate rules by new lines." See
martin 2017/11/26 17:08:38 Done.
238 {
239 align-items: flex-start;
240 }
241 html[dir="rtl"] .applestore-button
242 {
243 margin: 0 0 1em 0;
244 }
245 }
OLDNEW

Powered by Google App Engine
This is Rietveld