mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Change Edit Lock Icon
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.control-infoButton
|
||||
top 10px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
.infoButton
|
||||
padding 0px
|
||||
|
||||
@@ -233,7 +233,7 @@ class MarkdownNoteDetail extends React.Component {
|
||||
}
|
||||
|
||||
getToggleLockButton () {
|
||||
return this.state.isLocked ? '../resources/icon/icon-lock.svg' : '../resources/icon/icon-unlock.svg'
|
||||
return this.state.isLocked ? '../resources/icon/icon-edit-lock.svg' : '../resources/icon/icon-edit.svg'
|
||||
}
|
||||
|
||||
handleDeleteKeyDown (e) {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
.control-lockButton
|
||||
top 150px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
.trashed-infopanel
|
||||
top 40px
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
.control-fullScreenButton
|
||||
top 80px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
.body
|
||||
absolute left right
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
.control-fullScreenButton
|
||||
top 80px
|
||||
margin-bottom 10px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
body[data-theme="white"]
|
||||
.root
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.root
|
||||
top 45px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
&:hover
|
||||
transition 0.2s
|
||||
color alpha($ui-favorite-star-button-color, 0.6)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
.control-trashButton
|
||||
top 115px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
.control-trashButton--in-trash
|
||||
top 60px
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
|
||||
.trashButton
|
||||
padding 0px
|
||||
|
||||
@@ -174,7 +174,7 @@ modal()
|
||||
overflow hidden
|
||||
border-radius $modal-border-radius
|
||||
|
||||
topBarButtonLight()
|
||||
topBarButtonRight()
|
||||
position absolute
|
||||
width 34px
|
||||
height 34px
|
||||
@@ -187,7 +187,7 @@ topBarButtonLight()
|
||||
&:active
|
||||
border-color $ui-button--active-backgroundColor
|
||||
&:hover
|
||||
transform scale(1.1)
|
||||
// transform scale(1.1)
|
||||
transition 0.4s
|
||||
color $ui-button-color
|
||||
.control-lockButton-tooltip
|
||||
|
||||
Reference in New Issue
Block a user