[gnome-shell] Add css for scrolling
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Add css for scrolling
- Date: Thu, 1 Oct 2009 18:53:27 +0000 (UTC)
commit c1f91def74eb455730805ca2333615ade057619f
Author: Colin Walters <walters verbum org>
Date: Thu Sep 10 01:38:00 2009 -0400
Add css for scrolling
Port bits of Mx's default.css into gnome-shell.css, and use some
hand-rolled .pngs with colors from
http://live.gnome.org/GnomeShell/DesignerPlayground/ExpandedViewMockups
https://bugzilla.gnome.org/show_bug.cgi?id=591245
data/gnome-shell.css | 62 +++++++++++++++++++++++++++++++++++++
data/scroll-button-down-hover.png | Bin 0 -> 225 bytes
data/scroll-button-down.png | Bin 0 -> 225 bytes
data/scroll-button-up-hover.png | Bin 0 -> 211 bytes
data/scroll-button-up.png | Bin 0 -> 211 bytes
data/scroll-vhandle.png | Bin 0 -> 323 bytes
6 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-shell.css b/data/gnome-shell.css
index e69de29..4eac5f6 100644
--- a/data/gnome-shell.css
+++ b/data/gnome-shell.css
@@ -0,0 +1,62 @@
+/* Copyright 2009, Red Hat, Inc.
+ *
+ * Portions adapted from Mx's data/style/default.css
+ * Copyright 2009 Intel Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU Lesser General Public License,
+ * version 2.1, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+StScrollBar
+{
+ background-color: #354761;
+ padding: 0px;
+}
+
+StScrollView
+{
+ scrollbar-width: 16;
+ scrollbar-height: 16;
+}
+
+StButton#up-stepper
+{
+ border-image: url("file://scroll-button-up.png") 5;
+}
+
+StButton#up-stepper:hover,
+StButton#up-stepper:active
+{
+ border-image: url("file://scroll-button-up-hover.png") 5;
+}
+
+StButton#down-stepper
+{
+ border-image: url("file://scroll-button-down.png") 5;
+}
+
+StButton#down-stepper:hover,
+StButton#down-stepper:active
+{
+ border-image: url("file://scroll-button-down-hover.png") 5;
+}
+
+StScrollBar StButton#vhandle
+{
+ border-image: url("file://scroll-vhandle.png") 5;
+}
+
+StScrollBar StButton#vhandle:hover
+{
+ border-image: url("file://scroll-vhandle.png") 5;
+}
diff --git a/data/scroll-button-down-hover.png b/data/scroll-button-down-hover.png
new file mode 100644
index 0000000..e1eab76
Binary files /dev/null and b/data/scroll-button-down-hover.png differ
diff --git a/data/scroll-button-down.png b/data/scroll-button-down.png
new file mode 100644
index 0000000..e1eab76
Binary files /dev/null and b/data/scroll-button-down.png differ
diff --git a/data/scroll-button-up-hover.png b/data/scroll-button-up-hover.png
new file mode 100644
index 0000000..e25cbf9
Binary files /dev/null and b/data/scroll-button-up-hover.png differ
diff --git a/data/scroll-button-up.png b/data/scroll-button-up.png
new file mode 100644
index 0000000..e25cbf9
Binary files /dev/null and b/data/scroll-button-up.png differ
diff --git a/data/scroll-vhandle.png b/data/scroll-vhandle.png
new file mode 100644
index 0000000..e51e6b6
Binary files /dev/null and b/data/scroll-vhandle.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]