Skip to content

Commit

Permalink
Delete button style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Mar 21, 2021
1 parent f8d8575 commit b44df91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/editor/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const Editor = props => {
className="r6o-btn left delete-annotation"
title={i18n.t('Delete')}
onClick={onDelete}>
<TrashIcon width={15} />
<TrashIcon width={12} />
</button>
)}

Expand Down
18 changes: 11 additions & 7 deletions themes/default/editor/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,28 @@

.r6o-btn.delete-annotation {
position:absolute;
top:5px;
left:5px;
top:7px;
left:7px;
background-color:transparent;
border:none;
color:rgba($ocean, .8);
width:36px;
height:36px;
color:$ocean;
width:32px;
height:32px;
min-width:0;
border-radius: 100%;
padding:0;
display: flex;
justify-content:center;
align-items:center;
-webkit-transition:all .1s ease-in;
-moz-transition:all .1s ease-in;
-o-transition:all .1s ease-in;
transition:all .1s ease-in;
}

.r6o-btn.delete-annotation:hover {
color:$ocean;
background-color:$blueish-white-hi;
color:#fff;
background-color:#ef352c;
}
}

Expand Down

0 comments on commit b44df91

Please sign in to comment.