html {
font-size: 10px;
/* We have Fira Sans as default font in real device. But it isn't default in
* * browser. That's the main reason this line is here.*/
font-family: "Fira Sans";
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
padding: 0;
}
#main-section {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
section#header {
height: 16rem;
background-image: url(images/img_device_bg.png);
position: relative;
}
section#grid {
height: calc(100% - 16rem);
background-color: #d1d1d1;
}
#refresh-button {
position: absolute;
right: 5.6rem;
top: 25%;
}
.devices-container {
width: 100%;
height: 50%;
}
.devices-caption {
width: 163.6rem;
height: 12.6rem;
line-height: 12.6rem;
color: #323232;
font-size: 4.2rem;
font-style: italic;
padding-left: 14.2rem;
}
.devices-list {
padding-left: 14.2rem;
padding-right: 14.2rem;
}
.devices-list > smart-button[type="app-button"] {
background-color: #000;
margin: 5.8rem 2.6rem 2.9rem 2.6rem;
width: 18rem;
height: 18rem;
}
.devices-list > smart-button[type="app-button"]:before {
transform: scale(0.536);
line-height: 13rem;
}
.devices-list > smart-button[type="app-button"].focused:before {
color: #ffffff;
}
/** we use :after as label */
.devices-list > smart-button[type="app-button"]:after {
width: 18rem;
height: 5rem;
font-size: 1.6rem;
}