forked from Gitlink/forgeplus-react
307 lines
5.1 KiB
SCSS
307 lines
5.1 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;
|
|
}
|
|
}
|
|
|
|
.menuPanels{
|
|
width: 240px;
|
|
height: 180px;
|
|
.ant-popover-content,.ant-popover-inner{
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.halfs{
|
|
margin-top: 24px;
|
|
padding:24px 0px 0px 0px;
|
|
border-top: 1px solid #e8e8e8;
|
|
.attrPerson{
|
|
padding-bottom: 24px;
|
|
}
|
|
}
|
|
.menuinfos{
|
|
padding:15px 0px;
|
|
&>a{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border-right: 1px solid #eee;
|
|
flex: 1;
|
|
& >span:first-child{
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
color: #333;
|
|
}
|
|
& >span:last-child{
|
|
color: #666;
|
|
}
|
|
&:last-child{
|
|
border-right: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*-------------------个人主页:右侧提示区域--------------------------*/
|
|
.-task-sidebar {
|
|
position: fixed;
|
|
width: 40px;
|
|
height: 180px;
|
|
right: 0;
|
|
bottom: 20px !important;
|
|
z-index: 10;
|
|
}
|
|
|
|
@media screen and (max-width: 1920px){
|
|
.-task-sidebar{
|
|
right:240px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1500px){
|
|
.-task-sidebar{
|
|
right:100px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1200px){
|
|
.-task-sidebar{
|
|
right:0px;
|
|
}
|
|
}
|
|
.-task-sidebar>div {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
box-sizing: border-box;
|
|
width: 40px;
|
|
color: #999;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
border-radius: 50%;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 0px 10px 1px #F1F1F1;
|
|
}
|
|
|
|
.-task-sidebar>div i {
|
|
color: #999;
|
|
}
|
|
|
|
.-task-sidebar>div:hover i {
|
|
color: #fff !important;
|
|
}
|
|
.-task-sidebar>div:hover{
|
|
background: #1890FF;
|
|
box-shadow: 0px 0px 10px 2px #B6D0FC;
|
|
}
|
|
.helpBox{
|
|
width: 260px;
|
|
.ant-popover-inner-content{
|
|
padding:15px 20px;
|
|
}
|
|
&>p.title{
|
|
font-size: 18px;
|
|
color: #333;
|
|
line-height: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
|
|
.-task-desc {
|
|
background: #494949;
|
|
width: 90px;
|
|
line-height: 36px;
|
|
text-align: center;
|
|
position: absolute;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
z-index: 999999;
|
|
opacity: 0;
|
|
}
|
|
|
|
.-task-desc div {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: -7px;
|
|
height: 13px;
|
|
}
|
|
|
|
.-task-desc div img {
|
|
float: left
|
|
}
|
|
|
|
.-task-sidebar .scan_ewm {
|
|
position: absolute !important;
|
|
right: 45px !important;
|
|
bottom: 0px !important;
|
|
background-color: #494949 !important;
|
|
-webkit-box-sizing: border-box !important;
|
|
box-sizing: border-box !important;
|
|
font-size: 14px !important;
|
|
line-height: 16px !important;
|
|
display: none;
|
|
height: 213px !important;
|
|
}
|
|
|
|
.trangle_right {
|
|
position: absolute;
|
|
right: -5px;
|
|
bottom: 15px;
|
|
width: 0;
|
|
height: 0px;
|
|
border-top: 6px solid transparent;
|
|
border-left: 5px solid #494949;
|
|
border-bottom: 6px solid transparent
|
|
}
|