[gnome-games/wip/exalm/libhandy2: 17/22] fixme: Add css from libhandy example



commit edd65926b3c71fdc238c06847ebb537fd0bd3e52
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Wed Sep 12 14:29:52 2018 +0500

    fixme: Add css from libhandy example
    
    This will be removed later.

 data/gtk-style.css | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index f7b2a5ee..1200363c 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -25,3 +25,36 @@ gamesgamethumbnail {
 .devel headerbar label {
        color: @theme_fg_color;
 }
+
+stacksidebar list {
+  border-left-width: 0px;
+  border-right-width: 0px;
+}
+
+/* Needed for seaprators to look good. These have been submitted upstream here:
+ * https://gitlab.gnome.org/GNOME/gtk/merge_requests/323
+ */
+
+separator.sidebar {
+  background-color: @borders;
+  border-style: none;
+  margin: 0px 0px 0px 0px;
+}
+
+separator.sidebar:backdrop {
+  background-color: @unfocused_borders;
+}
+
+separator.sidebar.selection-mode,
+.selection-mode separator.sidebar {
+  background-color: mix(@theme_selected_bg_color, #000, 0.2);
+}
+
+/* Needed for HdyTitleBar to work. This has been merged upstream but no release
+ * include it yet, it is likely to be released as part of GTK+ 3.24.1.
+ */
+headerbar.titlebar headerbar:not(.titlebar) {
+  background-color: rgba (0, 0, 0, 0);
+  background-image: none;
+  box-shadow: none;
+}


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