# Feel free to modify and change this theme as much as you want.
# I've commented it pretty thoroughly, so it should be easy, but I don't
# know a ton about gtk themes so I can't guarantee that all my comments are 
# completely accurate.


### This is where the theme style is defined ###
### The name of our style ###

style "polished-blue-default"{

  font_name="DejaVu Sans 10"

### Some misc settings ###

  GtkWidget::interior_focus         = 1
  GtkWidget::focus_padding          = 0
  GtkButton::default_border         = { 0, 0, 0, 0 }
  GtkButton::default_outside_border = { 0, 0, 0, 0 }
  GtkRange::trough_border           = 0
  GtkRange::slider_width            = 14
  GtkRange::stepper_size            = 14
  GtkPaned::handle_size             = 6
  GtkScrollbar::min_slider_length   = 30
  GtkCheckButton::indicator_size    = 12
  GtkMenuBar::internal_padding      = 0
  GtkOptionMenu::indicator_size     = { 12, 8 }
  GtkOptionMenu::indicator_spacing  = { 0, 4, 0, 0 }

### The theme colors ###

  ExoIconBar::active-item-border-color = "#98bde2"
  ExoIconBar::active-item-fill-color   = "#98bde2"
  ExoIconBar::active-item-text-color   = "#000000"
  ExoIconBar::cursor-item-border-color = "#d8d8d8"
  ExoIconBar::cursor-item-fill-color   = "#d8d8d8"
  ExoIconBar::cursor-item-text-color   = "#000000"


  fg[NORMAL]              = "#000000"
  fg[ACTIVE]              = "#000000"
  fg[INSENSITIVE]         = "#6f6f6f"
  fg[PRELIGHT]            = "#0f2047"
  fg[SELECTED]            = "#ffffff"
        
  bg[ACTIVE]              = "#ededed"
  bg[NORMAL]              = "#e3e7ec"
  bg[INSENSITIVE]         = "#ededed"
  bg[PRELIGHT]            = "#ededed"
  bg[SELECTED]            = "#6b7d9a"

  base[NORMAL]            = "#ffffff"
  base[ACTIVE]            = "#637593"
  base[INSENSITIVE]       = "#ffffff"
  base[PRELIGHT]          = "#ededed"
  base[SELECTED]          = "#637593"

### This is where some pixmaps are defined for the theme style ###

  engine "pixmap" {

### The little boxes inside windows that often have tabs on them ###

    image 
    {
      function          = BOX_GAP
      file              = "bump-for-tabs.png"
      border            = { 2, 2, 2, 2 }
      stretch           = TRUE
    }

### The toolbar ###

        image
    {
      function          = BOX
      detail            = "toolbar"
      file              = "bump.png"
      border            = { 3, 3, 3, 3 }
      stretch           = TRUE
    }

### The menu bar ###

    image
    {
      function          = BOX
      shadow            = OUT
      file              = "bump.png"
      border            = { 2, 2, 2, 2 }
      stretch           = TRUE
    }

### The handles, those little things on nautilus and the top bar in GNOME ###
    
    image
    {
      function          = HANDLE
      file              = "bump.png"
      border            = { 2, 2, 2, 2 }
      stretch           = TRUE
    }

### The boxes that go in, like a location bar ###

    image
    {
     function           = SHADOW
     file               = "depression.png"
     border             = { 2, 2, 2, 2 }
     stretch            = TRUE
    }

### The vertical seperator ###

    image
    {
      function          = VLINE
      file              = "vertical-line.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }

### The horizontal seperator ###

    image
    {
      function          = HLINE
      file              = "horizontal-line.png"
      border            = { 0, 0, 0, 0 }
      stretch           = TRUE
    }

### The focus on a button or some other object ###

#    image
#    {
#      function          = FOCUS
#      file              = "<none>"
#      border            = { 1, 1, 1, 1 }
#      stretch           = TRUE
#    }
  }
}

class "GtkWidget" style "polished-blue-default"

### And here we define a style for buttons, check boxes, etc. ###

style "polished-blue-buttons"{
  engine "pixmap" {

### A check box that is unchecked ###

    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "check-off.png"
	overlay_stretch = FALSE
      }
### A check box that is checked ###

    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "check-on.png"
	overlay_stretch = FALSE
      }

### An option mark that is off ###

    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "option-off.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }

### An option mark that is on ###

    image 
      {
        function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "option-on.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }

### Ok, here is where we define the main buttons ###

### A normal main button ###

    image {

        function        = BOX
	file            = "main-button-normal.png"
	state		= NORMAL
	border          = {3,3,3,3}
	stretch         = TRUE
    }

### An unusable main button ###

    image {
        function        = BOX
	file            = "main-button-unusable.png"
	state		= INSENSITIVE
	border          = {3,3,3,3}
	stretch         = TRUE
    }

### A main button that is prelit (has the pointer over it) ###

    image {
        function        = BOX
	file            = "main-button-prelit.png"
	state		= PRELIGHT
	border          = {3,3,3,3}
	stretch         = TRUE
    }

### A main button that is being pressed ###

    image {
        function        = BOX
	file            = "main-button-pressed.png"
	state		= ACTIVE
	border          = {3,3,3,3}
	stretch         = TRUE
    }
  }
}

