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

Side by Side Diff: html/static/css/firstRun.css

Issue 10989023: First-run page on Adblock Plus for IE (Closed)
Patch Set: Created June 25, 2013, 10:26 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
« no previous file with comments | « 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')
OLDNEW
(Empty)
1 body
2 {
3 font-family: Arial, Helvetica, sans-serif;
4 font-size: 20px;
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);
7 margin: auto;
8 line-height: 1.5;
9 }
10
11 #wrapper
12 {
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;
17 text-align: left;
18 }
19
20 header
21 {
22 padding: 20px 0px;
23 text-align: center;
24 vertical-align: middle;
25 }
26
27 #logo
28 {
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);
33 width: 128px;
34 height: 128px;
35 }
36
37 #title-main
38 {
39 display: inline;
40 position: relative;
41 top: -40px;
42 font-weight: normal;
43 font-size: 40px;
44 margin: 0px 10px;
45 vertical-align: bottom;
46 }
47
48 #features
49 {
50 margin: 10px 0px 40px 0px;
51 }
52
53 #features li
54 {
55 margin-left: 50px;
56 list-style-image: url(../img/checkmark.png);
57 }
58
59 #share1,
60 #share2
61 {
62 display: none;
63 text-align: center;
64 font-size: 120%;
65 margin-top: 40px;
66 }
67
68 html.share-variant-1 #share1,
69 html.share-variant-2 #share2
70 {
71 display: block;
72 }
73
74 .share-image
75 {
76 display: inline-block;
77 *display: inline; /* IE6 inline-block fix */
78 *zoom: 1;
79 width: 64px;
80 height: 64px;
81 }
82
83 #share-images2
84 {
85 display: inline-block;
86 *display: inline; /* IE6 inline-block fix */
87 *zoom: 1;
88 box-shadow: 0 0 4px 3px #EEEEEE;
89 border-radius: 5px;
90 background: #FFFFFF;
91 padding: 10px 40px;
92 margin-bottom: 30px;
93 }
94
95 #share-images2 *
96 {
97 vertical-align: middle;
98 }
99
100 #share-donate
101 {
102 display: inline-block;
103 *display: inline; /* IE6 inline-block fix */
104 *zoom: 1;
105 font-style: italic;
106 font-weight: bold;
107 font-size: 12px;
108 text-decoration: none;
109 color: #003366;
110 border: 1px solid #FF9933;
111 border-radius: 10px;
112 padding: 2px 10px;
113 background-image: url(../img/button-background/donate.png);
114 background-repeat: repeat-x;
115 }
116
117 #share2-connection
118 {
119 margin: 0px 20px;
120 }
121
122 .share-facebook
123 {
124 background-image: url(../img/social/facebook-old.png);
125 }
126
127 .share-twitter
128 {
129 background-image: url(../img/social/twitter-old.png);
130 }
131
132 .share-gplus
133 {
134 background-image: url(../img/social/gplus-old.png);
135 }
136
137 #glass-pane, #share-popup
138 {
139 visibility: hidden;
140 opacity: 0;
141 -ms-transition-property: opacity, visibility;
142 transition-property: opacity, visibility;
143 }
144
145 #glass-pane
146 {
147 position: fixed;
148 top: 0;
149 right: 0;
150 bottom: 0;
151 left: 0;
152 text-align: center;
153 background: rgba(0, 0, 0, 0.5) url(../img/ajax-loader.gif) no-repeat 50% 50%;
154 -ms-transition-duration: 0.2s;
155 transition-duration: 0.2s;
156 }
157
158 #share-popup
159 {
160 border: none;
161 -ms-transition-delay: 0.1s;
162 transition-delay: 0.1s;
163 }
164
165 #glass-pane.visible, #share-popup.visible
166 {
167 visibility: visible;
168 opacity: 1;
169 }
170
171 #share-popup.visible
172 {
173 -ms-transition-duration: 0.15s;
174 transition-duration: 0.15s;
175 }
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 }
OLDNEW
« no previous file with comments | « no previous file | html/static/img/ajax-loader.gif » ('j') | html/static/js/firstRun.js » ('J')

Powered by Google App Engine
This is Rietveld