123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- .text {
- color: variables.$primary-color; // 如果直接 @use
- }
- header {
- background: $white;
- padding: 15px 0 10px;
- position: sticky;
- top: 0;
- z-index: 100;
- box-shadow: $card-shadow;
- }
- .header-container {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 15px;
- }
- .logo {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 18px;
- font-weight: 700;
- color: $primary;
-
- fa-icon {
- font-size: 22px;
- }
- }
- .user-actions {
- display: flex;
- gap: 15px;
- }
- .icon-btn {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- background: $light-gray;
- color: $gray;
- font-size: 16px;
- border: none;
- transition: $transition;
- cursor: pointer;
-
- &:hover {
- background: $primary;
- color: $white;
- }
- }
- .search-bar {
- background: $light-gray;
- border-radius: 25px;
- padding: 10px 20px;
- margin: 12px 15px 0;
- display: flex;
- align-items: center;
-
- fa-icon {
- color: $gray;
- margin-right: 10px;
- }
-
- input {
- border: none;
- background: transparent;
- outline: none;
- width: 100%;
- font-size: 14px;
- }
- }
|