Files
cms_thermo_active/Step/wwwroot/assets/styles/base/alarms.less
T
2018-01-11 15:00:58 +01:00

118 lines
3.0 KiB
Plaintext

// out: false, sourceMap: false, main: ../style.less
@import "colors.less";
#alarm-list,
#service-list {
position: absolute;
left: 0;
width: 0;
height: 0;
top: 40px;
background-color: #fff;
padding: 0 0;
transition: width 200ms ease-in-out, height 200ms ease-in-out, padding 200ms ease-in-out;
z-index: 150;
box-shadow: @color-alarm-list-shadow;
box-sizing: border-box;
&.expanded {
width: 494px;
padding: 0 24px;
}
&.expanded.opened {
padding: 72px 24px 24px 24px;
height: calc(~"100vh - 120px");
}
&.alarm {
background-color: @color-faded-red;
color: @color-greyish-brown;
}
&.warning {
background-color: @color-sandy;
color: @color-greyish-brown;
}
.content {
height: 100%;
padding-right: 24px;
}
.alarm-item {
width: 100%;
background-color: #fff;
display: flex;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
border-radius: 2px;
flex-flow: row;
margin-bottom: 8px;
&.warning {
.content h2,
.content .summary {
color: @color-squash;
}
}
&.alarm {
.content h2,
.content .summary {
color: @color-scarlet;
}
}
.content {
width: 240px;
margin: 8px;
margin-left: 24px;
display: flex;
flex-flow: column;
justify-content: space-between;
align-content: space-between;
h2 {
// height: 21px;
font-size: 18px;
line-height: 21px;
margin: 0;
}
.summary {
font-size: 16px;
line-height: 22px;
margin: 0;
display: flex;
flex-flow: row;
justify-content: space-between;
}
span {
font-size: 14px;
padding: 0 5px;
float: left;
display: block;
margin: 0 3px;
border: 1px solid @color-warm-grey !important;
color: @color-greyish-brown ;
font-weight: 600;
}
}
button {
cursor: pointer;
border-radius: 2px;
font-size: 18px;
border: 1px solid #ccc;
margin: 8px;
width: 120px;
color: @color-darkish-blue;
height: 48px;
background-image: linear-gradient(to bottom, #f1f1f1, #bbbcbc);
&:active {
background-image: linear-gradient(to bottom, #bbbcbc, #f1f1f1);
}
}
}
}
#service-list {
width: 584px;
height: 0;
padding: 0 24px;
&.expanded {
width: 618px;
}
&.opened {
padding: 72px 24px 24px 24px;
height: calc(~"100vh - 120px");
}
}