3.10 工程代码同步master
This commit is contained in:
310
src/baseStyle.less
Normal file
310
src/baseStyle.less
Normal file
@ -0,0 +1,310 @@
|
||||
.ant-layout-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
.ant-pro-global-header{
|
||||
background-color: #b30000;
|
||||
height: 56px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.ant-pro-sider-logo {
|
||||
background-color: #b30000;
|
||||
height: 56px;
|
||||
}
|
||||
.ant-pro-sider-light .ant-pro-sider-logo h1 {
|
||||
color: #ffffff;
|
||||
}
|
||||
.ant-menu {
|
||||
margin-top: 6px;
|
||||
}
|
||||
#root .ant-layout-sider {
|
||||
z-index: 0;
|
||||
}
|
||||
// .ant-menu-submenu-title {
|
||||
// padding-left: 24px !important;
|
||||
// }
|
||||
// .ant-menu-submenu-arrow {
|
||||
// right: 24px;
|
||||
// }
|
||||
|
||||
.ant-pro-basicLayout-content {
|
||||
margin-top: 66px !important;
|
||||
margin-left: 9px !important;
|
||||
margin-bottom: 0px !important;
|
||||
// padding-left: 224px;
|
||||
display: flex;
|
||||
flex: auto;
|
||||
flex-direction: row;
|
||||
|
||||
// // 去除滚动条样式
|
||||
// margin-right: 0 !important;
|
||||
// padding-right: 10px;
|
||||
// height: 100%;
|
||||
// overflow: auto;
|
||||
}
|
||||
.bidContent {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.ant-card-head-title {
|
||||
padding: 11px 0 10px 0;
|
||||
}
|
||||
|
||||
.ant-input {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.ant-form-item {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
// .ant-tabs-content-holder {
|
||||
// margin-top: 24px;
|
||||
// }
|
||||
|
||||
.ant-btn-dangerous.ant-btn-link {
|
||||
color: #1890ff;
|
||||
}
|
||||
|
||||
|
||||
.ant-table-pagination.ant-pagination {
|
||||
margin: 16px 0 24px 0;
|
||||
}
|
||||
|
||||
.ant-pagination-item-active a {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.ant-pagination-item {
|
||||
border: 1px solid #999;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.ant-pagination-item-active {
|
||||
font-weight: 500;
|
||||
background: #b30000;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.ant-page-header .ant-page-header-heading-title {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.ant-page-header-heading-sub-title {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.first-title {
|
||||
font-size: 14px;
|
||||
color: #b30000;
|
||||
line-height: 40px;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
padding-left: 11px;
|
||||
}
|
||||
.first-title::before{
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 0;
|
||||
width: 3px;
|
||||
height: 14px;
|
||||
background-color: #b30000;
|
||||
}
|
||||
|
||||
.scd-title {
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
line-height: 42px;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
padding-left: 34px;
|
||||
}
|
||||
.scd-title::before{
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 0;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
background-color: #b30000;
|
||||
}
|
||||
|
||||
.ant-modal-footer {
|
||||
overflow: hidden;
|
||||
button {
|
||||
float: right;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.MuiTabs-indicator {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
||||
.ant-pro-table td.ant-table-cell > a {
|
||||
color: #1890ff;
|
||||
padding-right: 8px;
|
||||
|
||||
}
|
||||
|
||||
.ant-pro-table-search {
|
||||
|
||||
}
|
||||
|
||||
.ant-pro-table{
|
||||
.ant-card-body{
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-pro-table-search {
|
||||
padding: 10px 24px 6px 24px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.ant-pagination-item-active:focus a, .ant-pagination-item-active:hover a {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.ant-tabs-tab {
|
||||
margin: 0px 48px 0 0 !important;
|
||||
}
|
||||
|
||||
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
|
||||
box-shadow: none;
|
||||
}
|
||||
.ant-pro-sider-light {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.myselfContent .ant-menu-submenu-title {
|
||||
padding-right: 34px;
|
||||
text-align: center;
|
||||
color: #b30000;
|
||||
border-top: 2px solid #b30000;
|
||||
//background: #b30000;
|
||||
}
|
||||
.myselfContent .ant-menu-submenu-title i {
|
||||
display: none;
|
||||
}
|
||||
.myselfContent .ant-menu-item {
|
||||
text-align: center;
|
||||
padding: 0 !important;
|
||||
}
|
||||
// .myselfContent .ant-menu .ant-menu-item-selected {
|
||||
// background-color: rgba(225,225,225,.0);
|
||||
// }
|
||||
|
||||
// .myselfContent .ant-menu .ant-menu-submenu-selected {
|
||||
// background: #b30000;
|
||||
// color: #fff !important;
|
||||
// }
|
||||
// .myselfContent .ant-menu .ant-menu-submenu-selected:hover {
|
||||
// background: #b30000;
|
||||
// color: #fff !important;
|
||||
// }
|
||||
|
||||
.myselfContent .ant-menu-inline .ant-menu-item::after {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.ant-collapse {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.ant-page-header {
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
.ant-table-content .ant-table-cell .ant-btn-text {
|
||||
color: #1890ff !important;
|
||||
background: rgba(0,0,0,0);
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.ant-table-content .ant-table-cell .ant-btn-text:hover {
|
||||
color: #1890ff;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.frize-menu {
|
||||
width: 224px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
flex: 0 0 224px;
|
||||
max-width: 224px;
|
||||
min-width: 224px;
|
||||
background: #fff;
|
||||
position: fixed;
|
||||
min-height: 100%;
|
||||
scrollbar-width: none;
|
||||
z-index: 100;
|
||||
left: 0;
|
||||
top: 56px;
|
||||
overflow-y: auto;
|
||||
border: none;
|
||||
// padding-top: 66px;
|
||||
padding-bottom: 200px;
|
||||
-ms-overflow-style: none; /* IE 10+ */
|
||||
}
|
||||
.frize-menu::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
input[type="number"]{
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
.basicLayout-children{
|
||||
margin-top:5px;
|
||||
background-color:white;
|
||||
border-radius:6px;
|
||||
overflow:auto;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.basicLayout-children::-webkit-scrollbar {
|
||||
width:0px;
|
||||
}
|
||||
|
||||
// 修改全局界面上所有只读表单文字颜色改成黑色
|
||||
.ant-input[disabled]{
|
||||
color: #333;
|
||||
}
|
||||
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{
|
||||
color: #333;
|
||||
}
|
||||
.ant-radio-disabled + span{
|
||||
color: #333;
|
||||
}
|
||||
.ant-btn-primary[disabled], .ant-btn-primary[disabled]:hover, .ant-btn-primary[disabled]:focus, .ant-btn-primary[disabled]:active{
|
||||
color: #333;
|
||||
}
|
||||
.ant-checkbox-disabled + span{
|
||||
color: #333;
|
||||
}
|
||||
.ant-picker-input > input[disabled]{
|
||||
color: #333;
|
||||
}
|
||||
.ant-btn[disabled], .ant-btn[disabled]:hover, .ant-btn[disabled]:focus, .ant-btn[disabled]:active{
|
||||
color: #333;
|
||||
}
|
||||
//2022.2.18增加PageHeader全局样式 来源:ld_style.less
|
||||
.ant-page-header{
|
||||
background: #fff;
|
||||
padding: 6px 24px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
Reference in New Issue
Block a user