Compare commits

...

19 Commits

Author SHA1 Message Date
Nelson Benítez León
947c035f7c GtkModelButton: set focus-on-click to FALSE
same as GtkMenuButton, GtkScaleButton
and GtkVolumeButton.

Related to issue #2555
2020-04-02 12:26:45 -04:00
Matthias Clasen
f5b393fef0 Merge branch 'wip/smcv/libdir-independent-valgrind-suppressions-gtk3' into 'gtk-3-24'
[3.x] supp: Use a single suppressions file for lib, lib64 and multiarch

See merge request GNOME/gtk!1604
2020-04-02 14:47:16 +00:00
Simon McVittie
8afd623989 supp: Use a single suppressions file for lib, lib64 and multiarch
In addition to the traditional library directory lib and the 64-bit
multilib directory lib64, this will cover Debian-style multiarch
(lib/x86_64-linux-gnu etc.), Arch Linux 32-bit (lib32), x32 and
various others.

Signed-off-by: Simon McVittie <smcv@debian.org>
2020-04-02 09:30:44 +01:00
Jiri Grönroos
b62860b1b8 Update Finnish translation 2020-04-01 14:51:22 +00:00
Matthias Clasen
58cfd44307 Merge branch 'BUG_filechooser_new_folder_focus_GTK3' into 'gtk-3-24'
gtkfilechooserwidget: set 'New folder' button focus-on-click

See merge request GNOME/gtk!1595
2020-04-01 04:28:22 +00:00
Matthias Clasen
d8ab9c4259 Merge branch 'BUG_buttons_with_menu_onclick_GTK3' into 'gtk-3-24'
GtkMenuButton: disable focus-on-click

See merge request GNOME/gtk!1596
2020-04-01 02:56:51 +00:00
Nelson Benítez León
527a99e598 GtkMenuButton: disable focus-on-click
As general rule, all buttons that launch a menu should
not grab focus on click, because otherwise when the menu
is closed the focus goes back to the button instead of
the previously focused widget, which is the one the user
was interacting with.

GtkScaleButton and GtkVolumeButton set focus-on-click
to FALSE for this same reason.

Fixes #2557
2020-03-31 21:00:32 -04:00
Nelson Benítez León
3997cdf2f4 gtkfilechooserwidget: set 'New folder' button focus-on-click
As general rule, all buttons that launch a menu should
not grab focus on click, because otherwise when the menu
is closed the focus goes back to the button instead of
the previously focused widget, which is the one the user
was interacting with.

So this is also the case for the 'New Folder' button on
the filechooser.

Fixes #2557
2020-03-31 20:15:34 -04:00
John Ralls
56eeda6c7c Merge branch MR1570 into gtk-3-24. 2020-03-31 15:46:26 -07:00
Matthias Clasen
21e0e3f863 Merge branch 'wip/jimmac/HC-redesign-gtk3' into 'gtk-3-24'
HC: derive from Adwaita

See merge request GNOME/gtk!1587
2020-03-30 17:48:22 +00:00
Emmanuele Bassi
9fdc64f7fc Merge branch 'wip/hadess/no-gauto-portal' into 'gtk-3-24'
Remove g_auto usage

See merge request GNOME/gtk!1588
2020-03-30 16:22:58 +00:00
Bastien Nocera
8dfb1d197a gtkprivate: Remove g_auto usage
Fixes: 93ab478af1
2020-03-30 17:50:50 +02:00
Bastien Nocera
fa16b682ef colorpickerportal: Remove g_auto usage
Fixes: 7b1b3fa0cb
2020-03-30 17:50:09 +02:00
Jakub Steiner
98148d9d60 HC: derive from Adwaita
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1450
2020-03-30 16:49:44 +02:00
Yosef Or Boczko
afe4f283ed Update Hebrew translation 2020-03-29 15:28:00 +00:00
Yosef Or Boczko
2b0155dbc4 Update Hebrew translation 2020-03-29 15:22:36 +00:00
Matthias Clasen
7624f07764 3.24.16 2020-03-27 16:51:18 -04:00
Matthias Clasen
a923ee9b87 Don't forget to dist gtktexttagprivate.h 2020-03-27 16:50:15 -04:00
LecrisUT
788fef5e80 Monitor_added signal after configure
Fixed order of monitor_added signal for Quartz display.
2020-03-26 13:06:45 +09:00
151 changed files with 8432 additions and 8093 deletions

