tsg-web/src/components/DashboardLayout/style.less

422 lines
8.0 KiB
Plaintext

.app-root {
height: 100vh;
background-color: #ecf2f9 !important;
.app-header {
//display: flex;
//height: 6rem;
height:60px;
//align-items: center;
padding: 0 12px 0 0;
overflow: hidden;
z-index: 20;
color: #fff !important;
background-image: linear-gradient(#0067e3,#007bff);
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
.app-icon {
margin-right: 8px;
opacity: 0.6;
margin-top: 2px;
}
.topMenu{
//width: 830px;
width: 50vw;
height:60px;
margin-left:calc( (100vw - 1400px)/2 );
display: flex;
align-items: center;
.app-top-menu{
display: flex;
align-items: center;
.app-top-menu-item{
padding: 0 10px;
height: 35px;
display: flex;
align-items: center;
margin-right: 20px;
img{
width: 20px;
height: 20px;
margin-right: 5px;
}
span{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.active{
background-color: rgba(62, 121, 214, 0.7);
border: 1px solid #6BA2F1;
border-radius: 999px;
}
}
}
.app-title {
/*font-size: 22px;
line-height: 36px;
font-weight: 400;*/
//margin: 0 8vw 0 40px;
font-size: 24px;
display: block;
font-family: FZLanTingHeiS-DB1-GBK;
font-weight: 400;
color: #fff;
text-shadow: 0 3px 8px rgb(0 22 85 / 14%);
background: url(../../assets/images/logoBg.png) no-repeat;
position: relative;
padding: 0 40px 0 12px;
box-sizing: border-box;
}
.ant-menu {
background: transparent;
height: 60px;
display: flex;
align-items: center;
}
.ant-menu-item-active {
background-color: #fff;
}
.ant-menu-dark.ant-menu-horizontal > .ant-menu-item{
//width: 11rem;
//width:calc( 50vw/6 );
height:40px;
display: flex;
align-items: center;
color: #fff;
padding-left: 24px !important;
}
.ant-menu-item-selected {
border: 1px solid #fff;
border-radius: 999px;
background:#3E79D6;
}
}
.app-sider {
overflow-y: auto;
overflow-x: hidden;
background-color: #fff !important;
z-index: 10;
margin:12px 0px 14px 14px;
// width: 394px !important;
padding: 16px 8px;
border-radius: 2px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
.ant-menu-inline {
border-right: none;
.ant-menu-item::after {
border-right: none;
// border: 1px solid blue;
}
&.ant-menu-sub {
background: transparent;
}
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
}
}
.app-content {
z-index: 0;
display: flex;
flex-direction: column;
}
.app-breadcrumb {
background-color: #fff;
padding: 4px 24px !important;
}
.content-root {
padding: 12px;
flex-grow: 1;
overflow-y: auto;
overflow-x: hidden;
background-color: #ECF2F9;
}
.app-copyright {
padding: 16px;
text-align: center;
}
.content-app-root {
flex-grow: 1;
overflow-y: hidden;
}
.card-h-margin {
margin-bottom: 12px;
}
.app-sider .ant-menu{
font-size : 16px !important;
// line-height: 56px !important;
// font-weight: bold;
.ant-menu-sub.ant-menu-inline > .ant-menu-item, .ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title{
height: 56px;
font-family: 'Segoe UI' !important;
}
.ant-menu-vertical .ant-menu-item::after, .ant-menu-vertical-left .ant-menu-item::after, .ant-menu-vertical-right .ant-menu-item::after, .ant-menu-inline .ant-menu-item::after{
border: solid 2px #0075F9;
}
}
.ant-menu-title-content{
font-size: 16px !important;
}
.topMenuIcon{
width: 20px;
height: 20px;
}
.shouye{
background: url(../../assets/images/shouye.png) no-repeat;
}
.yuan{
background: url(../../assets/images/yuan.png) no-repeat;
left: 12px;
}
.yubao{
background: url(../../assets/images/yubao.png) no-repeat;
top: 23px;
}
.yujing{
background: url(../../assets/images/yujing.png) no-repeat;
}
.yuyan{
background: url(../../assets/images/yuyan.png) no-repeat;
top: 24px;
}
.guanli{
background: url(../../assets/images/guanli.png) no-repeat;
left: 7px;
top: 24px;
}
.topMenuIcon1{
width: 30px;
height: 30px;
position: absolute;
top: 19px;
left: -28px;
}
.user{
background: url(../../assets/images/user.png) no-repeat;
}
}
.ant-menu.ant-menu-dark .ant-menu-sub{
background: #fff !important;
}
.ant-menu-submenu .ant-menu-item{
color: #333 !important;
}
.ant-menu-submenu .ant-menu-item:hover, .ant-menu-submenu .ant-menu-item-active, .ant-menu-submenu .selected{
color: #0075F9 !important;
}
.ant-menu-submenu-noselected{
width: 11rem;
text-align: center;
padding:0 !important;
color: #fff;
}
.ant-menu-submenu-myselected{
background-color: #0052D9 !important;
width: 11rem;
height: 6rem;
text-align: center;
padding:0 !important;
position: relative;
&:after{
position: absolute;
content: '';
border-bottom: 2px solid #ff7624 !important;
left: 0 !important;
right: 0 !important;
}
}
.userBox{
width: 120px !important;
position: absolute !important;
background: #fff !important;
top: -21px !important;
left: 75px !important;
// box-shadow: 1px 2px 10px #bdbaba;
}
.userBox2{
width: 120px !important;
position: absolute !important;
background: #fff !important;
top: 20px !important;
left: 75px !important;
// box-shadow: 1px 2px 10px #bdbaba;
}
.alertBox{
position: fixed;
left:0;
top: 60px;
width:100vw;
height:20px;
z-index: 500;
.ant-alert{
padding:0 5px 0 12px;
}
.icon{
width:30px;
}
.content{
width:calc( 100vw - 80px );
white-space: nowrap
}
.closeIcon{
margin: 3px 0 0 10px;
cursor:pointer;
}
}
.nonebox .ant-card-body {
padding: 5px 20px !important;
}
.ant-radio-button-wrapper{
height:28px;
line-height:26px;
border: 1px solid #0893FF !important;
color:#0893FF;
&.ant-radio-button-wrapper-checked{
color: #fff !important;
}
.ant-radio-button-checked{
background:#0893FF;
border-color:#0893FF !important;
}
}
.normalModalStyle{
width: 100%;
// min-height: 600px;
background-color: #fff;
.ant-card-body{
.ant-table-thead{
.ant-table-cell{
background-color: #e2edfd !important;
}
}
}
.normalModalStyle_title{
height: 40px;
background-color: #f7f7f7;
border-radius: 10px 10px 0 0 ;
display: flex;
align-items: center;
color: #007afd;
font-size: 16px;
font-weight: 500;
margin-bottom: 10px;
.normalModalStyle_title_icon{
margin: 0 10px 0 15px;
width: 5px;
height: 16px;
background: #3477f5;
}
.normalModalStyle_title_cancel{
margin-right: 15px;
flex: 1;
display: flex;
flex-direction: row-reverse;
}
}
}
.home_modal{
.ant-modal-content{
border-radius: 10px;
}
}
.homeModal1{
// .ant-radio-button-wrapper:not(:first-child)::before{
// background-color: red;
// }
display: flex;
flex-direction: column;
.homeModal1_content{
height: 504px;
display: flex;
padding: 5px 20px 20px 20px;
.homeModal1_content_lf{
width: 40%;
height: 100%;
}
.homeModal1_content_rf{
width: 60%;
height: 100%;
}
}
}
.homeModal2{
display: flex;
flex-direction: column;
.homeModal2_content{
height: 504px;
display: flex;
padding: 5px 20px 20px 20px;
}
}
.colorTable{
.ant-table-thead{
th{
height: 40px !important;
background-color: #e2edfd !important;
}
}
.ant-table-tbody{
.ant-table-measure-row{
td{
padding: 0 !important;
}
}
tr:nth-child(odd) {
td{
background-color: #f5f8fe !important;
}
}
}
}