style: Fix source button styles
- Port the style to GTK4 and remove obsolete styles - Fix double border in high contrast - Update for libadwaita toolbar margin changes
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
e2e7305971
commit
31bb78155a
@@ -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;
|
||||||
|
}
|
||||||
+4
-8
@@ -133,16 +133,12 @@ popover.event-popover > contents {
|
|||||||
|
|
||||||
/* Edit dialog's header button */
|
/* Edit dialog's header button */
|
||||||
.sources-button {
|
.sources-button {
|
||||||
margin-top: 0;
|
margin-top: -6px;
|
||||||
margin-bottom: 0;
|
margin-bottom: -6px;
|
||||||
border-radius: 0;
|
|
||||||
border-top-style: none;
|
|
||||||
border-bottom-style: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sources-button:hover:not(:backdrop) {
|
.sources-button > button {
|
||||||
background-image: none;
|
border-radius: 0;
|
||||||
text-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* defeats the ugly hover effect of the calendar color dot on buttons */
|
/* defeats the ugly hover effect of the calendar color dot on buttons */
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
<gresource prefix="/org/gnome/calendar">
|
<gresource prefix="/org/gnome/calendar">
|
||||||
<file>style.css</file>
|
<file>style.css</file>
|
||||||
<file>style-dark.css</file>
|
<file>style-dark.css</file>
|
||||||
|
<file>style-hc.css</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
|
|||||||
Reference in New Issue
Block a user