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

357 lines
6.0 KiB
SCSS

ul,ol,dl{
margin-bottom: 0px;
}
.newMain{
background-color: #fff;
}
.color-black{
color: #333;
}
.projectallName{
font-size: 22px;
font-weight: normal;
line-height: 30px;
max-width: 690px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
.projectN{
word-break: break-all;
}
}
.textRight{
text-align: right;
}
.main{
width: 1200px;
padding:20px;
margin:20px auto;
background: #fff;
border-radius: 2px;
border:1px solid #eee;
}
.radius-2{
border-radius: 2px;
}
.normal{
width: 1200px;
margin:0px auto;
}
/* 背景色 */
.back-white{
background: #fff;
}
.back-black{
background: #000;
}
/* 灰色按钮-高度32 */
.btn_32{
border-radius: 4px;
padding:0px 12px;
height: 32px;
line-height: 32px;
background-color: #f4f4f4;
color: #666;
display: inline-block;
}
@media screen and (max-width: 1200px){
.main{
width:100%;
margin:10px auto;
}
}
.hide-1{
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.hide-2 {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.df{display: flex}
.flex-1{flex: 1;width: 0}
.f-wrap-between{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.f-wrap-alignCenter{
display: flex;
flex-wrap: wrap;
align-items: center;
&>span, & a:link, a:visited{
color: #333;
}
&>span{
cursor: default;
}
}
.commitDesc{
flex:1;
line-height:20px;
word-break: break-all;
width: 49rem;
overflow: hidden;
white-space: normal;
&:hover{
text-decoration: underline;
& .markdown-body{
color: #466AFF;
}
}
}
.normalBox{
border-radius: 4px;
border:1px solid #ddd;
}
.normalBox-title{
padding:10px;
background-color: #f4f4f4;
line-height: 18px;
}
.none_panels{
text-align: center;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
&.small{
height: 120px;
img{
width:50px;
}
}
img{
margin-bottom: 15px;
}
}
.none_p_title{
font-size: 16px;
color: #999;
}
form.ant-form{
color:#333;
}
.required{
position: relative;
&::before{
content: "*";
color: red;
position: absolute;
left: -10px;
top: 0px;
line-height: 22px;
}
}
form{
.ant-row.ant-form-item{
margin-bottom: 20px;
}
}
@media screen and (max-width: 1200px){
.main{
width: 100%;
}
.normal{
width: 100%;
}
#root{
width: 1200px;
}
}
@media screen and (max-width: 1000px){
.main{
width: 100%;
margin:1rem auto;
}
.normal{
width: 100%;
}
}
@media screen and (max-width: 750px){
.main{
width: 95%;
margin:1rem auto;
}
.normal{
width: 100%;
}
}
.ver-middle{
vertical-align: middle;
}
.pd510{padding: 5px 10px;}
.modalsStyle{
.ant-modal-content{
&>.ant-modal-header{
text-align: left!important;
}
}
.ant-modal-body{
max-width: 400px;
margin:0px auto;
text-align: left;
min-height: 140px;
display: flex;
align-items: center;
}
.ant-modal-close-x{
margin-top:8px;
}
}
.list-r-Info{
& > div{
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
}
}
.list-l-Menu{
margin-bottom: 12px;
border-radius:2px;
background-color: #fff;
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
&>li{
font-size: 1rem;
padding:0px 0px 0px 20px;
box-sizing: border-box;
color: #333;
position: relative;
& > p{
height: 62px;
line-height: 62px;
width: 100%;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
cursor: pointer;
padding-right: 20px;
margin:0px;
a{
width:100%;
}
& span:last-child{
color: #999;
}
}
&:last-child > p{
border-bottom: none;
}
&:not(.MenuTitle):hover{
background-color: #fafafa;
}
}
& li.active{
background-color: #fafafa;
}
& li.active::before{
position: absolute;
left: 0px;
top: 15px;
width: 6px;
content: '';
height: 33px;
background: #4CACFF;
}
.MenuTitle{
font-size: 16px;
background-size: 100% 100%;
color: #333!important;
height: 62px;
line-height: 62px;
border-bottom: 1px solid #E0E0E0;
font-weight: 400;
}
.ant-menu-inline{
border:none;
.ant-menu-item{
width:100%!important;
}
}
.ant-menu-item-group-title{
padding:0px;
}
}
.group-setting-switch{
border: 1px solid #DDDDDD !important;
background-color: #fff !important;
}
.ant-btn.ant-btn-background-ghost{
border-color: #D0D0D0;
}
.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{
background-color: #1890ff!important;
border-color: #1890ff;
color: #fff;
}
.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{
background-color: #DF0002!important;
border-color: #DF0002;
color: #fff;
}
.newPopUl{
li{
height: 30px;
line-height: 30px;
border-bottom: 1px solid #eee;
min-width: 78px;
text-align: center;
&:last-child{
border-bottom: none;
}
}
}
.btn-83{
width: 83px;
height: 32px;
line-height: 30px;
text-align: center;
background: #FAFBFC;
border: 1px solid #D0D0D0;
display: inline-block;
border-radius: 5px;
font-weight: 500;
color: #333333!important;
margin-right: 15px;
&:hover{
background: #F3F4F6;
color: #333333!important;
}
&:active{
background: #D0D0D0;
color: #333333!important;
}
}
.shadow:hover{
background: #eeeff1;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
a.hover:hover{
text-decoration: underline;
}
button.ant-btn-primary.btnblue{
background-color:rgba(70, 106, 255, 1);
border-color:rgba(70, 106, 255, 1);
&:hover{
background-color:rgba(70, 106, 255, 0.85);
border-color:rgba(70, 106, 255, 0.85);
}
}
button.btngrey{
background-color:#FFFFFF;
border-color:#D0D0D0;
color: #666666;
&:hover,&:focus{
border-color:rgba(153, 153, 153, 0.5);
color: #666666;
}
}