home/.themes/Libra-Dark-Gruvbox/gtk-2.0/styles/button

70 lines
1.5 KiB
Plaintext
Executable File

style "button"
{
xthickness = 4
ythickness = 7
fg[NORMAL] = @selected_fg_color
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = shade (0.7, @selected_fg_color)
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
detail = "buttondefault"
file = "Buttons/button-default.png"
border = { 5, 5, 5, 5}
stretch = TRUE
}
image
{
function = BOX
state = PRELIGHT
recolorable = TRUE
shadow = OUT
file = "Buttons/button-prelight.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
state = PRELIGHT
recolorable = TRUE
shadow = IN
file = "Buttons/button-pressed.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
state = ACTIVE
file = "Buttons/button-pressed.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
state = INSENSITIVE
file = "Buttons/button-insensitive.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = BOX
file = "Buttons/button-normal.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
}
widget_class "*.<GtkButton>.*" style "button"
class "GtkButton" style "button"
widget_class "*GtkToggleButton*" style "button"