mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +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
|
||||
|
||||
13
resources/icon/icon-edit-lock.svg
Normal file
13
resources/icon/icon-edit-lock.svg
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="17px" height="19px" viewBox="0 0 17 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 48.1 (47250) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>icon-edit-lock</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Artboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-1443.000000, -336.000000)" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="icon-edit-lock" transform="translate(1444.000000, 337.000000)" stroke="#1EC38B" stroke-width="1.66666667">
|
||||
<polygon id="Shape" points="9.16666667 0 12.5 3.42857143 3.33333333 12.8571429 0 12.8571429 0 9.42857143"></polygon>
|
||||
<path d="M0,17.1428571 L15,17.1428571" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 887 B |
13
resources/icon/icon-edit.svg
Normal file
13
resources/icon/icon-edit.svg
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="17px" height="19px" viewBox="0 0 17 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 48.1 (47250) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>icon-edit</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Artboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-1464.000000, -336.000000)" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="icon-edit" transform="translate(1465.000000, 337.000000)" stroke="#C7C7C7" stroke-width="1.66666667">
|
||||
<polygon id="Shape" points="9.16666667 0 12.5 3.42857143 3.33333333 12.8571429 0 12.8571429 0 9.42857143"></polygon>
|
||||
<path d="M0,17.1428571 L15,17.1428571" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 877 B |
Reference in New Issue
Block a user