[geary/wip/765516-gtk-widget-conversation-viewer: 94/174] Tidy up ConversationMessage GTK theme CSS.



commit 35331ff8bb4ce5dca2f01f62c1b2a9aeae554165
Author: Michael James Gratton <mike vee net>
Date:   Tue Jul 26 23:32:27 2016 +1000

    Tidy up ConversationMessage GTK theme CSS.

 ui/conversation-message.ui |   37 ++++++++++++++++++++++++++++++++-----
 ui/geary.css               |   28 ++++++++++++++++++++++++----
 2 files changed, 56 insertions(+), 9 deletions(-)
---
diff --git a/ui/conversation-message.ui b/ui/conversation-message.ui
index 503cdd9..74f8f40 100644
--- a/ui/conversation-message.ui
+++ b/ui/conversation-message.ui
@@ -44,7 +44,7 @@
                     <property name="can_focus">False</property>
                     <property name="spacing">6</property>
                     <child>
-                      <object class="GtkBox" id="preview_bod">
+                      <object class="GtkBox" id="preview">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="orientation">vertical</property>
@@ -59,6 +59,9 @@
                                 <property name="label" translatable="yes">From &lt;email&gt;</property>
                                 <property name="ellipsize">end</property>
                                 <property name="xalign">0</property>
+                                <style>
+                                  <class name="geary-header"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -72,6 +75,9 @@
                                 <property name="can_focus">False</property>
                                 <property name="label" translatable="yes">1/1/1970     </property>
                                 <property name="ellipsize">end</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -94,6 +100,9 @@
                             <property name="label" translatable="yes">Preview body text.</property>
                             <property name="ellipsize">end</property>
                             <property name="xalign">0</property>
+                            <style>
+                              <class name="geary-header-value"/>
+                            </style>
                           </object>
                           <packing>
                             <property name="expand">True</property>
@@ -101,6 +110,9 @@
                             <property name="position">1</property>
                           </packing>
                         </child>
+                        <style>
+                          <class name="geary-headers"/>
+                        </style>
                       </object>
                       <packing>
                         <property name="expand">True</property>
@@ -146,6 +158,9 @@
                                 <property name="min_children_per_line">1</property>
                                 <property name="max_children_per_line">4</property>
                                 <property name="selection_mode">none</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -159,6 +174,9 @@
                                 <property name="can_focus">False</property>
                                 <property name="label" translatable="yes">1/1/1970     </property>
                                 <property name="ellipsize">end</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -183,7 +201,7 @@
                             <property name="selectable">True</property>
                             <property name="xalign">0</property>
                             <style>
-                              <class name="geary-header-label"/>
+                              <class name="geary-header-value"/>
                             </style>
                           </object>
                           <packing>
@@ -204,7 +222,7 @@
                                 <property name="yalign">0</property>
                                 <style>
                                   <class name="dim-label"/>
-                                  <class name="geary-header-label"/>
+                                  <class name="geary-header"/>
                                 </style>
                               </object>
                               <packing>
@@ -223,6 +241,9 @@
                                 <property name="min_children_per_line">1</property>
                                 <property name="max_children_per_line">4</property>
                                 <property name="selection_mode">none</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -249,7 +270,7 @@
                                 <property name="yalign">0</property>
                                 <style>
                                   <class name="dim-label"/>
-                                  <class name="geary-header-label"/>
+                                  <class name="geary-header"/>
                                 </style>
                               </object>
                               <packing>
@@ -268,6 +289,9 @@
                                 <property name="min_children_per_line">1</property>
                                 <property name="max_children_per_line">4</property>
                                 <property name="selection_mode">none</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -294,7 +318,7 @@
                                 <property name="yalign">0</property>
                                 <style>
                                   <class name="dim-label"/>
-                                  <class name="geary-header-label"/>
+                                  <class name="geary-header"/>
                                 </style>
                               </object>
                               <packing>
@@ -313,6 +337,9 @@
                                 <property name="min_children_per_line">2</property>
                                 <property name="max_children_per_line">4</property>
                                 <property name="selection_mode">none</property>
+                                <style>
+                                  <class name="geary-header-value"/>
+                                </style>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
diff --git a/ui/geary.css b/ui/geary.css
index 53a13ec..07a9d48 100644
--- a/ui/geary.css
+++ b/ui/geary.css
@@ -42,6 +42,8 @@
   border-top-left-radius: 0px;
 }
 
+/* FolderPopover */
+
 row.geary-folder-popover-list-row {
   padding: 6px;
   border-color: @borders;
@@ -52,6 +54,8 @@ row.geary-folder-popover-list-row > label {
   color: @theme_text_color;
 }
 
+/* ConversationListBox */
+
 .conversation-listbox {
   padding: 18px;
 }
@@ -78,25 +82,41 @@ row.geary-folder-popover-list-row > label {
   margin-bottom: 0;
 }
 
-.geary-message .geary-message-summary {
+/* ConversationMessage */
+
+.geary-message-summary {
   margin: 12px;
 }
-.geary-message .geary-header-label {
-  margin-right: 6px;
+
+.geary-headers label {
+  margin: 0;
+  padding: 1px;
+}
+.geary-headers label.geary-header {
+  padding-right: 6px;
 }
-.geary-message .geary-headers flowboxchild {
+.geary-headers flowboxchild {
+  margin: 0;
+  padding: 1px;
+}
+.geary-headers flowboxchild label {
   margin: 0;
   padding: 0;
 }
+
 .geary-submessages .geary-message {
   background-image: linear-gradient(rgba(0,0,0,0.2), @bg_color 6px);
 }
 
+/* Composer */
+
 .geary-composer-embed headerbar {
   border-top: 1px solid @borders;
   border-radius: 0px;
 }
 
+/* EmptyPlaceholder */
+
 .geary-empty-placeholder > image {
   margin-bottom: 12px;
 }


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