Skip to content

Commit 6bb78d3

Browse files
committed
fix menu button tooltip style & set default font to buttons
1 parent fa717a3 commit 6bb78d3

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

browser/main/SideNav/SideNav.styl

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,28 +78,30 @@
7878
width 44px - 1
7979
text-align center
8080
&:hover .top-menu-label
81-
width 100px
81+
transition opacity 0.15s
82+
opacity 1
8283
.top-menu-label
8384
position fixed
8485
display inline-block
85-
height 34px
86+
height 30px
8687
left 44px
87-
width 0
88-
margin-top -5px
88+
padding 0 10px
89+
margin-top -7px
90+
opacity 0
8991
margin-left 0
9092
overflow hidden
9193
background-color $ui-tooltip-backgroundColor
9294
z-index 10
9395
color white
94-
line-height 34px
95-
border-top-right-radius 5px
96-
border-bottom-right-radius 5px
97-
transition width 0.15s
96+
line-height 30px
97+
border-top-right-radius 2px
98+
border-bottom-right-radius 2px
9899
pointer-events none
100+
font-size 12px
99101
.menu-button, .menu-button--active
100-
width 44px - 1
101102
text-align center
102103
&:hover .menu-button-label
104+
transition opacity 0.15s
103105
opacity 1
104106
// TODO: extract tooltip style to a mixin
105107
.menu-button-label
@@ -117,7 +119,6 @@
117119
line-height 34px
118120
border-top-right-radius 2px
119121
border-bottom-right-radius 2px
120-
transition opacity 0.15s
121122
pointer-events none
122123
opacity 0
123124
font-size 12px

browser/styles/finder/index.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body
1818
height 100%
1919
overflow hidden
2020
button, input
21-
font-family "Lato"
21+
font-family DEFAULT_FONTS
2222

2323
.Finder
2424
absolute top bottom left right

0 commit comments

Comments
 (0)