123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- @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;
- width: 60px;
- }
- .center {
- text-align: center;
- .tabs {
- .tab {
- display: inline-block;
- margin: 0 8px;
- width: 96px;
- position: relative;
- text-align: center;
- font-size: 18px;
- color: @base_color;
- }
- .tab::after {
- content: '';
- width: 0;
- height: 4px;
- background: @theme_color;
- transform: translateX(-50%);
- transition: all 0.25s;
- position: absolute;
- bottom: 0;
- left: 50%;
- }
- .tab:hover,
- .tab.active {
- color: #444;
- }
- .tab:hover::after,
- .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 {}
- }
- }
- }
- .main #header {
- .body {
- width: 1200px;
- }
- }
|