[gnome-games] savestate-listbox-row: Don't override padding
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] savestate-listbox-row: Don't override padding
- Date: Thu, 15 Aug 2019 15:02:59 +0000 (UTC)
commit c76a8f0ffe85923013ecd74edd26c6a578c223b4
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Thu Aug 15 19:36:21 2019 +0500
savestate-listbox-row: Don't override padding
Instead, just reduce the margins around the thumbnail.
data/gtk-style.css | 6 +-----
data/ui/savestate-listbox-row.ui | 3 ---
data/ui/savestates-list.ui | 3 ---
3 files changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 46f526f2..75891f71 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -8,17 +8,13 @@
background-color: @theme_base_color;
}
-.savestate-row {
- padding: 0px;
-}
-
.savestate-thumbnail {
min-width: 64px;
min-height: 64px;
color: rgba(255, 255, 255, 0.5);
background: rgba (0, 0, 0, .5);
border: 1px solid rgba (0, 0, 0, .5);
- margin: 6px;
+ margin: 4px;
border-radius: 5px;
}
diff --git a/data/ui/savestate-listbox-row.ui b/data/ui/savestate-listbox-row.ui
index 66479e06..6c909600 100644
--- a/data/ui/savestate-listbox-row.ui
+++ b/data/ui/savestate-listbox-row.ui
@@ -51,8 +51,5 @@
</child>
</object>
</child>
- <style>
- <class name="savestate-row"/>
- </style>
</template>
</interface>
diff --git a/data/ui/savestates-list.ui b/data/ui/savestates-list.ui
index 34ad54d5..95bc1601 100644
--- a/data/ui/savestates-list.ui
+++ b/data/ui/savestates-list.ui
@@ -31,9 +31,6 @@
<object class="GtkListBoxRow" id="new_savestate_row">
<property name="visible">True</property>
<property name="selectable">False</property>
- <style>
- <class name="savestate-row"/>
- </style>
<child>
<object class="GtkBox">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]