Skip to content

Commit 7f066c4

Browse files
committed
modify: fix some parameter for whole components
1 parent 2594ca9 commit 7f066c4

2 files changed

Lines changed: 20 additions & 11 deletions

File tree

browser/finder/FinderMain.styl

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $list-width = 250px
2121
outline none
2222
text-align center
2323
background-color transparent
24+
2425
.result
2526
absolute left right bottom
2627
top $search-height
@@ -32,7 +33,7 @@ $list-width = 250px
3233
background-color $ui-backgroundColor
3334

3435
.result-nav-filter
35-
margin-bottom 5px
36+
margin-bottom 10px
3637

3738
.result-nav-filter-option
3839
height 25px
@@ -62,23 +63,23 @@ $list-width = 250px
6263

6364
.result-nav-storageList
6465
absolute bottom left right
65-
top 80px + 32px + 10px
66+
top 80px + 32px + 10px + 10px
6667
overflow-y auto
6768

6869
.result-list
6970
user-select none
7071
absolute top bottom
7172
left $nav-width
7273
width $list-width
73-
border-width 0 1px
74-
border-style solid
75-
border-color $ui-borderColor
7674
box-sizing border-box
7775
overflow-y auto
76+
box-shadow 2px 0 15px -8px #b1b1b1
77+
z-index 1
7878

7979
.result-detail
8080
absolute top bottom right
8181
left $nav-width + $list-width
82+
background-color $ui-noteDetail-backgroundColor
8283

8384
body[data-theme="dark"]
8485
.root
@@ -104,7 +105,10 @@ body[data-theme="dark"]
104105

105106
.result-list
106107
border-color $ui-dark-borderColor
108+
box-shadow none
109+
top 0
107110

108111
.result-detail
109112
absolute top bottom right
110113
left $nav-width + $list-width
114+
background-color $ui-dark-noteDetail-backgroundColor

browser/finder/NoteDetail.styl

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
left $note-detail-left-margin
66
right $note-detail-right-margin
77
height 100%
8+
width 365px
89
background-color $ui-noteDetail-backgroundColor
910

1011
.description
@@ -66,6 +67,9 @@
6667
width 100%
6768

6869
body[data-theme="dark"]
70+
.root
71+
background-color $ui-dark-noteDetail-backgroundColor
72+
6973
.description
7074
border-color $ui-dark-borderColor
7175
background-color $ui-dark-noteDetail-backgroundColor
@@ -82,11 +86,12 @@ body[data-theme="dark"]
8286
&:hover
8387
background-color $ui-dark-button--hover-backgroundColor
8488

85-
.tabList-item--active
86-
border-color $ui-dark-borderColor
87-
.tabList-item-button
88-
border-color $brand-color
89-
9089
.tabList-item-button
91-
navDarkButtonColor()
90+
border none
91+
color $ui-dark-text-color
92+
background-color transparent
93+
transition color background-color 0.15s
9294
border-left 4px solid transparent
95+
&:hover
96+
color white
97+
background-color $ui-dark-button--hover-backgroundColor

0 commit comments

Comments
 (0)