[gnome-games] css: Update SnapshotThumbnail style
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] css: Update SnapshotThumbnail style
- Date: Wed, 24 Jun 2020 15:31:25 +0000 (UTC)
commit 24b594c67e81d9b1bd56b239fd7211d889251abf
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jun 24 15:43:45 2020 +0500
css: Update SnapshotThumbnail style
Use box-shadow instead of border, increase border-radius to match
collection.
data/gtk-style.css | 4 ++--
data/ui/snapshot-row.ui | 2 +-
data/ui/snapshots-list.ui | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 407c0453..988605db 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -7,8 +7,8 @@
.snapshot-thumbnail {
color: rgba(255, 255, 255, 0.5);
background: rgba(0, 0, 0, .5);
- border: 1px solid rgba(0, 0, 0, .5);
- border-radius: 5px;
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, .75);
+ border-radius: 6px;
}
.snapshot-name {
diff --git a/data/ui/snapshot-row.ui b/data/ui/snapshot-row.ui
index 500fed94..1dccdbdc 100644
--- a/data/ui/snapshot-row.ui
+++ b/data/ui/snapshot-row.ui
@@ -18,7 +18,7 @@
<object class="GamesSnapshotThumbnail" id="thumbnail">
<property name="visible">true</property>
<property name="valign">start</property>
- <property name="margin">6</property>
+ <property name="margin">7</property>
</object>
</child>
<child>
diff --git a/data/ui/snapshots-list.ui b/data/ui/snapshots-list.ui
index 80b2609a..7d32d65d 100644
--- a/data/ui/snapshots-list.ui
+++ b/data/ui/snapshots-list.ui
@@ -48,7 +48,7 @@
<property name="pixel-size">32</property>
<property name="width-request">64</property>
<property name="height-request">64</property>
- <property name="margin">6</property>
+ <property name="margin">7</property>
<style>
<class name="snapshot-thumbnail"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]