View File

@@ -29,8 +29,7 @@ EXTRA_DIST += \
po-properties/meson.build \
build-aux/meson/post-install.py \
config.h.meson \
gtk.supp \
gtk64.supp
gtk.supp
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
@@ -44,7 +43,7 @@ MAINTAINERCLEANFILES = \
if OS_UNIX
valgrinddir = $(datadir)/gtk-3.0/valgrind
valgrind_DATA = gtk.supp gtk64.supp
valgrind_DATA = gtk.supp
endif
## Copy .pc files to target-specific names

6
NEWS
View File

@@ -1,3 +1,9 @@
Overview of Changes in GTK+ 3.24.16
===================================
* Fix the build
Overview of Changes in GTK+ 3.24.15
===================================

View File

@@ -10,8 +10,8 @@
m4_define([gtk_major_version], [3])
m4_define([gtk_minor_version], [24])
m4_define([gtk_micro_version], [15])
m4_define([gtk_interface_age], [11])
m4_define([gtk_micro_version], [16])
m4_define([gtk_interface_age], [12])
m4_define([gtk_binary_age],
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
m4_define([gtk_version],

View File

@@ -379,16 +379,17 @@ display_reconfiguration_callback (CGDirectDisplayID cg_display,
"display", display, NULL);
monitor->id = cg_display;
g_ptr_array_add (display->monitors, monitor);
display_rect (display);
configure_monitor (GDK_MONITOR (monitor), display);
gdk_display_monitor_added (GDK_DISPLAY (display),
GDK_MONITOR (monitor));
}
else
{
monitor = g_ptr_array_index (display->monitors, index);
display_rect (display);
configure_monitor (GDK_MONITOR (monitor), display);
}
display_rect (display);
configure_monitor (GDK_MONITOR (monitor), display);
}
else if (flags & (kCGDisplayRemoveFlag | kCGDisplayDisabledFlag))
{

View File

@@ -57,55 +57,55 @@
Memcheck:Leak
fun:calloc
...
obj:/usr/lib/dri/radeonsi_dri.so
obj:/usr/lib*/dri/radeonsi_dri.so
}
# mesa driver stuff
{
i965 addr4
Memcheck:Addr4
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
i965 addr8
Memcheck:Addr8
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
i965 memcpy
Memcheck:Addr8
fun:memcpy*
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
i965 memcpy
Memcheck:Addr2
fun:memcpy*
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
mesa memcmp 8
Memcheck:Addr8
fun:*memcmp*
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
mesa memcmp 1
Memcheck:Addr1
fun:*memcmp*
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
mesa memset 8
Memcheck:Addr8
fun:*memset*
obj:/usr/lib/dri/i965_dri.so
obj:/usr/lib*/dri/i965_dri.so
}
{
@@ -147,7 +147,7 @@
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/lib/dri/i965_dri.so*
obj:/usr/lib*/dri/i965_dri.so*
}
{
@@ -211,8 +211,8 @@
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
fun:FcFontSetList
}
@@ -221,8 +221,8 @@
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
fun:FcFontRenderPrepare
}
@@ -231,8 +231,8 @@
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
fun:FcDefaultSubstitute
}
@@ -240,8 +240,8 @@
{
pixman_image_composite32
Memcheck:Cond
obj:/usr/lib/libpixman-1.so*
obj:/usr/lib/libpixman-1.so*
obj:/usr/lib*/libpixman-1.so*
obj:/usr/lib*/libpixman-1.so*
fun:pixman_image_composite32
}
@@ -251,9 +251,9 @@
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libcairo.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libcairo.so*
fun:pango_cairo_fc_font_map_fontset_key_substitute
}
@@ -261,7 +261,17 @@
pango 2
Memcheck:Leak
fun:realloc
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
obj:/usr/lib*/libfontconfig.so*
fun:_cairo_ft_font_options_substitute
}
# GLib
{
glib 1
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:g_malloc
fun:g_quark_init
}

View File

