aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-2.0/main.rc
diff options
context:
space:
mode:
authorHorst31802016-05-29 19:22:18 +0200
committerHorst31802016-05-29 19:22:18 +0200
commitca76d0e2e55cb9a6b69a29c19225c22bb50c6f96 (patch)
tree94b480739c9811fa2c72e2cf3bf57fa8293b3748 /common/gtk-2.0/main.rc
parent753130a3ba5386d485d519b4a93aea4d184c4850 (diff)
downloadsolarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.gz
solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.xz
solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.zip
use accent color for menu highlight (fix #135)
Diffstat (limited to 'common/gtk-2.0/main.rc')
-rw-r--r--common/gtk-2.0/main.rc39
1 files changed, 31 insertions, 8 deletions
diff --git a/common/gtk-2.0/main.rc b/common/gtk-2.0/main.rc
index 2a70e92..18da44a 100644
--- a/common/gtk-2.0/main.rc
+++ b/common/gtk-2.0/main.rc
@@ -708,7 +708,7 @@ style "menu_framed_box" {
style "menu_item"
{
xthickness = 2
- ythickness = 4
+ ythickness = 5
# HACK: Gtk doesn't actually read this value
# while rendering the menu items, but Libreoffice
@@ -720,10 +720,11 @@ style "menu_item"
# See https://bugs.freedesktop.org/show_bug.cgi?id=38038
bg[SELECTED] = @selected_fg_color
- fg[NORMAL] = @fg_color
- fg[SELECTED] = @fg_color
+ fg[NORMAL] = @fg_color
+ fg[SELECTED] = @selected_fg_color
- text[PRELIGHT] = @fg_color
+ fg[PRELIGHT] = @selected_fg_color
+ text[PRELIGHT] = @selected_fg_color
engine "pixmap" {
@@ -735,6 +736,28 @@ style "menu_item"
stretch = TRUE
}
+ # Fix invisible scale trough on selected menuitems
+
+ image {
+ function = BOX
+ detail = "trough-lower"
+ file = "assets/trough-horizontal.png"
+ border = { 8, 8, 0, 0 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ image {
+ function = SLIDER
+ state = PRELIGHT
+ file = "assets/null.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ overlay_file = "assets/slider.png"
+ overlay_stretch = FALSE
+ orientation = HORIZONTAL
+ }
+
# Check Buttons
image {
@@ -751,7 +774,7 @@ style "menu_item"
recolorable = TRUE
state = PRELIGHT
shadow = OUT
- overlay_file = "assets/menu-checkbox-unchecked.png"
+ overlay_file = "assets/menu-checkbox-unchecked-selected.png"
overlay_stretch = FALSE
}
@@ -787,7 +810,7 @@ style "menu_item"
recolorable = TRUE
state = PRELIGHT
shadow = IN
- overlay_file = "assets/menu-checkbox-checked.png"
+ overlay_file = "assets/menu-checkbox-checked-selected.png"
overlay_stretch = FALSE
}
@@ -823,7 +846,7 @@ style "menu_item"
function = OPTION
state = PRELIGHT
shadow = OUT
- overlay_file = "assets/menu-radio-unchecked.png"
+ overlay_file = "assets/menu-radio-unchecked-selected.png"
overlay_stretch = FALSE
}
@@ -855,7 +878,7 @@ style "menu_item"
function = OPTION
state = PRELIGHT
shadow = IN
- overlay_file = "assets/menu-radio-checked.png"
+ overlay_file = "assets/menu-radio-checked-selected.png"
overlay_stretch = FALSE
}