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

Delta Between Two Patch Sets: skin/updates.css

Issue 29592569: Issue 5943 - Implement Updates Page for Adblock Plus extension (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Left Patch Set: Addressed third round of feedback Created Nov. 20, 2017, 11:44 a.m.
Right Patch Set: Addressed seventh round of feedback Created Jan. 12, 2018, 11:35 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « locale/en_US/updates.json ('k') | skin/updates/appstore-bg.svg » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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;
77 cursor: pointer;
78 } 78 }
79 79
80 #content header 80 #content header
81 { 81 {
82 margin: 0 0 2em 5em; 82 margin: 0 0 2em 5em;
83 } 83 }
84 84
85 html[dir="rtl"] #content header 85 html[dir="rtl"] #content header
86 { 86 {
87 margin: 0 5em 2em 0; 87 margin: 0 5em 2em 0;
(...skipping 21 matching lines...) Expand all
109 margin: 0 0 0 3.4em; 109 margin: 0 0 0 3.4em;
110 } 110 }
111 111
112 html[dir="rtl"] .custom-feature-entry h2 112 html[dir="rtl"] .custom-feature-entry h2
113 { 113 {
114 margin: 0 3.4em 0 0; 114 margin: 0 3.4em 0 0;
115 } 115 }
116 116
117 .update-graphic-container 117 .update-graphic-container
118 { 118 {
119 display: flex;
120 align-items: center;
121 position: relative;
119 width: 560px; 122 width: 560px;
120 height: 460px; 123 height: 460px;
121 background-image: url(./updates/base-graphic.svg); 124 background-image: url(./updates/base-graphic.svg);
122 position: relative;
123 display: flex;
124 align-items: center;
125 background-repeat: no-repeat; 125 background-repeat: no-repeat;
126 background-size: cover; 126 background-size: cover;
127 } 127 }
128 128
129 .update-graphic-container img 129 .update-graphic-container img
130 { 130 {
131 display: block; 131 display: block;
132 width: 162px; 132 width: 162px;
133 height: 162px; 133 height: 162px;
134 } 134 }
135 135
136 .update-graphic-content 136 .update-graphic-content
137 { 137 {
138 display: flex;
139 align-items: center;
138 position: absolute; 140 position: absolute;
139 top: 65px; 141 top: 65px;
140 left: 100px; 142 left: 100px;
141 display: flex;
142 align-items: center;
143 } 143 }
144 144
145 .version-details 145 .version-details
146 { 146 {
147 margin: 0 1em 0 1em; 147 margin: 0 1em 0 1em;
148 } 148 }
149 149
150 .version-details h2 150 .version-details h2
151 { 151 {
152 margin: 0; 152 margin: 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 html[dir="rtl"] .store-buttons 187 html[dir="rtl"] .store-buttons
188 { 188 {
189 margin: 0 5em 0 0; 189 margin: 0 5em 0 0;
190 } 190 }
191 191
192 .store-button 192 .store-button
193 { 193 {
194 display: block; 194 display: block;
195 width: 180px;
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 } 200 }
202 201
203 html[dir="rtl"] .store-button 202 html[dir="rtl"] .store-button
204 { 203 {
205 float: right; 204 float: right;
206 } 205 }
207 206
208 .store-button > img 207 .store-button > img
209 { 208 {
210 height: 54px; 209 height: 100%;
211 } 210 }
212 211
213 .applestore-button 212 .applestore-button
214 { 213 {
215 margin-right: 1em; 214 margin-right: 1em;
216 } 215 }
217 216
218 html[dir="rtl"] .applestore-button 217 html[dir="rtl"] .applestore-button
219 { 218 {
220 margin: 0 0 0 1em; 219 margin-right: 0;
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.
220 margin-left: 1em;
221 } 221 }
222 222
223 @media(max-width: 960px) 223 @media(max-width: 960px)
224 { 224 {
225 #container 225 #container
226 { 226 {
227 flex-direction: column; 227 flex-direction: column;
228 } 228 }
229 } 229 }
230 230
231 @media(max-width: 480px) 231 @media(max-width: 480px)
232 { 232 {
233 #content header 233 #content header
234 { 234 {
235 margin: 2em 0 2em 5em; 235 margin: 2em 0 2em 5em;
236 } 236 }
237
237 .column 238 .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 {
239 align-items: flex-start; 240 align-items: flex-start;
240 } 241 }
242
241 html[dir="rtl"] .applestore-button 243 html[dir="rtl"] .applestore-button
242 { 244 {
243 margin: 0 0 1em 0; 245 margin: 0 0 1em 0;
244 } 246 }
245 } 247 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld