UNPKG

generator-hcy-system

Version:

hcy system layout and pages

162 lines (135 loc) 2.3 kB
@pro-header-hover-bg: rgba(0, 0, 0, 0.025); .menu { :global(.anticon) { margin-right: 8px; } :global(.ant-dropdown-menu-item) { min-width: 160px; } } .right { display: flex; float: right; height: 48px; margin-right: 12px; margin-left: auto; overflow: hidden; color: rgba(4, 10, 26, 70%); a { color: white; } .name { width: 70px; height: 48px; overflow: hidden; line-height: 48px; white-space: nowrap; text-overflow: ellipsis; } .action { display: flex; align-items: center; height: 48px; padding: 0 12px; cursor: pointer; transition: all 0.3s; >span { vertical-align: middle; } &:hover { background: @pro-header-hover-bg; } &:global(.opened) { background: @pro-header-hover-bg; } } .search { padding: 0 12px; &:hover { background: transparent; } } .account { .avatar { margin-right: 8px; color: @primary-color; vertical-align: top; // background: rgba(255, 255, 255, 0.85); } } } @media only screen and (max-width: @screen-md) { :global(.ant-divider-vertical) { vertical-align: unset; } .name { display: none; } .right { position: absolute; top: 0; right: 12px; .account { .avatar { margin-right: 0; } } .search { display: none; } } } .module { position: absolute; width: 202px; height: 112px; left: -80px; top: 50px; background-color: #fff; z-index: 100000; border-radius: 4px 4px 0 0; box-shadow: 0 1px 8px rgba(0, 0, 0, 15%); } .bg { width: 36px; height: 36px; border-radius: 50%; text-align: center; line-height: 36px; color: #fff; } .userHead { display: flex; align-items: center; } .menu-style { width: 100px !important; } .account { display: flex; align-items: center; position: relative; justify-content: right; } .icon-img { width: 18px; } .min-logo { width: 100%; background-size: 100%; } .side-height { height: 100vh; overflow: hidden; overflow-x: hidden; overflow-y: scroll; } .side-height::-webkit-scrollbar { display: none; } .content-heat-right { width: 32px; height: 32px; border-radius: 50%; vertical-align: middle; }