Hello community, here is the log from the commit of package plata-theme for openSUSE:Factory checked in at 2019-02-13 10:08:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plata-theme (Old) and /work/SRC/openSUSE:Factory/.plata-theme.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plata-theme" Wed Feb 13 10:08:11 2019 rev:9 rq:674324 version:0.5.9 Changes: -------- --- /work/SRC/openSUSE:Factory/plata-theme/plata-theme.changes 2019-02-01 11:48:45.940347910 +0100 +++ /work/SRC/openSUSE:Factory/.plata-theme.new.28833/plata-theme.changes 2019-02-13 10:08:31.397513565 +0100 @@ -1,0 +2,8 @@ +Tue Feb 12 20:30:26 UTC 2019 - Matthias Eliasson <[email protected]> + +- Update to version 0.5.9 + * Tweaked GtkMessagDialog action-area button margin/radius for a single-button-ed case (Gtk+ 3.2x/4.0). + * Cleaned up GtkMessageDialog codes (Gtk+ 3.2x/4.0). + * Cleaned up Budgie codes especially raven-trigger/show-desktop/main-menu panel button styling (Gtk+ 3.2x/4.0). + +------------------------------------------------------------------- Old: ---- plata-theme-0.5.8.tar.gz plata-theme-0.5.8.tar.gz.asc New: ---- plata-theme-0.5.9.tar.gz plata-theme-0.5.9.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plata-theme.spec ++++++ --- /var/tmp/diff_new_pack.cNxUxa/_old 2019-02-13 10:08:33.229513099 +0100 +++ /var/tmp/diff_new_pack.cNxUxa/_new 2019-02-13 10:08:33.233513098 +0100 @@ -17,12 +17,12 @@ %define _name plata -%define asc_link_uid 09e8e7bbe3aee1f252e11b0e265378b3 +%define asc_link_uid a12d8c7a207fbbdacc1b4f69805a3e93 %define _theme Plata %define gtk3_min_version 3.20.0 %define gtk2_min_version 2.24.30 Name: plata-theme -Version: 0.5.8 +Version: 0.5.9 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.8.tar.gz -> plata-theme-0.5.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plata-theme-0.5.8/configure.ac new/plata-theme-0.5.9/configure.ac --- old/plata-theme-0.5.8/configure.ac 2019-01-29 21:57:17.000000000 +0100 +++ new/plata-theme-0.5.9/configure.ac 2019-02-06 00:37:54.000000000 +0100 @@ -1,6 +1,6 @@ m4_define([plata_maj_ver], [0]) m4_define([plata_mnr_ver], [5]) -m4_define([plata_mcr_ver], [8]) +m4_define([plata_mcr_ver], [9]) 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.8/src/gtk/sass/common/_3rd-party.scss new/plata-theme-0.5.9/src/gtk/sass/common/_3rd-party.scss --- old/plata-theme-0.5.8/src/gtk/sass/common/_3rd-party.scss 2019-01-29 21:57:17.000000000 +0100 +++ new/plata-theme-0.5.9/src/gtk/sass/common/_3rd-party.scss 2019-02-06 00:37:54.000000000 +0100 @@ -400,35 +400,37 @@ } // main menu styling -.budgie-panel { - button.flat.budgie-menu-launcher { - min-width: $icon_size; - min-height: $icon_size; - padding: 0; - border: 0 none transparent; - border-radius: 0; +%budgie_trigger_button { + min-width: $icon_size; + min-height: $icon_size; + padding: 0; + @include radius(0, none); + background-color: transparent; + color: if($variant == mixed, $inv_fg, $fg); + font-weight: 700; // enforce bold weight + &:hover, + &:active { background-color: transparent; - color: if($variant == mixed, $inv_fg, $fg); - font-weight: 700; // enforce bold weight + color: if($variant == light, black, $sel_fg); + } +} + +button.flat.budgie-menu-launcher { + @extend %budgie_trigger_button; + @if $variant == mixed { + @include ink-reaction(tab-normal, $fc: $inv_fg, $bs: 8, $i: 2); + } + @else { + @include ink-reaction(tab-normal, $fc: $fg, $bs: 8, $i: 2); + } + &:checked { @if $variant == mixed { - @include ink-reaction(tab-normal, $fc: $inv_fg, $bs: 8, $i: 2); + background-color: transparent; + @include ink-reaction(tab-active, $fc: $inv_fg, $bs: 8); } @else { - @include ink-reaction(tab-normal, $fc: $fg, $bs: 8, $i: 2); - } - &:hover, - &:active, - &:checked { background-color: transparent; - color: if($variant == light, black, $sel_fg); - } - &:checked { - @if $variant == mixed { - @include ink-reaction(tab-active, $fc: $inv_fg, $bs: 8); - } - @else { - @include ink-reaction(tab-active, $fc: $fg, $bs: 8); - } + @include ink-reaction(tab-active, $fc: $fg, $bs: 8); } } } @@ -1187,17 +1189,12 @@ } // show-desktop applet -.budgie-panel > box > widget > button.flat { +.budgie-panel { // specificity bump to prevent conflicts - &:not(.raven-trigger):not(.budgie-menu-launcher) { - min-width: $icon_size; - min-height: $icon_size; - padding: 0 rem($txt_button_lr_space); - @include radius(0); + > box > widget > button.flat:not(.raven-trigger):not(.budgie-menu-launcher) { + @extend %budgie_trigger_button; @if $variant == mixed { - @include button(flat-normal, $tc: $inv_fg); @include ink-reaction(normal, $fc: $sel_bg, $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); @@ -1211,6 +1208,12 @@ @include button(flat-checked, $tc: $sel_label); } } + + .top &, + .bottom & { padding: 0 4px; } + + .left &, + .right & { padding: 2px 0; } } } @@ -1282,8 +1285,7 @@ .budgie-session-dialog, .budgie-polkit-dialog, .drop-shadow { - button, - .linked > button { // OSD-style buttons + button { // OSD-style buttons @if $variant == mixed { @extend %inv-action-area-button; } @else { @extend %action-area-button; } @@ -1477,7 +1479,6 @@ buttonbox.linked > button:not(.flat) { border: 2px solid transparent; @include radius(0); - &:first-child { @include radius(0 0 0 $r_8); border-right-width: 0; @@ -1529,29 +1530,18 @@ // raven-controller applet button.flat.raven-trigger { - min-width: $icon_size; - min-height: $icon_size; - padding: 0; - @include radius(0, none); + @extend %budgie_trigger_button; @if $variant != light { - @include button(flat-normal, $tc: $inv_fg); @include ink-reaction(normal, $fc: $sel_fg, $tr: ink-normal-dec); - &:hover { @include button(flat-normal, $tc: $sel_fg); } &:active { - @include button(flat-active, $tc: $sel_fg); @include ink-reaction(active-dec, $fc: $sel_fg, $tr: ink-active-dec); } - &:checked { @include button(flat-checked, $tc: $sel_fg); } } @else { - @include button(flat-normal, $tc: $fg); @include ink-reaction(normal, $fc: black, $tr: ink-normal-dec); - &:hover { @include button(flat-normal, $tc: black); } &:active { - @include button(flat-active, $tc: black); @include ink-reaction(active-dec, $fc: black, $tr: ink-active-dec); } - &:checked { @include button(flat-checked, $tc: black); } } image { margin: 0 3px; } // add internal spacing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plata-theme-0.5.8/src/gtk/sass/common/_common.scss new/plata-theme-0.5.9/src/gtk/sass/common/_common.scss --- old/plata-theme-0.5.8/src/gtk/sass/common/_common.scss 2019-01-29 21:57:17.000000000 +0100 +++ new/plata-theme-0.5.9/src/gtk/sass/common/_common.scss 2019-02-06 00:37:54.000000000 +0100 @@ -4820,34 +4820,28 @@ &.background, &.csd.background { - .dialog-action-area { - button, - .linked > button { - @include radius(0); - @if $variant == mixed { - @extend %inv-action-area-button; - } - @else { - @extend %action-area-button; - } - } + .dialog-action-area button { + @include radius(0); + @if $variant == mixed { @extend %inv-action-area-button; } + @else { @extend %action-area-button; } } } &.csd.background { - .dialog-action-area { - button, - .linked > button { + .dialog-action-area.linked button { + margin: 2px; + @include radius(0); + &:first-child { + margin-right: 0; + @include radius(0 0 0 $r_8); + } + &:last-child { + margin-left: 0; + @include radius(0 0 $r_8 0); + } + &:only-child { margin: 2px; - @include radius(0); - &:first-child { - @include radius(0 0 0 $r_8); - margin-right: 0; - } - &:last-child { - @include radius(0 0 $r_8 0); - margin-left: 0; - } + @include radius(0 0 $r_8 $r_8); } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plata-theme-0.5.8/src/shell/sass/gnome-shell/_common.scss new/plata-theme-0.5.9/src/shell/sass/gnome-shell/_common.scss --- old/plata-theme-0.5.8/src/shell/sass/gnome-shell/_common.scss 2019-01-29 21:57:17.000000000 +0100 +++ new/plata-theme-0.5.9/src/shell/sass/gnome-shell/_common.scss 2019-02-06 00:37:54.000000000 +0100 @@ -715,8 +715,8 @@ // * Popovers/Menus * // ******************/ -$default_spacing: if($ref_weight >= 1.0, 8px, 6px); -$extra_spacing: 2.5px; +$extra_spacing: 3px; +$avatar_width: $icon_size * 1.5; .popup-menu { min-width: 15em; @@ -725,37 +725,24 @@ border-bottom: 1px solid $div_fg; background-color: $bg; box-shadow: inset 0 2px 2px opacity(black, $a_trk_1); - - // sub-menu 'label-only' item indentations - .popup-menu-item > StLabel:first-child { - // .popup-menu-icon width + child spacing - // + avatar icon's extra spacing - &:ltr { - margin-left: 16px; - padding-left: $default_spacing * 2 + $extra_spacing; - } - &:rtl { - margin-right: 16px; - padding-right: $default_spacing * 2 + $extra_spacing; - } - } } .popup-menu-content { padding: if($ref_weight >= 1.0, 0.3em 0, 0.21em 0); } .popup-menu-item { - spacing: $default_spacing; + spacing: if($ref_weight >= 1.0, $avatar_width / 2 - $extra_spacing, + $avatar_width / 2); color: $sec_fg; font-weight: 400; transition-duration: $tr_d_non; &:ltr { - padding: if($ref_weight >= 1.0, 0.45em 1.75em 0.45em 0, - 0.3em 1.2em 0.3em 0); + padding: if($ref_weight >= 1.0, 0.45em $avatar_width 0.45em 0, + 0.3em $avatar_width 0.3em 0); } &:rtl { - padding: if($ref_weight >= 1.0, 0.45em 0 0.45em 1.75em, - 0.3em 0 0.3em 1.2em); + padding: if($ref_weight >= 1.0, 0.45em 0 0.45em $avatar_width, + 0.3em 0 0.3em $avatar_width); } &:checked { @@ -827,12 +814,11 @@ &-icon { icon-size: $icon_size; } &-ornament { - @include fontscaling($ref_size * 1.1); - width: 1.1em; // protect the region + width: 1em; // protect the region height: 0; // trick for minimum separator-menu-item height - padding-top: $baseline; // not need to scale color: $sel_label; text-align: right; + font-size: $icon_size; // fixed size font-family: $font-family-for-ornament; font-weight: 700; } @@ -887,12 +873,17 @@ .system-switch-user-submenu-icon { &.user-icon { icon-size: $icon_size + 4px; - padding: 0 ($default_spacing + $extra_spacing - 4px) / 2; + padding: 0 if($ref_weight >= 1.0, + ($avatar_width - ($icon_size + 4px) + $extra_spacing) / 2, + ($avatar_width - ($icon_size + 4px)) / 2); } &.default-icon { + width: $avatar_width; icon-size: $icon_size; - padding: 0 ($default_spacing + $extra_spacing) / 2; + padding: 0 if($ref_weight >= 1.0, + ($avatar_width - $icon_size + $extra_spacing) / 2, + ($avatar_width - $icon_size) / 2); } } @@ -3185,8 +3176,8 @@ &-row { spacing: $ref_size * 0.3px; } // legacy &-key { - min-height: $ref_size * 2; - min-width: $ref_size * 2; + min-height: $ref_size * 2px; + min-width: $ref_size * 2px; padding: 0; border-radius: $r_2; border: 1px solid mix($osd_sec_fg, $osd_bg, percentage($a_div_1)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plata-theme-0.5.8/src/shell/sass/gnome-shell/_extensions.scss new/plata-theme-0.5.9/src/shell/sass/gnome-shell/_extensions.scss --- old/plata-theme-0.5.8/src/shell/sass/gnome-shell/_extensions.scss 2019-01-29 21:57:17.000000000 +0100 +++ new/plata-theme-0.5.9/src/shell/sass/gnome-shell/_extensions.scss 2019-02-06 00:37:54.000000000 +0100 @@ -315,7 +315,7 @@ } } - .show-apps#show-apps-btn { + StButton.show-apps { &:focus, &:hover { background-color: $osd_semi_fill_bg; @@ -323,14 +323,13 @@ } &:active { background-color: $osd_fill_bg; - box-shadow: $empty_shadow; + box-shadow: inset #{$_line} $sel_bg; } &:checked { + background-color: $panel_hidden_bg; + color: $osd_fg; box-shadow: inset #{$_line} $sel_bg; - &, &:hover { - background-color: $hidden_fill_bg; - color: $osd_fg; - } + &:hover { background-color: $osd_semi_fill_bg; } } } }
