[libadwaita/wip/exalm/demo-cleanups: 3/21] demo: Clean up animation sample style




commit 69fa0dfa830519ab2a5de3704e8cbe84e21bec08
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Dec 9 13:16:45 2021 +0500

    demo: Clean up animation sample style

 demo/adw-demo-window.ui | 5 ++---
 demo/style.css          | 4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/demo/adw-demo-window.ui b/demo/adw-demo-window.ui
index 69467177..7ea32ded 100644
--- a/demo/adw-demo-window.ui
+++ b/demo/adw-demo-window.ui
@@ -1015,13 +1015,12 @@
                                                 <property name="tightening-threshold">300</property>
                                                 <property name="child">
                                                   <object class="AdwBin" id="timed_animation_sample">
+                                                    <property name="margin-bottom">36</property>
                                                     <property name="child">
                                                       <object class="AdwBin" id="timed_animation_widget">
                                                         <property name="halign">center</property>
                                                         <property name="valign">center</property>
-                                                        <style>
-                                                          <class name="htranslate"/>
-                                                        </style>
+                                                        <property name="name">animation-sample</property>
                                                       </object>
                                                     </property>
                                                   </object>
diff --git a/demo/style.css b/demo/style.css
index 6d61e3b8..53aa8b52 100644
--- a/demo/style.css
+++ b/demo/style.css
@@ -42,11 +42,9 @@ flowbox.inline flowboxchild {
   background-color: @orange_4;
 }
 
-.htranslate {
+#animation-sample {
   min-width: 30px;
   min-height: 30px;
   border-radius: 24px;
-  background: #33d17a;
   background: linear-gradient(to bottom, @green_2, @green_5);
-  margin-bottom: 36px;
 }


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