add patch to make overshoot look good
This commit is contained in:
parent
fd61993d48
commit
bd130a9bce
2 changed files with 215 additions and 1 deletions
209
make-overshoot-look-good.patch
Normal file
209
make-overshoot-look-good.patch
Normal file
|
|
@ -0,0 +1,209 @@
|
|||
From 0b8043ccdcfd689820d2bc492e1880f1d17a99f0 Mon Sep 17 00:00:00 2001
|
||||
From: leigh123linux <leigh123linux@googlemail.com>
|
||||
Date: Fri, 3 Jul 2015 17:06:30 +0100
|
||||
Subject: [PATCH] make overshoot look good
|
||||
|
||||
---
|
||||
Zukitwo/gtk-3.0/gtk-widgets.css | 184 +++++++++++++++++++++++++++++++++++++++-
|
||||
1 file changed, 181 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Zukitwo/gtk-3.0/gtk-widgets.css b/Zukitwo/gtk-3.0/gtk-widgets.css
|
||||
index cc44908..2ae3ede 100644
|
||||
--- a/Zukitwo/gtk-3.0/gtk-widgets.css
|
||||
+++ b/Zukitwo/gtk-3.0/gtk-widgets.css
|
||||
@@ -187,11 +187,189 @@ GtkTextView {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
-.overshoot,
|
||||
-.sidebar.overshoot {
|
||||
- background-color: alpha (@theme_selected_bg_color, 0.35);
|
||||
+/************************
|
||||
+ * overshoot/undershoot *
|
||||
+ ************************/
|
||||
+
|
||||
+/* displays at end of mouse scrolling */
|
||||
+.overshoot.top {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ center top, 0,
|
||||
+ center top, 0.5,
|
||||
+ to(@overshoot_bg_color),
|
||||
+ to(rgba(137, 158, 179, 0))),
|
||||
+ -gtk-gradient(radial,
|
||||
+ center top, 0,
|
||||
+ center top, 0.6,
|
||||
+ from(rgba(56, 73, 87, 0.17)),
|
||||
+ to(rgba(56, 73, 87, 0)));
|
||||
+ background-size: 100% 5%, 100% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: center top;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.top:backdrop {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ center top, 0,
|
||||
+ center top, 0.5,
|
||||
+ to(@overshoot_backdrop_bg_color),
|
||||
+ to(rgba(131, 137, 145, 0)));
|
||||
+ background-size: 100% 5%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: center top;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.bottom {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ center bottom, 0,
|
||||
+ center bottom, 0.5,
|
||||
+ to(@overshoot_bg_color),
|
||||
+ to(rgba(137, 158, 179, 0))),
|
||||
+ -gtk-gradient(radial,
|
||||
+ center bottom, 0,
|
||||
+ center bottom, 0.6,
|
||||
+ from(rgba(56, 73, 87, 0.17)),
|
||||
+ to(rgba(56, 73, 87, 0)));
|
||||
+ background-size: 100% 5%, 100% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: center bottom;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.bottom:backdrop {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ center bottom, 0,
|
||||
+ center bottom, 0.5,
|
||||
+ to(@overshoot_backdrop_bg_color),
|
||||
+ to(rgba(131, 137, 145, 0)));
|
||||
+ background-size: 100% 5%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: center bottom;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.left {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ left center, 0,
|
||||
+ left center, 0.5,
|
||||
+ to(@overshoot_bg_color),
|
||||
+ to(rgba(137, 158, 179, 0))),
|
||||
+ -gtk-gradient(radial,
|
||||
+ left center, 0,
|
||||
+ left center, 0.6,
|
||||
+ from(rgba(56, 73, 87, 0.07)),
|
||||
+ to(rgba(56, 73, 87, 0)));
|
||||
+ background-size: 5% 100%, 100% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: left center;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.left:backdrop {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ left center, 0,
|
||||
+ left center, 0.5,
|
||||
+ to(@overshoot_backdrop_bg_color),
|
||||
+ to(rgba(131, 137, 145, 0)));
|
||||
+ background-size: 5% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: left center;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.right {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ right center, 0,
|
||||
+ right center, 0.5,
|
||||
+ to(@overshoot_bg_color),
|
||||
+ to(rgba(137, 158, 179, 0))),
|
||||
+ -gtk-gradient(radial,
|
||||
+ right center, 0,
|
||||
+ right center, 0.6,
|
||||
+ from(rgba(56, 73, 87, 0.07)),
|
||||
+ to(rgba(56, 73, 87, 0)));
|
||||
+ background-size: 5% 100%, 100% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: right center;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+.overshoot.right:backdrop {
|
||||
+ background-image: -gtk-gradient(radial,
|
||||
+ right center, 0,
|
||||
+ right center, 0.5,
|
||||
+ to(@overshoot_backdrop_bg_color),
|
||||
+ to(rgba(131, 137, 145, 0)));
|
||||
+ background-size: 5% 100%;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: right center;
|
||||
+ background-color: transparent;
|
||||
+ border: none;
|
||||
+ box-shadow: none;
|
||||
+}
|
||||
+
|
||||
+/* result is disable undershoot */
|
||||
+.undershoot.top {
|
||||
+ background-color: transparent;
|
||||
+ background-image: linear-gradient(to left,
|
||||
+ rgba(255, 255, 255, 0.2) 50%,
|
||||
+ rgba(0, 0, 0, 0.2) 50%);
|
||||
+ background-size: 10px 0px;
|
||||
+ background-repeat: repeat-x;
|
||||
+ background-origin: content-box;
|
||||
+ background-position: center top;
|
||||
+}
|
||||
+
|
||||
+.undershoot.bottom {
|
||||
+ background-color: transparent;
|
||||
+ background-image: linear-gradient(to left,
|
||||
+ rgba(255, 255, 255, 0.2) 50%,
|
||||
+ rgba(0, 0, 0, 0.2) 50%);
|
||||
+ background-size: 10px 0px;
|
||||
+ background-repeat: repeat-x;
|
||||
+ background-origin: content-box;
|
||||
+ background-position: center bottom;
|
||||
+}
|
||||
+
|
||||
+.undershoot.left {
|
||||
+ background-color: transparent;
|
||||
+ background-image: linear-gradient(to top,
|
||||
+ rgba(255, 255, 255, 0.2) 50%,
|
||||
+ rgba(0, 0, 0, 0.2) 50%);
|
||||
+ background-size: 0px 10px;
|
||||
+ background-repeat: repeat-y;
|
||||
+ background-origin: content-box;
|
||||
+ background-position: left center;
|
||||
+}
|
||||
+
|
||||
+.undershoot.right {
|
||||
+ background-color: transparent;
|
||||
+ background-image: linear-gradient(to top,
|
||||
+ rgba(255, 255, 255, 0.2) 50%,
|
||||
+ rgba(0, 0, 0, 0.2) 50%);
|
||||
+ background-size: 0px 10px;
|
||||
+ background-repeat: repeat-y;
|
||||
+ background-origin: content-box;
|
||||
+ background-position: right center;
|
||||
}
|
||||
|
||||
+
|
||||
GtkStatusbar {
|
||||
padding: 5px;
|
||||
color: @theme_fg_color;
|
||||
--
|
||||
2.4.3
|
||||
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
Name: zukitwo
|
||||
Version: 20141022
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Themes for GTK+2, GTK+3, Metacity, GNOME Shell and Xfwm4
|
||||
Group: User Interface/Desktops
|
||||
|
||||
|
|
@ -19,6 +19,7 @@ Source0: http://www.deviantart.com/download/%{deviantart_id}/%{name}_by_%
|
|||
Patch0: %{name}-rm_unity.patch
|
||||
Patch1: firefox_tooltip.patch
|
||||
Patch2: sidebar_fix.patch
|
||||
Patch3: make-overshoot-look-good.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -85,6 +86,7 @@ Themes for Xfwm4 as part of the %{theme_name} theme.
|
|||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# Remove "Thumbs.db" files
|
||||
find . -name Thumbs.db -type f -exec rm -f '{}' \;
|
||||
|
|
@ -134,6 +136,9 @@ cp -pr %{shell_name}/gnome-shell/* %{buildroot}%{_datadir}/themes/%{theme_name}/
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 04 2015 Leigh Scott <leigh123linux@googlemail.com> - 20141022-6
|
||||
- add patch to make overshoot look good
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20141022-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Reference in a new issue