[gnome-software] trivial: Fix up the upgrade dialog to the latest mockup



commit 564002b49efc56b65ed504274019c48129d028fd
Author: Richard Hughes <richard hughsie com>
Date:   Mon Apr 25 10:25:33 2016 +0100

    trivial: Fix up the upgrade dialog to the latest mockup

 data/upgrade-bg.png      |  Bin 259630 -> 308691 bytes
 src/gs-upgrade-banner.ui |   21 +++++++++------------
 src/gtk-style.css        |    2 --
 3 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/data/upgrade-bg.png b/data/upgrade-bg.png
index 19680a7..1e92fa6 100644
Binary files a/data/upgrade-bg.png and b/data/upgrade-bg.png differ
diff --git a/src/gs-upgrade-banner.ui b/src/gs-upgrade-banner.ui
index 67b0e60..7a308c1 100644
--- a/src/gs-upgrade-banner.ui
+++ b/src/gs-upgrade-banner.ui
@@ -9,7 +9,7 @@
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
         <property name="margin-top">48</property>
-        <property name="margin-bottom">76</property>
+        <property name="margin-bottom">48</property>
         <property name="height-request">300</property>
         <property name="valign">center</property>
         <style>
@@ -39,17 +39,6 @@
           </object>
         </child>
         <child>
-          <object class="GtkLabel" id="label_upgrades_warning">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="label" translatable="yes">It is recommended that you back up your data and files 
before upgrading.</property>
-            <property name="margin_top">32</property>
-            <attributes>
-              <attribute name="scale" value="0.9"/>
-            </attributes>
-          </object>
-        </child>
-        <child>
           <object class="GtkBox" id="box_upgrades_buttons">
             <property name="visible">True</property>
             <property name="orientation">horizontal</property>
@@ -106,6 +95,14 @@
             </child>
 
             <child>
+              <object class="GtkLabel" id="label_upgrades_warning">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">It is recommended that you back up your data and 
files before upgrading.</property>
+              </object>
+            </child>
+
+            <child>
               <object class="GtkLabel" id="label_dummy2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 0f643fc..096b0aa 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -278,14 +278,12 @@ button.star, .button.star {
 
 .upgrade-banner {
        background-color: #1c5288;
-       border-radius: 14px;
        padding: 0px;
        color: @theme_selected_fg_color;
 }
 
 .upgrade-buttons {
        padding: 18px;
-       border-radius: 0px 0px 14px 14px;
 }
 
 .upgrade-progressbar {


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