@import './style/variable'; @DarkMenuItemColor: #e0e0e0 !important; // .ant-pro-page-container-wrap { // display: none; // } .ant-form-item-required:before { position: absolute; right: -12px; } .ant-pro-page-container { .ant-page-header-footer { border-top: 1px solid #e9e9e9; padding-top: 10px; } } .ant-pro-basicLayout { .ant-pro-top-nav-header-main { gap: 16px; justify-content: space-between; background-color: #4277ff; h1 { color: white !important; } } .ant-pro-top-nav-header-menu { display: none !important; } .ant-pro-top-nav-header { .ant-menu-item { padding: 0 10px !important; &:not(:first-child) { margin-left: 8px !important; } } .ant-menu.ant-menu-dark { background: transparent; } } // .dark { // background-color: #3f4960 !important; // h1, // & .right-content, // & .anticon-bell { // color: #fff !important; // } // & .ant-pro-menu-item-title, // & .anticon, // & .ant-menu-item-active { // color: rgba(#fff, 0.55) !important; // } // .ant-menu { // background-color: #3f4960 !important; // .ant-menu-item-selected, // & .ant-menu-item-active { // transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; // } // .ant-menu-item-selected { // span { // color: #fff !important; // } // } // .ant-menu-item { // span { // color: rgba(255, 255, 255, 0.55) !important; // } // &:hover { // background-color: transparent !important; // } // &::after { // left: 0; // right: 0; // } // } // .ant-menu-item-selected, // & .ant-menu-item-active { // transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; // background: linear-gradient( // 0deg, // rgba(#fff, 0.25) 0%, // rgba(#fff, 0) 82% // ) !important; // &::after { // border-bottom-color: rgba(#fff, 0.8); // } // } // } // } .ant-layout-sider-dark { background: #2a374e !important; .ant-menu-dark { background: #2a374e !important; // span { // color: @DarkMenuItemColor; // } // .ant-menu-submenu-title { // span { // color: @DarkMenuItemColor; // } // i { // &::after { // background-color: @DarkMenuItemColor; // } // &::before { // background-color: @DarkMenuItemColor; // } // } // } .ant-menu-sub { background: #202e45; // .ant-menu-item { // span { // color: @DarkMenuItemColor; // } // } } // .ant-menu-submenu-selected { // .ant-menu-submenu-title { // span { // color: @primary-color !important; // } // i { // &::after { // background-color: @primary-color !important; // } // &::before { // background-color: @primary-color !important; // } // } // } // .ant-menu-item-selected { // span { // color: @primary-color !important; // } // } // } .ant-menu-item-selected { background-color: rgba(48, 109, 240, 0.3) !important; border-left: 2px solid @primary-color; // span { // color: @primary-color !important; // } } } } .ant-layout-sider { box-shadow: 1px 0 0 0 #e9e9e9 !important; } .ant-page-header.has-breadcrumb { background: transparent; padding-top: 20px; padding-bottom: 0; // display: none; &.has-footer { background-color: #fff; } } .ant-pro-page-container-children-content { margin: 16px; } .ant-pro-sider-menu { padding-top: 6px; } } // 说明文档样式 .doc { height: 750px; padding: 24px; overflow-y: auto; color: rgba(#000, 0.8); font-size: 14px; background-color: #fafafa; .url { padding: 8px 16px; color: #2f54eb; background-color: rgba(#a7bdf7, 0.2); } h1 { margin: 16px 0; color: rgba(#000, 0.85); font-weight: bold; font-size: 14px; &:first-child { margin-top: 0; } } h2 { margin: 6px 0; color: rgba(0, 0, 0, 0.8); font-size: 14px; } .image { margin: 16px 0; } } .modalRef { .ant-modal-header { background: #4277ff; height: 48px; padding: 13px 20px; .ant-modal-title { color: white; } } .ant-modal-close-x { height: 48px; width: 48px; line-height: 48px; color: white; } .ant-modal-footer { text-align: center; } } // .JSearch-item--label { // display: none; // }