fix(reader): visual feedback for tools selected (#1394)
This commit is contained in:
@@ -385,7 +385,6 @@
|
|||||||
id: 'overflow',
|
id: 'overflow',
|
||||||
icon: 'dots-horizontal',
|
icon: 'dots-horizontal',
|
||||||
title: 'readerPdf.toolbar.moreOptions',
|
title: 'readerPdf.toolbar.moreOptions',
|
||||||
className: 'overflow-btn',
|
|
||||||
size: size
|
size: size
|
||||||
}"></ng-container>
|
}"></ng-container>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ $transition-fast: 150ms ease;
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.annotation-tool-btn.active {
|
&.active {
|
||||||
color: $active-color;
|
color: $active-color;
|
||||||
background: rgb(74 144 226 / 15%);
|
background: rgb(74 144 226 / 15%);
|
||||||
}
|
}
|
||||||
@@ -760,6 +760,12 @@ $transition-fast: 150ms ease;
|
|||||||
background: $hover-bg;
|
background: $hover-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
color: $active-color;
|
||||||
|
background: rgb(74 144 226 / 10%);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
svg,
|
svg,
|
||||||
app-reader-icon {
|
app-reader-icon {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user