|
@@ -30,7 +30,6 @@
|
|
|
|
|
|
.layout-content {
|
|
|
position: relative;
|
|
|
- // height: 100%;
|
|
|
|
|
|
&.fixed {
|
|
|
width: 1200px;
|
|
@@ -38,30 +37,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .layout-menu {
|
|
|
- &__logo {
|
|
|
- height: @header-height;
|
|
|
- padding: 10px 4px 10px 10px;
|
|
|
-
|
|
|
- img {
|
|
|
- width: @logo-width;
|
|
|
- height: @logo-width;
|
|
|
- }
|
|
|
-
|
|
|
- &.light {
|
|
|
- .logo-title {
|
|
|
- color: @text-color-base;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.dark {
|
|
|
- .logo-title {
|
|
|
- color: @white;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
.layout-sidebar {
|
|
|
background-size: 100% 100%;
|
|
|
|
|
@@ -99,312 +74,6 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- &__tabs {
|
|
|
- z-index: 10;
|
|
|
- height: @multiple-height;
|
|
|
- padding: 0;
|
|
|
- line-height: @multiple-height;
|
|
|
- background: @border-color-shallow-light;
|
|
|
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.setting-drawer {
|
|
|
- .ant-drawer-body {
|
|
|
- padding-top: 0;
|
|
|
- background: @white;
|
|
|
- }
|
|
|
-
|
|
|
- &__footer {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-
|
|
|
- &__cell-item {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin: 16px 0;
|
|
|
- }
|
|
|
-
|
|
|
- &__theme-item {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- margin: 16px 0;
|
|
|
-
|
|
|
- span {
|
|
|
- display: inline-block;
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- margin-top: 10px;
|
|
|
- margin-right: 10px;
|
|
|
- cursor: pointer;
|
|
|
- border-radius: 4px;
|
|
|
-
|
|
|
- svg {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-
|
|
|
- &.active {
|
|
|
- svg {
|
|
|
- display: inline-block;
|
|
|
- margin-left: 4px;
|
|
|
- font-size: 0.8em;
|
|
|
- fill: @white;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__siderbar {
|
|
|
- display: flex;
|
|
|
-
|
|
|
- > div {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .check-icon {
|
|
|
- position: absolute;
|
|
|
- top: 40%;
|
|
|
- left: 40%;
|
|
|
- display: none;
|
|
|
- color: @primary-color;
|
|
|
-
|
|
|
- &.active {
|
|
|
- display: inline-block;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- img {
|
|
|
- margin-right: 10px;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.ant-layout-header:not(.default-layout__tabs) {
|
|
|
- height: @header-height;
|
|
|
- line-height: @header-height;
|
|
|
-}
|
|
|
-
|
|
|
-.ant-layout-header.default-layout__tabs {
|
|
|
- height: @multiple-height + 2;
|
|
|
- line-height: @multiple-height + 2;
|
|
|
- background: @white;
|
|
|
-}
|
|
|
-
|
|
|
-.layout-header {
|
|
|
- display: flex;
|
|
|
- height: @header-height;
|
|
|
- padding: 0 20px 0 0;
|
|
|
- color: @white;
|
|
|
- background: @white;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- &__content {
|
|
|
- flex-grow: 1;
|
|
|
- display: flex;
|
|
|
- // justify-content: center;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-
|
|
|
- &__header--light {
|
|
|
- background: @white;
|
|
|
- border-bottom: 1px solid @header-light-bottom-border-color;
|
|
|
-
|
|
|
- .layout-header__menu {
|
|
|
- height: calc(@header-height - 1px);
|
|
|
-
|
|
|
- .ant-menu-submenu {
|
|
|
- height: @header-height;
|
|
|
- line-height: @header-height;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-header__logo {
|
|
|
- height: @header-height;
|
|
|
- color: @text-color-base;
|
|
|
-
|
|
|
- img {
|
|
|
- width: @logo-width;
|
|
|
- height: @logo-width;
|
|
|
- margin-right: 6px;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: @header-light-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-header__action {
|
|
|
- &-item {
|
|
|
- &:hover {
|
|
|
- background: @header-light-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &-icon {
|
|
|
- color: @text-color-base;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-header__user-dropdown {
|
|
|
- &:hover {
|
|
|
- background: @header-light-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .user-dropdown {
|
|
|
- &__name {
|
|
|
- color: @text-color-base;
|
|
|
- }
|
|
|
-
|
|
|
- &__desc {
|
|
|
- color: @header-light-desc-color;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__header--dark {
|
|
|
- background: @header-dark-bg-color;
|
|
|
-
|
|
|
- .layout-header__action {
|
|
|
- &-item {
|
|
|
- &:hover {
|
|
|
- background: @header-dark-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-header__logo {
|
|
|
- height: @header-height;
|
|
|
-
|
|
|
- img {
|
|
|
- width: @logo-width;
|
|
|
- height: @logo-width;
|
|
|
- margin-right: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: @header-dark-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-header__user-dropdown {
|
|
|
- &:hover {
|
|
|
- background: @header-dark-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .breadcrumb {
|
|
|
- &__item:last-child .breadcrumb__inner,
|
|
|
- &__item:last-child &__inner a,
|
|
|
- &__item:last-child &__inner a:hover,
|
|
|
- &__item:last-child &__inner:hover {
|
|
|
- font-weight: 400;
|
|
|
- color: rgba(255, 255, 255, 0.6);
|
|
|
- cursor: text;
|
|
|
- }
|
|
|
-
|
|
|
- &__inner,
|
|
|
- &__separator {
|
|
|
- color: @white;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__logo {
|
|
|
- padding: 0 10px;
|
|
|
- }
|
|
|
-
|
|
|
- &__bread {
|
|
|
- flex: 1;
|
|
|
- display: none;
|
|
|
- }
|
|
|
-
|
|
|
- &__action {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- &-item {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- height: @header-height;
|
|
|
- padding: 0 2px;
|
|
|
- font-size: 1.2em;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
-
|
|
|
- &-icon {
|
|
|
- padding: 0 8px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &__menu {
|
|
|
- margin-left: 20px;
|
|
|
- overflow: hidden;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-
|
|
|
- &__user-dropdown {
|
|
|
- height: @header-height;
|
|
|
- padding: 0 0 0 10px;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.user-dropdown {
|
|
|
- display: flex;
|
|
|
- padding-right: 10px;
|
|
|
- font-size: 12px;
|
|
|
- cursor: pointer;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- img {
|
|
|
- width: 26px;
|
|
|
- height: 26px;
|
|
|
- margin-right: 12px;
|
|
|
- }
|
|
|
-
|
|
|
- &__header {
|
|
|
- border-radius: 50%;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.layout-header__left {
|
|
|
- flex-grow: 1;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- .layout-trigger {
|
|
|
- padding: 4px 10px 0 16px;
|
|
|
- cursor: pointer;
|
|
|
-
|
|
|
- .anticon {
|
|
|
- font-size: 17px;
|
|
|
- }
|
|
|
-
|
|
|
- &.light {
|
|
|
- &:hover {
|
|
|
- background: @header-light-bg-hover-color;
|
|
|
- }
|
|
|
-
|
|
|
- svg {
|
|
|
- fill: #000;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.dark {
|
|
|
- &:hover {
|
|
|
- background: @header-dark-bg-hover-color;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .layout-breadcrumb {
|
|
|
- padding: 0 8px;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.ant-layout-sider-trigger {
|