feat 样式整改
This commit is contained in:
@@ -32,24 +32,29 @@ const menus: MenuItem[] = [
|
||||
<style lang="less" scoped>
|
||||
.profile-sider {
|
||||
.flex(column, flex-start);
|
||||
gap: 0;
|
||||
gap: 2px;
|
||||
padding: @spacing-sm 0;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
|
||||
&__item {
|
||||
.flex(row, flex-start, center);
|
||||
height: 36px;
|
||||
padding: 0 16px;
|
||||
border-radius: @profile-radius;
|
||||
height: 40px;
|
||||
margin: 0 @spacing-sm;
|
||||
padding: 0 @spacing-base;
|
||||
border-radius: @radius-sm;
|
||||
color: @text-color;
|
||||
font-size: 13px;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: @primary-strong;
|
||||
background: @bg-color-light;
|
||||
}
|
||||
|
||||
&.router-link-active {
|
||||
background: @profile-nav-active-bg;
|
||||
background: @filter-selected-bg;
|
||||
color: @primary-strong;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user