From 29d46e29707c040fae299828c2440c6840a54777 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 5 Jun 2015 12:41:31 +0200 Subject: gtk2 toolbar and entry fixes --- common/gtk-2.0/assets.svg | 817 +++++++++++++-------- common/gtk-2.0/assets.txt | 21 +- common/gtk-2.0/assets/arrow-down-insens.png | Bin 334 -> 334 bytes common/gtk-2.0/assets/arrow-down-prelight.png | Bin 304 -> 306 bytes common/gtk-2.0/assets/arrow-down-small-insens.png | Bin 287 -> 287 bytes .../gtk-2.0/assets/arrow-down-small-prelight.png | Bin 283 -> 285 bytes common/gtk-2.0/assets/arrow-left-prelight.png | Bin 319 -> 319 bytes common/gtk-2.0/assets/arrow-right-prelight.png | Bin 313 -> 314 bytes .../assets/combo-entry-focus-notebook-rtl.png | Bin 274 -> 279 bytes .../gtk-2.0/assets/combo-entry-focus-notebook.png | Bin 259 -> 275 bytes common/gtk-2.0/assets/combo-entry-focus-rtl.png | Bin 274 -> 278 bytes common/gtk-2.0/assets/combo-entry-focus.png | Bin 260 -> 275 bytes common/gtk-2.0/assets/combo-entry-notebook-rtl.png | Bin 256 -> 270 bytes common/gtk-2.0/assets/combo-entry-notebook.png | Bin 236 -> 247 bytes common/gtk-2.0/assets/combo-entry-rtl.png | Bin 256 -> 273 bytes common/gtk-2.0/assets/combo-entry.png | Bin 242 -> 254 bytes .../assets/entry-border-active-bg-solid.png | Bin 0 -> 815 bytes common/gtk-2.0/assets/entry-border-active-bg.png | Bin 0 -> 882 bytes common/gtk-2.0/assets/entry-border-bg-solid.png | Bin 0 -> 717 bytes common/gtk-2.0/assets/entry-border-bg.png | Bin 0 -> 824 bytes common/gtk-2.0/assets/entry-border-disabled-bg.png | Bin 0 -> 627 bytes common/gtk-2.0/assets/entry-focus-notebook.png | Bin 769 -> 0 bytes common/gtk-2.0/assets/entry-focus-toolbar.png | Bin 818 -> 0 bytes common/gtk-2.0/assets/entry-focus.png | Bin 815 -> 0 bytes .../gtk-2.0/assets/entry-insensitive-notebook.png | Bin 647 -> 0 bytes .../gtk-2.0/assets/entry-insensitive-toolbar.png | Bin 667 -> 0 bytes common/gtk-2.0/assets/entry-insensitive.png | Bin 627 -> 0 bytes common/gtk-2.0/assets/entry-notebook.png | Bin 696 -> 0 bytes common/gtk-2.0/assets/entry-toolbar.png | Bin 697 -> 0 bytes common/gtk-2.0/assets/entry.png | Bin 717 -> 0 bytes common/gtk-2.0/assets/menubar.png | Bin 0 -> 183 bytes .../assets/notebook-entry-border-active-bg.png | Bin 0 -> 869 bytes common/gtk-2.0/assets/notebook-entry-border-bg.png | Bin 0 -> 805 bytes .../assets/notebook-entry-border-disabled-bg.png | Bin 0 -> 647 bytes .../assets/toolbar-entry-border-active-bg.png | Bin 0 -> 888 bytes common/gtk-2.0/assets/toolbar-entry-border-bg.png | Bin 0 -> 789 bytes .../assets/toolbar-entry-border-disabled-bg.png | Bin 0 -> 667 bytes common/gtk-2.0/assets/toolbar.png | Bin 183 -> 183 bytes common/gtk-2.0/gtkrc | 109 ++- 39 files changed, 600 insertions(+), 347 deletions(-) create mode 100644 common/gtk-2.0/assets/entry-border-active-bg-solid.png create mode 100644 common/gtk-2.0/assets/entry-border-active-bg.png create mode 100644 common/gtk-2.0/assets/entry-border-bg-solid.png create mode 100644 common/gtk-2.0/assets/entry-border-bg.png create mode 100644 common/gtk-2.0/assets/entry-border-disabled-bg.png delete mode 100644 common/gtk-2.0/assets/entry-focus-notebook.png delete mode 100644 common/gtk-2.0/assets/entry-focus-toolbar.png delete mode 100644 common/gtk-2.0/assets/entry-focus.png delete mode 100644 common/gtk-2.0/assets/entry-insensitive-notebook.png delete mode 100644 common/gtk-2.0/assets/entry-insensitive-toolbar.png delete mode 100644 common/gtk-2.0/assets/entry-insensitive.png delete mode 100644 common/gtk-2.0/assets/entry-notebook.png delete mode 100644 common/gtk-2.0/assets/entry-toolbar.png delete mode 100644 common/gtk-2.0/assets/entry.png create mode 100644 common/gtk-2.0/assets/menubar.png create mode 100644 common/gtk-2.0/assets/notebook-entry-border-active-bg.png create mode 100644 common/gtk-2.0/assets/notebook-entry-border-bg.png create mode 100644 common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png create mode 100644 common/gtk-2.0/assets/toolbar-entry-border-active-bg.png create mode 100644 common/gtk-2.0/assets/toolbar-entry-border-bg.png create mode 100644 common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png (limited to 'common/gtk-2.0') diff --git a/common/gtk-2.0/assets.svg b/common/gtk-2.0/assets.svg index 0f966a5..c20d97c 100644 --- a/common/gtk-2.0/assets.svg +++ b/common/gtk-2.0/assets.svg @@ -535,6 +535,28 @@ x="407" y="111" /> + + + + + + + inkscape:label="#g21853"> + id="scdsdcd-1-9"> + id="g5428-8-1-4-0-0-5-9" /> + id="g5400-0-5"> @@ -950,7 +968,7 @@ @@ -991,7 +1009,7 @@ @@ -1041,7 +1059,7 @@ ry="2.5" /> @@ -1052,13 +1070,11 @@ transform="translate(19,0)"> + inkscape:label="#g21853"> + id="scdsdcd-5-1-7"> + id="g5428-8-1-4-0-0-4-1-8" /> + id="g5400-6-7-5"> + transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,727.94436,295.31123)"> + transform="translate(12.374375,11.531233)"> @@ -1138,23 +1150,20 @@ id="radio-unchecked-2-8-1" style="display:inline"> + id="g10964-6-4-9"> + id="g7025-09-1-7"> + id="g5428-8-1-7-5-8-1"> @@ -1192,23 +1201,20 @@ style="opacity:1;fill:#cfd6e6;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" sodipodi:nodetypes="ssssssssss" /> + id="g10964-66-0"> + id="g7025-1-8"> + id="g5428-8-1-7-6-8"> @@ -1276,7 +1282,7 @@ @@ -1376,7 +1382,7 @@ @@ -1423,7 +1429,7 @@ @@ -1480,14 +1486,13 @@ ry="2" /> + id="sdsd-6-1"> + transform="translate(0,-30)"> + id="g5428-8-1-4-0-0-0-6" /> + id="g5400-7-2"> @@ -1546,13 +1548,11 @@ transform="translate(19,0)"> + inkscape:label="#g21853"> + id="scdsdcd-5-1-0-5"> + id="g5428-8-1-4-0-0-4-1-2-7" /> + id="g5400-6-7-8-7"> + transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,727.94436,295.31123)"> + transform="translate(12.374375,11.531233)"> @@ -1640,8 +1636,7 @@ d="m 98,8.3621828 c 0,3.8659902 3.13401,7.0000002 7,7.0000002 3.86599,0 7,-3.13401 7,-7.0000002 0,-3.86599 -3.13401,-7 -7,-7 -3.86599,0 -7,3.13401 -7,7 z m 1,0 c 0,-3.324 2.676,-6 6,-6 3.324,0 6,2.676 6,6 0,3.3240002 -2.676,6.0000002 -6,6.0000002 -3.324,0 -6,-2.676 -6,-6.0000002 z" style="opacity:1;fill:#cfd6e6;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + id="g10964-62-9"> + id="g7025-6-0"> + id="g5428-8-1-7-58-8"> @@ -1690,8 +1683,7 @@ id="radio-unchecked-2-8-9-6" style="display:inline"> + id="g10964-6-4-7-3"> + id="g7025-09-1-6-4"> + id="g5428-8-1-7-5-8-3-8"> - - + - - + @@ -1953,8 +1921,8 @@ id="entry-border-fill" width="5" height="24.000002" - x="99.000031" - y="-217.63776" + x="100.50003" + y="-246.88776" inkscape:label="#rect4361" /> - - + - - + - - + - - + - - + - - + - - + - - + + inkscape:label="#g6182" + transform="translate(11,0)"> @@ -4517,26 +4398,26 @@ id="progressbar_v" width="30" height="8" - x="212" - y="201" + x="216.00018" + y="-82.637817" ry="4" rx="4" - transform="translate(-7,-283.63782)" inkscape:label="#rect5799" /> + inkscape:label="#g5052" + transform="translate(11,0)"> @@ -4868,7 +4745,7 @@ rx="1" /> @@ -4894,7 +4771,7 @@ rx="1" /> @@ -4920,7 +4797,7 @@ rx="1" /> @@ -4947,7 +4824,7 @@ + style="opacity:1;fill:#f9fafb;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#dde3e9;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + inkscape:label="#g6293" + transform="translate(11,0)"> + inkscape:label="#g5032" + transform="translate(11,0)"> @@ -5131,14 +5010,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id="g4303-7-3-7"> + + + + + + + + + + + + diff --git a/common/gtk-2.0/assets.txt b/common/gtk-2.0/assets.txt index 0e64d1b..82bf432 100644 --- a/common/gtk-2.0/assets.txt +++ b/common/gtk-2.0/assets.txt @@ -38,15 +38,17 @@ menu-radio-checked menu-radio-checked-insensitive menu-radio-unchecked menu-radio-unchecked-insensitive -entry -entry-focus -entry-insensitive -entry-notebook -entry-focus-notebook -entry-insensitive-notebook -entry-toolbar -entry-focus-toolbar -entry-insensitive-toolbar +entry-border-bg-solid +entry-border-active-bg-solid +entry-border-disabled-bg +entry-border-bg +entry-border-active-bg +notebook-entry-border-bg +notebook-entry-border-active-bg +notebook-entry-border-disabled-bg +toolbar-entry-border-bg +toolbar-entry-border-active-bg +toolbar-entry-border-disabled-bg entry-border-fill combo-entry combo-entry-focus @@ -115,3 +117,4 @@ tab-left-active tab-right-active inline-toolbar toolbar +menubar diff --git a/common/gtk-2.0/assets/arrow-down-insens.png b/common/gtk-2.0/assets/arrow-down-insens.png index 0623ac3..9db1788 100644 Binary files a/common/gtk-2.0/assets/arrow-down-insens.png and b/common/gtk-2.0/assets/arrow-down-insens.png differ diff --git a/common/gtk-2.0/assets/arrow-down-prelight.png b/common/gtk-2.0/assets/arrow-down-prelight.png index d502938..ffcd1f9 100644 Binary files a/common/gtk-2.0/assets/arrow-down-prelight.png and b/common/gtk-2.0/assets/arrow-down-prelight.png differ diff --git a/common/gtk-2.0/assets/arrow-down-small-insens.png b/common/gtk-2.0/assets/arrow-down-small-insens.png index 0eef483..8a67e67 100644 Binary files a/common/gtk-2.0/assets/arrow-down-small-insens.png and b/common/gtk-2.0/assets/arrow-down-small-insens.png differ diff --git a/common/gtk-2.0/assets/arrow-down-small-prelight.png b/common/gtk-2.0/assets/arrow-down-small-prelight.png index 08199f2..11d6369 100644 Binary files a/common/gtk-2.0/assets/arrow-down-small-prelight.png and b/common/gtk-2.0/assets/arrow-down-small-prelight.png differ diff --git a/common/gtk-2.0/assets/arrow-left-prelight.png b/common/gtk-2.0/assets/arrow-left-prelight.png index b97e103..75701fe 100644 Binary files a/common/gtk-2.0/assets/arrow-left-prelight.png and b/common/gtk-2.0/assets/arrow-left-prelight.png differ diff --git a/common/gtk-2.0/assets/arrow-right-prelight.png b/common/gtk-2.0/assets/arrow-right-prelight.png index af6b55a..bfce546 100644 Binary files a/common/gtk-2.0/assets/arrow-right-prelight.png and b/common/gtk-2.0/assets/arrow-right-prelight.png differ diff --git a/common/gtk-2.0/assets/combo-entry-focus-notebook-rtl.png b/common/gtk-2.0/assets/combo-entry-focus-notebook-rtl.png index 846b726..6f9f3b0 100644 Binary files a/common/gtk-2.0/assets/combo-entry-focus-notebook-rtl.png and b/common/gtk-2.0/assets/combo-entry-focus-notebook-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-focus-notebook.png b/common/gtk-2.0/assets/combo-entry-focus-notebook.png index 865e74a..ecaa70d 100644 Binary files a/common/gtk-2.0/assets/combo-entry-focus-notebook.png and b/common/gtk-2.0/assets/combo-entry-focus-notebook.png differ diff --git a/common/gtk-2.0/assets/combo-entry-focus-rtl.png b/common/gtk-2.0/assets/combo-entry-focus-rtl.png index 360026f..157d899 100644 Binary files a/common/gtk-2.0/assets/combo-entry-focus-rtl.png and b/common/gtk-2.0/assets/combo-entry-focus-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-focus.png b/common/gtk-2.0/assets/combo-entry-focus.png index 8525018..23dd71a 100644 Binary files a/common/gtk-2.0/assets/combo-entry-focus.png and b/common/gtk-2.0/assets/combo-entry-focus.png differ diff --git a/common/gtk-2.0/assets/combo-entry-notebook-rtl.png b/common/gtk-2.0/assets/combo-entry-notebook-rtl.png index 1da5c8e..23c8eaa 100644 Binary files a/common/gtk-2.0/assets/combo-entry-notebook-rtl.png and b/common/gtk-2.0/assets/combo-entry-notebook-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-notebook.png b/common/gtk-2.0/assets/combo-entry-notebook.png index 4e00dc7..1042b0d 100644 Binary files a/common/gtk-2.0/assets/combo-entry-notebook.png and b/common/gtk-2.0/assets/combo-entry-notebook.png differ diff --git a/common/gtk-2.0/assets/combo-entry-rtl.png b/common/gtk-2.0/assets/combo-entry-rtl.png index 5629ac4..5a914c8 100644 Binary files a/common/gtk-2.0/assets/combo-entry-rtl.png and b/common/gtk-2.0/assets/combo-entry-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry.png b/common/gtk-2.0/assets/combo-entry.png index 394d14e..8d2e972 100644 Binary files a/common/gtk-2.0/assets/combo-entry.png and b/common/gtk-2.0/assets/combo-entry.png differ diff --git a/common/gtk-2.0/assets/entry-border-active-bg-solid.png b/common/gtk-2.0/assets/entry-border-active-bg-solid.png new file mode 100644 index 0000000..d0cd36d Binary files /dev/null and b/common/gtk-2.0/assets/entry-border-active-bg-solid.png differ diff --git a/common/gtk-2.0/assets/entry-border-active-bg.png b/common/gtk-2.0/assets/entry-border-active-bg.png new file mode 100644 index 0000000..072d5c2 Binary files /dev/null and b/common/gtk-2.0/assets/entry-border-active-bg.png differ diff --git a/common/gtk-2.0/assets/entry-border-bg-solid.png b/common/gtk-2.0/assets/entry-border-bg-solid.png new file mode 100644 index 0000000..de84155 Binary files /dev/null and b/common/gtk-2.0/assets/entry-border-bg-solid.png differ diff --git a/common/gtk-2.0/assets/entry-border-bg.png b/common/gtk-2.0/assets/entry-border-bg.png new file mode 100644 index 0000000..0464243 Binary files /dev/null and b/common/gtk-2.0/assets/entry-border-bg.png differ diff --git a/common/gtk-2.0/assets/entry-border-disabled-bg.png b/common/gtk-2.0/assets/entry-border-disabled-bg.png new file mode 100644 index 0000000..e9a5c64 Binary files /dev/null and b/common/gtk-2.0/assets/entry-border-disabled-bg.png differ diff --git a/common/gtk-2.0/assets/entry-focus-notebook.png b/common/gtk-2.0/assets/entry-focus-notebook.png deleted file mode 100644 index 044edf6..0000000 Binary files a/common/gtk-2.0/assets/entry-focus-notebook.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-focus-toolbar.png b/common/gtk-2.0/assets/entry-focus-toolbar.png deleted file mode 100644 index 5ce0711..0000000 Binary files a/common/gtk-2.0/assets/entry-focus-toolbar.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-focus.png b/common/gtk-2.0/assets/entry-focus.png deleted file mode 100644 index d0cd36d..0000000 Binary files a/common/gtk-2.0/assets/entry-focus.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-insensitive-notebook.png b/common/gtk-2.0/assets/entry-insensitive-notebook.png deleted file mode 100644 index 5733e91..0000000 Binary files a/common/gtk-2.0/assets/entry-insensitive-notebook.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-insensitive-toolbar.png b/common/gtk-2.0/assets/entry-insensitive-toolbar.png deleted file mode 100644 index d5dea4a..0000000 Binary files a/common/gtk-2.0/assets/entry-insensitive-toolbar.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-insensitive.png b/common/gtk-2.0/assets/entry-insensitive.png deleted file mode 100644 index e9a5c64..0000000 Binary files a/common/gtk-2.0/assets/entry-insensitive.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-notebook.png b/common/gtk-2.0/assets/entry-notebook.png deleted file mode 100644 index 831004f..0000000 Binary files a/common/gtk-2.0/assets/entry-notebook.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-toolbar.png b/common/gtk-2.0/assets/entry-toolbar.png deleted file mode 100644 index 02f411e..0000000 Binary files a/common/gtk-2.0/assets/entry-toolbar.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry.png b/common/gtk-2.0/assets/entry.png deleted file mode 100644 index de84155..0000000 Binary files a/common/gtk-2.0/assets/entry.png and /dev/null differ diff --git a/common/gtk-2.0/assets/menubar.png b/common/gtk-2.0/assets/menubar.png new file mode 100644 index 0000000..ff49952 Binary files /dev/null and b/common/gtk-2.0/assets/menubar.png differ diff --git a/common/gtk-2.0/assets/notebook-entry-border-active-bg.png b/common/gtk-2.0/assets/notebook-entry-border-active-bg.png new file mode 100644 index 0000000..d390ded Binary files /dev/null and b/common/gtk-2.0/assets/notebook-entry-border-active-bg.png differ diff --git a/common/gtk-2.0/assets/notebook-entry-border-bg.png b/common/gtk-2.0/assets/notebook-entry-border-bg.png new file mode 100644 index 0000000..8767bc6 Binary files /dev/null and b/common/gtk-2.0/assets/notebook-entry-border-bg.png differ diff --git a/common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png b/common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png new file mode 100644 index 0000000..5733e91 Binary files /dev/null and b/common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png differ diff --git a/common/gtk-2.0/assets/toolbar-entry-border-active-bg.png b/common/gtk-2.0/assets/toolbar-entry-border-active-bg.png new file mode 100644 index 0000000..c978290 Binary files /dev/null and b/common/gtk-2.0/assets/toolbar-entry-border-active-bg.png differ diff --git a/common/gtk-2.0/assets/toolbar-entry-border-bg.png b/common/gtk-2.0/assets/toolbar-entry-border-bg.png new file mode 100644 index 0000000..1bef4f5 Binary files /dev/null and b/common/gtk-2.0/assets/toolbar-entry-border-bg.png differ diff --git a/common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png b/common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png new file mode 100644 index 0000000..d5dea4a Binary files /dev/null and b/common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png differ diff --git a/common/gtk-2.0/assets/toolbar.png b/common/gtk-2.0/assets/toolbar.png index ff49952..6b55f41 100644 Binary files a/common/gtk-2.0/assets/toolbar.png and b/common/gtk-2.0/assets/toolbar.png differ diff --git a/common/gtk-2.0/gtkrc b/common/gtk-2.0/gtkrc index a0ac495..d117ca6 100644 --- a/common/gtk-2.0/gtkrc +++ b/common/gtk-2.0/gtkrc @@ -694,8 +694,41 @@ style "menubar" { xthickness = 0 ythickness = 0 + + engine "pixmap" { + + image { + function = BOX + file = "assets/menubar.png" + stretch = TRUE + border = { 1, 1, 1, 1 } + } + } +} + +style "menubar-borderless" { + + bg[NORMAL] = "#e7e8eb" + fg[NORMAL] = "#70788d" + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = shade(1.3, "#70788d") + + xthickness = 0 + ythickness = 0 + + engine "pixmap" { + + image { + function = BOX + file = "assets/null.png" + stretch = TRUE + border = { 1, 1, 1, 1 } + } + } + } + style "menu" { xthickness = 0 @@ -1046,7 +1079,7 @@ style "entry" { detail = "entry" state = NORMAL shadow = IN - file = "assets/entry.png" + file = "assets/entry-border-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1056,7 +1089,7 @@ style "entry" { detail = "entry" state = INSENSITIVE shadow = IN - file = "assets/entry-insensitive.png" + file = "assets/entry-border-disabled-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1065,7 +1098,7 @@ style "entry" { function = SHADOW detail = "entry" state = ACTIVE - file = "assets/entry-focus.png" + file = "assets/entry-border-active-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1100,7 +1133,7 @@ style "notebook_entry" { detail = "entry" state = NORMAL shadow = IN - file = "assets/entry-notebook.png" + file = "assets/notebook-entry-border-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1110,7 +1143,7 @@ style "notebook_entry" { detail = "entry" state = INSENSITIVE shadow = IN - file = "assets/entry-insensitive-notebook.png" + file = "assets/notebook-entry-border-disabled-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1119,10 +1152,28 @@ style "notebook_entry" { function = SHADOW detail = "entry" state = ACTIVE - file = "assets/entry-focus-notebook.png" + file = "assets/notebook-entry-border-active-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = NORMAL + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = ACTIVE + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } } } @@ -1136,7 +1187,7 @@ style "toolbar_entry" { detail = "entry" state = NORMAL shadow = IN - file = "assets/entry-toolbar.png" + file = "assets/toolbar-entry-border-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1146,7 +1197,7 @@ style "toolbar_entry" { detail = "entry" state = INSENSITIVE shadow = IN - file = "assets/entry-insensitive-toolbar.png" + file = "assets/toolbar-entry-border-disabled-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1155,10 +1206,28 @@ style "toolbar_entry" { function = SHADOW detail = "entry" state = ACTIVE - file = "assets/entry-focus-toolbar.png" + file = "assets/toolbar-entry-border-active-bg.png" border = { 12, 12, 12, 12 } stretch = TRUE } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = NORMAL + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = ACTIVE + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } } } @@ -1730,7 +1799,7 @@ style "libreoffice_entry" { detail = "entry" state = NORMAL shadow = IN - file = "assets/entry.png" + file = "assets/entry-border-bg-solid.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1739,7 +1808,7 @@ style "libreoffice_entry" { function = SHADOW detail = "entry" state = ACTIVE - file = "assets/entry-focus.png" + file = "assets/entry-border-active-bg-solid.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1773,7 +1842,7 @@ style "standalone_entry" { detail = "entry" state = NORMAL shadow = IN - file = "assets/entry.png" + file = "assets/entry-border-bg-solid.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1782,7 +1851,7 @@ style "standalone_entry" { function = SHADOW detail = "entry" state = ACTIVE - file = "assets/entry-focus.png" + file = "assets/entry-border-active-bg-solid.png" border = { 12, 12, 12, 12 } stretch = TRUE } @@ -1964,7 +2033,7 @@ style "combobox_button" { } style "range" { - + engine "pixmap" { image { @@ -2479,8 +2548,8 @@ widget_class "***" styl widget_class "****" style "combobox_entry" # The same thing for toolbars -widget_class "**" style "toolbar_entry" -widget_class "***" style "entry" +#widget_class "**" style "toolbar_entry" +#widget_class "***" style "entry" # We also need to avoid changing fg color for the inactive notebook tab labels widget_class "*." style "notebook_tab_label" @@ -2523,3 +2592,11 @@ widget "*libreoffice-toplevel*GtkSpinButton" style "libre widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" widget "xfwm4-tabwin*" style "xfwm-tabwin" widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" + +# Whitelist for dark toolbars +widget_class "*ThunarWindow*" style "menubar-borderless" +widget_class "*CajaNavigationWindow*" style "menubar-borderless" +widget_class "*ThunarWindow**" style "toolbar_entry" +widget_class "*CajaNavigationWindow**" style "toolbar_entry" +widget_class "*ThunarWindow*" style "menubar" +widget_class "*CajaNavigationWindow*" style "menubar" -- cgit v1.2.3 From bab97a301f3e60f6383b10fdc7ea56b0db3c7373 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 5 Jun 2015 14:57:32 +0200 Subject: fix libreoffice menuitems --- common/gtk-2.0/gtkrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'common/gtk-2.0') diff --git a/common/gtk-2.0/gtkrc b/common/gtk-2.0/gtkrc index d117ca6..2dfebc4 100644 --- a/common/gtk-2.0/gtkrc +++ b/common/gtk-2.0/gtkrc @@ -689,7 +689,7 @@ style "menubar" { bg[NORMAL] = "#e7e8eb" fg[NORMAL] = "#70788d" - fg[SELECTED] = @selected_fg_color + fg[SELECTED] = @fg_color fg[INSENSITIVE] = shade(1.3, "#70788d") xthickness = 0 @@ -710,7 +710,7 @@ style "menubar-borderless" { bg[NORMAL] = "#e7e8eb" fg[NORMAL] = "#70788d" - fg[SELECTED] = @selected_fg_color + fg[SELECTED] = @fg_color fg[INSENSITIVE] = shade(1.3, "#70788d") xthickness = 0 @@ -770,10 +770,8 @@ style "menu_item" # highlight. The price to pay is black text on menus as well, # but at least it's readable. # See https://bugs.freedesktop.org/show_bug.cgi?id=38038 - bg[SELECTED] = @fg_color + bg[SELECTED] = @selected_fg_color - bg[PRELIGHT] = @fg_color - fg[PRELIGHT] = @fg_color text[PRELIGHT] = @fg_color engine "pixmap" { -- cgit v1.2.3