LaoeGaoci | ee7c577 | 2025-05-28 12:34:47 +0800 | [diff] [blame^] | 1 | $function-button-color: #93C4C1; |
| 2 | $nomal-button-color: #526665; |
| 3 | $heading-color: #2c3e50; |
| 4 | $subheading-color: #93C4C1; |
| 5 | $icon-color: #93C4C1; |
| 6 | $background-color: #F0F4F7; |
| 7 | |
| 8 | .container { |
| 9 | display: flex; |
| 10 | flex-direction: column; |
| 11 | background-color: $background-color; |
| 12 | min-height: 100vh; |
| 13 | } |
| 14 | |
| 15 | .toolbar { |
| 16 | display: flex; |
| 17 | justify-content: space-between; |
| 18 | align-items: center; |
| 19 | padding: 1rem 2rem; |
| 20 | background-color: #FFF; |
| 21 | position: sticky; |
| 22 | top: 0; |
| 23 | z-index: 1000; |
| 24 | |
| 25 | } |
| 26 | |
| 27 | // ##第一部分:logo-name |
| 28 | .logo-name { |
| 29 | display: flex; |
| 30 | align-items: center; |
| 31 | gap: 2rem; |
| 32 | |
| 33 | .logo { |
| 34 | width: 40px; |
| 35 | height: 40px; |
| 36 | } |
| 37 | |
| 38 | .name { |
| 39 | font-size: 3rem; |
| 40 | font-weight: bold; |
| 41 | color: #333; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // ##第二部分:tools |
| 46 | .tools { |
| 47 | display: flex; |
| 48 | align-items: center; |
| 49 | gap: 1rem; |
| 50 | |
| 51 | } |
| 52 | |
| 53 | .tools { |
| 54 | display: flex; |
| 55 | align-items: center; |
| 56 | gap: 2rem; |
| 57 | .no-underline { |
| 58 | text-decoration: none; |
| 59 | } |
| 60 | .tool-item { |
| 61 | display: flex; |
| 62 | flex-direction: column; |
| 63 | align-items: center; |
| 64 | gap: 0.25rem; |
| 65 | |
| 66 | i { |
| 67 | font-size: 1.25rem; |
| 68 | color: $icon-color; |
| 69 | } |
| 70 | |
| 71 | span { |
| 72 | font-size: 0.75rem; |
| 73 | color: #333; |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | .p-avatar { |
| 78 | margin-left: 1rem; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | .logo-name { |
| 83 | display: flex; |
| 84 | align-items: center; |
| 85 | gap: 0.5rem; |
| 86 | |
| 87 | .logo { |
| 88 | width: 40px; |
| 89 | height: 40px; |
| 90 | } |
| 91 | |
| 92 | .name { |
| 93 | font-size: 1.25rem; |
| 94 | font-weight: bold; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // 全局容器样式 |
| 99 | .main-container { |
| 100 | max-width: 1200px; |
| 101 | margin: 0 auto; |
| 102 | padding: 0 2rem; |
| 103 | } |
| 104 | |
| 105 | //TabView组件样式 |
| 106 | .p-tabview { |
| 107 | background-color: #F0F4F7; |
| 108 | } |
| 109 | |
| 110 | .p-tabview-panels { |
| 111 | background-color: #F0F4F7; |
| 112 | } |
| 113 | |
| 114 | .p-tabview-nav { |
| 115 | background-color: #F0F4F7; |
| 116 | } |
| 117 | |
| 118 | .p-tabview-nav-link { |
| 119 | background-color: #F0F4F7; |
| 120 | } |
| 121 | |
| 122 | //分页样式 |
| 123 | .Paginator { |
| 124 | display: flex; |
| 125 | justify-content: center; |
| 126 | align-items: center; |
| 127 | background-color: #F0F4F7; |
| 128 | |
| 129 | // 高亮状态的分页按钮 |
| 130 | .p-highlight { |
| 131 | background-color: rgba(182, 238, 235, 0.4) !important; |
| 132 | color: #768786 !important; |
| 133 | border-color: #768786 !important; |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | // 大标题样式 |
| 138 | h1, |
| 139 | .heading, |
| 140 | .title { |
| 141 | color: $heading-color; |
| 142 | font-size: 2rem; |
| 143 | font-weight: bold; |
| 144 | } |
| 145 | |
| 146 | |
| 147 | // 搜索栏样式 |
| 148 | .communities-searchBar { |
| 149 | max-width: 600px; |
| 150 | margin: 2rem auto; |
| 151 | position: relative; |
| 152 | |
| 153 | .pi-search { |
| 154 | position: absolute; |
| 155 | color: $icon-color; |
| 156 | left: 1rem; |
| 157 | top: 50%; |
| 158 | transform: translateY(-50%); |
| 159 | z-index: 1; |
| 160 | } |
| 161 | |
| 162 | .search-helper { |
| 163 | width: 100%; |
| 164 | height: 3rem; |
| 165 | padding-left: 2.5rem; |
| 166 | border-radius: 1.5rem; |
| 167 | font-size: 1.1rem; |
| 168 | border: 1px solid #ddd; |
| 169 | } |
| 170 | } |