forgeplus-react/src/forge/Component/Component.scss

157 lines
2.6 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;
}
.flags{
border: 1px solid red;
border-radius: 5px;
}
// Cards
.cards{
display: flex;
align-items: center;
padding:20px 34px;
background-color: #fff;
margin-bottom:18px;
min-height: 130px;
border:1px solid #eee;
.img{
margin-right: 20px;
width: 190px;
height: 90px;
border:1px solid rgba(238,238,238,1);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
img{
max-width: 100%;
max-height: 100%;
}
}
.content{
flex:1;
width: 0;
.titles{
display: flex;
justify-content: space-between;
margin-bottom: 10px!important;
align-items: center;
height: 22px;
line-height: 22px;;
&>a{
font-size:18px ;
color: #333;
}
}
.desc{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 20px;
}
}
}
// Tabs
.tabsStyle{
border:1px solid #eee;
.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;
font-size: 12px;
&.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 ;
}
&.killed{
background:#eee;
color:#999 ;
}
}
.handleBox{
position: fixed;
top:45%;
right:240px;
z-index: 10000;
}
.laterest{
color: #05690d;
}
@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;
}
}
.ant-drawer{
z-index: 10000!important;
}
.ant-drawer-body{
padding:0px!important;
.drawerHead{
background-color: #333;
color: #fff;
padding:15px 20px;
}
.ant-tree{
margin:0px 20px!important;
}
}