tweetcast/nodejs-bis/client/css/style.css
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 16 Nov 2011 12:37:44 +0100
changeset 375 cd6eedf7d2a5
parent 374 0c4acfa2aea1
child 380 b3f66379fed7
permissions -rw-r--r--
add live stream

/* Browser-reset CSS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

body {
	font-family: Helvetica, Arial, sans-serif;
}

/* Liste de Tweets */

#container {
    margin: 20px;
}


#tweetlist {
	float: left; width: 280px; height: 450px; list-style: none; border: 1px solid #999; color: #585858;
}

li.tweet, li.placeholder {
	border-bottom : 1px dotted; overflow: hidden; float: left; border-color: #ccc;
}

li.tweet {
	position: relative; background: #fff; cursor: pointer;
}

li.full {
    width: 270px; height: 84px; border-right: 10px solid #ff0;
}

li.half {
    width: 280px; height: 46px;
}

li.icons {
    width: 20px; height: 20px; border: none;
}

li.placeholder {
    visibility: hidden;
}

.tweet p {
    overflow: hidden;
}

.full p.tweet_text {
	font-size: 12px; margin: 5px 0 5px 58px; height: 75px; width: 207px; color: #000000;
}

.half p.tweet_text {
    font-size: 11px; margin: 5px 0 5px 49px; height: 36px; line-height: 12px; width: 216px;
}

div.around_img {
	float: left;
}

.full .profile_image {
    margin: 5px 5px 0 5px; width: 48px; height: 48px;
}

.half .profile_image {
    margin: 5px; width: 36px; height: 36px;
}

.icons .profile_image {
    margin: 2px; width: 16px; height: 16px;
}

.full p.created_at {
	font-size: 12px; text-align: center; font-style: italic; color: #787878;
}

.half p.created_at, .icons p {
    display: none
}

.annotations {
    position: absolute; margin: 0; padding: 0; top: 0; left: 0; width: 100%; height: 100%; 
}

.icons .annotations {
    position: absolute; width: 20px; height: 4px; left: 0; top: 18px; z-index: 3;
}

div.annotation {
    float: left; height: 100%;
}

div.twmain {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; overflow: hidden;
}

/* timeline */

#timeline {
    float: left; height: 450px; width: 98px; border-width: 1px; border-style: solid solid solid none; border-color: #999;
}

/* hovertweet */

#hovertweet {
    position: absolute; display: none; margin: -20px 0 0 15px;
}

div.full {
    position: absolute; background: #eeeeee; width: 270px; height: 84px; border: 1px solid #808080; border-radius: 3px; box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}

#hoverarrow {
    position: absolute; width: 10px; height: 18px; left: -9px; top: 13px;  background: url(../img/arrow.png);
}