From eab0507af6367a9a75f40ac3dd92e5e42860c2dc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 20 May 2023 11:28:29 +0300 Subject: Added icons and themes --- themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc | 183 ++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc (limited to 'themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc') diff --git a/themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc b/themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc new file mode 100644 index 00000000..0c264e5c --- /dev/null +++ b/themes/Mint-X-Aqua/gtk-2.0/styles/notebook.rc @@ -0,0 +1,183 @@ +style "notebook-close" { stock["gtk-close"] = {{ "images/other/close.png", *, *, * }} } # Close icon on tabs + +style "notebook" +{ + GtkWidget::interior-focus = 1 + + xthickness = 3 + ythickness = 3 + + # A color is set here to fix the background of boxes in mate-system-monitor on the resources + # tab. However this causes tabs in libre office to be surrrounded by this color. Probably needs + # a proper app specific fix for system-monitor + #bg[NORMAL] = shade (1.1, @bg_color) + + engine "pixmap" + { + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "images/notebook/tab-bottom.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "images/notebook/tab-top.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "images/notebook/tab-left.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "images/notebook/tab-right.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = LEFT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "images/notebook/tab-top-active.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + file = "images/notebook/tab-bottom-active.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + file = "images/notebook/tab-left-active.svg" + border = {5, 5, 5, 5} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "images/notebook/tab-right-active.svg" + 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 = "images/notebook/notebook.svg" + border = {3, 3, 3, 3} + stretch = TRUE + gap_file = "images/notebook/gap-top.svg" + gap_border = {10, 10, 10, 10} + gap_start_file = "images/notebook/gap-top-left.svg" + gap_start_border = { 10, 10, 10, 10 } + gap_end_file = "images/notebook/gap-top-right.svg" + gap_end_border = {10, 10, 10, 10} + gap_side = TOP + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "images/notebook/notebook.svg" + border = {3, 3, 3, 3} + stretch = TRUE + gap_file = "images/notebook/gap-bottom.svg" + gap_border = {10, 10, 10, 10} + gap_start_file = "images/notebook/gap-bottom-left.svg" + gap_start_border = {10, 10, 10, 10} + gap_end_file = "images/notebook/gap-bottom-right.svg" + gap_end_border = {10, 10, 10, 10} + gap_side = BOTTOM + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "images/notebook/notebook.svg" + border = {3, 3, 3, 3} + stretch = TRUE + gap_file = "images/notebook/gap-left.svg" + gap_border = {10, 10, 10, 10} + gap_start_file = "images/notebook/gap-top-left.svg" + gap_start_border = {10, 10, 10, 10} + gap_end_file = "images/notebook/gap-bottom-left.svg" + gap_end_border = {10, 10, 10, 10} + gap_side = LEFT + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "images/notebook/notebook.svg" + border = {3, 3, 3, 3} + stretch = TRUE + gap_file = "images/notebook/gap-right.svg" + gap_border = {10, 10, 10, 10} + gap_start_file = "images/notebook/gap-top-right.svg" + gap_start_border = {10, 10, 10, 10} + gap_end_file = "images/notebook/gap-bottom-right.svg" + gap_end_border = {10, 10, 10, 10} + gap_side = RIGHT + } + + # How to draw the box of a notebook when it isnt attached to a tab + + image + { + function = BOX + recolorable = TRUE + file = "images/notebook/notebook.svg" + border = {3, 3, 3, 3} + stretch = TRUE + } + + # Remove focus lines from tabs + + image + { + function = FOCUS + file = "images/other/null.png" + border = {1, 1, 1, 1} + stretch = TRUE + } + } +} + +style "notebook-fill" +{ + bg[NORMAL] = shade (1.1, @bg_color) +} -- cgit v1.2.3