diff options
-rw-r--r-- | src/theme/style-hc.css | 5 | ||||
-rw-r--r-- | src/theme/style.css | 12 | ||||
-rw-r--r-- | src/theme/theme.gresource.xml | 1 |
3 files changed, 10 insertions, 8 deletions
diff --git a/src/theme/style-hc.css b/src/theme/style-hc.css new file mode 100644 index 00000000..6b9d37ad --- /dev/null +++ b/src/theme/style-hc.css @@ -0,0 +1,5 @@ +.sources-button > button:hover, +.sources-button > button:active, +.sources-button > button:checked { + box-shadow: inset 1px 0 @borders, inset -1px 0 @borders; +} diff --git a/src/theme/style.css b/src/theme/style.css index 82ae7026..f23f935b 100644 --- a/src/theme/style.css +++ b/src/theme/style.css @@ -133,16 +133,12 @@ popover.event-popover > contents { /* Edit dialog's header button */ .sources-button { - margin-top: 0; - margin-bottom: 0; - border-radius: 0; - border-top-style: none; - border-bottom-style: none; + margin-top: -6px; + margin-bottom: -6px; } -.sources-button:hover:not(:backdrop) { - background-image: none; - text-shadow: none; +.sources-button > button { + border-radius: 0; } /* defeats the ugly hover effect of the calendar color dot on buttons */ diff --git a/src/theme/theme.gresource.xml b/src/theme/theme.gresource.xml index ac5a0c64..98501201 100644 --- a/src/theme/theme.gresource.xml +++ b/src/theme/theme.gresource.xml @@ -3,5 +3,6 @@ <gresource prefix="/org/gnome/calendar"> <file>style.css</file> <file>style-dark.css</file> + <file>style-hc.css</file> </gresource> </gresources> |