Skip to content

Commit 8906ad2

Browse files
committed
官网:优化菜单按钮样式
1 parent 1f01323 commit 8906ad2

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

pages/index/styles/index.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,16 +342,19 @@ h1, h2, h3, h4, h5 {
342342
.oni-layout-main-container .aside .active-dir .iconfont, .oni-layout-main-container .aside .list-item:hover .iconfont {
343343
color: #fff; }
344344
.oni-layout-main-container .aside .icon-arrow {
345-
height: 35px;
346-
line-height: 35px;
347345
font-size: 16px;
348346
color: #5c5f67; }
347+
.oni-layout-main-container .aside .current-widget, .oni-layout-main-container .aside .backto-menu, .oni-layout-main-container .aside .icon-arrow {
348+
height: 43px;
349+
line-height: 43px; }
349350
.oni-layout-main-container .aside .backto-menu {
350351
position: relative;
351352
max-width: 100%;
352353
padding-left: 30px;
353354
overflow: hidden;
354355
border-bottom: 1px #e5e9f2 solid; }
356+
.oni-layout-main-container .aside .backto-menu .list-item-link {
357+
padding: 0; }
355358
.oni-layout-main-container .aside .backto-menu .icon-arrow {
356359
position: absolute;
357360
left: 5px;

pages/index/styles/index.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,25 @@ h1,h2,h3,h4,h5{
218218
}
219219

220220
.icon-arrow{
221-
height: 35px;
222-
line-height: 35px;
223221
font-size: 16px;
224222
color: #5c5f67;
225223
}
226224

225+
.current-widget, .backto-menu, .icon-arrow{
226+
height: 43px;
227+
line-height: 43px;
228+
}
229+
227230
.backto-menu{
228231
position: relative;
229232
max-width: 100%;
230233
padding-left: 30px;
231234
overflow: hidden;
232235
border-bottom: 1px $color-border-grey solid;
233236

237+
.list-item-link{
238+
padding: 0;
239+
}
234240
.icon-arrow{
235241
position: absolute;
236242
left: 5px;

0 commit comments

Comments
 (0)