From ecd4fb7d4105d724504f578221badb47756b6c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 15 Jul 2025 14:48:29 -0700 Subject: [PATCH 1/2] Styles: add button.osd styles --- data/Application.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/data/Application.css b/data/Application.css index c9a1fb6..8ec1848 100644 --- a/data/Application.css +++ b/data/Application.css @@ -19,3 +19,30 @@ map-point { transform: scale(1); } } + +button.osd { + background: @bg_color; + box-shadow: + inset 0 -1px 0 0 rgba(255, 255, 255, 0.2), + inset 0 1px 0 0 rgba(255, 255, 255, 0.3), + inset 1px 0 0 0 rgba(255, 255, 255, 0.07), + inset -1px 0 0 0 rgba(255, 255, 255, 0.07), + 0 0 0 1px rgba(0, 0, 0, 0.1), + 0 3px 4px rgba(0, 0, 0, 0.15), + 0 3px 3px -3px rgba(0, 0, 0, 0.35); + color: @text_color; + min-height: 2em; + min-width: 2em; +} + +button.osd:active { + background: @insensitive_bg_color; +} + +.linked.vertical button.osd:first-child { + margin-bottom: 0; +} + +.linked.vertical button.osd:not(:first-child) { + margin-top: 0; +} From bb3f9b793e1aa31f6f57d716773cc6436838f3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 15 Jul 2025 15:23:11 -0700 Subject: [PATCH 2/2] Update data/Application.css Co-authored-by: Ryo Nakano --- data/Application.css | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Application.css b/data/Application.css index 8ec1848..0f2b5df 100644 --- a/data/Application.css +++ b/data/Application.css @@ -20,6 +20,7 @@ map-point { } } +/* TODO Remove when https://github.com/elementary/granite/issues/897 is fixed */ button.osd { background: @bg_color; box-shadow: