[gnome-music] Set song list background to white and add borders around songs



commit 1b0502f5dea41828eafcb82473f488555046386e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon May 13 20:11:32 2013 +0200

    Set song list background to white and add borders around songs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700104

 data/application.css |   11 +++++++++++
 src/view.js          |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 0cb3994..dc16ea0 100644
--- a/data/application.css
+++ b/data/application.css
@@ -24,6 +24,17 @@
 .artist-panel-dark:selected{
     background-color: #77757A;
 }
+
+.songs-list {
+    border-width: 0 0 0 1px;
+    border-style: solid;
+    border-color: shade(@borders, 0.90);
+    padding: 0 1px;
+
+    box-shadow: inset 0 -1px shade(@borders, 1.30);
+    background-color: @theme_bg_color;
+}
+
 .play-bar {
     border-width: 1px 0 0;
     border-style: solid;
diff --git a/src/view.js b/src/view.js
index 9e92acf..3fe4b5d 100644
--- a/src/view.js
+++ b/src/view.js
@@ -340,6 +340,7 @@ const Songs = new Lang.Class({
         this.countQuery = Query.songs_count;
         this._items = {};
         this.view.set_view_type(Gd.MainViewType.LIST);
+        this.view.get_generic_view().get_style_context().add_class("songs-list")
         this._iconHeight = 32;
         this._iconWidth = 32;
         this._symbolicIcon = albumArtCache.makeDefaultIcon(this._iconHeight, this._iconWidth)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]