@@ -583,6 +583,7 @@ gtk_private_h_sources = \
gtktextmarkprivate.h \
gtktextsegment.h \
gtktexttagprivate.h \
gtktexttagtableprivate.h \
gtktexttypes.h \
gtktextutil.h \
gtktrashmonitor.h \

View File

@@ -49,8 +49,8 @@ gtk_color_picker_portal_initable_init (GInitable *initable,
GError **error)
{
GtkColorPickerPortal *picker = GTK_COLOR_PICKER_PORTAL (initable);
g_autofree char *owner = NULL;
g_autoptr(GVariant) ret = NULL;
char *owner;
GVariant *ret;
guint version = 0;
if (!gtk_should_use_portal ())
@@ -78,10 +78,14 @@ gtk_color_picker_portal_initable_init (GInitable *initable,
g_clear_object (&picker->portal_proxy);
return FALSE;
}
g_free (owner);
ret = g_dbus_proxy_get_cached_property (picker->portal_proxy, "version");
if (ret)
version = g_variant_get_uint32 (ret);
{
version = g_variant_get_uint32 (ret);
g_variant_unref (ret);
}
if (version != 2)
{

View File

@@ -621,6 +621,7 @@ gtk_menu_button_init (GtkMenuButton *menu_button)
add_arrow (menu_button);
gtk_widget_set_focus_on_click (GTK_WIDGET (menu_button), FALSE);
gtk_widget_set_sensitive (GTK_WIDGET (menu_button), FALSE);
context = gtk_widget_get_style_context (GTK_WIDGET (menu_button));

View File

@@ -1287,6 +1287,7 @@ gtk_model_button_init (GtkModelButton *button)
button->role = GTK_BUTTON_ROLE_NORMAL;
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_widget_set_focus_on_click (GTK_WIDGET (button), FALSE);
button->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_widget_set_halign (button->box, GTK_ALIGN_FILL);
gtk_widget_show (button->box);

View File

@@ -304,10 +304,10 @@ guint
gtk_get_portal_interface_version (GDBusConnection *connection,
const char *interface_name)
{
g_autoptr(GDBusProxy) proxy = NULL;
g_autoptr(GError) error = NULL;
g_autoptr(GVariant) ret = NULL;
g_autofree char *owner = NULL;
GDBusProxy *proxy = NULL;
GError *error = NULL;
GVariant *ret = NULL;
char *owner = NULL;
guint version = 0;
proxy = g_dbus_proxy_new_sync (connection,
@@ -323,14 +323,14 @@ gtk_get_portal_interface_version (GDBusConnection *connection,
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_warning ("Could not query portal version on interface '%s': %s",
interface_name, error->message);
return 0;
goto out;
}
owner = g_dbus_proxy_get_name_owner (proxy);
if (owner == NULL)
{
g_debug ("%s not provided by any service", interface_name);
return FALSE;
goto out;
}
ret = g_dbus_proxy_get_cached_property (proxy, "version");
@@ -340,6 +340,12 @@ gtk_get_portal_interface_version (GDBusConnection *connection,
g_debug ("Got version %u for portal interface '%s'",
version, interface_name);
out:
g_clear_object (&proxy);
g_clear_error (&error);
g_clear_pointer (&ret, g_variant_unref);
g_clear_pointer (&owner, g_free);
return version;
}

View File

@@ -0,0 +1,16 @@
// High Contrast color overrides
// When color definition differs for dark and light variant
// it gets @if ed depending on $variant
$fg_color: if($variant == 'light', darken($fg_color, 3%), lighten($fg_color, 2%));
$bg_color: if($variant == 'light', lighten($bg_color, 3%), darken($bg_color, 2%));
$selected_bg_color: darken($selected_bg_color,10%);
$selected_borders_color: darken($selected_borders_color, 10%);
$borders_color: if($variant == 'light', darken($borders_color, 30%), lighten($borders_color, 30%));
$alt_borders_color: if($variant == 'light', darken($alt_borders_color, 33%), lighten($alt_borders_color, 28%));
//insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
$insensitive_borders_color: mix($borders_color, $bg_color, 80%);

View File

@@ -1,96 +0,0 @@
// When color definition differs for dark and light variant,
// it gets @if ed depending on $variant
$base_color: if($variant == 'light', #fff, #111);
$bg_color: if($variant == 'light', #fff, #000);
$fg_color: if($variant == 'light', #000, #fff);
$selected_fg_color: if($variant == 'light', #fff, #000);
$selected_bg_color: if($variant == 'light', #000, #ddd); //#4a90d9;
$selected_borders_color: if($variant == 'light', #000, #aaa);
$popover_bg_color: $bg_color;
$popover_hover_color: lighten($bg_color, 5%);
$borders_color: mix($bg_color,$fg_color,50%);
$borders_edge: if($variant == 'light', #fff, #000);
$link_color: $selected_bg_color;
$scrollbar_bg_color: if($variant == 'light', mix($bg_color, $fg_color, 95%), mix($base_color, $bg_color, 60%));
$scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
$scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
$scrollbar_slider_active_color: if($variant=='light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%));
$suggested_color: #4a90d9;
$warning_color: #f57900;
$error_color: #cc0000;
$success_color: #73d216;
$destructive_color: #ef2929;
$dark_fill: if($variant == 'light', mix($fg_color, $bg_color, 50%), mix($fg_color, $bg_color, 10%));
$osd_fg_color: #fff;
$osd_bg_color: transparentize(#000,0.2);
$osd_borders_color: transparentize(#fff,0.8);
//insensitive state derived colors
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
$insensitive_borders_color: mix($borders_color, $base_color, 50%);
//colors for the backdrop state, derived from the main colors.
$backdrop_base_color: $base_color;
$backdrop_bg_color: $bg_color;
$backdrop_fg_color: $fg_color;
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
$backdrop_dark_fill: mix($fg_color, $bg_color, 30%);
$backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
$backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 40%);
//apps rely on some named colors to be exported
/* GTK NAMED COLORS */
@define-color theme_fg_color #{"" + $fg_color};
@define-color theme_bg_color #{"" + $bg_color};
@define-color theme_base_color #{"" + $base_color};
@define-color theme_selected_bg_color #{"" + $selected_bg_color};
@define-color theme_selected_fg_color #{"" + $selected_fg_color};
@define-color insensitive_bg_color #{"" + $insensitive_bg_color};
@define-color insensitive_fg_color #{"" + $insensitive_fg_color};
@define-color insensitive_base_color #{"" + $base_color};
@define-color theme_unfocused_fg_color #{"" + $backdrop_fg_color};
@define-color theme_unfocused_bg_color #{"" + $backdrop_bg_color};
@define-color theme_unfocused_base_color #{"" + $backdrop_base_color};
@define-color theme_unfocused_selected_bg_color #{"" + $selected_bg_color};
@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color};
@define-color unfocused_insensitive_color #{"" + $insensitive_fg_color};
@define-color borders #{"" + $borders_color};
@define-color unfocused_borders #{"" + $backdrop_borders_color};
@define-color warning_color #{"" + $warning_color};
@define-color error_color #{"" + $error_color};
@define-color success_color #{"" + $success_color};
//WM
$_wm_highlight: $borders_edge;
@define-color wm_title shade(#{"" + $fg_color}, 1.8);
@define-color wm_unfocused_title #{"" + $backdrop_fg_color};
@define-color wm_highlight #{"" + $_wm_highlight};
@define-color wm_borders_edge #{"" + $borders_edge};
@define-color wm_bg_a shade(#{"" + $bg_color}, 1.2);
@define-color wm_bg_b #{"" + $bg_color};
@define-color wm_shadow alpha(black, 0.35);
@define-color wm_border alpha(black, 0.18);
@define-color wm_button_hover_color_a shade(#{"" + $bg_color}, 1.3);
@define-color wm_button_hover_color_b #{"" + $bg_color};
@define-color wm_button_active_color_a shade(#{"" + $bg_color}, 0.85);
@define-color wm_button_active_color_b shade(#{"" + $bg_color}, 0.89);
@define-color wm_button_active_color_c shade(#{"" + $bg_color}, 0.9);
//FIXME this is really an API
@define-color content_view_bg #{"" + $base_color};

File diff suppressed because it is too large Load Diff

View File

@@ -1,395 +0,0 @@
// Drawing mixins
// generic drawing of more complex things
@function _widget_edge($c:$borders_edge) {
// outer highlight "used" on most widgets
@return 0 1px $c;
}
@function _solid($c) {
// solid color image
@return linear-gradient(to bottom, $c, $c);
}
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
//
// Helper function to stack up to 4 box-shadows;
//
@if $shadow4!=none { box-shadow: $shadow1, $shadow2, $shadow3, $shadow4; }
@else if $shadow3!=none { box-shadow: $shadow1, $shadow2, $shadow3; }
@else if $shadow2!=none { box-shadow: $shadow1, $shadow2; }
@else { box-shadow: $shadow1; }
}
// entries
@function entry_focus_border($fc:$selected_bg_color) {
@if $variant == 'light' { @return $fc; }
@else { @return if($fc==$selected_bg_color, $selected_borders_color, darken($fc, 35%)); }
}
@function entry_focus_glow($fc) {
$_focus_glow_color: transparentize($fc,0.85);
@return inset 0 0 0 1px $_focus_glow_color;
}
@function entry_gradient($c) {
@return linear-gradient(to bottom, darken($c,3%), $c 90%);
}
@mixin entry($t, $fc:$selected_bg_color, $edge: $borders_edge) {
//
// Entries drawing function
//
// $t: entry type
// $fc: focus color
// $edge:none set to true not to draw the bottom edge hilight
//
// possible $t values:
// normal, focus, insensitive, backdrop, backdrop-insensitive;
//
background-color: transparent;
border-style: solid;
background-image: linear-gradient(to bottom,
darken($base_color,3%),
$base_color 90%);
$_entry_edge: none;
@if $t==normal {
color: $fg_color;
border-color: $borders_color;
@include _shadows(inset 0 2px 2px -2px mix(black, $base_color, 50%),
$_entry_edge);
}
@if $t==focus {
border-color: $fc;
@include _shadows(inset 0 2px 2px -2px mix(black, $base_color, 50%),
inset 0 0 0 1px $fc,
$_entry_edge);
}
@if $t==insensitive {
color: $insensitive_fg_color;
border-color: $borders_color;
background-image: _solid($insensitive_bg_color);
@include _shadows($_entry_edge);
}
@if $t==backdrop {
color: $backdrop_fg_color;
background-image: _solid($backdrop_base_color);
box-shadow: 0 1px transparentize(white,1);
}
@if $t==backdrop-insensitive {
color: $insensitive_fg_color;
background-image: _solid($backdrop_bg_color);
box-shadow: 0 1px transparentize(white,1);
}
}
// buttons
@mixin _button_border_color ($c) { border-color: darken($c,25%); } // colored buttons want the border form the base color
@mixin _button_text_shadow ($tc:$fg_color, $bg:$bg_color) {
//
// helper function for the text emboss effect
//
// $tc is the optional text color, not the shadow color
//
// TODO: this functions needs a way to deal with special cases
//
$_dark: black;
$_bright: white;
@if lightness($tc) < 50% {
text-shadow: 0 1px $_bright;
-gtk-icon-shadow: 0 1px $_bright;
}
@else {
text-shadow: 0 -1px $_dark;
-gtk-icon-shadow: 0 -1px $_dark;
}
}
@mixin button($t, $c:$bg_color, $tc:$fg_color, $edge: $borders_color) {
//
// Button drawing function
//
// $t: button type,
// $c: base button color for colored* types
// $tc: optional text color for colored* types
// $noedge:none set to true not to draw the bottom edge hilight
//
// possible $t values:
// normal, hover, active, insensitive, insensitive-active,
// backdrop, backdrop-active, backdrop-insensitive, backdrop-insensitive-active
//
border-width: 2px;
border-style: solid;
$_top_hilight: if(lightness($c)> 70%, white, transparentize(white,0.9)); //not just dark/light but colored buttons
@if $t==normal {
//
// normal button
//
color: $tc;
background-image: none;
background-color: $c;
@if $c!=$bg_color { @include _button_border_color($c); }
@else { border-color: $borders_color; }
}
@else if $t==hover {
//
// hovered button
//
color: $tc; //fg_color
background-color: $c;
@if $c!=$bg_color { @include _button_border_color($c); }
@else { border-color: $borders_color; }
background-image: none;
}
@else if $t==active {
//
// pushed button
//
background-image: none;
color: invert($tc);
background-color: invert($c);
@if $c!=$bg_color { @include _button_border_color($c); }
@else { border-color: $borders_color; }
}
@else if $t==insensitive {
//
// insensitive button
//
color: $insensitive_fg_color;
background-color: $insensitive_bg_color;
border-color: $insensitive_borders_color;
background-image: none;
}
@else if $t==insensitive-active {
//
// insensitive pushed button
//
color: $insensitive_fg_color;
border-color: $insensitive_borders_color;
background-image: none;
background-color: $insensitive_bg_color;
}
@else if $t==backdrop {
//
// backdrop button
//
color: if($c!=$bg_color, $tc, $backdrop_fg_color);
background-color: if($c!=$bg_color, $c, $backdrop_bg_color);
border-color: if($c!=$bg_color, $c, $backdrop_borders_color);
background-image: none;
}
@else if $t==backdrop-active {
//
// backdrop pushed button
//
color: invert($backdrop_fg_color);
background-color: $backdrop_borders_color;
border-color: $backdrop_borders_color;
background-image: none;
}
@else if $t==backdrop-insensitive {
//
// backdrop insensitive button
//
color: $insensitive_fg_color;
background-color: $insensitive_bg_color;
border-color: $insensitive_borders_color;
background-image: none;
}
@else if $t==backdrop-insensitive-active {
//
// backdrop insensitive pushed button
//
color: $insensitive_fg_color;
border-color: $insensitive_borders_color;
background-image: none;
background-color: mix($backdrop_borders_color,$backdrop_bg_color, 8%);
}
@else if $t==osd {
//
// normal osd button
//
color: $osd_fg_color;
background-image: none;
background-color: $osd_bg_color;
border-color: $osd_borders_color;
}
@else if $t==osd-hover {
//
// active osd button
//
color: $osd_fg_color;
background-color: lighten($osd_bg_color,30%);
border-color: $osd_borders_color;
}
@else if $t==osd-active {
//
// active osd button
//
color: $osd_bg_color;
background-color: $osd_fg_color;
border-color: $osd_borders_color;
box-shadow: none;
}
@else if $t==osd-insensitive {
//
// insensitive osd button
//
border-color: $osd_borders_color;
color: $insensitive_fg_color;
}
@else if $t==undecorated {
color: $tc;
background-color: transparent;
background-image: none;
border-color: transparent;
}
@else if $t==undecorated-insensitive {
color: $insensitive_fg_color;
background-color: transparent;
background-image: none;
border-color: transparent;
}
}
@mixin overshoot($p, $t:normal, $c:$fg_color) {
//
// overshoot
//
// $p: position
// $t: type
// $c: base color
//
// possible $p values:
// top, bottom, right, left
//
// possible $t values:
// normal, backdrop
//
$_small_gradient_length: 5%;
$_big_gradient_length: 100%;
$_position: center top;
$_small_gradient_size: 100% $_small_gradient_length;
$_big_gradient_size: 100% $_big_gradient_length;
@if $p==bottom {
$_position: center bottom;
$_linear_gradient_direction: to top;
}
@else if $p==right {
$_position: right center;
$_small_gradient_size: $_small_gradient_length 100%;
$_big_gradient_size: $_big_gradient_length 100%;
}
@else if $p==left {
$_position: left center;
$_small_gradient_size: $_small_gradient_length 100%;
$_big_gradient_size: $_big_gradient_length 100%;
}
$_small_gradient_color: $c;
$_big_gradient_color: $c;
@if $c==$fg_color {
$_small_gradient_color: darken($borders_color, 50%);
$_big_gradient_color: $fg_color;
@if $t==backdrop { $_small_gradient_color: $backdrop_borders_color; }
}
$_small_gradient: -gtk-gradient(radial,
$_position, 0,
$_position, 0.5,
to($_small_gradient_color),
to(transparentize($_small_gradient_color, 1)));
$_big_gradient: -gtk-gradient(radial,
$_position, 0,
$_position, 0.6,
from(transparentize($_big_gradient_color, 0.5)),
to(transparentize($_big_gradient_color, 1)));
@if $t==normal {
background-image: $_small_gradient, $_big_gradient;
background-size: $_small_gradient_size, $_big_gradient_size;
}
@else if $t==backdrop {
background-image: $_small_gradient;
background-size: $_small_gradient_size;
}
background-repeat: no-repeat;
background-position: $_position;
background-color: transparent; // reset some properties to be sure to not inherit them somehow
border: none; //
box-shadow: none; //
}
@mixin undershoot($p) {
//
// undershoot
//
// $p: position
//
// possible $p values:
// top, bottom, right, left
//
$_undershoot_color_dark: transparentize(black, 0.8);
$_undershoot_color_light: transparentize(white, 0.8);
$_gradient_dir: left;
$_dash_bg_size: 10px 1px;
$_gradient_repeat: repeat-x;
$_bg_pos: center $p;
background-color: transparent; // shouldn't be needed, but better to be sure;
@if ($p == left) or ($p == right) {
$_gradient_dir: top;
$_dash_bg_size: 1px 10px;
$_gradient_repeat: repeat-y;
$_bg_pos: $p center;
}
background-image: linear-gradient(to $_gradient_dir, // this is the dashed line
$_undershoot_color_light 50%,
$_undershoot_color_dark 50%);
padding-#{$p}: 1px;
background-size: $_dash_bg_size;
background-repeat: $_gradient_repeat;
background-origin: content-box;
background-position: $_bg_pos;
border: none;
box-shadow: none;
}

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 213 KiB

View File

@@ -0,0 +1,60 @@
text-select-end
text-select-end-hover
text-select-end-active
text-select-start
text-select-start-hover
text-select-start-active
text-select-end-dark
text-select-end-hover-dark
text-select-end-active-dark
text-select-start-dark
text-select-start-hover-dark
text-select-start-active-dark
slider-horz-scale-has-marks-below
slider-horz-scale-has-marks-below-hover
slider-horz-scale-has-marks-below-active
slider-horz-scale-has-marks-below-insensitive
slider-horz-scale-has-marks-below-backdrop
slider-horz-scale-has-marks-below-backdrop-insensitive
slider-vert-scale-has-marks-below
slider-vert-scale-has-marks-below-hover
slider-vert-scale-has-marks-below-active
slider-vert-scale-has-marks-below-insensitive
slider-vert-scale-has-marks-below-backdrop
slider-vert-scale-has-marks-below-backdrop-insensitive
slider-horz-scale-has-marks-above
slider-horz-scale-has-marks-above-hover
slider-horz-scale-has-marks-above-active
slider-horz-scale-has-marks-above-insensitive
slider-horz-scale-has-marks-above-backdrop
slider-horz-scale-has-marks-above-backdrop-insensitive
slider-vert-scale-has-marks-above
slider-vert-scale-has-marks-above-hover
slider-vert-scale-has-marks-above-active
slider-vert-scale-has-marks-above-insensitive
slider-vert-scale-has-marks-above-backdrop
slider-vert-scale-has-marks-above-backdrop-insensitive
slider-horz-scale-has-marks-below-dark
slider-horz-scale-has-marks-below-hover-dark
slider-horz-scale-has-marks-below-active-dark
slider-horz-scale-has-marks-below-insensitive-dark
slider-horz-scale-has-marks-below-backdrop-dark
slider-horz-scale-has-marks-below-backdrop-insensitive-dark
slider-vert-scale-has-marks-below-dark
slider-vert-scale-has-marks-below-hover-dark
slider-vert-scale-has-marks-below-active-dark
slider-vert-scale-has-marks-below-insensitive-dark
slider-vert-scale-has-marks-below-backdrop-dark
slider-vert-scale-has-marks-below-backdrop-insensitive-dark
slider-horz-scale-has-marks-above-dark
slider-horz-scale-has-marks-above-hover-dark
slider-horz-scale-has-marks-above-active-dark
slider-horz-scale-has-marks-above-insensitive-dark
slider-horz-scale-has-marks-above-backdrop-dark
slider-horz-scale-has-marks-above-backdrop-insensitive-dark
slider-vert-scale-has-marks-above-dark
slider-vert-scale-has-marks-above-hover-dark
slider-vert-scale-has-marks-above-active-dark
slider-vert-scale-has-marks-above-insensitive-dark
slider-vert-scale-has-marks-above-backdrop-dark
slider-vert-scale-has-marks-above-backdrop-insensitive-dark

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 767 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Some files were not shown because too many files have changed in this diff Show More