| author | Raphael Velt <raph.velt@gmail.com> |
| Fri, 04 Nov 2011 16:12:32 +0100 | |
| changeset 354 | 19ed2a92d3c1 |
| parent 340 | a99a04556e3b |
| permissions | -rw-r--r-- |
| 333 | 1 |
/* Browser-reset CSS */ |
2 |
||
3 |
html, body, div, span, applet, object, iframe, |
|
4 |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
|
5 |
a, abbr, acronym, address, big, cite, code, |
|
6 |
del, dfn, em, img, ins, kbd, q, s, samp, |
|
7 |
small, strike, strong, sub, sup, tt, var, |
|
8 |
b, u, i, center, |
|
9 |
dl, dt, dd, ol, ul, li, |
|
10 |
fieldset, form, label, legend, |
|
11 |
table, caption, tbody, tfoot, thead, tr, th, td, |
|
12 |
article, aside, canvas, details, embed, |
|
13 |
figure, figcaption, footer, header, hgroup, |
|
14 |
menu, nav, output, ruby, section, summary, |
|
15 |
time, mark, audio, video { |
|
16 |
margin: 0; |
|
17 |
padding: 0; |
|
18 |
border: 0; |
|
19 |
font-size: 100%; |
|
20 |
font: inherit; |
|
21 |
vertical-align: baseline; |
|
22 |
} |
|
23 |
||
24 |
body { |
|
25 |
font-family: Helvetica, Arial, sans-serif; |
|
26 |
} |
|
27 |
||
28 |
/* Liste de Tweets */ |
|
29 |
||
|
338
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
30 |
#container { |
|
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
31 |
position: absolute; left: 50%; top: 50%; margin-left: -236px; margin-top: -300px; |
|
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
32 |
} |
|
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
33 |
|
|
339
6a073c4a8578
Minor changes and bug fixes
Raphael Velt <raph.velt@gmail.com>
parents:
338
diff
changeset
|
34 |
#modeselector { |
| 340 | 35 |
position: absolute; width: 240px; top: 600px; border: 1px solid #999; font-size: 18px; text-align: center; padding: 5px; cursor: pointer; |
|
339
6a073c4a8578
Minor changes and bug fixes
Raphael Velt <raph.velt@gmail.com>
parents:
338
diff
changeset
|
36 |
} |
|
6a073c4a8578
Minor changes and bug fixes
Raphael Velt <raph.velt@gmail.com>
parents:
338
diff
changeset
|
37 |
|
| 333 | 38 |
#tweetlist { |
|
338
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
39 |
position: absolute; left: 0; top: 0; width: 250px; height: 600px; list-style: none; border: 1px solid #999; |
| 333 | 40 |
} |
41 |
||
42 |
li.tweet, li.placeholder { |
|
43 |
border: 1px solid; overflow: hidden; float: left; margin: -1px 0 0 -1px; border-color: #ccc; |
|
44 |
} |
|
45 |
||
46 |
li.tweet { |
|
|
339
6a073c4a8578
Minor changes and bug fixes
Raphael Velt <raph.velt@gmail.com>
parents:
338
diff
changeset
|
47 |
position: relative; background: #fff; cursor: pointer; |
| 333 | 48 |
} |
49 |
||
50 |
li.full { |
|
51 |
width: 240px; height: 119px; border-right: 10px solid #ff0; |
|
52 |
} |
|
53 |
||
54 |
li.half { |
|
55 |
width: 250px; height: 49px; |
|
56 |
} |
|
57 |
||
58 |
li.quarter { |
|
59 |
width: 124px; height: 44px; |
|
60 |
} |
|
61 |
||
62 |
li.icons { |
|
63 |
width: 24px; height: 24px; |
|
64 |
} |
|
65 |
||
66 |
li.placeholder { |
|
67 |
height: 0; visibility: hidden; |
|
68 |
} |
|
69 |
||
70 |
.tweet h4 { |
|
71 |
font-weight: bold; |
|
72 |
} |
|
73 |
||
74 |
.quarter p { |
|
75 |
word-break: break-all; |
|
76 |
} |
|
77 |
||
78 |
.full h4, .full p, .half p { |
|
79 |
margin: 5px; |
|
80 |
} |
|
81 |
||
82 |
.full h4 { |
|
83 |
font-size: 15px; |
|
84 |
} |
|
85 |
||
86 |
.full p, .half p { |
|
87 |
font-size: 12px; |
|
88 |
} |
|
89 |
||
90 |
.quarter p { |
|
91 |
margin: 2px; font-size: 10px; |
|
92 |
} |
|
93 |
||
94 |
img.profile_image { |
|
95 |
float: left; |
|
96 |
} |
|
97 |
||
98 |
.full .profile_image { |
|
99 |
margin: 5px; width: 48px; height: 48px; |
|
100 |
} |
|
101 |
||
102 |
.half .profile_image { |
|
103 |
margin: 5px; width: 39px; height: 39px; |
|
104 |
} |
|
105 |
||
106 |
.quarter .profile_image { |
|
107 |
margin: 2px; width: 22px; height: 22px; |
|
108 |
} |
|
109 |
||
110 |
.icons .profile_image { |
|
111 |
margin: 2px; width: 20px; height: 20px; |
|
112 |
} |
|
113 |
||
114 |
.full .created_at { |
|
115 |
font-style: italic; color: #999; |
|
116 |
} |
|
117 |
||
118 |
.half h4, .half p.created_at, .quarter h4, .quarter p.created_at, .icons h4, .icons p { |
|
119 |
display: none |
|
120 |
} |
|
121 |
||
122 |
.full .tweet_text { |
|
123 |
clear: left; |
|
124 |
} |
|
125 |
||
126 |
.annotations { |
|
127 |
position: absolute; margin: 0; padding: 0; top: 0; left: 0; width: 100%; height: 100%; |
|
128 |
} |
|
129 |
||
130 |
/*.icons .annotations { |
|
131 |
position: absolute; width: 6px; height: 6px; right: 2px; bottom: 2px; border: 1px solid #ccc; z-index: 3; |
|
132 |
}*/ |
|
133 |
||
134 |
div.annotation { |
|
135 |
float: left; height: 100%; |
|
136 |
} |
|
137 |
||
138 |
div.twmain { |
|
139 |
position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; overflow: hidden; |
|
140 |
} |
|
141 |
||
142 |
.full .twmain { |
|
143 |
} |
|
144 |
||
145 |
.half .twmain { |
|
146 |
opacity: .9 |
|
147 |
} |
|
148 |
||
149 |
.half.fade .twmain { |
|
150 |
opacity: .8 |
|
151 |
} |
|
152 |
||
153 |
.quarter .twmain { |
|
154 |
opacity: .7 |
|
155 |
} |
|
156 |
||
157 |
.quarter.fade .twmain { |
|
158 |
opacity: .6 |
|
159 |
} |
|
160 |
||
161 |
.icons .twmain { |
|
162 |
opacity: .5 |
|
163 |
} |
|
164 |
||
165 |
.icons.fade .twmain { |
|
166 |
opacity: .4 |
|
167 |
} |
|
168 |
||
169 |
/* timeline */ |
|
170 |
||
171 |
#timeline, #timewindow { |
|
|
338
60dff8a71024
Added alternate configuration
Raphael Velt <raph.velt@gmail.com>
parents:
336
diff
changeset
|
172 |
position: absolute; top: 0; left: 251px; height: 600px; width: 220px; border: 1px solid #999; |
| 333 | 173 |
} |
174 |
||
175 |
#timeline { |
|
176 |
z-index: 42 |
|
177 |
} |
|
178 |
||
179 |
#timewindow { |
|
180 |
z-index: 47 |
|
181 |
} |