| | |
| | | @import '../../assets/css/global.scss'; |
| | | |
| | | .header-container { |
| | | position: fixed; |
| | | z-index: 1060; |
| | | z-index: 20; |
| | | left: 0; |
| | | top: 0; |
| | | font-weight: bold!important; |
| | | width: 100%; |
| | | height: 48px; |
| | | display: flex; |
| | | |
| | | .header-logo { |
| | | float: left; |
| | | width: 180px; |
| | | line-height: 48px; |
| | | text-align: center; |
| | |
| | | } |
| | | |
| | | .header-collapse { |
| | | float: left; |
| | | width: 80px; |
| | | width: 35px; |
| | | min-height: 48px; |
| | | line-height: 48px; |
| | | padding-left: 20px; |
| | | cursor: pointer; |
| | | padding-left: 10px; |
| | | margin: 0 10px; |
| | | transition: padding-left 0.15s; |
| | | i { |
| | | .anticon { |
| | | cursor: pointer; |
| | | position: relative; |
| | | top: 3px; |
| | | font-size: 20px; |
| | |
| | | } |
| | | } |
| | | .header-collapse.collapse { |
| | | padding-left: 30px; |
| | | width: 60px; |
| | | padding-left: 20px; |
| | | } |
| | | .header-menu { |
| | | float: left; |
| | | margin: 0; |
| | | min-height: 20px; |
| | | line-height: 48px; |
| | | flex: 1; |
| | | overflow-x: auto; |
| | | overflow-y: hidden; |
| | | white-space: nowrap; |
| | | li { |
| | | float: left; |
| | | font-size: 1.3rem; |
| | | cursor: pointer; |
| | | display: inline-block; |
| | | span { |
| | | padding: 0 10px; |
| | | height: 42px; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .header-menu.level4 { |
| | | li { |
| | | cursor: default; |
| | | &:hover { |
| | | span { |
| | | cursor: default; |
| | | color: rgba(255, 255, 255, 0.65); |
| | | border-bottom: none; |
| | | } |
| | | } |
| | | &.active { |
| | | span { |
| | | color: #ffffff; |
| | | border-bottom: 4px solid #1890ff; |
| | | } |
| | | .header-menu.vertical-menu { |
| | | >li { |
| | | >span { |
| | | border-color: transparent!important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .header-menu::-webkit-scrollbar { |
| | | height: 5px; |
| | | } |
| | | .header-menu::-webkit-scrollbar-thumb { |
| | | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); |
| | | background: rgba(0, 0, 0, 0.13); |
| | | border-radius: 5px; |
| | | } |
| | | .header-menu::-webkit-scrollbar-track { |
| | | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); |
| | | border: 1px solid rgba(0, 0, 0, 0.07); |
| | | background: rgba(0, 0, 0, 0); |
| | | border-radius: 3px; |
| | | } |
| | | |
| | | .header-setting { |
| | | float: right; |
| | | line-height: 48px; |
| | | margin-right: 10px; |
| | | img { |
| | |
| | | color: #ffffff; |
| | | font-size: 0.95rem; |
| | | .username { |
| | | vertical-align: middle; |
| | | display: inline-block; |
| | | height: 30px; |
| | | max-width: 95px; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | span { |
| | | display: block; |
| | | line-height: 15px; |
| | | padding: 0 3px; |
| | | font-size: 0.95rem; |
| | | max-width: 100px; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | } |
| | | span + span { |
| | | font-size: 12px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .edit-check { |
| | | font-size: 18px; |
| | | margin-top: 14px; |
| | | margin-left: 10px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .search-menu { |
| | | float: right; |
| | | font-size: 18px; |
| | | margin-top: 17px; |
| | | margin-right: 20px; |
| | | margin-left: 10px; |
| | | cursor: pointer; |
| | | } |
| | | .level4-close { |
| | | position: relative; |
| | | top: 13px; |
| | | left: 20px; |
| | | height: 26px; |
| | | padding: 0 10px; |
| | | } |
| | | .menu-select-dropdown { |
| | | top: 48px!important; |
| | |
| | | background: rgba(0, 0, 0, 0); |
| | | } |
| | | } |
| | | .mobile { |
| | | position: absolute; |
| | | top: 135px; |
| | | right: 50px; |
| | | color: #1890ff; |
| | | } |
| | | .home-edit { |
| | | position: absolute; |
| | | top: 100px; |
| | | right: 50px; |
| | | color: #1890ff; |
| | | } |
| | | } |
| | | .header-dropdown { |
| | | li { |
| | | >li { |
| | | padding: 5px 25px; |
| | | } |
| | | >li.ant-dropdown-menu-submenu { |
| | | padding: 0px; |
| | | .ant-dropdown-menu-submenu-title { |
| | | padding: 5px 25px; |
| | | } |
| | | } |
| | | } |
| | | .header-subSystem { |
| | | min-width: 100px; |
| | | .ant-dropdown.vertical-dropdown-menu { |
| | | z-index: 1100 !important; |
| | | } |
| | | .edit-switch { |
| | | margin-left: 10px; |
| | | |
| | | .vertical-dropdown-menu, .vertical-dropdown-submenu { |
| | | ul.ant-dropdown-menu { |
| | | min-width: 125px; |
| | | } |
| | | .ant-dropdown-menu-submenu-title { |
| | | padding-right: 30px; |
| | | } |
| | | } |
| | | .menu-board { |
| | | background: #ffffff; |
| | | padding: 20px 50px; |
| | | border-radius: 4px; |
| | | box-shadow: 0 0 3px #959595; |
| | | position: relative; |
| | | // left: 11.8%; |
| | | .menu-wrap { |
| | | .title { |
| | | color: #1890ff; |
| | | font-size: 15px; |
| | | font-weight: 600; |
| | | } |
| | | .menu-detail { |
| | | max-width: 60vw; |
| | | padding: 5px 0 5px 15px; |
| | | div { |
| | | // float: left; |
| | | display: inline-block; |
| | | vertical-align: top; |
| | | margin-bottom: 8px; |
| | | width: 120px; |
| | | // overflow: hidden; |
| | | // white-space: nowrap; |
| | | // text-overflow: ellipsis; |
| | | cursor: pointer; |
| | | } |
| | | div:hover { |
| | | color: #40a9ff; |
| | | } |
| | | div:not(:last-child) { |
| | | margin-right: 15px; |
| | | } |
| | | } |
| | | .menu-detail::after { |
| | | content: ' '; |
| | | display: block; |
| | | clear: both; |
| | | } |
| | | } |
| | | } |