tweetcast/nodejs-bis/client/css/style.css
author Raphael Velt <raph.velt@gmail.com>
Thu, 17 Nov 2011 19:08:32 +0100
changeset 380 b3f66379fed7
parent 374 0c4acfa2aea1
child 385 886bfa7441d0
permissions -rw-r--r--
Ameliorations visu live des tweets

/* 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;
}

#container {
    margin: 20px;
}

/* Barre */
.barre  {
    float: left; width: 100%;
}

/* Liste de Tweets */

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

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

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

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: #999999; width: 58px; overflow: hidden;
}

.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: 6px; left: 0; top: 16px; 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: 150px; border-width: 1px; border-style: solid solid solid none; border-color: #999;  cursor: pointer; cursor: hand;
}



#scrollcont {
    float: left; width: 20px; height: 452px; overflow: auto;
}

#scrollin {
    width: 1px; height: 10000px;
}

/* 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);
}

/* Tag Cloud */

#motscles {
    float: left; width: 400px; height: 100px; text-align: center; border: 1px solid #999; margin: 0 20px;
}