From 677aace6e3e49f5dd3e06215f28270f2288894f2 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Jun 15 2017 11:30:19 +0000 Subject: Add patch to fix OSD --- diff --git a/arc-theme.spec b/arc-theme.spec index f2d9c96..f91bf1e 100644 --- a/arc-theme.spec +++ b/arc-theme.spec @@ -8,13 +8,14 @@ like Gnome, Cinnamon, Budgie, Pantheon, XFCE, Mate, etc. Name: arc-theme Version: 20170302 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Flat theme with transparent elements License: GPLv3+ URL: https://github.com/horst3180/%{name} Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: %{url}/pull/788.patch#/remove_margin_auto.patch +Patch1: fix-OSD.patch BuildArch: noarch @@ -103,6 +104,9 @@ popd %changelog +* Thu Jun 15 2017 Leigh Scott - 20170302-4 +- Add patch to fix OSD + * Sun May 28 2017 Leigh Scott - 20170302-3 - remove margin:auto as it's not supported diff --git a/fix-OSD.patch b/fix-OSD.patch new file mode 100644 index 0000000..7cecbdf --- /dev/null +++ b/fix-OSD.patch @@ -0,0 +1,88 @@ +From cfbd70dc05f6c9e16394615fb06a4e0b5b26102a Mon Sep 17 00:00:00 2001 +From: leigh123linux +Date: Thu, 15 Jun 2017 12:19:54 +0100 +Subject: [PATCH] fix OSD + +--- + common/cinnamon/cinnamon-dark.css | 6 +++--- + common/cinnamon/cinnamon.css | 6 +++--- + common/cinnamon/sass/_common.scss | 8 +++++--- + 3 files changed, 11 insertions(+), 9 deletions(-) + +diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css +index 34f45ef..fc40088 100644 +--- a/common/cinnamon/cinnamon-dark.css ++++ b/common/cinnamon/cinnamon-dark.css +@@ -1064,9 +1064,6 @@ StScrollBar { + font-weight: bold; + spacing: 1em; + padding: 20px; +- margin: 32px; +- min-width: 64px; +- min-height: 64px; + color: white; + background: none; + border: none; +@@ -1080,6 +1077,9 @@ StScrollBar { + background-color: rgba(0, 0, 0, 0.5); + border-radius: 2px; + color: #5294e2; } ++ .osd-window .level-bar { ++ border-radius: 2px; ++ background-color: #5294e2; } + + .window-list-box { + spacing: 6px; +diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css +index b816ac3..d083ecf 100644 +--- a/common/cinnamon/cinnamon.css ++++ b/common/cinnamon/cinnamon.css +@@ -1064,9 +1064,6 @@ StScrollBar { + font-weight: bold; + spacing: 1em; + padding: 20px; +- margin: 32px; +- min-width: 64px; +- min-height: 64px; + color: white; + background: none; + border: none; +@@ -1080,6 +1077,9 @@ StScrollBar { + background-color: rgba(0, 0, 0, 0.5); + border-radius: 2px; + color: #5294e2; } ++ .osd-window .level-bar { ++ border-radius: 2px; ++ background-color: #5294e2; } + + .window-list-box { + spacing: 6px; +diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss +index 00af8f7..fee8520 100644 +--- a/common/cinnamon/sass/_common.scss ++++ b/common/cinnamon/sass/_common.scss +@@ -1226,9 +1226,6 @@ StScrollBar { + font-weight: bold; + spacing: 1em; + padding: 20px; +- margin: 32px; +- min-width: 64px; +- min-height: 64px; + + color: $_shell_fg_color; + background: none; +@@ -1245,6 +1242,11 @@ StScrollBar { + border-radius: 2px; + color: $selected_bg_color; + } ++ ++ .level-bar { ++ border-radius: 2px; ++ background-color: $selected_bg_color; ++ } + } + + // +-- +2.13.0 +