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

157 lines
2.6 KiB
SCSS
Raw Normal View History

2020-06-11 15:40:22 +08:00
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;
}
2020-10-16 11:39:12 +08:00
.flags{
border: 1px solid red;
border-radius: 5px;
}
2020-06-11 15:40:22 +08:00
// Cards
.cards{
display: flex;
align-items: center;
padding:20px 34px;
background-color: #fff;
2020-06-29 16:32:39 +08:00
margin-bottom:18px;
2021-02-02 12:22:47 +08:00
min-height: 130px;
2021-03-23 09:20:16 +08:00
border:1px solid #eee;
2020-06-11 15:40:22 +08:00
.img{
margin-right: 20px;
width: 190px;
height: 90px;
border:1px solid rgba(238,238,238,1);
display: flex;
justify-content: center;
align-items: center;
2021-01-28 11:48:21 +08:00
overflow: hidden;
2020-06-11 15:40:22 +08:00
img{
max-width: 100%;
2021-02-07 16:50:14 +08:00
max-height: 100%;
2020-06-11 15:40:22 +08:00
}
2020-06-03 18:08:04 +08:00
}
2020-06-11 15:40:22 +08:00
.content{
flex:1;
width: 0;
.titles{
display: flex;
justify-content: space-between;
margin-bottom: 10px!important;
align-items: center;
2021-01-28 11:48:21 +08:00
height: 22px;
line-height: 22px;;
2021-02-01 16:43:25 +08:00
&>a{
2020-06-11 15:40:22 +08:00
font-size:18px ;
color: #333;
}
}
.desc{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
2021-01-28 11:48:21 +08:00
line-height: 20px;
2020-06-11 15:40:22 +08:00
}
2020-06-03 18:08:04 +08:00
}
2020-06-11 15:40:22 +08:00
}
// Tabs
.tabsStyle{
2021-03-23 09:20:16 +08:00
border:1px solid #eee;
2020-06-11 15:40:22 +08:00
.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;
}
2020-07-10 15:42:57 +08:00
}
.statusColor{
display: inline-block;
padding:0px 10px;
height:20px;
line-height: 20px;
border-radius:11px;
color: #fff;
margin-left: 5px;
2020-08-26 16:09:27 +08:00
font-size: 12px;
2020-07-10 15:42:57 +08:00
&.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 ;
}
2020-08-26 16:09:27 +08:00
&.killed{
background:#eee;
color:#999 ;
}
2020-07-17 17:36:36 +08:00
}
.handleBox{
position: fixed;
top:45%;
right:240px;
z-index: 10000;
}
2021-03-30 15:01:25 +08:00
.laterest{
color: #05690d;
}
2020-09-04 18:00:22 +08:00
2020-07-17 17:36:36 +08:00
@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;
}
2021-03-18 17:28:53 +08:00
}
.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;
}
2020-06-11 15:40:22 +08:00
}