@import '../../app.less'; #page { padding-top: 44px; } #header { width: 100%; box-shadow: 0 4px 14px 0 rgba(189, 199, 215, 0.25); background-color: #ffffff; text-align: center; position: fixed; top: 0; z-index: 1; .body { margin: 0 auto; width: @content_width; height: 44px; line-height: 44px; position: relative; } .left { position: absolute; left: 0; top: 0; .assets { width: 131px; height: 24px; } } .center { text-align: center; .tabs { .tab { display: inline-block; margin: 0 8px; width: 96px; position: relative; text-align: center; font-size: 18px; color: #5E677BFF; font-weight: 400; } // .tab.active::after { // content: ''; // width: 0; // height: 4px; // background: @theme_color; // transform: translateX(-50%); // transition: all 0.25s; // position: absolute; // bottom: 0; // left: 50%; // } .tab:hover { color: #57A4FEFF; } .tab.active { color: @theme_color; font-weight: 500; } // .tab.active::after { // width: 100%; // } } } .right { position: absolute; right: 0; top: 0; .button { font-size: 14px; padding: 5px 22px; line-height: 20px; } .info { line-height: 24px; .assets { margin-right: 5px; width: 24px; height: 24px; border-radius: 50%; } span {} } } } .ready #header, .question #header, .textbook #header, .main #header, .course #header { .body { width: 1200px; } } .header-user-overlay { background: #fff; box-shadow: 0px 4px 14px 0px rgba(189, 199, 215, 0.25); width: 180px; .list { cursor: pointer; .item { line-height: 14px; padding: 20px; border-bottom: 1px solid #D8D8D8FF; .assets { margin-right: 5px; path { fill: #303139FF !important; } } } .item.more-message { line-height: 16px; padding: 20px; path { fill: #4292F0FF !important; } } .item:last-child { border-bottom: none; } } }