1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- @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;
- }
- }
- }
- .main #header {
- .body {
- width: 1200px;
- }
- }
|