6.9.0-alt14
- Create mate-settings subpackage - Set light-blue background for GRUB console
This commit is contained in:
parent
6a4919a311
commit
432d23858b
@ -6,7 +6,7 @@
|
||||
|
||||
Name: branding-%brand-%theme
|
||||
Version: 6.9.0
|
||||
Release: alt13
|
||||
Release: alt14
|
||||
|
||||
BuildRequires: cpio fonts-ttf-dejavu fonts-ttf-droid
|
||||
BuildRequires: design-bootloader-source >= 5.0-alt2
|
||||
@ -50,7 +50,7 @@ Provides: design-bootloader-system-%theme design-bootloader-livecd-%theme design
|
||||
Obsoletes: design-bootloader-system-%theme design-bootloader-livecd-%theme design-bootloader-livecd-%theme design-bootloader-%theme branding-alt-%theme-bootloader
|
||||
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-bootloader ";done )
|
||||
|
||||
%define grub_normal white/blue
|
||||
%define grub_normal white/light-blue
|
||||
%define grub_high black/light-gray
|
||||
|
||||
%description bootloader
|
||||
@ -170,6 +170,21 @@ Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "brandi
|
||||
%description fvwm-settings
|
||||
FVWM2 settings for %Brand %version %Theme
|
||||
|
||||
%package mate-settings
|
||||
|
||||
BuildArch: noarch
|
||||
Summary: MATE settings for %Brand %version %Theme
|
||||
License: Distributable
|
||||
Group: Graphical desktop/GNOME
|
||||
Requires: gksu
|
||||
Requires: dconf
|
||||
Provides: metacity-theme-%brand-%theme = %version-%release
|
||||
Provides: metacity-theme
|
||||
Conflicts: %(for n in %variants ; do [ "$n" = %brand-%theme ] || echo -n "branding-$n-gnome-settings ";done )
|
||||
|
||||
%description mate-settings
|
||||
MATE settings for %Brand %version %Theme
|
||||
|
||||
%package gnome-settings
|
||||
|
||||
BuildArch: noarch
|
||||
@ -301,6 +316,11 @@ popd
|
||||
mkdir -p %buildroot/etc/skel
|
||||
install -m 644 fvwm-settings/.fvwm2rc %buildroot/etc/skel/
|
||||
|
||||
#mate-settings
|
||||
pushd mate-settings
|
||||
install -m 644 -D 50_mate-background.gschema.override '%buildroot%_datadir/glib-2.0/schemas/50_mate-background.gschema.override'
|
||||
popd
|
||||
|
||||
#gnome-settings
|
||||
%define XdgThemeName %Brand %Theme
|
||||
pushd gnome-settings
|
||||
@ -314,7 +334,6 @@ install -m 644 index.theme '%buildroot/%_datadir/themes/%XdgThemeName/'
|
||||
mkdir -p '%buildroot/etc/xdg/menus/'
|
||||
install -m 644 gnome-applications.menu '%buildroot/etc/xdg/menus/'
|
||||
install -m 644 settings.menu '%buildroot/etc/xdg/menus/'
|
||||
install -m 644 -D 50_mate-background.gschema.override '%buildroot%_datadir/glib-2.0/schemas/50_mate-background.gschema.override'
|
||||
popd
|
||||
|
||||
#slideshow
|
||||
@ -404,11 +423,15 @@ cat '/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' > \
|
||||
%files fvwm-settings
|
||||
%_sysconfdir/skel/.fvwm2rc
|
||||
|
||||
%files gnome-settings
|
||||
%files mate-settings
|
||||
%_datadir/themes/*
|
||||
/etc/xdg/menus/*
|
||||
%_datadir/glib-2.0/schemas/50_mate-background.gschema.override
|
||||
|
||||
%files gnome-settings
|
||||
%_datadir/themes/*
|
||||
/etc/xdg/menus/*
|
||||
|
||||
%files slideshow
|
||||
/usr/share/install2/slideshow
|
||||
|
||||
@ -424,6 +447,10 @@ cat '/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' > \
|
||||
%_desktopdir/indexhtml.desktop
|
||||
|
||||
%changelog
|
||||
* Wed Dec 12 2012 Andrey Cherepanov <cas@altlinux.org> 6.9.0-alt14
|
||||
- Create mate-settings subpackage
|
||||
- Set light-blue background for GRUB console
|
||||
|
||||
* Wed Dec 05 2012 Andrey Cherepanov <cas@altlinux.org> 6.9.0-alt13
|
||||
- Small fixes in Alterator stylesheet
|
||||
|
||||
|
@ -37,7 +37,7 @@ boot-images:
|
||||
#bootsplash
|
||||
boot-splash: boot-images
|
||||
mkdir -p $(datadir)/plymouth/themes/$(THEME)
|
||||
cp -al boot-800x600.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
|
||||
#cp -al boot-800x600.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
|
||||
cp -al images/background*x*.png $(datadir)/plymouth/themes/$(THEME)/
|
||||
cp -a components/bootsplash/* $(datadir)/plymouth/themes/$(THEME)
|
||||
mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth
|
||||
|
25
mate-settings/gnome-applications.menu
Normal file
25
mate-settings/gnome-applications.menu
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
|
||||
|
||||
<Menu>
|
||||
<MergeFile>altlinux-applications.menu</MergeFile>
|
||||
<Name>Applications</Name>
|
||||
<Menu>
|
||||
<Name>Multimedia</Name>
|
||||
<Exclude>
|
||||
<Filename>adobe_flash_player_eula.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
<Menu>
|
||||
<Name>Internet</Name>
|
||||
<Exclude>
|
||||
<Filename>lftp.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
<Menu>
|
||||
<Name>Development</Name>
|
||||
<Exclude>
|
||||
<Filename>gdb.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
</Menu>
|
129
mate-settings/gtkrc.in
Normal file
129
mate-settings/gtkrc.in
Normal file
@ -0,0 +1,129 @@
|
||||
gtk-color-scheme =
|
||||
"bg_color:#eaeaea\nfg_color:#000\nbase_color:#fff\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:@MIDDLE_COLOR_HEX@"
|
||||
|
||||
style "default"
|
||||
{
|
||||
fg[NORMAL] = @fg_color
|
||||
fg[ACTIVE] = @fg_color
|
||||
fg[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
|
||||
|
||||
fg[PRELIGHT] = @fg_color
|
||||
fg[SELECTED] = @selected_fg_color
|
||||
|
||||
bg[ACTIVE] = shade (0.9, @bg_color)
|
||||
bg[NORMAL] = @bg_color
|
||||
bg[INSENSITIVE] = shade (0.95, @bg_color)
|
||||
bg[PRELIGHT] = shade (1.03, @bg_color)
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
|
||||
base[NORMAL] = @base_color
|
||||
base[ACTIVE] = shade (0.9, @selected_bg_color)
|
||||
base[INSENSITIVE] = @base_color
|
||||
base[PRELIGHT] = @bg_color
|
||||
base[SELECTED] = @selected_bg_color
|
||||
|
||||
text[NORMAL] = @text_color
|
||||
text[ACTIVE] = @text_color
|
||||
text[PRELIGHT] = @text_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
text[INSENSITIVE] = mix (0.5, @text_color, @base_color)
|
||||
|
||||
|
||||
GtkRange::trough_border = 0
|
||||
GtkRange::slider_width = 15
|
||||
GtkRange::stepper_size = 15
|
||||
|
||||
GtkEntry::progress-border = { 0, 0, 0, 0 }
|
||||
|
||||
GtkScrollbar::min_slider_length = 15
|
||||
GtkCheckButton::indicator_size=10
|
||||
GtkCheckMenuItem::indicator_size=10
|
||||
GtkRadioButton::indicator_size=12
|
||||
|
||||
GtkNotebook::tab_vborder = 1
|
||||
GtkNotebook::tab_hborder = 1
|
||||
xthickness = 1
|
||||
ythickness = 1
|
||||
|
||||
NautilusIconContainer::dark_info_color="#888888"
|
||||
NautilusIconContainer::light_info_color="#bbbbbb"
|
||||
NautilusIconContainer::highlight_alpha=200
|
||||
|
||||
GtkMenu::horizontal_padding=0
|
||||
GtkMenu::vertical_padding=0
|
||||
|
||||
engine "mist"
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
style "menuitem"
|
||||
{
|
||||
ythickness = 2
|
||||
xthickness = 2
|
||||
|
||||
fg[PRELIGHT] = @selected_fg_color
|
||||
}
|
||||
|
||||
style "menu"
|
||||
{
|
||||
ythickness = 2
|
||||
xthickness = 2
|
||||
}
|
||||
|
||||
style "entry"
|
||||
{
|
||||
bg[SELECTED] = mix(0.35, @selected_bg_color, @base_color)
|
||||
fg[SELECTED] = @text_color
|
||||
}
|
||||
|
||||
class "GtkWidget" style "default"
|
||||
class "GtkMenu" style "menu"
|
||||
class "GtkEntry" style "entry"
|
||||
|
||||
widget_class "*<GtkMenuItem>*" style "menuitem"
|
||||
|
||||
|
||||
|
||||
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
|
||||
# Note that the work around assumes that the combobox is _not_ in
|
||||
# appears-as-list mode.
|
||||
# This style does not affect GtkComboBoxEntry, it does have an effect
|
||||
# on comboboxes in appears-as-list mode though.
|
||||
style "mist-text-is-fg-color-workaround"
|
||||
{
|
||||
text[NORMAL] = @fg_color
|
||||
text[ACTIVE] = @fg_color
|
||||
text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
|
||||
text[PRELIGHT] = @fg_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
}
|
||||
widget_class "*.<GtkComboBox>.<GtkCellView>" style "mist-text-is-fg-color-workaround"
|
||||
|
||||
style "mist-menuitem-text-is-fg-color-workaround"
|
||||
{
|
||||
text[NORMAL] = @fg_color
|
||||
text[ACTIVE] = @fg_color
|
||||
text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
|
||||
text[PRELIGHT] = @selected_fg_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
}
|
||||
widget "*.gtk-combobox-popup-menu.*" style "mist-menuitem-text-is-fg-color-workaround"
|
||||
|
||||
# Work around the usage of GtkLabel inside GtkListItems to display text.
|
||||
# This breaks because the label is shown on a background that is based on the
|
||||
# base color set.
|
||||
style "mist-fg-is-text-color-workaround"
|
||||
{
|
||||
fg[NORMAL] = @text_color
|
||||
fg[ACTIVE] = @text_color
|
||||
fg[PRELIGHT] = @text_color
|
||||
fg[SELECTED] = @selected_fg_color
|
||||
fg[INSENSITIVE] = mix (0.5, @text_color, @base_color)
|
||||
}
|
||||
widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
|
||||
# The same problem also exists for GtkCList and GtkCTree
|
||||
# Only match GtkCList and not the parent widgets, because that would also change the headers.
|
||||
widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
|
||||
|
||||
|
14
mate-settings/index.theme.in
Normal file
14
mate-settings/index.theme.in
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Name=@BRAND_FNAME@ @NAME@
|
||||
Type=X-GNOME-Metatheme
|
||||
Comment=Theme for @BRAND_FNAME@ @NAME@
|
||||
|
||||
[X-GNOME-Metatheme]
|
||||
Encoding=UTF-8
|
||||
GtkTheme=TraditionalOk
|
||||
MetacityTheme=TraditionalOk
|
||||
IconTheme=gnome
|
||||
GtkColorScheme=base_color:#ffffff,fg_color:#000000,tooltip_fg_color:#000000,selected_fg_color:#5598d7,selected_fg_color:#ffffff,text_color:#000000,bg_color:#ede9e3,tooltip_bg_color:#FFFFBF
|
||||
CursorTheme=default
|
||||
CursorSize=18
|
||||
NotificationTheme=slider
|
954
mate-settings/metacity-theme-1.xml.in
Normal file
954
mate-settings/metacity-theme-1.xml.in
Normal file
@ -0,0 +1,954 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<metacity_theme>
|
||||
<info>
|
||||
<name>TraditionalOk</name>
|
||||
<author>Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com></author>
|
||||
<copyright>Â 2005-2007 Daniel Borgmann, Andrea Cimitan</copyright>
|
||||
<date>Apr, 2007</date>
|
||||
<description>The TraditionalOk "Gummy" Marco Theme</description>
|
||||
</info>
|
||||
|
||||
<!-- ::: GEOMETRY ::: -->
|
||||
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
|
||||
<distance name="left_width" value="4"/>
|
||||
<distance name="right_width" value="4"/>
|
||||
<distance name="bottom_height" value="4"/>
|
||||
<distance name="left_titlebar_edge" value="4"/>
|
||||
<distance name="right_titlebar_edge" value="4"/>
|
||||
<aspect_ratio name="button" value="1.0"/>
|
||||
<distance name="title_vertical_pad" value="0"/>
|
||||
<border name="title_border" left="2" right="2" top="4" bottom="3"/>
|
||||
<border name="button_border" left="1" right="1" top="2" bottom="2"/>
|
||||
</frame_geometry>
|
||||
|
||||
<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/>
|
||||
|
||||
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
|
||||
<!-- strip frame spacing off the normal geometry when maximised -->
|
||||
<distance name="left_width" value="0"/>
|
||||
<distance name="right_width" value="0"/>
|
||||
<distance name="bottom_height" value="1"/>
|
||||
<distance name="left_titlebar_edge" value="1"/>
|
||||
<distance name="right_titlebar_edge" value="1"/>
|
||||
</frame_geometry>
|
||||
|
||||
<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
|
||||
<distance name="left_width" value="4"/>
|
||||
<distance name="right_width" value="4"/>
|
||||
<distance name="bottom_height" value="4"/>
|
||||
<distance name="left_titlebar_edge" value="4"/>
|
||||
<distance name="right_titlebar_edge" value="4"/>
|
||||
<distance name="title_vertical_pad" value="0"/>
|
||||
<border name="title_border" left="2" right="2" top="4" bottom="3"/>
|
||||
<border name="button_border" left="0" right="0" top="2" bottom="2"/>
|
||||
<aspect_ratio name="button" value="1"/>
|
||||
</frame_geometry>
|
||||
|
||||
<frame_geometry name="border" has_title="false">
|
||||
<distance name="left_width" value="4"/>
|
||||
<distance name="right_width" value="4"/>
|
||||
<distance name="bottom_height" value="4"/>
|
||||
<distance name="left_titlebar_edge" value="0"/>
|
||||
<distance name="right_titlebar_edge" value="0"/>
|
||||
<distance name="button_width" value="0"/>
|
||||
<distance name="button_height" value="0"/>
|
||||
<distance name="title_vertical_pad" value="4"/>
|
||||
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
|
||||
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
|
||||
</frame_geometry>
|
||||
|
||||
<!-- button minimum size -->
|
||||
<constant name="Bmin" value="7"/>
|
||||
<!-- button inside padding -->
|
||||
<constant name="Bpad" value="6"/>
|
||||
|
||||
<!-- ::: CORNERS ::: -->
|
||||
<draw_ops name="corners_outline_selected_top">
|
||||
<!-- top left -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.73" x1="1" y1="4" x2="1" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="2" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="3" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.73" x1="4" y1="1" x2="4" y2="1"/>
|
||||
|
||||
<!-- top right -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.73" x1="width-2" y1="4" x2="width-2" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.73" x1="width-5" y1="1" x2="width-5" y2="1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_outline_top">
|
||||
<!-- top left -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.68" x1="1" y1="4" x2="1" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="3" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.68" x1="4" y1="1" x2="4" y2="1"/>
|
||||
|
||||
<!-- top right -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.68" x1="width-2" y1="4" x2="width-2" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.68" x1="width-5" y1="1" x2="width-5" y2="1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_outline_selected_bottom">
|
||||
<!-- bottom left -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="height-4" x2="1" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="2" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-2" x2="4" y2="height-2"/>
|
||||
|
||||
<!-- bottom right -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_outline_bottom">
|
||||
<!-- bottom left -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/>
|
||||
|
||||
<!-- bottom right -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_highlight">
|
||||
<!-- ** corner highlight for left top ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for right top ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for left bottom ** -->
|
||||
<!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
|
||||
|
||||
<!-- ** corner highlight for right bottom ** -->
|
||||
<!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_highlight_unfocused">
|
||||
<!-- ** corner highlight for left top ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for right top ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for left bottom ** -->
|
||||
<!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
|
||||
|
||||
<!-- ** corner highlight for right bottom ** -->
|
||||
<!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_highlight_shaded">
|
||||
<!-- ** corner highlight for left top ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for right top ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for left bottom ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.08" x1="2" y1="height-4" x2="2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="height-3" x2="4" y2="height-3"/>
|
||||
|
||||
<!-- ** corner highlight for right bottom ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="corners_highlight_shaded_unfocused">
|
||||
<!-- ** corner highlight for left top ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for right top ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/>
|
||||
|
||||
<!-- ** corner highlight for left bottom ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.02" x1="2" y1="height-4" x2="2" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>
|
||||
|
||||
<!-- ** corner highlight for right bottom ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="window_bg">
|
||||
<rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: BEVEL FOCUSED ::: -->
|
||||
<draw_ops name="bevel">
|
||||
<include name="window_bg"/>
|
||||
<!-- ** titlebar outline ** -->
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.55" filled="false" x="0" y="0" width="width - 1" height="((title_height + 6) `max` (top_height - 2))"/>
|
||||
|
||||
<!-- ** 3d beveled frame ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="1" x2="width - 4" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="3" x2="1" y2="height - 2"/>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.94" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.95" x1="width - 2" y1="2" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="1" y1="1" x2="width - 2" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.1" x1="1" y1="2" x2="1" y2="((title_height + 5) `max` (top_height - 3))"/>
|
||||
|
||||
<!-- ** fancy gradient ** -->
|
||||
<gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.0"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/0.94"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.08"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.02"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
|
||||
|
||||
<!-- ** border outline ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.45" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="0" y2="height"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.45" x1="width - 1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 1" y2="height"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.45" x1="1" y1="height - 1" x2="width - 2" y2="height - 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="bevel_maximized">
|
||||
<!-- ** 3d beveled frame ** -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="0" x2="width" y2="0"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="0" y1="1" x2="width" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.94" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/>
|
||||
|
||||
<!-- ** fancy gradient ** -->
|
||||
<gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.0"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/0.94"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="0" y="1" width="width" height="top_height/2-1">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.08"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.02"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.7" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="round_bevel">
|
||||
<include name="bevel"/>
|
||||
<include name="corners_outline_selected_top"/>
|
||||
<!--<include name="corners_outline_bottom"/>-->
|
||||
<include name="corners_highlight"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="bevel_shaded">
|
||||
<include name="bevel"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="0" y1="height-1" x2="width" y2="height-1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="round_bevel_shaded">
|
||||
<include name="bevel"/>
|
||||
<include name="corners_outline_selected_top"/>
|
||||
<include name="corners_outline_selected_bottom"/>
|
||||
<include name="corners_highlight_shaded"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="5" y1="height-1" x2="width-6" y2="height-1"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: BEVEL UNFOCUSED ::: -->
|
||||
<draw_ops name="bevel_unfocused">
|
||||
<include name="window_bg"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="1" y1="1" x2="width - 2" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.03" x1="1" y1="2" x2="1" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.89" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/>
|
||||
|
||||
<!-- ** fancy gradient ** -->
|
||||
<gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.93"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.89"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.99"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.95"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.65" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
|
||||
<rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="bevel_maximized_unfocused">
|
||||
<!-- ** 3d beveled frame ** -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="0" x2="width" y2="0"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="0" y1="1" x2="width" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.89" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/>
|
||||
|
||||
<!-- ** fancy gradient ** -->
|
||||
<gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.93"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.89"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="0" y="2" width="width" height="top_height/2-2">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.99"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.95"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.65" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="round_bevel_unfocused">
|
||||
<include name="bevel_unfocused"/>
|
||||
<include name="corners_outline_top"/>
|
||||
<!--<include name="corners_outline_bottom"/>-->
|
||||
<include name="corners_highlight_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="round_bevel_unfocused_shaded">
|
||||
<include name="bevel_unfocused"/>
|
||||
<include name="corners_outline_top"/>
|
||||
<include name="corners_outline_bottom"/>
|
||||
<include name="corners_highlight_shaded_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: BORDER ::: -->
|
||||
<draw_ops name="border">
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height - 2"/>
|
||||
|
||||
<rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: TITLES ::: -->
|
||||
<draw_ops name="title_text">
|
||||
<title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0) + 1"/>
|
||||
<title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/>
|
||||
<title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/>
|
||||
<title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/>
|
||||
<title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="title_text_unfocused">
|
||||
<!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>-->
|
||||
<title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" x="4 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="title">
|
||||
<include name="title_text"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="title_unfocused">
|
||||
<include name="title_text_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: BUTTONS ::: -->
|
||||
<draw_ops name="button_bg">
|
||||
<!-- inset -->
|
||||
<gradient type="vertical" x="0" y="3" width="width" height="height-6">
|
||||
<color value="shade/gtk:bg[SELECTED]/0.96"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.05"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="0" x2="width-3" y2="0"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.99" x1="1" y1="1" x2="width-2" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.99" x1="0" y1="2" x2="width-1" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="0" x2="width-4" y2="0"/>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.91" x1="2" y1="1" x2="width-3" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.90" x1="1" y1="2" x2="width-2" y2="2"/>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.03" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
|
||||
|
||||
<!-- border outline -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
|
||||
<!-- border smooth effect -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.90" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
|
||||
|
||||
<!-- inside highlight -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.18" x1="4" y1="2" x2="width-5" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
|
||||
<!-- inside shadow -->
|
||||
<line color="shade/gtk:bg[SELECTED]/1.0" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
|
||||
|
||||
<!-- fill gradient -->
|
||||
<gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.1"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.02"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.0"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/0.92"/>
|
||||
</gradient>
|
||||
|
||||
<!-- bottom border smooth effect -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.84" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.92" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="button_bg_unfocused">
|
||||
<!-- inset -->
|
||||
<gradient type="vertical" x="0" y="3" width="width" height="height-6">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.92"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.96"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.93" x1="2" y1="0" x2="width-3" y2="0"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.92" x1="1" y1="1" x2="width-2" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.92" x1="0" y1="2" x2="width-1" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.91" x1="3" y1="0" x2="width-4" y2="0"/>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.87" x1="2" y1="1" x2="width-3" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.86" x1="1" y1="2" x2="width-2" y2="2"/>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.945" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.93" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.935" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
|
||||
|
||||
<!-- border outline -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
|
||||
<!-- border smooth effect -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
|
||||
|
||||
<!-- inside highlight -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
|
||||
<!-- inside shadow -->
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
|
||||
|
||||
<!-- fill gradient -->
|
||||
<gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
|
||||
<color value="shade/gtk:bg[NORMAL]/1.15"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/1.07"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
|
||||
<color value="shade/gtk:bg[NORMAL]/1.05"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.97"/>
|
||||
</gradient>
|
||||
|
||||
<!-- bottom border smooth effect -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.89" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.97" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="button_bg_prelight">
|
||||
<include name="button_bg"/>
|
||||
<tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="button_bg_pressed">
|
||||
<!-- outside highlight -->
|
||||
<gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.2"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.0"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
|
||||
<color value="shade/gtk:bg[SELECTED]/1.2"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/1.0"/>
|
||||
</gradient>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
|
||||
|
||||
<!-- border outline -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
|
||||
<!-- inside shadow -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="2" x2="width-4" y2="2"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="2" y2="height-4"/>
|
||||
|
||||
<!-- fill gradient -->
|
||||
<gradient type="vertical" x="3" y="3" width="width-5" height="height-6">
|
||||
<color value="shade/gtk:bg[SELECTED]/0.95"/>
|
||||
<color value="shade/gtk:bg[SELECTED]/0.9"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="button_bg_unfocused_prelight">
|
||||
<include name="button_bg_unfocused"/>
|
||||
<tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="button_bg_unfocused_pressed">
|
||||
<!-- outside highlight -->
|
||||
<gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
|
||||
<color value="shade/gtk:bg[NORMAL]/1.25"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/1.05"/>
|
||||
</gradient>
|
||||
<gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
|
||||
<color value="shade/gtk:bg[NORMAL]/1.25"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/1.05"/>
|
||||
</gradient>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
|
||||
|
||||
<!-- border outline -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
|
||||
|
||||
<!-- inside shadow -->
|
||||
<line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/>
|
||||
<line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/>
|
||||
|
||||
<!-- fill gradient -->
|
||||
<gradient type="vertical" x="3" y="3" width="width-5" height="height-6">
|
||||
<color value="shade/gtk:bg[NORMAL]/0.9"/>
|
||||
<color value="shade/gtk:bg[NORMAL]/0.85"/>
|
||||
</gradient>
|
||||
|
||||
<line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: ICONS ::: -->
|
||||
<!--
|
||||
using a minimum icon size until there is a proper way to specify relative sizes
|
||||
unfortunately it's logically impossible to always center the icons on non-square
|
||||
buttons (utility windows) without distortion.
|
||||
|
||||
icon_size = (Bmin`max`height-Bpad*2)
|
||||
hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2)
|
||||
vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2)
|
||||
-->
|
||||
|
||||
<!-- menu icon -->
|
||||
<draw_ops name="menu_button_icon">
|
||||
<!--<icon x="0" y="0" width="width" height="height"/>-->
|
||||
<icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="menu_button_icon_unfocused">
|
||||
<!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>-->
|
||||
<icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="menu_button_normal">
|
||||
<include name="menu_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="menu_button_pressed">
|
||||
<include name="menu_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="menu_button_unfocused">
|
||||
<include name="menu_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- close icon -->
|
||||
<draw_ops name="close_button_icon">
|
||||
<!-- outside border -->
|
||||
|
||||
<!-- main cross -->
|
||||
<line color="shade/gtk:bg[SELECTED]/0.7" width="4"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
|
||||
<line color="shade/gtk:bg[SELECTED]/0.7" width="4"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
|
||||
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
|
||||
<!-- top-left -->
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
|
||||
width="2" height="1"/>
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1"
|
||||
width="1" height="2"/>
|
||||
<!-- top-right -->
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
|
||||
width="2" height="1"/>
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="1" height="2"/>
|
||||
<!-- bottom-left -->
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="2" height="1"/>
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2"
|
||||
width="1" height="2"/>
|
||||
<!-- bottom-right -->
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="2" height="1"/>
|
||||
<tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0"
|
||||
x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2"
|
||||
width="1" height="2"/>
|
||||
|
||||
<!-- icon -->
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/>
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
|
||||
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
|
||||
x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="close_button_icon_unfocused">
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/>
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/>
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="close_button_normal">
|
||||
<include name="button_bg"/>
|
||||
<include name="close_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="close_button_prelight">
|
||||
<include name="button_bg_prelight"/>
|
||||
<include name="close_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="close_button_pressed">
|
||||
<include name="button_bg_pressed"/>
|
||||
<include name="close_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="close_button_unfocused">
|
||||
<include name="button_bg_unfocused"/>
|
||||
<include name="close_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="close_button_unfocused_prelight">
|
||||
<include name="button_bg_unfocused_prelight"/>
|
||||
<include name="close_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="close_button_unfocused_pressed">
|
||||
<include name="button_bg_unfocused_pressed"/>
|
||||
<include name="close_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- maximize icon -->
|
||||
<draw_ops name="maximize_button_icon">
|
||||
<!-- outside border -->
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/>
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/>
|
||||
|
||||
<!-- icon -->
|
||||
<rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="maximize_button_icon_unfocused">
|
||||
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="maximize_button_normal">
|
||||
<include name="button_bg"/>
|
||||
<include name="maximize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="maximize_button_prelight">
|
||||
<include name="button_bg_prelight"/>
|
||||
<include name="maximize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="maximize_button_pressed">
|
||||
<include name="button_bg_pressed"/>
|
||||
<include name="maximize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="maximize_button_unfocused">
|
||||
<include name="button_bg_unfocused"/>
|
||||
<include name="maximize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="maximize_button_unfocused_prelight">
|
||||
<include name="button_bg_unfocused_prelight"/>
|
||||
<include name="maximize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="maximize_button_unfocused_pressed">
|
||||
<include name="button_bg_unfocused_pressed"/>
|
||||
<include name="maximize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- restore icon -->
|
||||
<draw_ops name="restore_button_icon">
|
||||
<!-- outside border -->
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/>
|
||||
|
||||
<!-- icon -->
|
||||
<rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/>
|
||||
<line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="restore_button_icon_unfocused">
|
||||
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/>
|
||||
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1"
|
||||
x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2"
|
||||
x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="restore_button_normal">
|
||||
<include name="button_bg"/>
|
||||
<include name="restore_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="restore_button_prelight">
|
||||
<include name="button_bg_prelight"/>
|
||||
<include name="restore_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="restore_button_pressed">
|
||||
<include name="button_bg_pressed"/>
|
||||
<include name="restore_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="restore_button_unfocused">
|
||||
<include name="button_bg_unfocused"/>
|
||||
<include name="restore_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="restore_button_unfocused_prelight">
|
||||
<include name="button_bg_unfocused_prelight"/>
|
||||
<include name="restore_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="restore_button_unfocused_pressed">
|
||||
<include name="button_bg_unfocused_pressed"/>
|
||||
<include name="restore_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<!-- minimize icon -->
|
||||
<draw_ops name="minimize_button_icon">
|
||||
<!-- outside border -->
|
||||
<rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/>
|
||||
<!-- icon -->
|
||||
<rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="minimize_button_icon_unfocused">
|
||||
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true"
|
||||
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2"
|
||||
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="minimize_button_normal">
|
||||
<include name="button_bg"/>
|
||||
<include name="minimize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="minimize_button_prelight">
|
||||
<include name="button_bg_prelight"/>
|
||||
<include name="minimize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="minimize_button_pressed">
|
||||
<include name="button_bg_pressed"/>
|
||||
<include name="minimize_button_icon"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="minimize_button_unfocused">
|
||||
<include name="button_bg_unfocused"/>
|
||||
<include name="minimize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="minimize_button_unfocused_prelight">
|
||||
<include name="button_bg_unfocused_prelight"/>
|
||||
<include name="minimize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
<draw_ops name="minimize_button_unfocused_pressed">
|
||||
<include name="button_bg_unfocused_pressed"/>
|
||||
<include name="minimize_button_icon_unfocused"/>
|
||||
</draw_ops>
|
||||
|
||||
<draw_ops name="blank">
|
||||
<!-- nothing -->
|
||||
</draw_ops>
|
||||
|
||||
<!-- ::: FRAME STYLES ::: -->
|
||||
<frame_style name="normal" geometry="normal">
|
||||
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
|
||||
<piece position="title" draw_ops="title_unfocused"/>
|
||||
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
|
||||
<button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/>
|
||||
<button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/>
|
||||
<button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
|
||||
<button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/>
|
||||
<button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/>
|
||||
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
|
||||
<button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
|
||||
<button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
|
||||
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
|
||||
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="normal_shaded" geometry="shaded" parent="normal">
|
||||
<piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="focused" geometry="normal" parent="normal">
|
||||
<piece position="entire_background" draw_ops="round_bevel"/>
|
||||
<piece position="title" draw_ops="title"/>
|
||||
<button function="close" state="normal" draw_ops="close_button_normal"/>
|
||||
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
|
||||
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
|
||||
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
|
||||
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
|
||||
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
|
||||
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
|
||||
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
|
||||
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="focused_shaded" geometry="shaded" parent="focused">
|
||||
<piece position="entire_background" draw_ops="round_bevel_shaded"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal">
|
||||
<piece position="entire_background" draw_ops="bevel_maximized_unfocused"/>
|
||||
<button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
|
||||
<button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/>
|
||||
<button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused">
|
||||
<piece position="entire_background" draw_ops="bevel_maximized"/>
|
||||
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
|
||||
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
|
||||
<button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="border" geometry="border" parent="normal">
|
||||
<piece position="entire_background" draw_ops="border"/>
|
||||
<piece position="title" draw_ops="blank"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style name="utility_normal" geometry="utility" parent="normal">
|
||||
<piece position="entire_background" draw_ops="bevel_unfocused"/>
|
||||
</frame_style>
|
||||
<frame_style name="utility_focused" geometry="utility" parent="focused">
|
||||
<piece position="entire_background" draw_ops="bevel"/>
|
||||
</frame_style>
|
||||
<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded">
|
||||
<piece position="entire_background" draw_ops="bevel_shaded"/>
|
||||
</frame_style>
|
||||
|
||||
<frame_style_set name="normal">
|
||||
<frame focus="yes" state="normal" resize="both" style="focused"/>
|
||||
<frame focus="no" state="normal" resize="both" style="normal"/>
|
||||
<frame focus="yes" state="maximized" style="focused_maximized"/>
|
||||
<frame focus="no" state="maximized" style="normal_maximized"/>
|
||||
<frame focus="yes" state="shaded" style="focused_shaded"/>
|
||||
<frame focus="no" state="shaded" style="normal_shaded"/>
|
||||
<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/>
|
||||
<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/>
|
||||
</frame_style_set>
|
||||
|
||||
<frame_style_set name="utility" parent="normal">
|
||||
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
|
||||
<frame focus="no" state="normal" resize="both" style="utility_normal"/>
|
||||
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
|
||||
<frame focus="yes" state="maximized" style="focused"/>
|
||||
<frame focus="no" state="maximized" style="normal"/>
|
||||
<frame focus="yes" state="shaded" style="utility_focused_shaded"/>
|
||||
<frame focus="no" state="shaded" style="utility_normal"/>
|
||||
<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/>
|
||||
<frame focus="no" state="maximized_and_shaded" style="normal"/>
|
||||
</frame_style_set>
|
||||
|
||||
<frame_style_set name="border">
|
||||
<frame focus="yes" state="normal" resize="both" style="border"/>
|
||||
<frame focus="no" state="normal" resize="both" style="border"/>
|
||||
<frame focus="yes" state="maximized" style="border"/>
|
||||
<frame focus="no" state="maximized" style="border"/>
|
||||
<frame focus="yes" state="shaded" style="border"/>
|
||||
<frame focus="no" state="shaded" style="border"/>
|
||||
<frame focus="yes" state="maximized_and_shaded" style="border"/>
|
||||
<frame focus="no" state="maximized_and_shaded" style="border"/>
|
||||
</frame_style_set>
|
||||
|
||||
<window type="normal" style_set="normal"/>
|
||||
<window type="dialog" style_set="normal"/>
|
||||
<window type="modal_dialog" style_set="normal"/>
|
||||
<window type="menu" style_set="normal"/>
|
||||
<window type="utility" style_set="utility"/>
|
||||
<window type="border" style_set="border"/>
|
||||
|
||||
<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/>
|
||||
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/>
|
||||
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/>
|
||||
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/>
|
||||
|
||||
</metacity_theme>
|
Loading…
x
Reference in New Issue
Block a user