From 543d5a9a26acd8c3f2c7e89a63c5d58b5c8cfef0 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 30 May 2016 22:35:54 +0200 Subject: gtk2: fix entry styling (fix #547) --- common/gtk-2.0/apps.rc | 49 ++ common/gtk-2.0/assets-dark.svg | 516 +++++++++++++-------- .../assets-dark/combo-entry-focus-notebook-rtl.png | Bin 271 -> 222 bytes .../assets-dark/combo-entry-focus-notebook.png | Bin 254 -> 225 bytes .../gtk-2.0/assets-dark/combo-entry-focus-rtl.png | Bin 271 -> 232 bytes common/gtk-2.0/assets-dark/combo-entry-focus.png | Bin 254 -> 233 bytes .../assets-dark/combo-entry-notebook-rtl.png | Bin 269 -> 238 bytes .../gtk-2.0/assets-dark/combo-entry-notebook.png | Bin 251 -> 225 bytes common/gtk-2.0/assets-dark/combo-entry-rtl.png | Bin 269 -> 231 bytes common/gtk-2.0/assets-dark/combo-entry.png | Bin 251 -> 228 bytes common/gtk-2.0/assets-dark/entry-active-bg.png | Bin 0 -> 298 bytes .../gtk-2.0/assets-dark/entry-active-notebook.png | Bin 0 -> 265 bytes .../gtk-2.0/assets-dark/entry-active-toolbar.png | Bin 0 -> 280 bytes common/gtk-2.0/assets-dark/entry-bg.png | Bin 0 -> 298 bytes .../assets-dark/entry-border-active-bg-solid.png | Bin 298 -> 0 bytes .../gtk-2.0/assets-dark/entry-border-bg-solid.png | Bin 273 -> 0 bytes .../assets-dark/entry-border-disabled-bg.png | Bin 271 -> 0 bytes common/gtk-2.0/assets-dark/entry-border-fill.png | Bin 154 -> 0 bytes common/gtk-2.0/assets-dark/entry-disabled-bg.png | Bin 0 -> 271 bytes .../assets-dark/entry-disabled-notebook.png | Bin 0 -> 250 bytes .../gtk-2.0/assets-dark/entry-disabled-toolbar.png | Bin 0 -> 250 bytes common/gtk-2.0/assets-dark/entry-notebook.png | Bin 0 -> 269 bytes common/gtk-2.0/assets-dark/entry-toolbar.png | Bin 0 -> 267 bytes .../notebook-entry-border-active-bg.png | Bin 307 -> 0 bytes .../assets-dark/notebook-entry-border-bg.png | Bin 304 -> 0 bytes .../notebook-entry-border-disabled-bg.png | Bin 250 -> 0 bytes .../assets-dark/toolbar-entry-border-active-bg.png | Bin 301 -> 0 bytes .../assets-dark/toolbar-entry-border-bg.png | Bin 274 -> 0 bytes .../toolbar-entry-border-disabled-bg.png | Bin 250 -> 0 bytes common/gtk-2.0/assets.svg | 516 +++++++++++++-------- common/gtk-2.0/assets.txt | 19 +- .../assets/combo-entry-focus-notebook-rtl.png | Bin 269 -> 231 bytes .../gtk-2.0/assets/combo-entry-focus-notebook.png | Bin 251 -> 222 bytes common/gtk-2.0/assets/combo-entry-focus-rtl.png | Bin 269 -> 234 bytes common/gtk-2.0/assets/combo-entry-focus.png | Bin 256 -> 225 bytes .../combo-entry-insensitive-notebook-rtl.png | Bin 226 -> 226 bytes .../assets/combo-entry-insensitive-notebook.png | Bin 218 -> 218 bytes common/gtk-2.0/assets/combo-entry-notebook-rtl.png | Bin 259 -> 216 bytes common/gtk-2.0/assets/combo-entry-notebook.png | Bin 247 -> 214 bytes common/gtk-2.0/assets/combo-entry-rtl.png | Bin 259 -> 220 bytes common/gtk-2.0/assets/combo-entry.png | Bin 251 -> 217 bytes common/gtk-2.0/assets/entry-active-bg.png | Bin 0 -> 267 bytes common/gtk-2.0/assets/entry-active-notebook.png | Bin 0 -> 245 bytes common/gtk-2.0/assets/entry-active-toolbar.png | Bin 0 -> 276 bytes common/gtk-2.0/assets/entry-bg.png | Bin 0 -> 230 bytes .../assets/entry-border-active-bg-solid.png | Bin 267 -> 0 bytes common/gtk-2.0/assets/entry-border-bg-solid.png | Bin 230 -> 0 bytes common/gtk-2.0/assets/entry-border-disabled-bg.png | Bin 226 -> 0 bytes common/gtk-2.0/assets/entry-border-fill.png | Bin 154 -> 0 bytes common/gtk-2.0/assets/entry-disabled-bg.png | Bin 0 -> 226 bytes common/gtk-2.0/assets/entry-disabled-notebook.png | Bin 0 -> 250 bytes common/gtk-2.0/assets/entry-disabled-toolbar.png | Bin 0 -> 251 bytes common/gtk-2.0/assets/entry-notebook.png | Bin 0 -> 237 bytes common/gtk-2.0/assets/entry-toolbar.png | Bin 0 -> 247 bytes .../assets/notebook-entry-border-active-bg.png | Bin 292 -> 0 bytes common/gtk-2.0/assets/notebook-entry-border-bg.png | Bin 268 -> 0 bytes .../assets/notebook-entry-border-disabled-bg.png | Bin 250 -> 0 bytes .../assets/toolbar-entry-border-active-bg.png | Bin 303 -> 0 bytes common/gtk-2.0/assets/toolbar-entry-border-bg.png | Bin 294 -> 0 bytes .../assets/toolbar-entry-border-disabled-bg.png | Bin 251 -> 0 bytes common/gtk-2.0/main.rc | 172 +------ .../menubar-toolbar/entry-active-toolbar-dark.png | Bin 0 -> 280 bytes .../menubar-toolbar/entry-active-toolbar.png | Bin 0 -> 276 bytes .../entry-disabled-toolbar-dark.png | Bin 0 -> 250 bytes .../menubar-toolbar/entry-disabled-toolbar.png | Bin 0 -> 251 bytes .../gtk-2.0/menubar-toolbar/entry-toolbar-dark.png | Bin 0 -> 267 bytes common/gtk-2.0/menubar-toolbar/entry-toolbar.png | Bin 0 -> 247 bytes .../menubar-toolbar/menubar-toolbar-dark.rc | 42 +- common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc | 42 +- .../toolbar-entry-border-active-bg-dark.png | Bin 409 -> 0 bytes .../toolbar-entry-border-active-bg.png | Bin 391 -> 0 bytes .../toolbar-entry-border-bg-dark.png | Bin 352 -> 0 bytes .../menubar-toolbar/toolbar-entry-border-bg.png | Bin 366 -> 0 bytes .../toolbar-entry-border-disabled-bg-dark.png | Bin 321 -> 0 bytes .../toolbar-entry-border-disabled-bg.png | Bin 321 -> 0 bytes 75 files changed, 739 insertions(+), 617 deletions(-) create mode 100644 common/gtk-2.0/assets-dark/entry-active-bg.png create mode 100644 common/gtk-2.0/assets-dark/entry-active-notebook.png create mode 100644 common/gtk-2.0/assets-dark/entry-active-toolbar.png create mode 100644 common/gtk-2.0/assets-dark/entry-bg.png delete mode 100644 common/gtk-2.0/assets-dark/entry-border-active-bg-solid.png delete mode 100644 common/gtk-2.0/assets-dark/entry-border-bg-solid.png delete mode 100644 common/gtk-2.0/assets-dark/entry-border-disabled-bg.png delete mode 100644 common/gtk-2.0/assets-dark/entry-border-fill.png create mode 100644 common/gtk-2.0/assets-dark/entry-disabled-bg.png create mode 100644 common/gtk-2.0/assets-dark/entry-disabled-notebook.png create mode 100644 common/gtk-2.0/assets-dark/entry-disabled-toolbar.png create mode 100644 common/gtk-2.0/assets-dark/entry-notebook.png create mode 100644 common/gtk-2.0/assets-dark/entry-toolbar.png delete mode 100644 common/gtk-2.0/assets-dark/notebook-entry-border-active-bg.png delete mode 100644 common/gtk-2.0/assets-dark/notebook-entry-border-bg.png delete mode 100644 common/gtk-2.0/assets-dark/notebook-entry-border-disabled-bg.png delete mode 100644 common/gtk-2.0/assets-dark/toolbar-entry-border-active-bg.png delete mode 100644 common/gtk-2.0/assets-dark/toolbar-entry-border-bg.png delete mode 100644 common/gtk-2.0/assets-dark/toolbar-entry-border-disabled-bg.png create mode 100644 common/gtk-2.0/assets/entry-active-bg.png create mode 100644 common/gtk-2.0/assets/entry-active-notebook.png create mode 100644 common/gtk-2.0/assets/entry-active-toolbar.png create mode 100644 common/gtk-2.0/assets/entry-bg.png delete mode 100644 common/gtk-2.0/assets/entry-border-active-bg-solid.png delete mode 100644 common/gtk-2.0/assets/entry-border-bg-solid.png delete mode 100644 common/gtk-2.0/assets/entry-border-disabled-bg.png delete mode 100644 common/gtk-2.0/assets/entry-border-fill.png create mode 100644 common/gtk-2.0/assets/entry-disabled-bg.png create mode 100644 common/gtk-2.0/assets/entry-disabled-notebook.png create mode 100644 common/gtk-2.0/assets/entry-disabled-toolbar.png create mode 100644 common/gtk-2.0/assets/entry-notebook.png create mode 100644 common/gtk-2.0/assets/entry-toolbar.png delete mode 100644 common/gtk-2.0/assets/notebook-entry-border-active-bg.png delete mode 100644 common/gtk-2.0/assets/notebook-entry-border-bg.png delete mode 100644 common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png delete mode 100644 common/gtk-2.0/assets/toolbar-entry-border-active-bg.png delete mode 100644 common/gtk-2.0/assets/toolbar-entry-border-bg.png delete mode 100644 common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-active-toolbar-dark.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-active-toolbar.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar-dark.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-toolbar-dark.png create mode 100644 common/gtk-2.0/menubar-toolbar/entry-toolbar.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg-dark.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg-dark.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg-dark.png delete mode 100644 common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg.png (limited to 'common') diff --git a/common/gtk-2.0/apps.rc b/common/gtk-2.0/apps.rc index 6a010b0..2fcbdd5 100644 --- a/common/gtk-2.0/apps.rc +++ b/common/gtk-2.0/apps.rc @@ -25,3 +25,52 @@ widget_class "*ThunarWindow*." style "thunar-frame" widget_class "*ThunarShortcutsView*" style "dark-sidebar" widget_class "*ThunarTreeView*" style "dark-sidebar" widget_class "*ThunarWindow*." style "thunar-handle" + +# +# Mousepad +# + +style "entry_border" { + + engine "pixmap" { + + image { + function = SHADOW + detail = "entry" + state = NORMAL + shadow = IN + file = "assets/entry-border-bg.png" + border = { 12, 12, 12, 12 } + stretch = TRUE + } + + image { + function = SHADOW + detail = "entry" + state = ACTIVE + file = "assets/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 + } + } +} + +widget_class "*MousepadSearchBar*." style "entry_border" diff --git a/common/gtk-2.0/assets-dark.svg b/common/gtk-2.0/assets-dark.svg index ee913d7..83c6a16 100644 --- a/common/gtk-2.0/assets-dark.svg +++ b/common/gtk-2.0/assets-dark.svg @@ -565,9 +565,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="11.313708" - inkscape:cx="243.54683" - inkscape:cy="369.23846" + inkscape:zoom="2.8284271" + inkscape:cx="32.121536" + inkscape:cy="224.28999" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" @@ -1753,8 +1753,8 @@ transform="matrix(1.9947791,0,0,1.9939719,403.25667,278.01933)" id="sjhgfjsgf-2" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - + + - + + + x="-91" + y="-279.63782" + rx="0" + ry="0" + transform="scale(-1,1)" /> - + + - + + + x="-91" + y="-279.63782" + rx="0" + ry="0" + transform="scale(-1,1)" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - - - - - - - - - - - - - - - - + + + + + + + + diff --git a/common/gtk-2.0/assets-dark/combo-entry-focus-notebook-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-focus-notebook-rtl.png index 3d78384..0e5ada5 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-focus-notebook-rtl.png and b/common/gtk-2.0/assets-dark/combo-entry-focus-notebook-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-focus-notebook.png b/common/gtk-2.0/assets-dark/combo-entry-focus-notebook.png index 2ebd63a..850b3f2 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-focus-notebook.png and b/common/gtk-2.0/assets-dark/combo-entry-focus-notebook.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-focus-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-focus-rtl.png index d8f8d55..ce55a18 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-focus-rtl.png and b/common/gtk-2.0/assets-dark/combo-entry-focus-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-focus.png b/common/gtk-2.0/assets-dark/combo-entry-focus.png index e1e35fd..75e2590 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-focus.png and b/common/gtk-2.0/assets-dark/combo-entry-focus.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-notebook-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-notebook-rtl.png index f21d25b..4753a67 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-notebook-rtl.png and b/common/gtk-2.0/assets-dark/combo-entry-notebook-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-notebook.png b/common/gtk-2.0/assets-dark/combo-entry-notebook.png index 1fbe1f4..bd883b7 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-notebook.png and b/common/gtk-2.0/assets-dark/combo-entry-notebook.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry-rtl.png b/common/gtk-2.0/assets-dark/combo-entry-rtl.png index 5b35cb0..8150968 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry-rtl.png and b/common/gtk-2.0/assets-dark/combo-entry-rtl.png differ diff --git a/common/gtk-2.0/assets-dark/combo-entry.png b/common/gtk-2.0/assets-dark/combo-entry.png index 1238651..5bd299b 100644 Binary files a/common/gtk-2.0/assets-dark/combo-entry.png and b/common/gtk-2.0/assets-dark/combo-entry.png differ diff --git a/common/gtk-2.0/assets-dark/entry-active-bg.png b/common/gtk-2.0/assets-dark/entry-active-bg.png new file mode 100644 index 0000000..1eb9453 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-active-bg.png differ diff --git a/common/gtk-2.0/assets-dark/entry-active-notebook.png b/common/gtk-2.0/assets-dark/entry-active-notebook.png new file mode 100644 index 0000000..b49b365 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-active-notebook.png differ diff --git a/common/gtk-2.0/assets-dark/entry-active-toolbar.png b/common/gtk-2.0/assets-dark/entry-active-toolbar.png new file mode 100644 index 0000000..ac880fb Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-active-toolbar.png differ diff --git a/common/gtk-2.0/assets-dark/entry-bg.png b/common/gtk-2.0/assets-dark/entry-bg.png new file mode 100644 index 0000000..6665512 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-bg.png differ diff --git a/common/gtk-2.0/assets-dark/entry-border-active-bg-solid.png b/common/gtk-2.0/assets-dark/entry-border-active-bg-solid.png deleted file mode 100644 index 1eb9453..0000000 Binary files a/common/gtk-2.0/assets-dark/entry-border-active-bg-solid.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/entry-border-bg-solid.png b/common/gtk-2.0/assets-dark/entry-border-bg-solid.png deleted file mode 100644 index e7f3a9c..0000000 Binary files a/common/gtk-2.0/assets-dark/entry-border-bg-solid.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/entry-border-disabled-bg.png b/common/gtk-2.0/assets-dark/entry-border-disabled-bg.png deleted file mode 100644 index fe639fa..0000000 Binary files a/common/gtk-2.0/assets-dark/entry-border-disabled-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/entry-border-fill.png b/common/gtk-2.0/assets-dark/entry-border-fill.png deleted file mode 100644 index 387a98b..0000000 Binary files a/common/gtk-2.0/assets-dark/entry-border-fill.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/entry-disabled-bg.png b/common/gtk-2.0/assets-dark/entry-disabled-bg.png new file mode 100644 index 0000000..fe639fa Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-disabled-bg.png differ diff --git a/common/gtk-2.0/assets-dark/entry-disabled-notebook.png b/common/gtk-2.0/assets-dark/entry-disabled-notebook.png new file mode 100644 index 0000000..b3c4d17 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-disabled-notebook.png differ diff --git a/common/gtk-2.0/assets-dark/entry-disabled-toolbar.png b/common/gtk-2.0/assets-dark/entry-disabled-toolbar.png new file mode 100644 index 0000000..d6f19b7 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-disabled-toolbar.png differ diff --git a/common/gtk-2.0/assets-dark/entry-notebook.png b/common/gtk-2.0/assets-dark/entry-notebook.png new file mode 100644 index 0000000..cb3ede2 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-notebook.png differ diff --git a/common/gtk-2.0/assets-dark/entry-toolbar.png b/common/gtk-2.0/assets-dark/entry-toolbar.png new file mode 100644 index 0000000..5c04ca3 Binary files /dev/null and b/common/gtk-2.0/assets-dark/entry-toolbar.png differ diff --git a/common/gtk-2.0/assets-dark/notebook-entry-border-active-bg.png b/common/gtk-2.0/assets-dark/notebook-entry-border-active-bg.png deleted file mode 100644 index 60dad2a..0000000 Binary files a/common/gtk-2.0/assets-dark/notebook-entry-border-active-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/notebook-entry-border-bg.png b/common/gtk-2.0/assets-dark/notebook-entry-border-bg.png deleted file mode 100644 index 37a9dc8..0000000 Binary files a/common/gtk-2.0/assets-dark/notebook-entry-border-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/notebook-entry-border-disabled-bg.png b/common/gtk-2.0/assets-dark/notebook-entry-border-disabled-bg.png deleted file mode 100644 index b3c4d17..0000000 Binary files a/common/gtk-2.0/assets-dark/notebook-entry-border-disabled-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/toolbar-entry-border-active-bg.png b/common/gtk-2.0/assets-dark/toolbar-entry-border-active-bg.png deleted file mode 100644 index 28d08e5..0000000 Binary files a/common/gtk-2.0/assets-dark/toolbar-entry-border-active-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/toolbar-entry-border-bg.png b/common/gtk-2.0/assets-dark/toolbar-entry-border-bg.png deleted file mode 100644 index a8dd05d..0000000 Binary files a/common/gtk-2.0/assets-dark/toolbar-entry-border-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets-dark/toolbar-entry-border-disabled-bg.png b/common/gtk-2.0/assets-dark/toolbar-entry-border-disabled-bg.png deleted file mode 100644 index d6f19b7..0000000 Binary files a/common/gtk-2.0/assets-dark/toolbar-entry-border-disabled-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets.svg b/common/gtk-2.0/assets.svg index 6d149fc..c6bdc86 100644 --- a/common/gtk-2.0/assets.svg +++ b/common/gtk-2.0/assets.svg @@ -565,12 +565,12 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="7.9999999" - inkscape:cx="263.38272" - inkscape:cy="373.79667" + inkscape:zoom="4" + inkscape:cx="70.918098" + inkscape:cy="184.39866" inkscape:document-units="px" inkscape:current-layer="layer1" - showgrid="false" + showgrid="true" showborder="false" inkscape:window-width="1366" inkscape:window-height="720" @@ -1736,7 +1736,7 @@ id="sjhgfjsgf-2" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - + + - + + + x="-91" + y="-279.63782" + rx="0" + ry="0" + transform="scale(-1,1)" /> - + + - + + + x="-91" + y="-279.63782" + rx="0" + ry="0" + transform="scale(-1,1)" /> - + + - + + + y="-279.63782" + rx="0" + ry="0" /> - - - - - - - - - - - - - - - - + + + + + + + + diff --git a/common/gtk-2.0/assets.txt b/common/gtk-2.0/assets.txt index 08e3959..8ebc233 100644 --- a/common/gtk-2.0/assets.txt +++ b/common/gtk-2.0/assets.txt @@ -42,18 +42,17 @@ menu-radio-checked-insensitive menu-radio-unchecked menu-radio-unchecked-selected menu-radio-unchecked-insensitive -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 +entry-bg +entry-active-bg +entry-disabled-bg +entry-notebook +entry-active-notebook +entry-disabled-notebook +entry-toolbar +entry-active-toolbar +entry-disabled-toolbar combo-entry combo-entry-focus combo-entry-insensitive 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 ee73552..689534b 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 888aa9b..d223057 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 2380d75..f59ae2a 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 c7e7a6e..d04c9e5 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-insensitive-notebook-rtl.png b/common/gtk-2.0/assets/combo-entry-insensitive-notebook-rtl.png index 8e6d815..b41c462 100644 Binary files a/common/gtk-2.0/assets/combo-entry-insensitive-notebook-rtl.png and b/common/gtk-2.0/assets/combo-entry-insensitive-notebook-rtl.png differ diff --git a/common/gtk-2.0/assets/combo-entry-insensitive-notebook.png b/common/gtk-2.0/assets/combo-entry-insensitive-notebook.png index 7ccb9d3..9e52513 100644 Binary files a/common/gtk-2.0/assets/combo-entry-insensitive-notebook.png and b/common/gtk-2.0/assets/combo-entry-insensitive-notebook.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 9f877d8..24329de 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 c29a8fb..c82543e 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 4039597..aacb10e 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 da69e19..df09596 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-active-bg.png b/common/gtk-2.0/assets/entry-active-bg.png new file mode 100644 index 0000000..7f15479 Binary files /dev/null and b/common/gtk-2.0/assets/entry-active-bg.png differ diff --git a/common/gtk-2.0/assets/entry-active-notebook.png b/common/gtk-2.0/assets/entry-active-notebook.png new file mode 100644 index 0000000..a314dc7 Binary files /dev/null and b/common/gtk-2.0/assets/entry-active-notebook.png differ diff --git a/common/gtk-2.0/assets/entry-active-toolbar.png b/common/gtk-2.0/assets/entry-active-toolbar.png new file mode 100644 index 0000000..359b399 Binary files /dev/null and b/common/gtk-2.0/assets/entry-active-toolbar.png differ diff --git a/common/gtk-2.0/assets/entry-bg.png b/common/gtk-2.0/assets/entry-bg.png new file mode 100644 index 0000000..b185009 Binary files /dev/null and b/common/gtk-2.0/assets/entry-bg.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 deleted file mode 100644 index 7f15479..0000000 Binary files a/common/gtk-2.0/assets/entry-border-active-bg-solid.png and /dev/null 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 deleted file mode 100644 index b185009..0000000 Binary files a/common/gtk-2.0/assets/entry-border-bg-solid.png and /dev/null 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 deleted file mode 100644 index d550136..0000000 Binary files a/common/gtk-2.0/assets/entry-border-disabled-bg.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-border-fill.png b/common/gtk-2.0/assets/entry-border-fill.png deleted file mode 100644 index 15f6746..0000000 Binary files a/common/gtk-2.0/assets/entry-border-fill.png and /dev/null differ diff --git a/common/gtk-2.0/assets/entry-disabled-bg.png b/common/gtk-2.0/assets/entry-disabled-bg.png new file mode 100644 index 0000000..d550136 Binary files /dev/null and b/common/gtk-2.0/assets/entry-disabled-bg.png differ diff --git a/common/gtk-2.0/assets/entry-disabled-notebook.png b/common/gtk-2.0/assets/entry-disabled-notebook.png new file mode 100644 index 0000000..91b4c2d Binary files /dev/null and b/common/gtk-2.0/assets/entry-disabled-notebook.png differ diff --git a/common/gtk-2.0/assets/entry-disabled-toolbar.png b/common/gtk-2.0/assets/entry-disabled-toolbar.png new file mode 100644 index 0000000..074826b Binary files /dev/null and b/common/gtk-2.0/assets/entry-disabled-toolbar.png differ diff --git a/common/gtk-2.0/assets/entry-notebook.png b/common/gtk-2.0/assets/entry-notebook.png new file mode 100644 index 0000000..0ccc4ed Binary files /dev/null and b/common/gtk-2.0/assets/entry-notebook.png differ diff --git a/common/gtk-2.0/assets/entry-toolbar.png b/common/gtk-2.0/assets/entry-toolbar.png new file mode 100644 index 0000000..885a5d8 Binary files /dev/null and b/common/gtk-2.0/assets/entry-toolbar.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 deleted file mode 100644 index 66092de..0000000 Binary files a/common/gtk-2.0/assets/notebook-entry-border-active-bg.png and /dev/null 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 deleted file mode 100644 index 3d4c05b..0000000 Binary files a/common/gtk-2.0/assets/notebook-entry-border-bg.png and /dev/null 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 deleted file mode 100644 index 1ea2ede..0000000 Binary files a/common/gtk-2.0/assets/notebook-entry-border-disabled-bg.png and /dev/null 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 deleted file mode 100644 index aa5c284..0000000 Binary files a/common/gtk-2.0/assets/toolbar-entry-border-active-bg.png and /dev/null 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 deleted file mode 100644 index cbd444c..0000000 Binary files a/common/gtk-2.0/assets/toolbar-entry-border-bg.png and /dev/null 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 deleted file mode 100644 index 074826b..0000000 Binary files a/common/gtk-2.0/assets/toolbar-entry-border-disabled-bg.png and /dev/null differ diff --git a/common/gtk-2.0/main.rc b/common/gtk-2.0/main.rc index 18da44a..1d22cbb 100644 --- a/common/gtk-2.0/main.rc +++ b/common/gtk-2.0/main.rc @@ -981,110 +981,70 @@ style "entry" { ythickness = 4 base[NORMAL] = @base_color + base[ACTIVE] = @base_color base[INSENSITIVE] = @insensitive_bg_color engine "pixmap" { image { function = SHADOW - detail = "entry" state = NORMAL - shadow = IN - file = "assets/entry-border-bg.png" - border = { 12, 12, 12, 12 } + detail = "entry" + file = "assets/entry-bg.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = ACTIVE detail = "entry" - state = INSENSITIVE - shadow = IN - file = "assets/entry-border-disabled-bg.png" - border = { 12, 12, 12, 12 } + file = "assets/entry-active-bg.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = INSENSITIVE detail = "entry" - state = ACTIVE - file = "assets/entry-border-active-bg.png" - border = { 12, 12, 12, 12 } + file = "assets/entry-disabled-bg.png" + border = {6, 6, 6, 6} 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 - } } } style "notebook_entry" { - xthickness = 6 engine "pixmap" { image { function = SHADOW - detail = "entry" state = NORMAL - shadow = IN - file = "assets/notebook-entry-border-bg.png" - border = { 12, 12, 12, 12 } + detail = "entry" + file = "assets/entry-notebook.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = ACTIVE detail = "entry" - state = INSENSITIVE - shadow = IN - file = "assets/notebook-entry-border-disabled-bg.png" - border = { 12, 12, 12, 12 } + file = "assets/entry-active-notebook.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = INSENSITIVE detail = "entry" - state = ACTIVE - file = "assets/notebook-entry-border-active-bg.png" - border = { 12, 12, 12, 12 } + file = "assets/entry-disabled-notebook.png" + border = {6, 6, 6, 6} 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 - } } } @@ -1629,92 +1589,6 @@ style "gimp_spin_scale" { } } -style "libreoffice_entry" { - - engine "pixmap" { - - image { - function = FLAT_BOX - detail = "entry_bg" - state = NORMAL - overlay_file = "assets/entry-border-fill.png" - overlay_border = { 0, 0, 0, 0 } - overlay_stretch = TRUE - } - - image { - function = FLAT_BOX - detail = "entry_bg" - state = ACTIVE - overlay_file = "assets/entry-border-fill.png" - overlay_border = { 0, 0, 0, 0 } - overlay_stretch = TRUE - } - - image { - function = SHADOW - detail = "entry" - state = NORMAL - shadow = IN - file = "assets/entry-border-bg-solid.png" - border = { 12, 12, 12, 12 } - stretch = TRUE - } - - image { - function = SHADOW - detail = "entry" - state = ACTIVE - file = "assets/entry-border-active-bg-solid.png" - border = { 12, 12, 12, 12 } - stretch = TRUE - } - } -} - -style "standalone_entry" { - - engine "pixmap" { - - image { - function = FLAT_BOX - detail = "entry_bg" - state = NORMAL - file = "assets/entry-border-fill.png" - stretch = TRUE - border = { 0, 0, 0, 0 } - } - - image { - function = FLAT_BOX - detail = "entry_bg" - state = ACTIVE - file = "assets/entry-border-fill.png" - stretch = TRUE - border = { 0, 0, 0, 0 } - } - - image { - function = SHADOW - detail = "entry" - state = NORMAL - shadow = IN - file = "assets/entry-border-bg-solid.png" - border = { 12, 12, 12, 12 } - stretch = TRUE - } - - image { - function = SHADOW - detail = "entry" - state = ACTIVE - file = "assets/entry-border-active-bg-solid.png" - border = { 12, 12, 12, 12 } - stretch = TRUE - } - } -} - style "notebook" { xthickness = 5 @@ -2434,10 +2308,6 @@ widget_class "**" style "gimp_ widget_class "*Chrom*Button*" style "button" widget_class "***" style "chrome_menu_item" -# We use this weird selector to target an offscreen entry as created -# by Chrome/Chromium to derive the style for its toolbar -widget_class "" style "standalone_entry" - # Eclipse/SWT widget "gtk-tooltips*" style "eclipse-tooltips" widget "*swt-toolbar-flat" style "null" @@ -2445,10 +2315,6 @@ widget "*swt-toolbar-flat" style "null" # Openoffice, Libreoffice class "GtkWindow" style "toplevel_hack" widget "*openoffice-toplevel*" style "ooo_stepper_hack" -widget "*openoffice-toplevel*GtkEntry" style "libreoffice_entry" -widget "*openoffice-toplevel*GtkSpinButton" style "libreoffice_entry" -widget "*libreoffice-toplevel*GtkEntry" style "libreoffice_entry" -widget "*libreoffice-toplevel*GtkSpinButton" style "libreoffice_entry" # Xfce widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" diff --git a/common/gtk-2.0/menubar-toolbar/entry-active-toolbar-dark.png b/common/gtk-2.0/menubar-toolbar/entry-active-toolbar-dark.png new file mode 100644 index 0000000..ac880fb Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-active-toolbar-dark.png differ diff --git a/common/gtk-2.0/menubar-toolbar/entry-active-toolbar.png b/common/gtk-2.0/menubar-toolbar/entry-active-toolbar.png new file mode 100644 index 0000000..359b399 Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-active-toolbar.png differ diff --git a/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar-dark.png b/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar-dark.png new file mode 100644 index 0000000..d6f19b7 Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar-dark.png differ diff --git a/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar.png b/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar.png new file mode 100644 index 0000000..074826b Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-disabled-toolbar.png differ diff --git a/common/gtk-2.0/menubar-toolbar/entry-toolbar-dark.png b/common/gtk-2.0/menubar-toolbar/entry-toolbar-dark.png new file mode 100644 index 0000000..5c04ca3 Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-toolbar-dark.png differ diff --git a/common/gtk-2.0/menubar-toolbar/entry-toolbar.png b/common/gtk-2.0/menubar-toolbar/entry-toolbar.png new file mode 100644 index 0000000..885a5d8 Binary files /dev/null and b/common/gtk-2.0/menubar-toolbar/entry-toolbar.png differ diff --git a/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc b/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc index 122443c..4ebb209 100644 --- a/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc +++ b/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc @@ -126,9 +126,9 @@ style "toolbar_button" { } style "toolbar_entry" { - xthickness = 6 - base[NORMAL] = "#414857" + base[NORMAL] = "#404552" + base[ACTIVE] = "#404552" base[INSENSITIVE] = "#39404d" text[NORMAL] = "#afb8c5" @@ -137,50 +137,30 @@ style "toolbar_entry" { image { function = SHADOW - detail = "entry" state = NORMAL - shadow = IN - file = "menubar-toolbar/toolbar-entry-border-bg-dark.png" - border = { 12, 12, 12, 12 } + detail = "entry" + file = "menubar-toolbar/entry-toolbar-dark.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = ACTIVE detail = "entry" - state = INSENSITIVE - shadow = IN - file = "menubar-toolbar/toolbar-entry-border-disabled-bg-dark.png" - border = { 12, 12, 12, 12 } + file = "menubar-toolbar/entry-active-toolbar-dark.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = INSENSITIVE detail = "entry" - state = ACTIVE - file = "menubar-toolbar/toolbar-entry-border-active-bg-dark.png" - border = { 12, 12, 12, 12 } + file = "menubar-toolbar/entry-disabled-toolbar-dark.png" + border = {6, 6, 6, 6} 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 - } } } diff --git a/common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc b/common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc index c02626d..5a9f177 100644 --- a/common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc +++ b/common/gtk-2.0/menubar-toolbar/menubar-toolbar.rc @@ -71,10 +71,6 @@ style "menubar-text" { } style "toolbar_entry" { - xthickness = 6 - - base[NORMAL] = "#fdfdfd" - base[INSENSITIVE] = "#f4f5f6" text[NORMAL] = "#70788d" @@ -82,50 +78,30 @@ style "toolbar_entry" { image { function = SHADOW - detail = "entry" state = NORMAL - shadow = IN - file = "menubar-toolbar/toolbar-entry-border-bg.png" - border = { 12, 12, 12, 12 } + detail = "entry" + file = "menubar-toolbar/entry-toolbar.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = ACTIVE detail = "entry" - state = INSENSITIVE - shadow = IN - file = "menubar-toolbar/toolbar-entry-border-disabled-bg.png" - border = { 12, 12, 12, 12 } + file = "menubar-toolbar/entry-active-toolbar.png" + border = {6, 6, 6, 6} stretch = TRUE } image { function = SHADOW + state = INSENSITIVE detail = "entry" - state = ACTIVE - file = "menubar-toolbar/toolbar-entry-border-active-bg.png" - border = { 12, 12, 12, 12 } + file = "menubar-toolbar/entry-disabled-toolbar.png" + border = {6, 6, 6, 6} 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 - } } } diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg-dark.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg-dark.png deleted file mode 100644 index 4c358b3..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg-dark.png and /dev/null differ diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg.png deleted file mode 100644 index 427548a..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-active-bg.png and /dev/null differ diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg-dark.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg-dark.png deleted file mode 100644 index 716060a..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg-dark.png and /dev/null differ diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg.png deleted file mode 100644 index 320deb9..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-bg.png and /dev/null differ diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg-dark.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg-dark.png deleted file mode 100644 index 8304a5d..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg-dark.png and /dev/null differ diff --git a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg.png b/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg.png deleted file mode 100644 index 512d5bd..0000000 Binary files a/common/gtk-2.0/menubar-toolbar/toolbar-entry-border-disabled-bg.png and /dev/null differ -- cgit v1.2.3