Hello community,

here is the log from the commit of package plata-theme for openSUSE:Factory 
checked in at 2019-02-01 11:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plata-theme (Old)
 and      /work/SRC/openSUSE:Factory/.plata-theme.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plata-theme"

Fri Feb  1 11:48:28 2019 rev:8 rq:670440 version:0.5.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/plata-theme/plata-theme.changes  2019-01-28 
20:49:28.325840170 +0100
+++ /work/SRC/openSUSE:Factory/.plata-theme.new.28833/plata-theme.changes       
2019-02-01 11:48:45.940347910 +0100
@@ -1,0 +2,12 @@
+Thu Jan 31 19:08:04 UTC 2019 - Matthias Eliasson <[email protected]>
+
+- Update to version 0.5.8
+  * Added a workaround to override border-radius/width for Geary left-pane 
searchbar GtkEntry (Gtk+ 3.2x/4.0).
+  * Refactored GtkPathBar theming code base (Gtk+ 3.2x/4.0).
+  * Prepared for some changes of Nautilus 3.30.6 or newer (Gtk+ 3.24/4.0).
+  * Re-defined flat GtkButton styling for mixed variant's GtkHeaderBar (Gtk+ 
3.2x/4.0).
+  * Fixed Gnome-Documents searchbar node bottom banding (Gtk+ 3.2x/4.0).
+  * Set proper 'zero' padding for GtkListBoxRow .expander class (Gtk+ 4.0).
+  * Set proper drop-target colors for mixed variant GtkHeaderBar (Gtk+ 
3.2x/4.0).
+
+-------------------------------------------------------------------

Old:
----
  plata-theme-0.5.7.tar.gz
  plata-theme-0.5.7.tar.gz.asc

New:
----
  plata-theme-0.5.8.tar.gz
  plata-theme-0.5.8.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plata-theme.spec ++++++
--- /var/tmp/diff_new_pack.PZQJNd/_old  2019-02-01 11:48:46.488347347 +0100
+++ /var/tmp/diff_new_pack.PZQJNd/_new  2019-02-01 11:48:46.492347343 +0100
@@ -17,12 +17,12 @@
 
 
 %define         _name               plata
-%define         asc_link_uid        0f1a9a925cbeb11e6decc0a4136f26a3
+%define         asc_link_uid        09e8e7bbe3aee1f252e11b0e265378b3
 %define         _theme              Plata
 %define         gtk3_min_version    3.20.0
 %define         gtk2_min_version    2.24.30
 Name:           plata-theme
-Version:        0.5.7
+Version:        0.5.8
 Release:        0
 Summary:        A Gtk+ theme based on Material Design Refresh
 License:        GPL-2.0-only AND CC-BY-SA-4.0

++++++ plata-theme-0.5.7.tar.gz -> plata-theme-0.5.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plata-theme-0.5.7/configure.ac 
new/plata-theme-0.5.8/configure.ac
--- old/plata-theme-0.5.7/configure.ac  2019-01-26 10:09:56.000000000 +0100
+++ new/plata-theme-0.5.8/configure.ac  2019-01-29 21:57:17.000000000 +0100
@@ -1,6 +1,6 @@
 m4_define([plata_maj_ver], [0])
 m4_define([plata_mnr_ver], [5])
