[gnome-shell-extensions] window-list: Add classic mode styling
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] window-list: Add classic mode styling
- Date: Tue, 5 Feb 2013 19:09:54 +0000 (UTC)
commit a1c938d3d9dce624b0bcc815f484accaf30634e7
Author: Florian MÃllner <fmuellner gnome org>
Date: Tue Feb 5 18:27:43 2013 +0100
window-list: Add classic mode styling
Classic mode uses a distinct visual style, support this by shipping
a dedicated stylesheet.
https://bugzilla.gnome.org/show_bug.cgi?id=693171
extensions/window-list/Makefile.am | 4 +++
extensions/window-list/classic.css | 42 ++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/extensions/window-list/Makefile.am b/extensions/window-list/Makefile.am
index 48d71de..cd3e03b 100644
--- a/extensions/window-list/Makefile.am
+++ b/extensions/window-list/Makefile.am
@@ -2,5 +2,9 @@ EXTENSION_ID = window-list
EXTRA_MODULES = prefs.js
+if CLASSIC_MODE
+ EXTRA_MODULES += classic.css
+endif
+
include ../../extension.mk
include ../../settings.mk
diff --git a/extensions/window-list/classic.css b/extensions/window-list/classic.css
new file mode 100644
index 0000000..bc89015
--- /dev/null
+++ b/extensions/window-list/classic.css
@@ -0,0 +1,42 @@
+ import url("stylesheet.css");
+
+#panel.bottom-panel {
+ border-top-width: 1px;
+ border-bottom-width: 0px;
+ }
+
+ .bottom-panel .window-button > StWidget {
+ background-color: #e9e9e9 !important;
+ background-gradient-direction: vertical;
+ background-gradient-end: #d0d0d0;
+ color: #555 !important;
+ border-radius: 2px !important;
+ text-shadow: 0 0 transparent;
+ box-shadow: inset -1px -1px 1px rgba(0,0,0,0.5) !important;
+ }
+
+ .bottom-panel .window-button:hover > StWidget {
+ background-color: #f9f9f9 !important;
+ background-gradient-end: #e0e0e0;
+ }
+
+ .bottom-panel .window-button:active > StWidget {
+ box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5) !important;
+ }
+
+ .bottom-panel .window-button.focused > StWidget {
+ background-color: #a9a9a9 !important;
+ background-gradient-end: #b0b0b0;
+ box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5) !important;
+ }
+
+ .bottom-panel .window-button.focused:hover > StWidget {
+ background-color: #b9b9b9 !important;
+ background-gradient-end: #c0c0c0;
+ }
+
+ .bottom-panel .window-button.minimized > StWidget {
+ color: #888 !important;
+ box-shadow: inset -1px -1px 1px rgba(0,0,0,0.4) !important;
+ }
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]