forked from Gitlink/forgeplus-react
438 lines
7.5 KiB
SCSS
438 lines
7.5 KiB
SCSS
ul,ol,dl{
|
|
margin-bottom: 0px;
|
|
}
|
|
.markdown-body{
|
|
overflow: inherit;
|
|
}
|
|
.markdown-body .editormd-tex .katex-display>.katex{
|
|
white-space: pre-wrap;
|
|
}
|
|
.markdown-body a{
|
|
color: #466AFF;
|
|
}
|
|
.markdown_anchors{
|
|
position: relative;
|
|
}
|
|
.markdown_anchors:hover {
|
|
.anchors{
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.markdown_anchors {
|
|
.anchors:hover{
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
.markdown_anchors .anchors {
|
|
color: inherit;
|
|
margin-left: -14px;
|
|
display: none;
|
|
}
|
|
.newMain{
|
|
background-color: #fff;
|
|
}
|
|
.newTable{
|
|
background-color: #F0F5FF;
|
|
.newImages{
|
|
background-image: url('../../forge/Images/taskbar.png');
|
|
height: 364px;
|
|
}
|
|
}
|
|
.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;
|
|
& a:hover{
|
|
text-decoration: underline;
|
|
& .markdown-body{
|
|
color: #466AFF;
|
|
}
|
|
}
|
|
}
|
|
|
|
.normalBox{
|
|
border-radius: 4px;
|
|
// border:1px solid #ddd;
|
|
}
|
|
.normalBox-title{
|
|
background-color: #fafcff;
|
|
border: 1px solid;
|
|
border-color: rgba(42, 97, 255, 0.23);
|
|
border-radius: 4px 4px 0px 0px;
|
|
padding:0px 20px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 16px;
|
|
}
|
|
.none_panels{
|
|
text-align: center;
|
|
min-height: 320px;
|
|
padding:40px 0px;
|
|
margin-bottom: 50px;
|
|
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;
|
|
padding: 20px 0;
|
|
border:1px solid rgba(79, 108, 188, 0.21);
|
|
&>li{
|
|
font-size: 15px;
|
|
padding:0px 0px 0px 25px;
|
|
box-sizing: border-box;
|
|
color: #333;
|
|
position: relative;
|
|
& > p{
|
|
height: 49px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
padding-right: 20px;
|
|
margin:0px;
|
|
border-bottom: 1px solid #eee;
|
|
a{
|
|
width:100%;
|
|
color: #202d40;
|
|
}
|
|
& span:last-child{
|
|
color: #999;
|
|
}
|
|
}
|
|
&:last-child > p{
|
|
border-bottom: none;
|
|
}
|
|
&:not(.MenuTitle):hover{
|
|
background-color:rgba(70, 106, 255, 0.06);
|
|
}
|
|
}
|
|
& li.active{
|
|
background-color:rgba(70, 106, 255, 0.06);
|
|
}
|
|
& li.active::before{
|
|
position: absolute;
|
|
left: 0px;
|
|
width: 6px;
|
|
content: '';
|
|
height: 100%;
|
|
// background: #4CACFF;
|
|
background: $primary-color;
|
|
}
|
|
.MenuTitle{
|
|
font-size: 16px;
|
|
background-size: 100% 100%;
|
|
color: #333!important;
|
|
height: 62px;
|
|
line-height: 62px;
|
|
border-bottom: 1px solid #E0E0E0;
|
|
font-weight: 400;
|
|
cursor: pointer;
|
|
}
|
|
.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:$primary-color!important;
|
|
border-color: $primary-color;
|
|
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;
|
|
}
|
|
}
|
|
|
|
.newContainer {
|
|
.newTab,.newBtn {
|
|
position: relative;
|
|
}
|
|
.newBtnImg {
|
|
background-image: url('../Images/newIcon.svg');
|
|
background-size: 100% 100%;
|
|
width: 29px;
|
|
height: 13px;
|
|
position: absolute;
|
|
right: -14px;
|
|
top: -7px;
|
|
}
|
|
.newTab .newBtnImg {
|
|
right: -19px;
|
|
}
|
|
}
|
|
|
|
|
|
// 操作按钮-蓝色
|
|
.operateButton{
|
|
padding:0px 15px;
|
|
height:32px;
|
|
color: #fff!important;
|
|
cursor: pointer;
|
|
line-height: 30px;
|
|
background-color:rgba(70, 106, 255, 1);
|
|
border:1px solid rgba(70, 106, 255, 1);
|
|
border-radius: 4px;
|
|
display: block;
|
|
&:hover{
|
|
background-color:#708cff;
|
|
border-color:#708cff;
|
|
}
|
|
} |