html {
|
height: 100%;
|
}
|
body {
|
height: 100%;
|
background-color: #fff;
|
border-radius: 5px;
|
box-shadow: 0 0 3px rgba(0,0,0,.3);
|
}
|
/* 头部 */
|
header {
|
height: 20%;
|
border: 1px solid red;
|
}
|
/* 主体 */
|
main {
|
height: 80%;
|
position: relative;
|
}
|
/* 排号 */
|
.row-no {
|
margin-left: 50px;
|
}
|
|
/* 库位组 */
|
.stock-group .item {
|
float: left;
|
border-top: 1px solid #333!important;
|
border-bottom: 1px solid #333!important;
|
border-left: 1px solid #333!important;
|
border-right: 1px solid #333!important;
|
border-right: none;
|
}
|
.stock-group .item:last-child {
|
/*border-right: 1px solid #333!important;*/
|
}
|
.stock-group::after, .stock-group::before {
|
content: "";
|
display: table;
|
clear: both;
|
}
|
.stock-group .site {
|
float: left;
|
}
|
button.item {
|
font-size: 13px;
|
padding: 1px 1px 1px 1px;
|
width: 20px;
|
height: 20px;
|
outline: none;
|
cursor: pointer;
|
color: #333;
|
background-color: transparent;
|
transition: 0.4s;
|
}
|
button.item:hover {
|
background-color: #333;
|
color: #fff;
|
}
|
|
/* 堆垛机 */
|
.machine {
|
background-color: #fff;
|
height: 20px;
|
width: 80px;
|
background-image: url("../image/Crane_auto.png");
|
background-repeat: no-repeat;
|
background-size:100% 100%;
|
background-position: top center;
|
cursor: pointer;
|
}
|
|
/* 堆垛机轨道 */
|
.pathway {
|
border: 1px solid #333;
|
position: absolute;
|
background-color:#333!important;
|
color: #333 !important;
|
width: 100%;
|
margin-top: 10px;
|
z-index: -1;
|
}
|
|
|
/* 输送线相关 */
|
.site:hover {
|
opacity: 0.7;
|
}
|
|
|
/* 动画 */
|
/*动画*/
|
.machine {
|
position: relative;
|
-webkit-animation: machine 2s;
|
animation: machine 2s;
|
animation-fill-mode: forwards;
|
}
|
@-webkit-keyframes machine {
|
from {left: 0;}
|
to {left: 100px}
|
}
|
@keyframes animationCrn {
|
from {left: 0}
|
to {left: 100px}
|
}
|