!# Hello! Here is an attempt at the Ubuntu Ambiance theme for Openbox.
!#
!# As of now (19/11/11) you might need to use openbox git in order to 
!# have the different coloured buttons.
!#
!#
!# -The split gradient has changed a little from Maverick to Oneiric, this is 
!# slightly tougher in openbox as the split point is a bit harsher than in the 
!# metacity/unity theme.
!#
!# -Title bar is basically fatter like in unity.
!#
!# -Title bar buttons have been tweaked a little based on pixmaps in the unity 
!# folder of the theme from ubuntu, the shade buttons probably need to be better.
!#
!# -Fixed up some of the nags from the original theme, such as the osd 
!# looking a bit wonky and having some blue highlights
!#
!# -Take advantage of Openbox’s new (since 3.5) OSD theme options 
!# such as themeing the buttons and popup osd more independently.
!#
!#

!# height might need adjusting per font, Ambiance titles are quite fat.
padding.height: 4

!# maybe we need a bit of this? It'll look fine if you do, probably.
window.handle.width:0

!# General
padding.width: 4
border.Width: 1
window.client.padding.width: 0
window.client.padding.height: 0
menu.overlap: 2
window.frameColor: #353531
window.*.client.color: #353531
*.text.justify: left

!# Set *all* fonts here

menu.items.font:shadow=y:shadowtint=13:shadowoffset=1
menu.title.text.font:shadow=y:shadowtint=55:shadowoffset=1
window.active.label.text.font:shadow=y:shadowtint=25:shadowoffset=1
window.inactive.label.text.font:shadow=y:shadowtint=0:shadowoffset=1
osd.*.label.text.font:shadow=y:shadowtint=-20:shadowoffset=1


!# just no bevel, right?
*.bg.highlight: 0
*.bg.shadow:    0

window.*.bg.highlight: 15
window.*.bg.shadow:    05

window.active.title.bg.highlight: 17
window.active.title.bg.shadow:    0

window.inactive.title.bg.highlight: 10
window.inactive.title.bg.shadow:    00

window.inactive.button.*.bg.highlight: 10
window.inactive.button.*.bg.shadow: 05

window.*.grip.bg.highlight: 30
window.*.grip.bg.shadow:    20

window.*.handle.bg.highlight: 30
window.*.handle.bg.shadow:    20

window.inactive.grip.bg.highlight: 20
window.inactive.grip.bg.shadow:    10

window.inactive.handle.bg.highlight: 10
window.inactive.handle.bg.shadow:    10

osd.*.bg.highlight: 30
osd.*.bg.shadow:    10

!# The main theme stuff now we are ready

!# Menu

!# this matches the gtk theme, that is all.
menu.border.color: #a5a5a5
menu.border.width: 0

menu.title.text.color: #dedede
menu.title.bg.border.color: #555753

menu.items.bg: flat solid
menu.items.bg.color: #454441
menu.items.text.color: #dfdbd4
menu.items.disabled.text.color: #a9a5a2
 
menu.items.active.bg: flat border gradient splitvertical
menu.items.active.bg.color: #F07746
menu.items.active.bg.color.splitTo: #F98658
menu.items.active.bg.colorTo: #EE7443
menu.items.active.bg.colorTo.splitTo: #EC7240
menu.items.active.bg.border.color: #D66132
menu.items.active.text.color: #ffffff

menu.separator.width: 1
menu.separator.padding.width: 3
menu.separator.padding.height: 3
menu.separator.color: #403f3b


!# Active Windows.

window.*.border.color: #3C3B37
window.*.title.separator.color: #3c3b37

window.inactive.title.separator.color: #3C3B37

*.title.bg: raised splitvertical gradient
*.title.bg.color:#454440
*.title.bg.color.splitTo: #474642
##42413d
*.title.bg.colorTo: #403F3B
*.title.bg.colorTo.splitTo:#3c3b37
window.*.label.bg: parentrelative
window.*.label.text.color: #dedede

