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

225 lines
3.6 KiB
SCSS

ul,ol,dl{
margin-bottom: 0px;
}
.newMain{
background-color: #f5f5f5;
}
.main{
width: 1200px;
padding:20px;
margin:20px auto;
background: #fff;
border-radius: 2px;
}
.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:1000px;
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;
}
.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;
}
.none_panels 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: 15px;
}
}
@media screen and (max-width: 1000px){
.main{
width: 750px;
margin:1rem auto;
}
.normal{
width: 750px;
}
}
@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-l-Menu{
margin-bottom: 12px;
border-radius:2px;
background-color: #fff;
.list-affix{
min-height: 20px;
max-height: 180px;
overflow-y: auto;
}
& 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;
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;
}
}