[libadwaita/wip/exalm/list-buttons] stylesheet: Rename .list-button to .outline




commit 15e1a0287c904b4fddd145ab27775cd3dbc81fab
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Apr 28 13:57:45 2021 +0500

    stylesheet: Rename .list-button to .outline
    
    This style isn't inherently for lists. Match .flat instead.
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/99

 examples/adw-demo-window.ui          | 16 ++++++++--------
 src/stylesheet/widgets/_buttons.scss |  4 ++--
 src/stylesheet/widgets/_menus.scss   |  2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/examples/adw-demo-window.ui b/examples/adw-demo-window.ui
index 9e85ab2..b629d97 100644
--- a/examples/adw-demo-window.ui
+++ b/examples/adw-demo-window.ui
@@ -365,7 +365,7 @@
                                         <property name="label" translatable="yes">Frobnicate</property>
                                         <property name="valign">center</property>
                                         <style>
-                                          <class name="list-button"/>
+                                          <class name="outline"/>
                                         </style>
                                       </object>
                                     </child>
@@ -450,7 +450,7 @@
                                         <property name="valign">center</property>
                                         <property name="icon-name">row-copy-symbolic</property>
                                         <style>
-                                          <class name="list-button"/>
+                                          <class name="outline"/>
                                         </style>
                                       </object>
                                     </child>
@@ -474,7 +474,7 @@
                                         <property name="valign">center</property>
                                         <property name="icon-name">row-shutdown-symbolic</property>
                                         <style>
-                                          <class name="list-button"/>
+                                          <class name="outline"/>
                                         </style>
                                       </object>
                                     </child>
@@ -499,7 +499,7 @@
                                         <property name="valign">center</property>
                                         <property name="icon-name">row-shutdown-symbolic</property>
                                         <style>
-                                          <class name="list-button"/>
+                                          <class name="outline"/>
                                         </style>
                                       </object>
                                     </child>
@@ -540,7 +540,7 @@
                                         <property name="valign">center</property>
                                         <property name="icon-name">row-copy-symbolic</property>
                                         <style>
-                                          <class name="list-button"/>
+                                          <class name="outline"/>
                                         </style>
                                       </object>
                                     </child>
@@ -844,7 +844,7 @@
                                                     </child>
                                                     <style>
                                                       <class name="text-button"/>
-                                                      <class name="list-button"/>
+                                                      <class name="outline"/>
                                                     </style>
                                                   </object>
                                                 </child>
@@ -854,7 +854,7 @@
                                                     <property 
name="icon_name">avatar-delete-symbolic</property>
                                                     <signal name="clicked" swapped="yes" 
handler="avatar_file_remove_cb"/>
                                                     <style>
-                                                      <class name="list-button"/>
+                                                      <class name="outline"/>
                                                     </style>
                                                   </object>
                                                 </child>
@@ -881,7 +881,7 @@
                                                     <property 
name="icon_name">avatar-save-symbolic</property>
                                                     <signal name="clicked" swapped="yes" 
handler="avatar_save_to_file_cb"/>
                                                     <style>
-                                                      <class name="list-button"/>
+                                                      <class name="outline"/>
                                                     </style>
                                                   </object>
                                                 </child>
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 63078a7..cd4f3e1 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -416,8 +416,8 @@ button.color {
 
 /* list buttons */
 /* tone down as per new designs, see issue #1473 */
-%list_button,
-button.list-button {
+%outline_button,
+button.outline {
   @extend %undecorated_button;
   border: 1px solid transparentize($borders_color, .5);
 
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index 8f494f7..31fc630 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -25,7 +25,7 @@ popover.menu {
     padding: $_menu-padding $_menu-padding 6px;
 
     button.circular.image-button.model {
-      @extend %list_button;
+      @extend %outline_button;
 
       padding: 11px;
       &:focus {


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