aboutsummaryrefslogtreecommitdiff
path: root/themes/Mint-X-Aqua/gtk-2.0/styles/menus.rc
blob: ae67ace8d9a22c7aa7c4b69f6365b8ad0ecafaf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
style "menubar" 
{
    GtkMenuBar::shadow-type = GTK_SHADOW_NONE
    
    xthickness = 1
    ythickness = 2
    
    engine "murrine"
    {
        contrast = 0.0
        gradient_shades = {1.0, 1.0, 1.0, 1.0}
        highlight_shade = 1.0
        menubarstyle = 0
        #menubaritemstyle = 1
        textstyle = 1
    }
}

style "menubar-menuitem" 
{
    xthickness = 6
    ythickness = 3
    
    bg[PRELIGHT] = @selected_bg_color
    bg[SELECTED] = @bg_color
    fg[PRELIGHT] = @selected_fg_color

    engine "murrine" 
    {
        contrast = .0 
        roundness = 3
        border_shades = { 0.8, 0.8 }
        gradient_shades = {1.0, 1.0, 0.85, 0.85}
        highlight_shade = 1.0
        menubaritemstyle = 1
        textstyle = 1
    }
}

style "menu" 
{
    xthickness = 0
    ythickness = 0

    bg[SELECTED] = @selected_bg_color
    bg[NORMAL] = @base_color
    bg[PRELIGHT] = @selected_bg_color
    bg[ACTIVE] = @base_color
    bg[INSENSITIVE] = @base_color
    fg[NORMAL] = @fg_color # Color for normal text.
    fg[PRELIGHT] = @base_color
    fg[SELECTED] = @base_color
    fg[ACTIVE] = @base_color
    fg[INSENSITIVE] = mix (0.4, @fg_color, @bg_color) # Text color for non-interactive menu items
    text[NORMAL] = @text_color # Color for menu-item radio/checks.
    base[NORMAL] = @bg_color # Color for menu-item radio/checks background.
    text[PRELIGHT] = @base_color
    text[SELECTED] = @base_color
    text[ACTIVE] = @fg_color
    text[INSENSITIVE] = mix (0.4, @fg_color, @bg_color)

    engine "murrine" 
    {
        arrowstyle = 1
        border_shades = {0.8, 0.8}
        gradient_shades = {1.1, 1.1, 0.94, 0.94}
        highlight_shade = 1.0
        menustyle = 0
        roundness = 0 # Roundness of menu items.
        textstyle = 0
    }
}

style "menu-item" 
{
    xthickness = 4
    ythickness = 4

    bg[SELECTED] = shade (0.95, @selected_bg_color)
    bg[PRELIGHT] = shade (0.95, @selected_bg_color)
    fg[PRELIGHT] = @selected_fg_color

    engine "murrine" 
    {
        border_shades = {1.0, 1.0}
        contrast = 0.8
        roundness = 0
        textstyle = 0
    }
}

# This style is there to modify the separator menu items. The goals are:
# 1. Get a specific height.
# 2. The line should go to the edges (ie. no border at the left/right)
style "menu-item-separator" 
{
    GtkSeparatorMenuItem::horizontal-padding = 0
    GtkWidget::wide-separators = 1
    GtkWidget::separator-width = 1
    GtkWidget::separator-height = 7
    
    xthickness = 1
    ythickness = 0
    
    bg[NORMAL] = @base_color # Remove for visible separators.
    
    engine "murrine" 
    {
        contrast = 0.8 # Set the contrast to 0.6 for visible separators.
        separatorstyle = 0
    }
}