1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-06-02 04:33:12 +00:00

Introduce RestoreButton component instead of plain JSX

This commit is contained in:
Nikolay Lopin
2018-02-17 00:37:36 +03:00
parent 7abff6ded4
commit 55e9441547
4 changed files with 47 additions and 8 deletions
+22
View File
@@ -0,0 +1,22 @@
.control-restoreButton
top 115px
topBarButtonRight()
&:hover .tooltip
opacity 1
.tooltip
tooltip()
position absolute
pointer-events none
top 50px
left 25px
z-index 200
padding 5px
line-height normal
border-radius 2px
opacity 0
transition 0.1s
body[data-theme="dark"]
.control-restoreButton
topBarButtonDark()