forked from Gitlink/forgeplus-react
122 lines
2.0 KiB
SCSS
122 lines
2.0 KiB
SCSS
ul.ant-menu{
|
|
border-right: none;
|
|
}
|
|
ul.ant-menu li:last-child{
|
|
border-bottom: none;
|
|
}
|
|
li.ant-menu-item{
|
|
margin:0px!important;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
// Cards
|
|
.cards{
|
|
display: flex;
|
|
align-items: center;
|
|
padding:20px 34px;
|
|
background-color: #fff;
|
|
margin-bottom:18px;
|
|
.img{
|
|
margin-right: 20px;
|
|
width: 190px;
|
|
height: 90px;
|
|
border:1px solid rgba(238,238,238,1);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
img{
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
.content{
|
|
flex:1;
|
|
width: 0;
|
|
.titles{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px!important;
|
|
align-items: center;
|
|
&>span{
|
|
font-size:18px ;
|
|
color: #333;
|
|
}
|
|
}
|
|
.desc{
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
}
|
|
}
|
|
// Tabs
|
|
.tabsStyle{
|
|
.ant-tabs-bar.ant-tabs-top-bar{
|
|
padding-left: 35px;
|
|
margin-bottom: 0px;
|
|
}
|
|
.ant-tabs-nav .ant-tabs-tab{
|
|
padding:19px 0px;
|
|
margin-right: 40px;
|
|
}
|
|
.ant-tabs-ink-bar{
|
|
width:25px!important;
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
.statusColor{
|
|
display: inline-block;
|
|
padding:0px 10px;
|
|
height:20px;
|
|
line-height: 20px;
|
|
border-radius:11px;
|
|
color: #fff;
|
|
margin-left: 5px;
|
|
&.running{
|
|
background:#5091FF;
|
|
color: #F1F8FF;
|
|
}
|
|
&.Preparing{
|
|
background:rgba(255,110,33,1);
|
|
color:rgba(255,248,244,1);
|
|
}
|
|
&.pass{
|
|
background:#28BD6C;
|
|
color: #EEFDF5;
|
|
}
|
|
&.failed{
|
|
background:#F73030;
|
|
color:#FCEEEE ;
|
|
}
|
|
}
|
|
.handleBox{
|
|
position: fixed;
|
|
top:45%;
|
|
right:240px;
|
|
z-index: 10000;
|
|
}
|
|
@media screen and (max-width: 1800px){
|
|
.handleBox{
|
|
right:190px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1700px){
|
|
.handleBox{
|
|
right:140px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1600px){
|
|
.handleBox{
|
|
right:90px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1450px){
|
|
.handleBox{
|
|
right:10px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1380px){
|
|
.handleBox{
|
|
right:0px;
|
|
}
|
|
} |