You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

173 lines
3.9 KiB

.monitoring{
width: 100%;
.phone,
.smartwatch{
position: relative;
.name{
position: absolute;
left: 60px;
top: 5px;
font-size: $font-12;
font-weight: 700;
}
.rule{
position: absolute;
left: 60px;
top: 25px;
font-size: $font-10;
}
.avatar{
position: absolute;
left: 0;
top: 0;
height: 50px;
width: 50px;
img{
height: 50px;
width: 50px;
}
}
.content{
position: absolute;
top: 145px;
left: 12px;
height: 371px;
width: 223px;
overflow: hidden;
.cloud{
display: none;
position: relative;
width: 80%;
font-size: $font-12;
font-weight: 500;
padding: 10px;
margin: 10px 0;
border-radius: 8px;
img{
width: 100%;
padding: 5px;
cursor: pointer;
}
&.left{
left: 15px;
background: $pink;
border: 1px solid $dark-pink;
&:before{
content: '';
border: solid 8px transparent;
border-right-color: $dark-pink;
position: absolute;
left: 0;
top: 50%;
transform: translate(-100%, -50%);
}
&:after{
content: '';
border: solid 7px transparent;
border-right-color: $pink;
position: absolute;
left: 0;
top: 50%;
transform: translate(-100%, -50%);
}
}
&.right{
left: calc(20% - 13px);
background: $azure;
border: 1px solid $dark-azure;
&:before{
content: '';
border: solid 8px transparent;
border-left-color: $dark-azure;
position: absolute;
right: 0;
top: 50%;
transform: translate(100%, -50%);
}
&:after{
content: '';
border: solid 7px transparent;
border-left-color: $azure;
position: absolute;
right: 0;
top: 50%;
transform: translate(100%, -50%);
}
}
&.empty{
width: 100%;
text-align: center;
padding: 0;
}
}
}
}
.phone{
height: 570px;
width: 245px;
background-image: url(../images/phone.png);
background-position: center bottom;
background-repeat: no-repeat;
background-size: 245px 500px;
}
.smartwatch{
height: 500px;
width: 245px;
background-image: url(../images/smartwatch.png);
background-position: center bottom;
background-repeat: no-repeat;
background-size: 90%;
.content{
top: 225px;
left: 13px;
height: 170px;
width: 208px;
}
}
.store{
position: relative;
height: 600px;
width: 700px;
background-image: url(../images/store.png);
background-repeat: no-repeat;
background-size: contain;
.people{
display: none;
position: absolute;
top: 0;
left: 0;
height: 120px;
width: 50px;
background-repeat: no-repeat;
background-size: contain;
background-position: center bottom;
&.luca{background-image: url(../images/people/lucaSel.png);}
&.sarah{background-image: url(../images/people/sarahSel.png);}
&.mariaSel{background-image: url(../images/people/mariaSel.png);}
&.maria{background-image: url(../images/people/maria.png);}
&.fabio{background-image: url(../images/people/fabio.png);}
&.lucia{background-image: url(../images/people/lucia.png);}
&.paoloSel{background-image: url(../images/people/paoloSel.png);}
&.paolo{background-image: url(../images/people/paolo.png);}
}
}
}