window.active.button.*.bg: raised splitvertical gradient
window.active.button.*.bg.color: #77766F
window.active.button.*.bg.color.SplitTo: #8C8B85

window.active.button.*.bg.colorTo: #73726B
window.active.button.*.bg.colorTo.SplitTo: #5A5A55

window.*.button.*.border.color:#393834

window.active.button.*.pressed.bg: raised solid
window.active.button.*.pressed.image.color: #555
window.active.button.*.pressed.bg.color: #75746d

window.active.button.*.image.color: #3A3935

window.active.button.*.hover.bg: raised vertical gradient
window.active.button.*.hover.bg.color: #c9c9c9
window.active.button.*.hover.bg.colorTo: #9a9a9a
window.active.button.*.hover.image.color: #696966


window.active.button.*.*.bg: raised splitvertical gradient
window.active.button.close.*.bg.color: #E66228
window.active.button.close.*.bg.color.SplitTo: #F79674
window.active.button.close.*.bg.colorTo: #E66228
window.active.button.close.*.bg.colorTo.SplitTo: #DF5106
window.active.button.close.*.image.color: #583F35

window.active.button.close.hover.bg: raised splitvertical gradient
window.active.button.close.hover.bg.color: #F48256
window.active.button.close.hover.bg.color.SplitTo: #FAA589
window.active.button.close.hover.bg.colorTo: #EF7442
window.active.button.close.hover.bg.colorTo.SplitTo: #E45306

window.active.button.close.hover.image.color: #4f2919

window.active.button.close.pressed.bg: raised solid
window.active.button.close.pressed.image.color: 402013
window.active.button.close.pressed.bg.color: #ee703b


window.active.button.disabled.image.color: #dddddd

window.active.handle.bg: flat solid
window.active.handle.bg.color:  #484741
window.active.grip.bg: flat solid
window.active.grip.bg.color:  #484741

!# Inactive
window.inactive.border.color: #444444

!## Hmmm we need an alternative...
window.inactive.title.bg.color: #42413E
window.inactive.title.bg.color.splitTo: #474643



window.inactive.label.text.color: #999
window.inactive.button.*.bg: raised solid
window.inactive.button.*.bg.color: #75746D
window.inactive.button.*.bg.colorTo: #75746D
window.inactive.button.*.border.color:#3a3935

window.inactive.button.pressed.image.color: #506C7D
window.inactive.button.*.image.color: #3A3935

#window.inactive.button.hover.image.color: #ffffff

window.inactive.button.disabled.image.color: #dddddd

window.inactive.handle.bg: flat solid
window.inactive.handle.bg.color: #444444
window.*.grip.bg: parentrelative

!# osd (On Screen Display)

osd.border.width: 1
osd.border.color:  #A0A0A0

osd.bg: raised solid
osd.bg.color: #F2F1F0
osd.bg.border.color: #fff

osd.label.bg: parentrelative
osd.label.bg.color: #efefef
osd.label.bg.border.color: #9c9e9c

osd.inactive.label.text.color: #333
osd.label.text.color: #333333

osd.hilight.bg: flat solid 
osd.hilight.bg.color: #F07746

osd.unhilight.bg: flat solid
osd.unhilight.bg.color: #E3E3E0

osd.button.unpressed.text.color: #222
osd.button.pressed.text.color: #222
osd.button.focused.text.color #222

osd.button.pressed.box.color: #EE9672
osd.button.focused.box.color: #EE9672

osd.button.*.bg: flat border vertical gradient
osd.button.pressed.bg: sunken solid
osd.button.*.bg.color: #DFDFDF
osd.button.*.bg.colorTo: #ccc
osd.button.*.border.color:#a6a6a6

osd.button.focused.bg.color: #F7AB8A
osd.button.focused.bg.colorTo: #EE9672
osd.button.focused.border.color:#AD7762

