507 lines
9.0 KiB
Plaintext
507 lines
9.0 KiB
Plaintext
// out: false, sourceMap: false, main: ../style.less
|
|
@import "grid-system.less";
|
|
@import "colors.less";
|
|
@import "fonts.less";
|
|
|
|
|
|
.dashboard {
|
|
font-family: "Work Sans";
|
|
height: calc(~'100% - 60px');
|
|
width: 100%;
|
|
background-image: url("../../assets/icons/png/bg.png");
|
|
position: fixed;
|
|
z-index: 1002;
|
|
display: grid;
|
|
grid-template-rows: 144px 1fr;
|
|
grid-template-columns: 152px 1fr 610px 1fr 152px;
|
|
grid-row-gap: 40px;
|
|
padding-top: 20px;
|
|
padding-bottom: 40px;
|
|
color: #4b4b4b;
|
|
|
|
header {
|
|
grid-row: 1;
|
|
grid-column-start: 1;
|
|
grid-column-end: -1;
|
|
width: 100% !important;
|
|
justify-content: space-between;
|
|
height: 144px !important;
|
|
position: relative !important;
|
|
|
|
.arch {
|
|
justify-content: center;
|
|
|
|
.box-gauge {
|
|
width: 126px;
|
|
margin: 0 15px;
|
|
|
|
.minigauge {
|
|
.back {
|
|
stroke-width: 6;
|
|
}
|
|
|
|
.front {
|
|
stroke-width: 6;
|
|
stroke: #1791ff;
|
|
}
|
|
}
|
|
|
|
div {
|
|
|
|
&:last-of-type {
|
|
|
|
label {
|
|
color: #4b4b4b;
|
|
|
|
&:first-of-type {
|
|
font-size: 18px;
|
|
}
|
|
|
|
&:last-of-type {
|
|
font-size: 26px;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.value {
|
|
font-size: 1.8rem;
|
|
top: 30%;
|
|
color: #4b4b4b;
|
|
}
|
|
|
|
.gauge-container {
|
|
width: 126px;
|
|
height: 126px;
|
|
}
|
|
|
|
.gauge-container>.gauge>.value {
|
|
stroke: #1791ff;
|
|
}
|
|
|
|
.gauge-container.three>.gauge>.value-text {
|
|
fill: #4b4b4b;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ribbon-container,
|
|
.app-ribbon {
|
|
height: 144px;
|
|
width: 152px;
|
|
border-top-right-radius: 72px;
|
|
border-bottom-right-radius: 72px;
|
|
|
|
.status-icon {
|
|
width: 114px;
|
|
height: 114px;
|
|
border-radius: 57px;
|
|
|
|
* {
|
|
font-size: 48px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header-buttons {
|
|
padding-right: 21px;
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
|
|
.user-info {
|
|
font-size: 14px;
|
|
|
|
.name {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
button.modal-close {
|
|
box-shadow: none;
|
|
background-color: @color-darkish-blue;
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.first_col {
|
|
grid-row: 2;
|
|
grid-column: 2;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
|
|
.timing-area {
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr 1fr;
|
|
height: 610px;
|
|
|
|
.start,
|
|
.current,
|
|
.end {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
// background-color: rgba(153, 207, 255, 0.6);
|
|
// border-top-left-radius: 100px;
|
|
// border-bottom-left-radius: 100px;
|
|
position: relative;
|
|
|
|
&::before {
|
|
content: "";
|
|
display: block;
|
|
width: 120%;
|
|
height: 100%;
|
|
position: absolute;
|
|
background-repeat: no-repeat;
|
|
background-position: 0 0;
|
|
background-size: 100%;
|
|
left: 0px;
|
|
top: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
small {
|
|
font-size: 26px;
|
|
text-transform: uppercase;
|
|
z-index: 1;
|
|
}
|
|
|
|
time {
|
|
font-size: 100px;
|
|
font-weight: 300;
|
|
z-index: 1;
|
|
max-height: 140px;
|
|
}
|
|
}
|
|
|
|
.start::before {
|
|
background-image: url(/assets/svg/dashboard-top-left.svg);
|
|
}
|
|
|
|
.end::before {
|
|
background-image: url(/assets/svg/dashboard-bottom-left.svg);
|
|
}
|
|
|
|
.current {
|
|
background-color: transparent;
|
|
|
|
time {
|
|
font-size: 54px;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.setpoint {
|
|
margin: auto;
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: 65px 125px 65px;
|
|
grid-row-gap: 1rem;
|
|
|
|
img {
|
|
grid-row: 1;
|
|
grid-column: 1;
|
|
margin: auto;
|
|
height: 41px;
|
|
width: 41px;
|
|
}
|
|
|
|
label {
|
|
margin: auto;
|
|
grid-row: 1;
|
|
grid-column-start: 2;
|
|
grid-column-end: -1;
|
|
|
|
font-size: 54px;
|
|
text-align: right;
|
|
}
|
|
|
|
.notenabled{
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.strike{
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
div {
|
|
display: flex;
|
|
flex-flow: column;
|
|
|
|
font-weight: 500;
|
|
align-items: center;
|
|
|
|
small {
|
|
font-size: 12px;
|
|
line-height: 25px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
span {
|
|
line-height: 25px;
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
|
|
button {
|
|
border: 2px solid #4b4b4b;
|
|
border-radius: 50%;
|
|
width: 65px;
|
|
height: 65px;
|
|
font-size: 36px;
|
|
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
|
|
font-size: 28px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
color: #4b4b4b;
|
|
|
|
&:disabled {
|
|
background-color: #4b4b4baa;
|
|
}
|
|
|
|
&.pressed:not([disabled]),
|
|
&:active:not([disabled]) {
|
|
background-color: #4b4b4baa;
|
|
}
|
|
|
|
&:hover {
|
|
border: 2px solid #1791ff;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.second_col {
|
|
grid-row: 2;
|
|
grid-column: 3;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
|
|
.remaining_time {
|
|
margin: auto;
|
|
display: flex;
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
small {
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
time {
|
|
font-size: 120px;
|
|
font-weight: 300;
|
|
}
|
|
}
|
|
}
|
|
|
|
.third_col {
|
|
grid-row: 2;
|
|
grid-column-start: 4;
|
|
grid-column-end: -1;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
max-height: 836px;
|
|
|
|
|
|
.recipe {
|
|
height: 97px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
|
|
&::before {
|
|
content: "";
|
|
display: block;
|
|
width: 761px;
|
|
height: 100%;
|
|
position: absolute;
|
|
background-repeat: no-repeat;
|
|
background-position: 50%;
|
|
background-size: cover;
|
|
left: -100px;
|
|
top: 0;
|
|
z-index: 0;
|
|
background-image: url(/assets/svg/dashboard-top-right.svg);
|
|
}
|
|
|
|
label {
|
|
font-size: 36px;
|
|
z-index: 1;
|
|
}
|
|
|
|
}
|
|
|
|
.piece_time {
|
|
cursor: pointer;
|
|
display: grid;
|
|
grid-template-rows: repeat(2, auto);
|
|
grid-template-columns: repeat(2, auto);
|
|
height: 260px;
|
|
padding: 20px;
|
|
|
|
.piece_hours {
|
|
grid-row: 1;
|
|
grid-column: 1;
|
|
}
|
|
|
|
.time_cycle {
|
|
grid-row: 1;
|
|
grid-column: 2;
|
|
}
|
|
|
|
.piece_hours,
|
|
.time_cycle {
|
|
&.selected {
|
|
span {
|
|
color: #1791ff !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
div {
|
|
display: flex;
|
|
flex-flow: column;
|
|
|
|
span {
|
|
font-family: "Work Sans";
|
|
|
|
text-align: center;
|
|
color: #4b4b4b;
|
|
|
|
&:first-of-type {
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&:last-of-type {
|
|
font-size: 120px;
|
|
font-weight: 300;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.pieces {
|
|
height: 400px;
|
|
|
|
aside {
|
|
margin-top: 10px;
|
|
height: calc(100% - 78px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.history-item {
|
|
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
cursor: pointer;
|
|
|
|
.body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr 25px;
|
|
width: 630px;
|
|
align-items: center;
|
|
height: 84px;
|
|
background-color: #e8e8e8;
|
|
border-bottom: 1px solid #4b4b4b;
|
|
}
|
|
|
|
.subitems {
|
|
|
|
width: 630px;
|
|
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
height: 60px;
|
|
margin-left: 151px;
|
|
width: calc(100% - 151px - 25px);
|
|
background-color: #e8e8e8;
|
|
border-bottom: 1px solid #4b4b4b;
|
|
}
|
|
}
|
|
|
|
label {
|
|
text-align: right;
|
|
font-size: 54px;
|
|
font-weight: 500;
|
|
|
|
&.red {
|
|
color: #d0021b;
|
|
}
|
|
|
|
}
|
|
|
|
.col {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
height: 100%;
|
|
|
|
small {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
}
|
|
|
|
span {
|
|
font-size: 25px;
|
|
font-weight: 500px;
|
|
}
|
|
|
|
i {
|
|
font-size: 32px;
|
|
}
|
|
}
|
|
|
|
button.trash {
|
|
border-radius: 25px;
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 2px solid #4b4b4b;
|
|
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.5);
|
|
|
|
&.pressed,
|
|
&:active:not([disabled]) {
|
|
background-color: #4b4b4baa;
|
|
}
|
|
|
|
&:hover {
|
|
border: 2px solid #1791ff;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.history-list {
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
margin-right: 8px;
|
|
margin-top: 2px;
|
|
;
|
|
} |