Skip to content

Commit 58a43db

Browse files
banobepascalpedropintosilva
authored andcommitted
Add hover states for annotation icons
-Remove duplicate background image from annotation avatar Signed-off-by: Banobe Pascal <[email protected]> Change-Id: Ib4ceabb66d43a543eeb03e6e58502c2a3933ce73
1 parent 758fc60 commit 58a43db

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ body {
789789
box-sizing: border-box;
790790
width: var(--default-width); /* Width of new image */
791791
height: var(--default-height); /* Height of new image */
792-
background: url('images/user.svg') center 3px no-repeat;
793792
}
794793

795794
.leaflet-container .leaflet-pane.leaflet-calc-background-pane {
@@ -876,6 +875,8 @@ body {
876875

877876
.cool-annotation-menu:hover, .cool-annotation-menu-redline:hover, .cool-redline-accept-button:hover, .cool-redline-reject-button:hover, .cool-annotation-menu-edit:hover {
878877
border: 1px solid var(--color-border-darker);
878+
background-color: var(--color-background-hover) !important;
879+
border-radius: 16px;
879880
}
880881

881882
.cool-annotation-date {

0 commit comments

Comments
 (0)