class "GtkButton" style "polished-blue-buttons"

### Now we define the progressbar style ###

style "progressbar"
{
  engine "pixmap" 
    {

### The progressbar ###

image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "bar"
	file            = "main-button-normal.png"
	border          = {3,3,3,3}
	stretch         = TRUE
    }

### The Progressbar's trough ###

 image
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "progressbar-bg.png"
	border          = {3,3,3,3}
	stretch         = TRUE

    }
  }
}
class "GtkProgressBar" style "progressbar"

### Here we define the scroller style ###

style "polished-blue-scrollers"{
  engine "pixmap" {
    
### The Scroller trough ###

image {
	function        = BOX
	file            = "scroller-bg.png"
	detail		= "trough"
	border          = {2,2,2,2}
	stretch         = TRUE
    }

### A normal scroller button ###

    image {
	function        = BOX
	file            = "scroller-normal.png"
	state		= NORMAL
	border          = {2,2,2,2}
	stretch         = TRUE
    }

### An unusable scroller button ###

    image {
	function	= BOX
	file		= "scroller-locked.png"
	state		= INSENSITIVE
	border		= {2,2,2,2}
	stretch		= TRUE
    }

### A prelit scroller button ###

    image {
	function	= BOX
	file		= "scroller-prelit.png"
	state		= PRELIGHT
	border		= {2,2,2,2}
	stretch		= TRUE
    }

### A scroller button being pressed ###

    image {
	function	= BOX
	file		= "scroller-pressed.png"
	state		= ACTIVE
	border		= {2,2,2,2}
	stretch		= TRUE
    }

### A vertical main scroller bar ###

    image {
	function        = SLIDER
	file            = "scroller-normal.png"
	border          = {4,2,4,2}
	state		= NORMAL
	stretch         = TRUE
	orientation	= VERTICAL
    }

### A prelit vertical main scroller bar ###

    image {
	function        = SLIDER
	file            = "scroller-prelit.png"
	state		= PRELIGHT
	border          = {4,2,4,2}
	stretch         = TRUE
	orientation	= VERTICAL
    }

### A horizontal main scroller bar ###

    image {
	function        = SLIDER
	file            = "scroller-normal.png"
	border          = {4,2,4,2}
	state		= NORMAL
	stretch         = TRUE
	orientation	= HORIZONTAL

    }

### A prelit horizontal main scroller bar ###

    image {
	function        = SLIDER
	file            = "scroller-prelit.png"
	state		= PRELIGHT
	border          = {4,2,4,2}
	stretch         = TRUE
	orientation	= HORIZONTAL
    }
  }
}

class "GtkRange" style "polished-blue-scrollers"

### Now we define a tab style ###

style "polished-blue-tabs"{
  engine "pixmap" {
    
### An unselected top tab ###

image {
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-unselected-top.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = BOTTOM
    }

### An unselected bottom tab ###
    image {
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-unselected-bottom.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = TOP
    }

### An unselected right tab ###

    image {
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-unselected-right.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = RIGHT
    }

### An unselected left tab ###
    image {
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-unselected-left.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = LEFT
    }

### A selected top tab ###

    image {
        function        = EXTENSION
        file            = "tab-selected-top.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = BOTTOM
    }

### A selected bottom tab ###
    image {
        function        = EXTENSION
        file            = "tab-selected-bottom.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = TOP
    }

### A selected right tab ###

    image {
        function        = EXTENSION
        file            = "tab-selected-right.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = RIGHT
    }

### A selected left tab ###

    image {
        function        = EXTENSION
        file            = "tab-selected-left.png"
        border          = {4,4,4,4}
        stretch         = TRUE
        gap_side        = LEFT
    }

# Not sure what this is
    image {
        function        = BOX
        file            = "main-button-normal.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = TOP
    }
  }
}
class "GtkNotebook" style "polished-blue-tabs"

### Now we define a menu style ###

style "polished-blue-menu"{
  engine "pixmap" {

### A prelit menuitem ###

    image {
        function        = BOX
	file            = "menu-selected.png"
	border          = {2,2,2,2}
	stretch         = TRUE
    }
  }
}
class "GtkMenuItem" style "polished-blue-menu"

### The tooltip style ###

style "polished-blue-tooltips"{
 bg_pixmap[NORMAL]      = "<none>"
 bg_pixmap[PRELIGHT]    = "<none>"
 bg_pixmap[ACTIVE]      = "<none>"
 bg_pixmap[INSENSITIVE] = "<none>"
}widget "gtk-tooltips" style "polished-blue-tooltips"




