2012-04-06 15:48:03 +00:00
|
|
|
.clock{
|
|
|
|
/* The .clock div. Created dynamically by jQuery */
|
2012-11-05 15:04:54 +00:00
|
|
|
background-color:#111;
|
|
|
|
height:75px;
|
|
|
|
width:75px;
|
2012-04-06 15:48:03 +00:00
|
|
|
position:relative;
|
|
|
|
overflow:hidden;
|
|
|
|
float:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clock .rotate{
|
|
|
|
/* There are two .rotate divs - one for each half of the background */
|
|
|
|
position:absolute;
|
2012-11-05 15:04:54 +00:00
|
|
|
width:75px;
|
|
|
|
height:75px;
|
2012-04-06 15:48:03 +00:00
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rotate.right{
|
|
|
|
display:none;
|
2012-11-05 15:04:54 +00:00
|
|
|
z-index:9;
|
2012-04-06 15:48:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.clock .bg, .clock .front{
|
2012-11-05 15:04:54 +00:00
|
|
|
width:37.5px;
|
|
|
|
height:75px;
|
|
|
|
background-color:#111;
|
2012-04-06 15:48:03 +00:00
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clock .display{
|
|
|
|
/* Holds the number of seconds, minutes or hours respectfully */
|
|
|
|
position:absolute;
|
2012-11-05 15:04:54 +00:00
|
|
|
width:75px;
|
|
|
|
font-family: Orbitron, sans-serif;
|
|
|
|
z-index:17;
|
2012-04-06 15:48:03 +00:00
|
|
|
color:#F5F5F5;
|
2012-11-05 15:04:54 +00:00
|
|
|
font-size:21px;
|
2012-04-06 15:48:03 +00:00
|
|
|
text-align:center;
|
2012-11-05 15:04:54 +00:00
|
|
|
top:27.5px;
|
|
|
|
left:0px;
|
|
|
|
|
2012-04-06 15:48:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The left part of the background: */
|
|
|
|
|
2012-11-05 15:04:54 +00:00
|
|
|
.clock .bg.left{ left:0px; }
|
2012-04-06 15:48:03 +00:00
|
|
|
|
|
|
|
/* Individual styles for each color: */
|
2012-11-05 15:04:54 +00:00
|
|
|
.orange .bg.left{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_orange.png) no-repeat left top; }
|
|
|
|
.green .bg.left{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_green.png) no-repeat left top; }
|
|
|
|
.blue .bg.left{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_blue.png) no-repeat left top; }
|
2012-04-06 15:48:03 +00:00
|
|
|
|
|
|
|
/* The right part of the background: */
|
2012-11-05 15:04:54 +00:00
|
|
|
.clock .bg.right{ left:37.5px; }
|
2012-04-06 15:48:03 +00:00
|
|
|
|
2012-11-05 15:04:54 +00:00
|
|
|
.orange .bg.right{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_orange.png) no-repeat right top; }
|
|
|
|
.green .bg.right{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_green.png) no-repeat right top; }
|
|
|
|
.blue .bg.right{ background:url(desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_blue.png) no-repeat right top; }
|
2012-04-06 15:48:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
.clock .front.left{
|
|
|
|
left:0;
|
2012-11-05 15:04:54 +00:00
|
|
|
z-index:15;
|
2012-04-06 15:48:03 +00:00
|
|
|
}
|
2012-11-05 15:04:54 +00:00
|
|
|
#fancyClock {
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin: -36px 0 0 -114px;
|
|
|
|
}
|