.status {
font: bold 8px Arial;
text-transform: uppercase;
padding: 2px 5px;
position: relative;
left: -4px;
top: -4px;
}
.status.rumored {
background: #f5e67e;
color: #666;
}
.status.rumored::after {
content: “RUMORED”;
}
.status.unlikely {
background: #dbdbdb;
color: #333;
}
.status.unlikely::after {
content: “UNLIKELY”;
}
.status.confirmed {
background: #91d568;
color: #fff;
}
.status.confirmed::after {
content: “CONFIRMED”;
}
.status.new{
background: #D61400;
color: #fff;
}
.status.new::after {
content: “new”;
}
#review-body #mwc-expect a{
font-size: 13px;
}
#review-body #mwc-expect li {padding-top: 3px; list-style-type: none;}
#review-body .news li { list-style-type: initial !important;}
#review-body #mwc-expect td {
border: 1px solid #eee;
overflow: hidden;
position: relative;
}
#review-body #mwc-expect td img {
margin: 5px 10px -1px 10px;
}
#review-body #mwc-expect th {
font: bold 12px Arial;
text-transform: uppercase;
padding: 10px;
background: #ddd;
border: none;
}
#review-body #mwc-expect td.date {
background: #f6f6f6;
color: #fff;
width:10px;
vertical-align: middle;
border-bottom: 1px solid #ddd;
padding:0;
}
td.date span {
transform: rotate(90deg) ;
-webkit-transform: rotate(90deg) ;
-moz-transform: rotate(90deg) ;
-o-transform: rotate(90deg) ;
-ms-transform: rotate(90deg) ;
text-transform: uppercase;
font-weight: bold;
color: #555;
display: block;
/*width: 65px;*/
font-size: 14px;
text-align: center
}
#review-body #mwc-expect td:first-of-type {
background: white;
}
#review-body #mwc-expect td.press {
background: #f9f9f9;
vertical-align: middle;
text-align: right;
padding: 0px 10px;
width: 100px !important;
}
.press a { right: 21px; }
#review-body #mwc-expect td.company {background: #fff !important; width: 350px !important; height: 120px;}
.company ul {
padding-top: 20px;
}
#review-body #mwc-expect td a {
text-decoration: none;
position: relative;
line-height: 150%;
border-bottom: 1px solid #aaa;
}
#review-body #mwc-expect td a:hover {
border-bottom: 1px solid #F04F40;
}
.nobor { border:none !important;}
#review-body h4 {
font: 300 17px Oswald, Arial;
padding-bottom: 10px;
padding-top: 5px;
}
.contdown {
width: 100px;
margin-right: -6px !important;
padding-right: 5px;
background: #eee;
color: #000;
position: relative;
left: 16px;
}
var CDown = function() {
this.state=0;// if initialized
this.counts=[];// array holding countdown date objects and id to print to {d:new Date(2013,11,18,18,54,36), id:”countbox1″}
this.interval=null;// setInterval object
}
CDown.prototype = {
init: function(){
this.state=1;
var self=this;
this.interval=window.setInterval(function(){self.tick();}, 1000);
},
add: function(date,id){
this.counts.push({d:date,id:id});
this.tick();
if(this.state==0) this.init();
},
expire: function(idxs){
for(var x in idxs) {
var now = new Date();
if( ((now.getTime() – this.counts[idxs[x]].d.getTime()) / 60000) < 59 )
this.display(this.counts[idxs[x]], "Now!");
else
this.display(this.counts[idxs[x]], "Over");
this.counts.splice(idxs[x], 1);
}
},
format: function(r){
function zero(x) { return x < 10? "0" + x : x }
var out="";
if(r.d != 0){out += r.d +" "+((r.d==1)?"day":"days")+", ";}
/*if(r.h != 0){out += r.h +" "+((r.h==1)?"hour":"hours")+", ";}
out += r.m +" "+((r.m==1)?"min":"mins")+", ";
out += r.s +" "+((r.s==1)?"sec":"secs")+", ";
return out.substr(0,out.length-2);*/
return out + r.h + ":" + zero(r.m) + ":" + zero(r.s);
},
math: function(work){
var y=w=d=h=m=s=ms=0;
ms=(""+((work%1000)+1000)).substr(1,3);
work=Math.floor(work/1000);//kill the "milliseconds" so just secs
y=Math.floor(work/31536000);//years (no leapyear support)
w=Math.floor(work/604800);//weeks
d=Math.floor(work/86400);//days
work=work%86400;
h=Math.floor(work/3600);//hours
work=work%3600;
m=Math.floor(work/60);//minutes
work=work%60;
s=Math.floor(work);//seconds
return…
from GSMArena.com – Latest articles http://ift.tt/1Lz3kHS
via IFTTT