-m4_define([plata_mcr_ver], [7])
+m4_define([plata_mcr_ver], [8])
 m4_define([plata_version], [plata_maj_ver.plata_mnr_ver.plata_mcr_ver])
 m4_define([plata_git_url], [https://gitlab.com/tista500/plata-theme])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plata-theme-0.5.7/src/gtk/sass/common/_3rd-party.scss 
new/plata-theme-0.5.8/src/gtk/sass/common/_3rd-party.scss
--- old/plata-theme-0.5.7/src/gtk/sass/common/_3rd-party.scss   2019-01-26 
10:09:56.000000000 +0100
+++ new/plata-theme-0.5.8/src/gtk/sass/common/_3rd-party.scss   2019-01-29 
21:57:17.000000000 +0100
@@ -3027,20 +3027,31 @@
   .caja-pathbar {
     button {
       &:first-child { // remove meaningless gaps
-        &:dir(ltr) { margin-right: -2px; }
-        &:dir(rtl) { margin-left: -2px; }
+        &:dir(ltr) {
+          margin-right: -2px;
+          @include radius($r_2 0 0 $r_2);
+        }
+        &:dir(rtl) {
+          margin-left: -2px;
+          @include radius(0 $r_2 $r_2 0);
+        }
       }
       &:not(:first-child):not(:last-child) {
         margin: 0 -2px;
+        @include radius(0);
       }
       &:last-child {
-        &:dir(ltr) { margin-left: -2px; }
-        &:dir(rtl) { margin-right: -2px; }
+        &:dir(ltr) {
+          margin-left: -2px;
+          @include radius(0 $r_2 $r_2 0);
+        }
+        &:dir(rtl) {
+          margin-right: -2px;
+          @include radius($r_2 0 0 $r_2);
+        }
       }
 
-      &, &.slider-button { // use linked-array button styling
-        @extend %toolitem_size;
-      }
+      &, &.slider-button { @extend %toolitem_size; }
     }
   }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plata-theme-0.5.7/src/gtk/sass/common/_colors.scss 
new/plata-theme-0.5.8/src/gtk/sass/common/_colors.scss
--- old/plata-theme-0.5.7/src/gtk/sass/common/_colors.scss      2019-01-26 
10:09:56.000000000 +0100
+++ new/plata-theme-0.5.8/src/gtk/sass/common/_colors.scss      2019-01-29 
21:57:17.000000000 +0100
@@ -113,6 +113,7 @@
 
 $inv_acc_fg: mix($acc_bg, $inv_fg, percentage($a_fg_3rd));
 $inv_sec_acc_fg: track($inv_acc_fg, $a_fg_2nd);
+$inv_drp_fg: $inv_acc_fg;
 
 //
 // Tracker colors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plata-theme-0.5.7/src/gtk/sass/common/_common.scss 
new/plata-theme-0.5.8/src/gtk/sass/common/_common.scss
--- old/plata-theme-0.5.7/src/gtk/sass/common/_common.scss      2019-01-26 
10:09:56.000000000 +0100
+++ new/plata-theme-0.5.8/src/gtk/sass/common/_common.scss      2019-01-29 
21:57:17.000000000 +0100
@@ -396,6 +396,10 @@
 
   &:drop(active) {
     &, &:focus { box-shadow: inset 0 0 0 2px $drp_fg; }
+
+    @if $variant == mixed {
+      headerbar & { box-shadow: inset 0 0 0 2px $inv_drp_fg; }
+    }
   }
 
   treeview & { // reset styling inside tree-view
@@ -790,10 +794,27 @@
 
     &.flat {
       &:not(.suggested-action):not(.destructive-action) {
-        @if $variant == mixed { @extend %inv_flat_button; }
-        &:checked {
-          background-color: $sel_bg;
-          color: $sel_fg;
+        @if $variant == mixed {
+          @include button(flat-normal, $tc: $inv_fg);
+          @include ink-reaction(normal, $fc: $inv_fg,
+                                        $tr: ink-normal-dec);
+          &:hover { @include button(flat-hover, $tc: $inv_fg); }
+          &:active {
+            @include button(flat-active, $tc: $inv_fg);
+            @include ink-reaction(active-dec, $fc: $inv_fg,
+                                              $tr: ink-active-dec);
+          }
+          &:disabled { @include button(flat-disabled, $tc: $inv_fg); }
+        }
+        &:checked { // enforce outlined-checked styling
+          @include button(checked);
+          &:hover { @include button(checked-hover); }
+          &:disabled {
+            @if $variant == mixed {
+              @include button(checked-disabled, $tc: $inv_fg);
+            }
+            @else { @include button(checked-disabled); }
+          }
         }
       }
     }
@@ -884,6 +905,10 @@
   &:drop(active) {
     color: $drp_fg;
     background-color: $drp_bg;
+
+    @if $variant == mixed {
+      headerbar & { color: $inv_drp_fg; }
+    }
   }
 
   separator { // remove vertical separator
@@ -2520,35 +2545,7 @@
   }
 }
 
-%slashed_nautilus_pathbar {
-  .linked.path-bar,
-  .path-bar {
-    button {
-      margin-left: rem($baseline * 2, $sw: 1.0);
-      margin-right: rem($baseline * 2, $sw: 1.0);
-      // enforce switching to flat-style
-      &:not(:checked) {
-        border-color: transparent;
-        background-color: transparent;
-        &:hover,
-        &:active {
-          background-color: track(if($variant == mixed, $inv_fg, $fg),
-                                  $a_trk_1);
-        }
-      }
-    }
-
-    // FIXME: these compensators can reserve enough wide 'tail' margins
-    // at the last button node for preventing ugly button node truncations.
-    box:not(:only-child):last-child button {
-      &:dir(ltr) { margin-right: $icon_size * 1.5; }
-      &:dir(rtl) { margin-left: $icon_size * 1.5; }
-    }
-  }
-}
-
-.linked.path-bar,
-.path-bar {
+.linked.path-bar {
   button {
     @if $maj_ver == 3 {
       @if $mnr_ver < 23 { @extend %pathbar_button_shape; }
@@ -2559,7 +2556,11 @@
     @else {
       *:not(.path-bar-box) & { @extend %pathbar_button_shape; }
     }
+  }
+}
 
+.path-bar {
+  button {
     @at-root %pathbar_button,
     &,
     &.text-button,
@@ -2587,11 +2588,42 @@
 
 @if $maj_ver == 3 { // Nautilus >= 3.30
   @if $mnr_ver > 23 {
-    headerbar box.path-bar-box { @extend %slashed_nautilus_pathbar; }
+    headerbar .path-bar-box { @extend %slashed_nautilus_pathbar; }
   }
 }
 @else {
-  headerbar box.path-bar-box { @extend %slashed_nautilus_pathbar; }
+  headerbar .path-bar-box { @extend %slashed_nautilus_pathbar; }
+}
+
+%slashed_nautilus_pathbar {
+  .path-bar,
+  .nautilus-path-bar { // > 3.30.5
+    button {
+      margin-left: rem($baseline * 2, $sw: 1.0);
+      margin-right: rem($baseline * 2, $sw: 1.0);
+      // enforce switching to flat-style
+      &:not(:checked) {
+        border-color: transparent;
+        background-color: transparent;
+        &:hover,
+        &:active {
+          background-color: track(if($variant == mixed, $inv_fg, $fg),
+                                  $a_trk_1);
+        }
+      }
+    }
+  }
+
+  .nautilus-path-bar button { // > 3.30.5
+    @extend %pathbar_button;
+  }
+
+  // FIXME: these compensators can reserve enough wide 'tail' margins
+  // at the last button node for preventing ugly button node truncations.
+  box:not(:only-child):last-child button {
+    &:dir(ltr) { margin-right: $icon_size * 1.5; }
+    &:dir(rtl) { margin-left: $icon_size * 1.5; }
+  }
 }
 
 // /**************
@@ -4458,8 +4490,8 @@
 
 row {
   @if $maj_ver == 3 { padding: 2px rem($menuitem_padding); }
-  @else { // exclude expander class
-    &:not(.expander) { padding: 2px rem($menuitem_padding); }
+  @else {
+    &.expander { padding: 0; } // unset padding
 
     // move root padding to its childs
     &.expander .row-header { padding: 2px rem($menuitem_padding); }
@@ -5721,6 +5753,14 @@
     border-color: $drp_fg;
     box-shadow: inset 0 0 0 1px $drp_fg;
     caret-color: $drp_fg;
+
+    @if $variant == mixed {
+      headerbar & {
+        border-color: $inv_drp_fg;
+        box-shadow: inset 0 0 0 1px $inv_drp_fg;
+        caret-color: $inv_drp_fg;
+      }
+    }
   }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plata-theme-0.5.7/src/gtk/sass/common/_misc.scss 
new/plata-theme-0.5.8/src/gtk/sass/common/_misc.scss
--- old/plata-theme-0.5.7/src/gtk/sass/common/_misc.scss        2019-01-26 
10:09:56.000000000 +0100
+++ new/plata-theme-0.5.8/src/gtk/sass/common/_misc.scss        2019-01-29 
21:57:17.000000000 +0100
@@ -818,6 +818,14 @@
       }
     }
   }
+
+  // FIXME: entry + 2 meaningless buttons are contained with .linked,
+  // so enforce stand-alone entry border-radius and width
+  searchbar grid.horizontal.linked > entry.search {
+    @include radius($r, none);
+    &:dir(ltr),
+    &:dir(rtl) { border-width: 2px; }
+  }
 }
 
 // /************
@@ -2390,13 +2398,11 @@
 window.background > grid.horizontal.titlebar {
   // search-bar revealer
   @if $maj_ver == 3 {
-    searchbar {
-      background-color: if($variant == mixed, $inv_dark_bg, $dark_bg);
-    }
+    box.vertical > headerbar + searchbar { background-color: $dark_bg; }
   }
   @else {
-    searchbar > revealer > box {
-      background-color: if($variant == mixed, $inv_dark_bg, $dark_bg);
+    box.vertical > headerbar + searchbar > revealer > box {
+      background-color: $dark_bg;
     }
   }
 }



Reply via email to