Skip to content

Commit 8c71046

Browse files
committed
Add hover states for annotation icons
-Remove duplicate background image from annotation avatar Signed-off-by: Banobe Pascal <[email protected]> Change-Id: I53676e2b53ab56f48ec92474c37d0f6917690c14
1 parent fdb7206 commit 8c71046

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

browser/css/color-palette-dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575

7676
--color-quickfind-border: #444;
7777
--scrollbar-color: #c0bfbc transparent;
78+
--color-background-hover: #363636;
7879
}
7980

8081
[data-bg-theme='dark'] {

browser/css/color-palette.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
--color-treeview-highlight-text: #222;
8585
--color-quickfind-border: #e1dfdd;
8686
--scrollbar-color: #c0bfbc #fafafa;
87+
--color-background-hover: #F5F5F5;
8788
}
8889

8990
[data-bg-theme='light'] {

browser/css/cool.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ body {
876876

877877
.cool-annotation-menu:hover, .cool-annotation-menu-redline:hover, .cool-redline-accept-button:hover, .cool-redline-reject-button:hover, .cool-annotation-menu-edit:hover {
878878
border: 1px solid var(--color-border-darker);
879+
background-color: var(--color-background-hover) !important;
880+
border-radius: 16px;
879881
}
880882

881883
.cool-annotation-date {

0 commit comments

Comments
 (0)