1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

gtk2 toolbar and entry fixes

This commit is contained in:
Horst3180 2015-06-05 12:41:31 +02:00
parent 68c972ea0c
commit 29d46e2970
34 changed files with 620 additions and 367 deletions

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -38,15 +38,17 @@ menu-radio-checked
menu-radio-checked-insensitive menu-radio-checked-insensitive
menu-radio-unchecked menu-radio-unchecked
menu-radio-unchecked-insensitive menu-radio-unchecked-insensitive
entry entry-border-bg-solid
entry-focus entry-border-active-bg-solid
entry-insensitive entry-border-disabled-bg
entry-notebook entry-border-bg
entry-focus-notebook entry-border-active-bg
entry-insensitive-notebook notebook-entry-border-bg
entry-toolbar notebook-entry-border-active-bg
entry-focus-toolbar notebook-entry-border-disabled-bg
entry-insensitive-toolbar toolbar-entry-border-bg
toolbar-entry-border-active-bg
toolbar-entry-border-disabled-bg
entry-border-fill entry-border-fill
combo-entry combo-entry
combo-entry-focus combo-entry-focus
@ -115,3 +117,4 @@ tab-left-active
tab-right-active tab-right-active
inline-toolbar inline-toolbar
toolbar toolbar
menubar

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 254 B

View File

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

View File

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

View File

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

View File

Before

Width:  |  Height:  |  Size: 647 B

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

View File

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 183 B

View File

@ -694,8 +694,41 @@ style "menubar" {
xthickness = 0 xthickness = 0
ythickness = 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" { style "menu" {
xthickness = 0 xthickness = 0
@ -1046,7 +1079,7 @@ style "entry" {
detail = "entry" detail = "entry"
state = NORMAL state = NORMAL
shadow = IN shadow = IN
file = "assets/entry.png" file = "assets/entry-border-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1056,7 +1089,7 @@ style "entry" {
detail = "entry" detail = "entry"
state = INSENSITIVE state = INSENSITIVE
shadow = IN shadow = IN
file = "assets/entry-insensitive.png" file = "assets/entry-border-disabled-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1065,7 +1098,7 @@ style "entry" {
function = SHADOW function = SHADOW
detail = "entry" detail = "entry"
state = ACTIVE state = ACTIVE
file = "assets/entry-focus.png" file = "assets/entry-border-active-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1100,7 +1133,7 @@ style "notebook_entry" {
detail = "entry" detail = "entry"
state = NORMAL state = NORMAL
shadow = IN shadow = IN
file = "assets/entry-notebook.png" file = "assets/notebook-entry-border-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1110,7 +1143,7 @@ style "notebook_entry" {
detail = "entry" detail = "entry"
state = INSENSITIVE state = INSENSITIVE
shadow = IN shadow = IN
file = "assets/entry-insensitive-notebook.png" file = "assets/notebook-entry-border-disabled-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1119,10 +1152,28 @@ style "notebook_entry" {
function = SHADOW function = SHADOW
detail = "entry" detail = "entry"
state = ACTIVE state = ACTIVE
file = "assets/entry-focus-notebook.png" file = "assets/notebook-entry-border-active-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE 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" detail = "entry"
state = NORMAL state = NORMAL
shadow = IN shadow = IN
file = "assets/entry-toolbar.png" file = "assets/toolbar-entry-border-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1146,7 +1197,7 @@ style "toolbar_entry" {
detail = "entry" detail = "entry"
state = INSENSITIVE state = INSENSITIVE
shadow = IN shadow = IN
file = "assets/entry-insensitive-toolbar.png" file = "assets/toolbar-entry-border-disabled-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1155,10 +1206,28 @@ style "toolbar_entry" {
function = SHADOW function = SHADOW
detail = "entry" detail = "entry"
state = ACTIVE state = ACTIVE
file = "assets/entry-focus-toolbar.png" file = "assets/toolbar-entry-border-active-bg.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE 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" detail = "entry"
state = NORMAL state = NORMAL
shadow = IN shadow = IN
file = "assets/entry.png" file = "assets/entry-border-bg-solid.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1739,7 +1808,7 @@ style "libreoffice_entry" {
function = SHADOW function = SHADOW
detail = "entry" detail = "entry"
state = ACTIVE state = ACTIVE
file = "assets/entry-focus.png" file = "assets/entry-border-active-bg-solid.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1773,7 +1842,7 @@ style "standalone_entry" {
detail = "entry" detail = "entry"
state = NORMAL state = NORMAL
shadow = IN shadow = IN
file = "assets/entry.png" file = "assets/entry-border-bg-solid.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1782,7 +1851,7 @@ style "standalone_entry" {
function = SHADOW function = SHADOW
detail = "entry" detail = "entry"
state = ACTIVE state = ACTIVE
file = "assets/entry-focus.png" file = "assets/entry-border-active-bg-solid.png"
border = { 12, 12, 12, 12 } border = { 12, 12, 12, 12 }
stretch = TRUE stretch = TRUE
} }
@ -1964,7 +2033,7 @@ style "combobox_button" {
} }
style "range" { style "range" {
engine "pixmap" { engine "pixmap" {
image { image {
@ -2479,8 +2548,8 @@ widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>" styl
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry" widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry"
# The same thing for toolbars # The same thing for toolbars
widget_class "*<GtkToolbar>*<GtkEntry>" style "toolbar_entry" #widget_class "*<GtkToolbar>*<GtkEntry>" style "toolbar_entry"
widget_class "*<GtkToolbar>*<GtkEventBox>*<GtkEntry>" style "entry" #widget_class "*<GtkToolbar>*<GtkEventBox>*<GtkEntry>" style "entry"
# We also need to avoid changing fg color for the inactive notebook tab labels # We also need to avoid changing fg color for the inactive notebook tab labels
widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label" widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
@ -2523,3 +2592,11 @@ widget "*libreoffice-toplevel*GtkSpinButton" style "libre
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
widget "xfwm4-tabwin*" style "xfwm-tabwin" widget "xfwm4-tabwin*" style "xfwm-tabwin"
widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button"
# Whitelist for dark toolbars
widget_class "*ThunarWindow*<GtkMenuBar>" style "menubar-borderless"
widget_class "*CajaNavigationWindow*<GtkMenuBar>" style "menubar-borderless"
widget_class "*ThunarWindow*<GtkToolbar>*<GtkEntry>" style "toolbar_entry"
widget_class "*CajaNavigationWindow*<GtkToolbar>*<GtkEntry>" style "toolbar_entry"
widget_class "*ThunarWindow*<GtkToolbar>" style "menubar"
widget_class "*CajaNavigationWindow*<GtkToolbar>" style "menubar"