forgeplus-react/src/forge/Settings/setting.scss

351 lines
6.4 KiB
SCSS

.settingNav{
display: flex;
border-bottom: 1px solid #ddd;
justify-content: center;
}
.settingNav li{
height: 46px;
line-height: 46px;
position: relative;
padding:0px 15px;
cursor: pointer;
}
.settingNav li.active a{
color: #4CACFF!important;
}
.settingNav li.active::after{
position: absolute;
width: 100%;
bottom: 0px;
height: 2px;
left: 0px;
background: #4CACFF;
content: '';
}
.baseForm{
padding:15px 0!important;
}
.collaboratorList{
min-height: 400px;
}
.iteminline{
display: flex;
align-items: center;
.ant-row.ant-form-item{
margin-left: 15px;
}
}
.setHeight{
.ant-form-item-control{
height: 20px;
line-height: 20px;
}
}
.baseForm .ant-row.ant-form-item{
margin-bottom: 15px;
}
.submitBtn{
display: block;
float: left;
padding:0px 12px;
border-radius: 4px;
height: 35px;
line-height: 35px;
color: #fff!important;
background: $primary-color;
}
.small_submitBtn{
display: block;
padding:0px 12px;
border-radius: 4px;
height: 32px;
line-height: 32px;
color: #fff!important;
background: $primary-color;
}
.addPanel{
display: flex;
.icon-tianjiafangda{
font-size: 16px !important;
font-weight: bold;
&+span{
position: relative;
top:-1px;
}
}
}
.red_btn{
display: block;
padding:0px 8px;
height: 28px;
line-height: 28px;
color: #fff;
background: #db2828;
border-radius: 3px;
}
.collaboratorItem{
display: flex;
border-top: 1px solid #f4f4f4;
padding:15px;
}
.collaboratorItem>span{
flex: 1;
display: flex;
}
.branchSelect{
width: 200px;
height: 32px;
}
.dangerousBox{
margin-top: 20px;
padding:20px;
border-top: 1px solid #eee;
&>div{
border:1px solid #efc16b;
border-radius: 4px;
}
}
.manageItem{
padding:11px 0px;
.webName{
position: relative;
color:#4CACFF;
padding-left: 25px;
&::before{
position: absolute;
content: '';
width:6px;
height:6px;
border-radius: 50%;
left: 0px;
top:8px;
background-color: #FFA802;
}
}
}
.dangerousTitle{
padding:10px;
background: #f9edbe;
line-height: 18px;
}
.red_deleteBtn{
display: block;
height: 38px;
line-height: 38px;
border:1px solid #db2828;
border-radius: 4px;
color: #db2828!important;
padding:0px 15px;
font-size: 16px;
}
.flex-a-center{
display: flex;
justify-content: space-between;
align-items: center;
}
.padding15-10{
padding:15px 10px;
}
.w-100{width: 100%;}
.fwb{font-weight: 600;}
.text-black{color: #333;}
.bbr{border-bottom: 1px solid #f6f6f6;}
.ant-input-group-addon{border: 0 !important;}
.grid-item-left{display: grid; align-items: center; grid-template-columns: 1fr max-content;}
.text-primary{color: $primary-color !important;}
.ant-dropdown-menu{min-width: 90px ; text-align: center !important;}
.text-green{color: #28BD6C !important;}
.text-yellow{color: #FF6E21 !important;}
.text-delete{color: #BBBBBB; }
.text-delete:hover{color: #db2828; }
.new-tag-div{
padding: 15px;
height: 75px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
background: #fafafa;
flex-wrap: wrap;
}
.topWrapper_success_btn{
border: 1px solid #21ba45;
color: #21ba45!important;
padding: 0px 12px;
text-align: center;
height: 32px;
line-height: 32px;
border-radius: 4px;
}
.setTables{
.ant-table-tbody > tr:hover > td{
background-color: #fff!important;
}
.ant-table-tbody > tr > td{
border-bottom: none;
padding:15px 8px 15px 0px;
}
.ant-table-tbody > tr > td:last-child{
padding-right: 0px;
}
}
.hooksNew{
.ant-select.ant-select-enabled{
width: 100%;
}
}
.shortStyle{
.setStyleRule{
min-height: 35px;
#merge_whitelist_usernames{
li.ant-select-selection__choice{
margin-top: 0px!important;
margin-bottom: 3px!important;
}
}
}
.columsRadio{
display: block;
height: 30px;
line-height: 30px;
}
.ant-row.ant-form-item{
margin-bottom: 0px;
}
}
.inlineFlex{
display: flex;
align-items: center;
& > span{
margin-right: 10px;
color: #666;
}
}
.setStyleRule{
min-height: 35px;
.ant-row.ant-form-item{
margin-bottom: 10px;
}
}
.setSelectWidth{
.ant-select.ant-select-enabled{
width: 100%;
}
}
.setHeight{
.ant-select-selection,.ant-select-selection__rendered{
height: 40px;
line-height: 40px;
}
}
.protectBranchList{
border:1px solid #eee;
border-radius: 5px;
margin-top: 25px;
&>div{
padding:5px 15px;
border-bottom: 1px solid #eee;
}
&>div:last-child{
border-bottom: none;
}
}
.addMemByLinkBox{
color:#202d40;
.selectBox {
width: 55%;
display: block;
margin-bottom: 18px;
}
.checkBox{
color:#151d40;
}
.tipBox{
// background-color:rgba(199, 209, 255, 0.17);
color:#7e849e;
// padding: 20px 150px 20px 25px;
display: flex;
}
.success{
background-color: #36cacf;
border-color: #36cacf;
}
.linkBox{
width: 55%;
.ant-input-group-addon{
padding: 0;
}
.ant-btn{
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
}
.softBotClass{
.softBoxHeadTitle{
color:#151d40;
padding: 8px 0;
border-bottom: 1px solid #e0e6f5;
}
.botListBox{
margin-top: 16px;
color:#202d40;
.statusBox{
background-color:rgba(255, 81, 81, 0.08);
border:1px solid#f23737;
color:#f92d2d;
border-radius:4px;
padding: 4px 6px;
line-height: normal;
&.active{
background-color:rgba(58, 213, 115, 0.08);
border-color:#25c589;
color:#25c589;
}
}
.disBotItem{
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px dashed #e0e6f5;
padding: 20px 0 15px;
}
.flexCenter{
display: inline-flex;
align-items: center;
}
.botName{
display: inline-block;
max-width: 600px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.imgBox{
width: 44px;
height: 44px;
border-radius: 50%;
object-fit: cover;
}
}
.nullBotBox{
background-color: #fafcff;
border-radius: 4px 4px 0px 0px;
text-align: center;
padding: 25px 158px 65px;
.showBigTip{
color:#333333;
margin-top: 16px;
margin-bottom: 22px !important;
}
.showTip{color: #666;}
.borTip{
width: 82%;
margin: 20px auto 18px;
border-top: 1px solid rgba(90, 117, 193, 0.23)
}
}
}