123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- .hc-layout-box {
- position: relative;
- height: 100vh;
- width: 100%;
- .hc-layout-bg-box {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- top: 0;
- z-index: 0;
- display: flex;
- img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- .hc-aside-box {
- position: relative;
- color: #838791;
- background: #f1f5f8;
- transition: 0.2s;
- box-shadow: -2px 0 10px 0 rgba(32,37,50,0.03), 0 10px 21px 20px rgba(32,37,50,0.03);
- border-radius: 0 60px 0 0;
- z-index: 1;
- .hc-aside-logo-box {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: opacity 0.3s;
- cursor: pointer;
- margin: 32px 0;
- left: -10px;
- .logo-img {
- height: 40px;
- }
- .logo-img-1 {
- height: 35px;
- margin-left: 5px;
- }
- &:hover {
- opacity: .8;
- }
- }
- .hc-aside-menu-box {
- position: relative;
- height: calc(100% - 216px);
- width: 100%;
- overflow: hidden;
- user-select: none;
- }
- .hc-aside-bar-box {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 24px 0;
- margin-top: 24px;
- transition: 0.2s;
- &:before {
- position: absolute;
- content: '';
- top: 0;
- width: 100%;
- height: 1px;
- background-image: linear-gradient(90deg, rgba(102,102,102,0.00) 11%, #dbe8f3 35%, #dbe8f3 64%, rgba(102,102,102,0.00) 86%);
- }
- div {
- position: relative;
- width: 40px;
- height: 40px;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 26px;
- transition: 0.1s;
- &.active {
- color: white;
- background: var(--el-color-primary);
- border-radius: 6px;
- box-shadow: 3px 2px 8px 0 var(--hc-shadow-color-5);
- }
- &:not(.active) {
- cursor: pointer;
- &:hover {
- color: var(--el-color-primary);
- }
- }
- &+div{
- margin-left: 26px;
- }
- }
- }
- &.collapse {
- border-radius: 0 50px 0 0;
- .hc-aside-logo-box {
- left: initial;
- }
- }
- &.home-index {
- color: white;
- background: rgba( 255, 255, 255, 0.35 );
- box-shadow: 0 2px 10px 0 rgba(32,37,50,0.03);
- backdrop-filter: blur( 20px );
- -webkit-backdrop-filter: blur( 20px );
- .hc-aside-menu-box .hc-aside-menu.el-menu {
- --el-menu-text-color: white;
- }
- }
- }
- .hc-container-view {
- position: relative;
- z-index: 1;
- .hc-header-view {
- position: relative;
- display: flex;
- align-items: center;
- --el-header-padding: 0 24px;
- --el-header-height: 100px;
- .hc-header-page-name {
- position: relative;
- color: #cccccc;
- font-size: 22px;
- display: flex;
- align-items: center;
- }
- .hc-header-content {
- flex: auto;
- position: relative;
- text-align: right;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- .hc-header-cascader-box {
- position: relative;
- margin-right: 30px;
- border-radius: 100px;
- .project-name-box {
- padding-right: 55px;
- position: relative;
- visibility: hidden;
- z-index: -1;
- }
- }
- }
- }
- .hc-main-box {
- position: relative;
- overflow: hidden;
- height: 100%;
- --el-main-padding: 24px;
- margin-top: -24px;
- &.home-index {
- --el-main-padding: 0;
- margin-top: 0;
- }
- }
- &.home {
- color: #ffffff;
- .hc-header-view .hc-header-page-name {
- color: #CCD0DE;
- }
- }
- }
- }
- .hc-header-project-name-box {
- padding: 4px 15px;
- border: 1px solid #00000000;
- border-radius: 100px;
- background: #f1f5f8;
- color: #202532;
- box-shadow: var(--hc-shadow);
- height: 40px;
- display: flex;
- align-items: center;
- margin-right: 30px;
- cursor: pointer;
- user-select: none;
- .project-icon {
- margin-right: 8px;
- position: relative;
- top: 2px;
- }
- }
|