pip-webui
Version:
HTML5 UI for LOB applications
83 lines (70 loc) • 1.59 kB
text/less
.pip-empty {
margin: 0 auto;
.flex();
.flex-direction-column();
.pip-pic {
width: 350px ;
height: 250px ;
min-height: 250px ;
margin: 25px 25px 0;
background-position: 50% 50%;
background-repeat: no-repeat;
}
.pip-text {
width: 400px;
margin-top: 25px;
text-align: center;
font: @font-body1;
color: @color-disabled;
}
.pip-actions {
margin-top: 16px;
margin-bottom: 16px;
width: 400px;
.flex-direction-column();
.md-button {
width: 400px - 16px ;
max-height: 72px ;
margin-bottom: 0;
margin-top: 0;
span {
display: block;
white-space: normal;
line-height: 20px;
margin-top: 12px;
margin-bottom: 12px;
}
}
}
@media (max-width: 768px) {
.pip-pic, .pip-text, .pip-actions{
margin: 0 auto;
}
.pip-pic {
width: 80% ;
min-height: 80%;
background-position: 50% 50%;
background-repeat: no-repeat;
margin-bottom: 16px;
}
.pip-pic.pip-no-image-sm {
width: 0px;
height: 0px;
display: none;
}
.pip-text {
width: 80%;
padding-left: 16px;
padding-right: 16px;
font: @font-body1;
}
.pip-actions {
width: 80%;
padding-left: 16px;
padding-right: 16px;
.md-button {
width: ~"calc(100% - 16px)" ;
}
}
}
}