Files
MpMon_Vue/src/less/card.less
T
Nicola Carminati c91385c65f Added features
2019-06-22 17:08:47 +02:00

125 lines
2.5 KiB
Plaintext

// out: false, sourceMap: false, main: style.less
.card-multi {
width: 100%;
height: 18em;
@media (min-width: 992px) {
width: 18em;
}
@media (max-width: 575.98px) {
height: 31em;
margin-bottom: 1.5em;
}
margin: 5px;
color: white;
border-radius: 2px;
padding: 4px;
position: relative;
background-color: rgba(180, 180, 180, 0.6);
-webkit-box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.53);
-moz-box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.53);
box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.53);
overflow-x: hidden;
overflow-y: auto;
&.sVe {
background-color: rgba(0, 255, 80, 0.6);
}
&.sGre {
background-color: rgba(180, 180, 180, 0.6);
}
&.sGi {
background-color: rgba(230, 210, 0, 0.6);
}
&.sGi_chiaro {
background-color: rgba(230, 210, 0, 0.6);
}
&.sGi_scuro {
background-color: rgba(255, 255, 0, 0.8);
}
&.sRo {
background-color: rgba(200, 0, 5, 0.6);
}
&.sRo_chiaro {
background-color: rgba(200, 0, 5, 0.6);
}
&.sRo_scuro {
background-color: rgba(255, 60, 80, 0.8);
}
.name {
width: 100%;
font-size: 3em;
line-height: 2em;
background-color: @color-grey-dark-semi;
text-align: center;
text-shadow: 2px 2px 0px #000000;
white-space: nowrap;
}
.labelcont{
padding-top: 0;
padding-bottom: 0;
font-weight: bold;
padding-left: 0;
display: flex;
align-items: center;
justify-content: flex-end;
@media (max-width: 575.98px) {
justify-content: flex-start;
margin-top: 0.8em;
}
}
.inpcont{
padding: 0;
display: flex;
align-items: center;
justify-content: flex-start;
}
.nodata{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 2em;
text-align: center;
font-weight: bold;
}
.baseline{
width: 100%;
position: absolute;
top: calc(100% - 8px);
@media (max-width: 575.98px) {
top: calc(100% - 5px);
}
left: 0;
background-color: transparent;
padding: 0px 4px 4px 4px;
.cont{
background-color: @color-grey-dark-semi;
font-size: 0.8em;
text-align: right;
padding-left: 10px;
padding-right: 10px;
white-space: nowrap;
overflow: hidden;
}
}
@media (max-width: 575.98px) {
&:last-child {
margin-bottom: 4em;
}
}
}