Minor adjustments made to the Whisker menu and application menus. Removing the black backdrop since it isn't really needed.
Reverted some of the changes to the launcher buttons.
Included an option in the GTK3 whiskermenu.css file to re-enable the backdrop if wanted (the backdrop is intended to creat a dotted border effect when the button is toggled.)
This commit is contained in:
EMH-Mark-I 2018-02-26 11:42:39 -06:00
parent ea37c1ab9d
commit 626af72f22
4 changed files with 34 additions and 246 deletions

View File

@ -582,4 +582,4 @@ include "slider.rc"
include "toolbutton.rc" include "toolbutton.rc"
include "tabs.rc" include "tabs.rc"
include "menubar.rc" include "menubar.rc"
include "button.rc" #include "button.rc"

View File

@ -69,7 +69,7 @@ style "panel"
state = ACTIVE state = ACTIVE
file = "panel/panel-button-active.png" file = "panel/panel-button-active.png"
border = { 5, 5, 5, 5 } border = { 5, 5, 5, 5 }
stretch = FALSE stretch = TRUE
} }
image image
@ -89,7 +89,7 @@ style "panel"
state = SELECTED state = SELECTED
file = "panel/panel-button-active.png" file = "panel/panel-button-active.png"
border = { 5, 5, 5, 5 } border = { 5, 5, 5, 5 }
stretch = FALSE stretch = TRUE
} }
@ -115,8 +115,8 @@ class "*Mail*" style "panel"
class "*Tray*" style "panel" class "*Tray*" style "panel"
class "*tray*" style "panel" class "*tray*" style "panel"
widget_class "*Mail*" style "panel" widget_class "*Mail*" style "panel"
#widget_class "*notif*" style "panel" #widget_class "*notif*" style "panel"
#widget_class "*Notif*" style "panel" #widget_class "*Notif*" style "panel"
widget_class "*Tray*" style "panel" widget_class "*Tray*" style "panel"
widget_class "*tray*" style "panel" widget_class "*tray*" style "panel"
widget_class "*BonoboDockItem" style "panel" widget_class "*BonoboDockItem" style "panel"
@ -141,54 +141,14 @@ widget_class "*Netstatus*" style "panel"
widget_class "*Tomboy*Tray*" style "panel" widget_class "*Tomboy*Tray*" style "panel"
widget "*fast-user-switch*" style "panel" widget "*fast-user-switch*" style "panel"
widget_class "*PanelToplevel*" style "panel" widget_class "*PanelToplevel*" style "panel"
class "Xfce*Panel*" style "panel"
widget_class "*Xfce*Panel*" style "panel"
widget_class "*PanelApplet*" style "panel" widget_class "*PanelApplet*" style "panel"
widget_class "*PanelWidget*" style "panel" widget_class "*PanelWidget*" style "panel"
widget_class "*computertemp*" style "panel" widget_class "*computertemp*" style "panel"
widget_class "*Applet*Tomboy*" style "panel" widget_class "*Applet*Tomboy*" style "panel"
widget_class "*Applet*Netstatus*" style "panel" widget_class "*Applet*Netstatus*" style "panel"
#############################################################
style "launcher"
{
xthickness = 5
ythickness = 5
#GtkWidget::focus_padding = 2
engine "pixmap" {
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "panel/launcher-button-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
shadow = OUT
recolorable = TRUE
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
}
#############################################################
#Affects XFCE Launcher icons on the panel.
#############################################################
widget_class "*Xfce*Panel*" style "launcher"
class "Xfce*Panel*" style "panel"
#############################################################
############################################################# #############################################################
#THIS MAKES THE APPLICATIONS PLACES SYSTEM MENU ON THE PANEL #THIS MAKES THE APPLICATIONS PLACES SYSTEM MENU ON THE PANEL
#USE PANEL STYLE #USE PANEL STYLE
@ -252,7 +212,7 @@ engine "pixmap"
style "panelbuttons" style "panelbuttons"
{ {
xthickness = 4 xthickness = 5
ythickness = 2 ythickness = 2
GtkWidget::focus_padding = 2 GtkWidget::focus_padding = 2
@ -345,83 +305,19 @@ widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "panelbuttons"
style "paneltogglebuttons" style "paneltogglebuttons"
{ {
xthickness = 4 xthickness = 4
ythickness = 2 ythickness = 2
#GtkWidget::focus_padding = 2 GtkWidget::focus_padding = 2
engine "pixmap" {
image
{
function = BOX
recolorable = TRUE
state = NORMAL
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
shadow = OUT
recolorable = TRUE
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
shadow = IN
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "panel/launcher-button-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = INSENSITIVE
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = SELECTED
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
} }
widget_class "*PanelToplevel*Button" style "paneltogglebuttons" widget_class "*PanelToplevel*Button" style "paneltogglebuttons"
widget_class "*Panel*GtkToggleButton" style "paneltogglebuttons" widget_class "*Panel*GtkToggleButton" style "paneltogglebuttons"
style "whiskerbutton" style "whiskerbutton"
{ {
xthickness = 0 xthickness = 0
@ -464,7 +360,7 @@ style "whiskerbutton"
recolorable = TRUE recolorable = TRUE
shadow = IN shadow = IN
state = PRELIGHT state = PRELIGHT
file = "panel/start-button-shade.png" #Sets a backdrop colour. file = "panel/null.png"
border = { 0, 0, 0, 0 } border = { 0, 0, 0, 0 }
stretch = TRUE stretch = TRUE
} }
@ -475,7 +371,7 @@ style "whiskerbutton"
function = BOX function = BOX
recolorable = TRUE recolorable = TRUE
state = ACTIVE state = ACTIVE
file = "panel/start-button-shade.png" #Sets a backdrop colour. file = "panel/null.png"
border = { 0, 0, 0, 0 } border = { 0, 0, 0, 0 }
stretch = TRUE stretch = TRUE
} }
@ -503,6 +399,4 @@ style "whiskerbutton"
} }
widget "*applicationmenu-button" style "whiskerbutton" #for the application menu button. widget "*applicationmenu-button" style "whiskerbutton" #for the application menu button.
widget "*whiskermenu-button" style "whiskerbutton" #for Whisker menu button. widget "*whiskermenu-button" style "whiskerbutton" #for Whisker menu button.
#widget "*Xfce*Panel*isker" style "whiskerbutton" #widget "*Xfce*Panel*isker" style "whiskerbutton"

136
Theme/Chicago95/gtk-2.0/panel.rc(ALT) Normal file → Executable file
View File

@ -69,7 +69,7 @@ style "panel"
state = ACTIVE state = ACTIVE
file = "panel/panel-button-active.png" file = "panel/panel-button-active.png"
border = { 5, 5, 5, 5 } border = { 5, 5, 5, 5 }
stretch = FALSE stretch = TRUE
} }
image image
@ -89,7 +89,7 @@ style "panel"
state = SELECTED state = SELECTED
file = "panel/panel-button-active.png" file = "panel/panel-button-active.png"
border = { 5, 5, 5, 5 } border = { 5, 5, 5, 5 }
stretch = FALSE stretch = TRUE
} }
@ -115,8 +115,8 @@ class "*Mail*" style "panel"
class "*Tray*" style "panel" class "*Tray*" style "panel"
class "*tray*" style "panel" class "*tray*" style "panel"
widget_class "*Mail*" style "panel" widget_class "*Mail*" style "panel"
#widget_class "*notif*" style "panel" #widget_class "*notif*" style "panel"
#widget_class "*Notif*" style "panel" #widget_class "*Notif*" style "panel"
widget_class "*Tray*" style "panel" widget_class "*Tray*" style "panel"
widget_class "*tray*" style "panel" widget_class "*tray*" style "panel"
widget_class "*BonoboDockItem" style "panel" widget_class "*BonoboDockItem" style "panel"
@ -141,54 +141,14 @@ widget_class "*Netstatus*" style "panel"
widget_class "*Tomboy*Tray*" style "panel" widget_class "*Tomboy*Tray*" style "panel"
widget "*fast-user-switch*" style "panel" widget "*fast-user-switch*" style "panel"
widget_class "*PanelToplevel*" style "panel" widget_class "*PanelToplevel*" style "panel"
class "Xfce*Panel*" style "panel"
widget_class "*Xfce*Panel*" style "panel"
widget_class "*PanelApplet*" style "panel" widget_class "*PanelApplet*" style "panel"
widget_class "*PanelWidget*" style "panel" widget_class "*PanelWidget*" style "panel"
widget_class "*computertemp*" style "panel" widget_class "*computertemp*" style "panel"
widget_class "*Applet*Tomboy*" style "panel" widget_class "*Applet*Tomboy*" style "panel"
widget_class "*Applet*Netstatus*" style "panel" widget_class "*Applet*Netstatus*" style "panel"
#############################################################
style "launcher"
{
xthickness = 5
ythickness = 5
#GtkWidget::focus_padding = 2
engine "pixmap" {
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "panel/launcher-button-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
shadow = OUT
recolorable = TRUE
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
}
#############################################################
#Affects XFCE Launcher icons on the panel.
#############################################################
widget_class "*Xfce*Panel*" style "launcher"
class "Xfce*Panel*" style "panel"
#############################################################
############################################################# #############################################################
#THIS MAKES THE APPLICATIONS PLACES SYSTEM MENU ON THE PANEL #THIS MAKES THE APPLICATIONS PLACES SYSTEM MENU ON THE PANEL
#USE PANEL STYLE #USE PANEL STYLE
@ -252,7 +212,7 @@ engine "pixmap"
style "panelbuttons" style "panelbuttons"
{ {
xthickness = 4 xthickness = 5
ythickness = 2 ythickness = 2
GtkWidget::focus_padding = 2 GtkWidget::focus_padding = 2
@ -345,83 +305,19 @@ widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "panelbuttons"
style "paneltogglebuttons" style "paneltogglebuttons"
{ {
xthickness = 4 xthickness = 4
ythickness = 2 ythickness = 2
#GtkWidget::focus_padding = 2 GtkWidget::focus_padding = 2
engine "pixmap" {
image
{
function = BOX
recolorable = TRUE
state = NORMAL
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
shadow = OUT
recolorable = TRUE
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
shadow = IN
state = PRELIGHT
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "panel/launcher-button-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = INSENSITIVE
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = SELECTED
file = "panel/panel-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
} }
widget_class "*PanelToplevel*Button" style "paneltogglebuttons" widget_class "*PanelToplevel*Button" style "paneltogglebuttons"
widget_class "*Panel*GtkToggleButton" style "paneltogglebuttons" widget_class "*Panel*GtkToggleButton" style "paneltogglebuttons"
style "whiskerbutton" style "whiskerbutton"
{ {
xthickness = 0 xthickness = 0
@ -464,7 +360,7 @@ style "whiskerbutton"
recolorable = TRUE recolorable = TRUE
shadow = IN shadow = IN
state = PRELIGHT state = PRELIGHT
file = "panel/null.png" file = "panel/start-button-shade.png" #Sets a backdrop colour.
border = { 0, 0, 0, 0 } border = { 0, 0, 0, 0 }
stretch = TRUE stretch = TRUE
} }
@ -475,7 +371,7 @@ style "whiskerbutton"
function = BOX function = BOX
recolorable = TRUE recolorable = TRUE
state = ACTIVE state = ACTIVE
file = "panel/null.png file = "panel/start-button-shade.png" #Sets a backdrop colour.
border = { 0, 0, 0, 0 } border = { 0, 0, 0, 0 }
stretch = TRUE stretch = TRUE
} }
@ -503,6 +399,4 @@ style "whiskerbutton"
} }
widget "*applicationmenu-button" style "whiskerbutton" #for the application menu button. widget "*applicationmenu-button" style "whiskerbutton" #for the application menu button.
widget "*whiskermenu-button" style "whiskerbutton" #for Whisker menu button. widget "*whiskermenu-button" style "whiskerbutton" #for Whisker menu button.
#widget "*Xfce*Panel*isker" style "whiskerbutton" #widget "*Xfce*Panel*isker" style "whiskerbutton"

View File

@ -22,8 +22,8 @@
border-left: 1px solid #000000; border-left: 1px solid #000000;
box-shadow: inset -1px -1px #c0c0c0, box-shadow: inset -1px -1px #c0c0c0,
inset 1px 1px #808080; inset 1px 1px #808080;
background-color: pink;
background: url("../assets/backdrop.png");
background-repeat: no-repeat;
border-radius: 0px; border-radius: 0px;
/* You can uncomment the following if you want a dotted border outline on the start button when activating it */
/* background: url("../assets/backdrop.png");
background-repeat: no-repeat;*/
} }