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

Delta Between Two Patch Sets: html/static/css/firstRun.css

Issue 10989023: First-run page on Adblock Plus for IE (Closed)
Left Patch Set: Created June 25, 2013, 10:26 a.m.
Right Patch Set: Created July 12, 2013, 10:50 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 | « no previous file | html/static/img/ajax-loader.gif » ('j') | html/static/js/firstRun.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 body 1 body
2 { 2 {
3 font-family: Arial, Helvetica, sans-serif; 3 font-family: Arial, Helvetica, sans-serif;
4 font-size: 20px; 4 font-size: 1.1em;
5 text-align: center; 5 text-align: center;
Felix Dahlke 2013/07/11 11:11:14 I don't really get this. You set text-align to cen
Thomas Greiner 2013/07/12 10:52:52 Done. I moved the share elements and the glass-pan
6 background-image: url(../img/background.png); 6 background-image: url(../img/background.png);
7 margin: auto; 7 margin: auto;
8 line-height: 1.5; 8 line-height: 1.5;
9 } 9 }
10 10
11 #wrapper,
12 #logo,
13 .share-image,
14 #share-images2,
15 #share-donate
16 {
17 display: inline-block;
18 /* IE6 inline-block fix */
19 *display: inline;
20 *zoom: 1;
21 }
22
11 #wrapper 23 #wrapper
12 { 24 {
13 display: inline-block;
14 *display: inline; /* IE6 inline-block fix */
Felix Dahlke 2013/07/11 11:11:14 The zoom: 1 below is part of the fix, right? Then
Thomas Greiner 2013/07/12 10:52:52 Done.
15 *zoom: 1;
16 max-width: 800px; 25 max-width: 800px;
17 text-align: left; 26 text-align: left;
18 } 27 }
19 28
20 header 29 header
21 { 30 {
22 padding: 20px 0px; 31 padding: 20px 0px;
23 text-align: center;
24 vertical-align: middle; 32 vertical-align: middle;
25 } 33 }
26 34
27 #logo 35 #logo
28 { 36 {
29 display: inline-block;
Felix Dahlke 2013/07/11 11:11:14 This is the same in #wrapper, and in several block
Thomas Greiner 2013/07/12 10:52:52 Done.
30 *display: inline; /* IE6 inline-block fix */
31 *zoom: 1;
32 background-image: url(../img/abp-128.png); 37 background-image: url(../img/abp-128.png);
33 width: 128px; 38 width: 128px;
34 height: 128px; 39 height: 128px;
35 } 40 }
36 41
37 #title-main 42 #title-main
38 { 43 {
39 display: inline; 44 display: inline;
40 position: relative; 45 position: relative;
41 top: -40px; 46 top: -40px;
(...skipping 11 matching lines...) Expand all
53 #features li 58 #features li
54 { 59 {
55 margin-left: 50px; 60 margin-left: 50px;
56 list-style-image: url(../img/checkmark.png); 61 list-style-image: url(../img/checkmark.png);
57 } 62 }
58 63
59 #share1, 64 #share1,
60 #share2 65 #share2
61 { 66 {
62 display: none; 67 display: none;
63 text-align: center;
64 font-size: 120%; 68 font-size: 120%;
65 margin-top: 40px; 69 margin-top: 40px;
66 } 70 }
67 71
68 html.share-variant-1 #share1, 72 html.share-variant-1 #share1,
69 html.share-variant-2 #share2 73 html.share-variant-2 #share2
70 { 74 {
71 display: block; 75 display: block;
72 } 76 }
73 77
74 .share-image 78 .share-image
75 { 79 {
76 display: inline-block;
77 *display: inline; /* IE6 inline-block fix */
78 *zoom: 1;
79 width: 64px; 80 width: 64px;
80 height: 64px; 81 height: 64px;
81 } 82 }
82 83
83 #share-images2 84 #share-images2
84 { 85 {
85 display: inline-block;
86 *display: inline; /* IE6 inline-block fix */
87 *zoom: 1;
88 box-shadow: 0 0 4px 3px #EEEEEE; 86 box-shadow: 0 0 4px 3px #EEEEEE;
89 border-radius: 5px; 87 border-radius: 5px;
90 background: #FFFFFF; 88 background: #FFFFFF;
91 padding: 10px 40px; 89 padding: 10px 40px;
92 margin-bottom: 30px; 90 margin-bottom: 30px;
93 } 91 }
94 92
95 #share-images2 * 93 #share-images2 *
96 { 94 {
97 vertical-align: middle; 95 vertical-align: middle;
98 } 96 }
99 97
100 #share-donate 98 #share-donate
101 { 99 {
102 display: inline-block;
103 *display: inline; /* IE6 inline-block fix */
104 *zoom: 1;
105 font-style: italic; 100 font-style: italic;
106 font-weight: bold; 101 font-weight: bold;
107 font-size: 12px; 102 font-size: 12px;
108 text-decoration: none; 103 text-decoration: none;
109 color: #003366; 104 color: #003366;
110 border: 1px solid #FF9933; 105 border: 1px solid #FF9933;
111 border-radius: 10px; 106 border-radius: 10px;
112 padding: 2px 10px; 107 padding: 2px 10px;
113 background-image: url(../img/button-background/donate.png); 108 background-image: url(../img/button-background/donate.png);
114 background-repeat: repeat-x; 109 background-repeat: repeat-x;
(...skipping 27 matching lines...) Expand all
142 transition-property: opacity, visibility; 137 transition-property: opacity, visibility;
143 } 138 }
144 139
145 #glass-pane 140 #glass-pane
146 { 141 {
147 position: fixed; 142 position: fixed;
148 top: 0; 143 top: 0;
149 right: 0; 144 right: 0;
150 bottom: 0; 145 bottom: 0;
151 left: 0; 146 left: 0;
152 text-align: center;
153 background: rgba(0, 0, 0, 0.5) url(../img/ajax-loader.gif) no-repeat 50% 50%; 147 background: rgba(0, 0, 0, 0.5) url(../img/ajax-loader.gif) no-repeat 50% 50%;
154 -ms-transition-duration: 0.2s; 148 -ms-transition-duration: 0.2s;
155 transition-duration: 0.2s; 149 transition-duration: 0.2s;
156 } 150 }
157 151
158 #share-popup 152 #share-popup
159 { 153 {
160 border: none; 154 border: none;
161 -ms-transition-delay: 0.1s; 155 -ms-transition-delay: 0.1s;
162 transition-delay: 0.1s; 156 transition-delay: 0.1s;
163 } 157 }
164 158
165 #glass-pane.visible, #share-popup.visible 159 #glass-pane.visible, #share-popup.visible
166 { 160 {
167 visibility: visible; 161 visibility: visible;
168 opacity: 1; 162 opacity: 1;
169 } 163 }
170 164
171 #share-popup.visible 165 #share-popup.visible
172 { 166 {
173 -ms-transition-duration: 0.15s; 167 -ms-transition-duration: 0.15s;
174 transition-duration: 0.15s; 168 transition-duration: 0.15s;
175 } 169 }
176
177 /* Adjust font size on smaller screens */
178 @media (max-height: 800px)
Felix Dahlke 2013/07/11 11:11:14 This won't work in older IEs, don't know which fir
Thomas Greiner 2013/07/12 10:52:52 Thought of it more as a nice improvement on newer
179 {
180 body
181 {
182 font-size: 19px;
183 }
184 }
185
186 @media (max-height: 750px)
187 {
188 body
189 {
190 font-size: 17px;
191 }
192 }
193
194 @media (max-height: 700px)
195 {
196 body
197 {
198 font-size: 16px;
199 }
200 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld