forgeplus-react/src/forge/Server/index.scss

454 lines
8.8 KiB
SCSS

.panels{
width: 1200px;
margin:20px auto;
}
.btnhover{
background-color: #466aff;
color: #fff!important;
&:hover{
background-color: rgba(26, 71, 255, 1)!important;
color: #fff!important;
}
}
.servertitle{
display: flex;
align-items: center;
background-color:#fafcff;
border:1px solid rgba(42, 97, 255, 0.23);
border-radius:3px 3px 0px 0px;
justify-content: space-between;
padding:12px 16px;
.systitle{
font-weight:500;
color:#333333;
font-size:16px;
}
a{
width:88px;
height:36px;
line-height: 36px;
background-color:#466aff;
border-radius:5px;
text-align: center;
}
}
.dataEmpty{
margin-top: 25px;
background-color:#fafcff;
border-radius:4px 4px 0px 0px;
min-height: 418px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.dataemptyCon{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 665px;
text-align: center;
.nullTitle{
font-size: 22px;
height: 30px;
line-height: 30px;
margin:15px 0px 28px!important;
color: #333;
}
.nullDesc{
color:#666666;
font-size:14px;
line-height:28px;
}
.ant-divider{
min-width: 500px;
width: 500px;
border-top:1px solid rgba(90, 117, 193, 0.23);
margin:18px 0px!important;
height: 0px;
}
.nullSubDesc{
color:#333333;
font-size:16px;
}
}
}
.agreementModal{
.ant-modal-header{
padding:0px ;
height: 56px;
background:url('./img/modaltitle.png') 100% 100% ;
color: #fff;
.ant-modal-title{
color: #fff;
height: 56px;
line-height: 56px!important;
color: #fff;
}
}
.ant-modal-close{
top:0px!important;
color: #fff;
}
.ant-modal-body{
padding:0px;
}
.agreementCon{
height: 400px;
overflow-y: auto;
padding:20px;
p{
line-height: 26px;
font-size: 15px;
color: #333;
margin-bottom: 8px!important;
&.blod{
font-weight:500;
color: #000;
}
}
}
.agreeBtn{
display: flex;
align-items: center;
height: 67px;
justify-content: center;
a{
display: block;
height:36px;
line-height: 34px;
margin:0px 20px;
background-color:#ffffff;
border:1px solid;
border-color:#d0d0d0;
border-radius:4px;
width: 120px;
text-align: center;
color:#666666;
font-size:15px;
&.notagree{
background-color:rgba(177, 192, 255, 1);
border-color:rgba(177, 192, 255, 1);
color: #fff!important;
cursor: default;
}
&.agree{
background-color:#466aff;
border-color:rgba(177, 192, 255, 1);
color: #fff!important;
}
}
}
}
.detectionAnimation{
height: 240px;
width: 100%;
background-image: url('./img/detectionBG.png');
background-size: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.animationUl{
width: 166px;
height: 166px;
position: relative;
&.action li{
-webkit-animation: App-logo-spin infinite 5s linear;
animation: App-logo-spin infinite 5s linear;
}
li{
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
&:last-child{
align-items: flex-end;
height: 96px;
bottom: 36px;
}
}
}
@keyframes App-logo-spin {
from{
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
.lastTimes{
color: #fff;
margin-top: 6px;
height: 30px;
line-height: 30px;
display: flex;
span{
font-size: 20px;
margin-left: 8px;
}
}
}
.dataTable,.dataUl{
.ant-table-thead > tr > th{
background-color: #fff;
div{
color: rgba(51, 51, 51, 1);
font-size: 16px;
}
}
.ant-table-tbody > tr:hover > td{
background-color: rgba(248, 250, 255, 1)!important;
}
.failure{
display: block;
height:32px;
line-height:32px;
background-color:rgba(230, 0, 6, 0.1);
border:1px solid;
border-color:#fcb6c2;
border-radius:4px;
color: rgba(255, 12, 12, 1);
width:58px;
text-align: center;
}
.success{
display: block;
height:32px;
line-height:32px;
background-color:rgba(83, 255, 163, 0.1);
border:1px solid;
border-color:rgba(0, 184, 67, 1);
border-radius:4px;
color: rgba(0, 156, 68, 1);
width:58px;
text-align: center;
}
.running{
position: relative;
width: 137px;
height: 22px;
background-color: rgba(75, 75, 75, 0.1);
border-radius:26px;
span.percentline{
position: absolute;
left: 0px;
top:0px;
height: 100%;
background-color: rgba(80, 156, 255, 1);
border-radius:26px;
text-align: center;
line-height: 24px;
color: rgba(51, 51, 51, 1);
}
}
.percentNum{
position: absolute;
height: 24px;
line-height: 24px;
}
.operationBtns{
display: flex;
align-items: center;
justify-content: center;
a,span{
margin:0px 14px;
position: relative;
color: rgba(70, 106, 255, 1);
display: flex;
align-items: center;
height: 26px;
}
span{
color: rgba(197, 204, 225, 1)!important;
cursor: default;
}
a > i,span>i{
width: 13px;
}
a::before,span::before{
position: absolute;
content: "";
width: 1px;
height: 12px;
top:7px;
background-color: rgba(213, 213, 213, 1);
left: -14px;
}
a:first-child::before,span:first-child::before{
display: none;
}
}
}
.dataUl{
&>div{
border-bottom: 1px solid #eee;
}
li{
display: flex;
flex-wrap: wrap;
height: 66px;
align-items: center;
color:#333333;
&>span{
padding:0px 10px;
text-align: left;
}
&>span:first-child{
width: 7%;
text-align: center;
}
&>span:nth-child(2){
width: 30%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
&>span:nth-child(3){
flex:1;
}
&>span:nth-child(4){
width: 16%;
}
&>span:last-child{
width: 30%;
text-align: center;
}
&.dataUlhead{
font-size:16px;
}
&.dataUlbody{
font-size: 14px;
&:hover{
background-color:#f8faff
}
}
}
}
.formDiv{
width: 430px;
margin:0px auto;
padding:20px 0px;
.has-error .ant-form-explain{
position: absolute;
bottom: -15px;
}
.ant-form-item-label{
width: 70px;
height: 32px;
line-height: 32px;
margin-top: 4px;
label{
color:#20294a;
font-size:15px;
}
}
.ant-row.ant-form-item{
margin-bottom: 12px!important;
}
.ant-form-item-required::before{
display: none;
}
.checkInfos{
&>div{
display: flex;
&>span{
display: block;
width: 70px;
line-height: 32px;
text-align: left;
color:#20294a;
font-size:15px;
}
ul{
display: flex;
margin-top: 15px;
li:first-child{
margin-right: 30px;
}
}
p,ul>li{
height: 32px;
line-height: 32px;
padding:0px 12px;
background-color:#f5f7ff;
border-radius:4px;
color:#666666;
margin-bottom: 15px!important;
flex:1
}
}
}
}
.serverlist{
display: flex;
flex-wrap: wrap;
min-height: 500px;
align-content: flex-start;
li{
width: 368px;
margin-right: 36px;
height: 198px;
background-image:url('./img/bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
margin-bottom: 20px!important;
padding:30px 40px 0px 40px;
position: relative;
&:nth-child(3n+1){
margin-left: -10px;
}
&:nth-child(3n){
margin-right: -10px;
}
.servername{
display: flex;
align-items: center;
margin-bottom: 12px;
img{
margin-right: 8px;
width: 42px;
}
a{
font-weight:500;
color:#466aff;
font-size:17px;
}
}
&:hover{
.serverbtn{
opacity: 1;
}
}
.serverdesc{
-webkit-line-clamp: 3;
line-height: 25px;
color:#525662;
font-size:15px;
}
.serverbtn{
position: absolute;
height: 56px;
background-color: transparent;
bottom: 10px;
left: 10px;
right: 10px;
display: flex;
justify-content: center;
padding: 10px;
opacity: 0;
transition: 0.3s;
a{
display: block;
width: 224px;
height: 36px;
line-height: 36px;
text-align: center;
border-radius: 4px;
}
}
}
}