Skip to content

Commit abaa654

Browse files
committed
样式更改
1 parent e7c0d2b commit abaa654

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

src/app/pages/menu.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export let MENU_ITEM = [
2-
32
{
43
path: 'index',
54
title: 'Dashboard',

src/app/pages/pages.component.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
height: 100%;
66
display: flex;
77
flex-direction: column;
8-
border: 1px solid #000;
98
background: $body-bg;
109
}
1110

@@ -19,6 +18,8 @@
1918
padding: 15px;
2019
flex: 1;
2120
background: transparent;
21+
border-left: 1px solid $border-color;
22+
border-top: 1px solid $border-color;
2223
color: $fonts-color;
2324
overflow-x: hidden;
2425
}

src/app/shared/components/pages-top/pages-top.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
width: 100%;
55
height: 81px;
66
background: $sidebar-bg;
7-
border-bottom: 1px solid $border-color;
7+
border: none;
88
}
99

1010
.avatar-wrap {
@@ -160,4 +160,4 @@
160160
border: 2px solid $sidebar-bg;
161161
border-radius: 50%;
162162
}
163-
}
163+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<div class="pages-sider" [ngClass]="{'side-collapsed':!sidebarToggle}">
2+
<span class="sidebar-top-line"></span>
23
<du-menu [menuInfo]="menuInfo"></du-menu>
34
</div>

src/app/shared/components/sidebar/sidebar.component.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
background: $sidebar-bg;
66
overflow-x: hidden;
77
@include transition(all .5s);
8-
border-right: 1px solid $border-color; //@include box-shadow( 2px 0 2px rgba($black, .06));
8+
border: none;
9+
.sidebar-top-line {
10+
display: block;
11+
width: 80%;
12+
position: relative;
13+
left: 10%;
14+
border-top: 1px solid $border-color;
15+
}
916
}
1017

1118
@media (max-width:970px) {

0 commit comments

Comments
 (0)