389 lines
14 KiB
Plaintext
389 lines
14 KiB
Plaintext
// out: false, sourceMap: false, main: ../style.less
|
|
@import "colors.less";
|
|
|
|
|
|
@keyframes selectedanimation {
|
|
0% {box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);}
|
|
50% {box-shadow: 0px 0px 2px 3px #1791ff;}
|
|
100% {box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);}
|
|
}
|
|
|
|
.depot-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
/* align-items: center; */
|
|
justify-content: center;
|
|
padding-top: 104px;
|
|
.depot-position {
|
|
&.selected {
|
|
animation: selectedanimation 0.8s;
|
|
}
|
|
& section {
|
|
position: relative;
|
|
.empty,
|
|
.target {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
}
|
|
.empty {
|
|
opacity: 0.7;
|
|
border: dashed 2px #878787;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
&.disabled::after{
|
|
content: '\f05e';
|
|
font-family: FontAwesome;
|
|
display: flex;
|
|
align-items: center;
|
|
position: sticky;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
height: 100%;
|
|
line-height: 100%;
|
|
background-color: rgba(230, 230, 230, 0.7);
|
|
font-size: 5em;
|
|
color: #000;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.depot-box {
|
|
width: 1808px;
|
|
height: 872px;
|
|
border-radius: 2px;
|
|
background-color: @color-background-white;
|
|
box-shadow: 0 1px 2px 0 @color-black-40;
|
|
overflow: hidden;
|
|
.depot-header {
|
|
.depot-header-left,
|
|
.depot-header-right {
|
|
height: 81px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.depot-header-left {
|
|
float: left;
|
|
font-size: 20px;
|
|
color: @color-darkish-blue;
|
|
}
|
|
.depot-header-right {
|
|
float: right;
|
|
}
|
|
.fa {
|
|
height: 18px;
|
|
width: 13px;
|
|
margin: 0 22px 0 29px;
|
|
}
|
|
}
|
|
.depot-boxbody {
|
|
width: 100%;
|
|
height: calc(~'100% - 161px');
|
|
border-radius: 2px;
|
|
background-color: @color-silver;
|
|
display: flex;
|
|
flex-flow: row;
|
|
.list-left {
|
|
height: 100%;
|
|
width: 440px;
|
|
float: left;
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 2px 0 @color-black-40;
|
|
background-color: @color-background-white;
|
|
font-size: 18px;
|
|
line-height: 1.11;
|
|
text-align: center;
|
|
color: @color-greyish-brown;
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
span {
|
|
display: block;
|
|
margin-top: 15px;
|
|
}
|
|
.depot-search {
|
|
display: flex;
|
|
flex-flow: row;
|
|
justify-content: center;
|
|
margin-top: 16px;
|
|
input {
|
|
width: 288px;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
font-size: 18px;
|
|
}
|
|
input[type=text]{
|
|
padding-left: 5px;
|
|
}
|
|
i {
|
|
width: 44px;
|
|
height: 44px;
|
|
padding: 0;
|
|
margin-top: 4px;
|
|
color: @color-darkish-blue;
|
|
}
|
|
}
|
|
.list-vertical {
|
|
height: calc(~'100% - 143px');
|
|
width: 95%;
|
|
margin-top: 24px;
|
|
display: flex;
|
|
flex-wrap: wrap; // align-items: center;
|
|
// justify-content: center;
|
|
flex-flow: column;
|
|
padding-right: 5px;
|
|
div {
|
|
cursor: move;
|
|
}
|
|
i {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
.box-right {
|
|
height: 100%;
|
|
width: 100%;
|
|
min-width: calc(~'100% - 440px'); // max-width: calc(~'100% - 92px');
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: @color-silver;
|
|
.single-depot {
|
|
// width: 1336px;
|
|
width: calc(~'100% - 92px');
|
|
height: calc(~'100% - 32px');
|
|
margin: 16px;
|
|
background-color: @color-background-white;
|
|
padding: 0 30px 0 30px;
|
|
.sd-header {
|
|
width: 100%;
|
|
height: 63px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-bottom: 2px solid @color-white2;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
line-height: 1.11;
|
|
color: @color-greyish-brown;
|
|
button {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
span {
|
|
margin: 0 30px 0 30px;
|
|
}
|
|
}
|
|
.sd-section {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 100px;
|
|
padding-top:11px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
overflow-x: auto;
|
|
padding-bottom: 30px;
|
|
overflow-y: hidden;
|
|
}
|
|
.square-container-fixed{
|
|
height: calc(~'100% - 439px');
|
|
}
|
|
.square-container {
|
|
height: 100%;
|
|
width: calc(~'100% - 223px');
|
|
margin: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-flow: row;
|
|
flex-wrap: nowrap;
|
|
.square {
|
|
display: flex;
|
|
flex-grow: 0;
|
|
height: 24px;
|
|
width: 24px; // margin: 16px;
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
} // .square{
|
|
// /*se empty*/
|
|
// border: solid 2px @color-clear-blue;
|
|
// /*se full*/
|
|
// background-color: @color-clear-blue;
|
|
// }
|
|
.empty {
|
|
height: 20px;
|
|
width: 20px;
|
|
border: solid 2px @color-darkish-blue;
|
|
background-color: white;
|
|
}
|
|
.full {
|
|
background-color: @color-darkish-blue;
|
|
&.life_alert::after{
|
|
content: " ";
|
|
position: sticky;
|
|
width: 100%;
|
|
top: 0;
|
|
left:0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: block;
|
|
content: " ";
|
|
background: repeating-linear-gradient(45deg, rgb(255, 238, 0), rgb(255, 238, 0) 2px, rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, 0) 8px);
|
|
}
|
|
&.life_alarm::after{
|
|
content: " ";
|
|
position: sticky;
|
|
width: 100%;
|
|
top: 0;
|
|
left:0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: block;
|
|
content: " ";
|
|
background: repeating-linear-gradient(45deg, @color-scarlet, @color-scarlet 2px, rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, 0) 8px);
|
|
}
|
|
}
|
|
.red{
|
|
background-color: @color-scarlet;
|
|
}
|
|
.selected-full {
|
|
background-color: @color-clear-blue;
|
|
}
|
|
.selected {
|
|
position: relative;
|
|
&::before {
|
|
content: "\f0d7";
|
|
font-family: 'FontAwesome';
|
|
position: absolute;
|
|
font-size: 36px;
|
|
top: -29px;
|
|
color: #1791ff;
|
|
}
|
|
}
|
|
.selected-empty {
|
|
height: 20px;
|
|
width: 20px;
|
|
border: solid 2px @color-clear-blue;
|
|
}
|
|
.linesquare {
|
|
display: flex;
|
|
height: 2px;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background-color: @color-darkish-blue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.depot-footer {
|
|
height: 80px;
|
|
width: 100%;
|
|
.depot-footer-left,
|
|
.depot-footer-right {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.depot-footer-left {
|
|
float: left;
|
|
input[type=checkbox] {
|
|
visibility: hidden;
|
|
}
|
|
.depot-checkbox {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
margin-left: 16px;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
.depot-checkbox label {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
width: 22px;
|
|
height: 22px;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: @color-white2;
|
|
box-shadow: inset 0 1px 3px @color-black-50;
|
|
border-radius: 2px;
|
|
}
|
|
.depot-checkbox label:after {
|
|
opacity: 0;
|
|
content: '';
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 9px;
|
|
background: transparent;
|
|
top: 3px;
|
|
left: 2px;
|
|
border: 5px solid #1791ff;
|
|
border-top: none;
|
|
border-right: none;
|
|
transform: rotate(-48deg);
|
|
}
|
|
.depot-checkbox input[type=checkbox]:checked+label{
|
|
cursor: pointer;
|
|
position: absolute;
|
|
width: 22px;
|
|
height: 22px;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: @color-white2;
|
|
border: solid 1px @color-clear-blue;
|
|
border-radius: 2px;
|
|
}
|
|
.depot-checkbox input[type=checkbox]:checked+label:after {
|
|
opacity: 1;
|
|
}
|
|
.depot-checkbox-label {
|
|
display: flex;
|
|
margin-left: 8px;
|
|
font-size: 18px;
|
|
line-height: 1.11;
|
|
color: @color-greyish-brown;
|
|
}
|
|
}
|
|
.depot-footer-right {
|
|
float: right;
|
|
button.blue-reverse {
|
|
background-image: linear-gradient(to bottom, @color-nice-blue, @color-darkish-blue);
|
|
color: @color-background-white;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.lock-icon{
|
|
.fa{
|
|
height: 48px !important;
|
|
width: 70px !important;
|
|
text-align: center !important;
|
|
margin: 0 !important;
|
|
margin-top: 9px !important;
|
|
}
|
|
color: #002680;
|
|
font-size: 56px;
|
|
}
|
|
}
|
|
|
|
.stateProblemsTool{
|
|
border: solid 2px @color-scarlet;
|
|
} |