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

177 lines
4.0 KiB
Plaintext
Raw Normal View History

style "notebook"
{
xthickness = 3
ythickness = 3
engine "pixmap"
{
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-bottom.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = TOP
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-top.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = BOTTOM
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-left.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = RIGHT
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-right.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = LEFT
}
image
{
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-top-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = BOTTOM
}
image
{
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-bottom-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = TOP
}
image
{
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-left-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = RIGHT
}
image
{
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-right-active.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = LEFT
}
# How to draw boxes with a gap on one side (ie the page of a notebook)
image
{
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook-top.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-top.png"
gap_border = { 10, 10, 10, 10 }
gap_start_file = "Tabs/gap-top-left.png"
gap_start_border = { 5, 19, 5, 19 }
gap_end_file = "Tabs/gap-top-right.png"
gap_end_border = { 19, 5, 5, 19 }
gap_side = TOP
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook-bottom.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-bottom.png"
gap_border = { 10, 10, 10, 10 }
gap_start_file = "Tabs/gap-bottom-left.png"
gap_start_border = { 5, 19, 19, 5 }
gap_end_file = "Tabs/gap-bottom-right.png"
gap_end_border = { 19, 5, 19, 5 }
gap_side = BOTTOM
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook-left.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-left.png"
gap_border = { 10, 10, 10, 10 }
gap_start_file = "Tabs/gap-top-left.png"
gap_start_border = { 5, 19, 5, 19 }
gap_end_file = "Tabs/gap-bottom-left.png"
gap_end_border = { 5, 19, 19, 5 }
gap_side = LEFT
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook-right.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-right.png"
gap_border = { 10, 10, 10, 10 }
gap_start_file = "Tabs/gap-top-right.png"
gap_start_border = { 19, 5, 5, 19 }
gap_end_file = "Tabs/gap-bottom-right.png"
gap_end_border = { 19, 5, 19, 5 }
gap_side = RIGHT
}
# How to draw the box of a notebook when it isnt attached to a tab
image
{
function = BOX
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 6,6,6,6 }
stretch = TRUE
}
}
}
style "notebook-close" { stock["gtk-close"] = {{ "Others/close.png", *, *, * }} }
style "notebook_viewport"
{
bg[NORMAL] = @base_color
}
style "notebook-text"
{
fg[ACTIVE] = shade (1.2, @text_color)
}
widget_class "PlumaWindow*<GtkNotebook>*PlumaTab*<GtkLabel>" style "notebook-text"
widget_class "*.<GtkNotebook>.<GtkLabel>" style "notebook-text"
class "GtkNotebook" style "notebook"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_viewport"
widget_class "*<GtkNotebook>*" style "notebook-close"