Skip to content

Commit ea1d76f

Browse files
committed
modfiy: change style for top bar
1 parent 2356d8a commit ea1d76f

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

browser/main/TopBar/TopBar.styl

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
.root
22
position relative
3-
background-color $ui-backgroundColor
3+
background-color $ui-noteList-backgroundColor
44
height $topBar-height - 1
5+
56
.root--expanded
67
@extend .root
8+
79
$control-height = 34px
810

911
.control
1012
position absolute
11-
top 8px
13+
top 13px
1214
left 8px
1315
right 8px
1416
height $control-height
15-
border $ui-border
16-
border-radius 20px
1717
overflow hidden
1818
display flex
1919

@@ -28,6 +28,7 @@ $control-height = 34px
2828
line-height 32px
2929
width 35px
3030
color $ui-inactive-text-color
31+
background-color $ui-noteList-backgroundColor
3132

3233
.control-search-input
3334
display block
@@ -38,6 +39,7 @@ $control-height = 34px
3839
height 100%
3940
outline none
4041
border none
42+
background-color $ui-noteList-backgroundColor
4143

4244
.control-search-optionList
4345
position fixed
@@ -82,10 +84,11 @@ $control-height = 34px
8284

8385
.control-newPostButton
8486
display block
85-
width 36px
87+
width 32px
8688
height $control-height - 2
8789
navButtonColor()
88-
border-left $ui-border
90+
border $ui-border
91+
border-radius 32px
8992
font-size 14px
9093
line-height 28px
9194
padding 0
@@ -108,7 +111,7 @@ $control-height = 34px
108111

109112
body[data-theme="dark"]
110113
.root, .root--expanded
111-
background-color $ui-dark-backgroundColor
114+
background-color $ui-dark-noteList-backgroundColor
112115

113116
.control
114117
border-color $ui-dark-borderColor
@@ -120,11 +123,13 @@ body[data-theme="dark"]
120123
line-height 32px
121124
width 35px
122125
color $ui-dark-inactive-text-color
126+
background-color $ui-dark-noteList-backgroundColor
123127

124128
.control-search-input
125129
input
126-
background-color $dark-background-color
130+
background-color $ui-dark-noteList-backgroundColor
127131
color $ui-dark-text-color
132+
128133
.control-search-optionList
129134
color white
130135
background-color $ui-dark-button--hover-backgroundColor
@@ -151,6 +156,7 @@ body[data-theme="dark"]
151156
.control-newPostButton
152157
colorDarkDefaultButton()
153158
border-color $ui-dark-borderColor
159+
background-color $ui-dark-noteList-backgroundColor
154160
&:active
155161
border-color $ui-dark-button--active-backgroundColor
156162

browser/main/TopBar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class TopBar extends React.Component {
312312
onClick={(e) => this.handleNewPostButtonClick(e)}>
313313
<i className='fa fa-plus'/>
314314
<span styleName='control-newPostButton-tooltip'>
315-
New Note {OSX ? '⌘' : '^'} + n
315+
Make a Note {OSX ? '⌘' : '^'} + n
316316
</span>
317317
</button>
318318
</div>

0 commit comments

Comments
 (0)