gtk-double-click-time=750
gtk-double-click-distance=50
style "widget" {

	bg[NORMAL] = "#0f0f0f"
	bg[ACTIVE] = "#0f0f0f"
	bg[PRELIGHT] = "#0f0f0f"
	bg[SELECTED] = "#0f0f0f"
	bg[INSENSITIVE] = "#1f1f1f"

	fg[NORMAL] = "#b4b4b4"
	fg[ACTIVE] = "#5f5f5f"
	fg[PRELIGHT] = "#ffffff"
	fg[SELECTED] = "#606060"
	fg[INSENSITIVE] = "#2d2d2d"

	base[NORMAL] = "#141414"
	base[PRELIGHT] = "#5a5a5a"
	base[ACTIVE] = "#5a5a5a"
	base[SELECTED] = "#5a5a5a"
	base[INSENSITIVE] = "#141414"

	text[NORMAL] = "#b4b4b4"
	text[ACTIVE] = "#0f0f0f"
	text[PRELIGHT] = "#0f0f0f"
	text[SELECTED] = "#ffffff"
	text[SELECTED] = "#ffffff"
	text[INSENSITIVE] = "#1f1f1f"

GtkWidget::focus-line-width = 0

#Подгонка размеров стрелок
GtkArrow::arrow-scaling = 0.6

#Размеры кнопок и движка в полосах прокрутки
GtkRange::trough_border		= 0
GtkRange::slider_width		= 40
GtkRange::stepper_size		= 23

GtkScrollbar::min_slider_length	= 40
GtkScrolledWindow::scrollbar-spacing = 0

	font_name = "Liberation Sans 16"

  engine "pixmap"
  {
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file        			= "bg.png"
	border      		= { 3, 3, 3, 3 }
	stretch         		= TRUE
      }
  }
}

class "GtkWidget" style "widget"

#Фон диалоговых окон (отличается от остального)
style "dialog"
{
	bg[NORMAL] = "#5a5a5a"
	bg[INSENSITIVE] = "#5a5a5a"
	bg[PRELIGHT] = "#5a5a5a"
	bg[SELECTED] = "#5a5a5a"
	bg[ACTIVE] = "#5a5a5a"
}

class "GtkDialog" style "dialog"

#так убирается рамка у кнопки снимка с экрана в правом нижнем углу
style "snapshot"
{
  engine "pixmap"
  {
    image
    {
      function			= BOX
      detail			= "buttondefault"
      recolorable		= TRUE
      file			= "bg_plain.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      recolorable		= TRUE
      file			= "bg_plain.png"
      border			= { 0, 0, 0, 0}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "bg_plain.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
    }
    image
   {
     function			= BOX
     state			= INSENSITIVE
     file			= "bg_plain.png"
     border			= { 0, 0, 0, 0  }
     stretch			= TRUE
    }
    image
    {
      function			= BOX
      file			= "bg_plain.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
    }
  }
}

widget "*snapshot*" style:highest "snapshot"

# Специальный стиль дла кнопок -- заголовков в UJournal
# Фон каждой кнопки имеет вид
#                                                      |
#                                                      |
#                                                      |
#                                                      |
#                               ________________________
# Вержняя и правая часть рамки дорисовываются за счёт фона всего UJournal
style "tbutton"
{

  engine "pixmap"
  {
    image
    {
      function			= BOX
      detail			= "buttondefault"
      recolorable		= TRUE
      file			= "list_header.png"
      border			= { 0, 3, 0, 3 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      recolorable		= TRUE
      file			= "list_header.png"
      border			= { 0, 3, 0, 3}
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "list_header.png"
      border			= { 0, 3, 0, 3 }
      stretch			= TRUE
    }
    image
   {
     function			= BOX
     state			= INSENSITIVE
     file			= "list_header.png"
     border			= { 0, 3, 0, 3  }
     stretch			= TRUE
    }
    image
    {
      function			= BOX
      file			= "list_header.png"
      border			= { 0, 3, 0, 3 }
      stretch			= TRUE
    }
  }
}

widget_class "*.<GtkTreeView>.<GtkButton>" style "tbutton"

style "treeview" {
	GtkTreeView::vertical-separator = 2
}

class "GtkTreeView" style "treeview"

style "frame"
{
	engine "pixmap" {
# Рамки диалоговых окон (с тенбю)
		image {
			function			= SHADOW
			shadow				= ETCHED_IN
			recolorable			= TRUE
			file				= "bg_shadow.png"
			border				= { 3, 6, 3, 6 }
			stretch				= TRUE
		}
#Спец. рамка вкладки отображения HTML (с вырезом напротив закладки)
		image {
			function			= SHADOW
			shadow				= ETCHED_OUT
			recolorable			= TRUE
			file				= "bg2.png"
			border				= { 3, 3, 3, 121 }
			stretch				= TRUE
		}
#Остальные рамки (с меткой)
		image {
			function			= SHADOW_GAP
			shadow				= ETCHED_IN
			recolorable			= TRUE
			file				= "bg.png"
			border				= { 3, 3, 3, 3 }
			stretch				= TRUE
			gap_start_file		= "frame_gap.png"
			gap_start_border	= {0, 0, 0, 0}
			gap_end_file		= "frame_gap.png"
			gap_end_border		= {0, 0, 0, 0}
		}
	}
}

widget_class "<GtkDialog>.*.<GtkFrame>" style "frame"
class "GtkFrame" style "frame"

###########################################
#Progress Bars
###########################################

style "ProgressBar" {
	engine "pixmap" {
		image {
			function        = BOX
			recolorable     = TRUE
			detail          = "bar"
			file            = "frame_gap.png"
			border          = {0, 0, 0, 0}
			stretch         = FALSE
		}
	}
}

class "GtkProgressBar" style "ProgressBar"


#####################################################
#Notebook: How to draw the tabs, spacings, and backgrounds for notebooks.                    
#####################################################

# Главный notebook экрана
style "notebook"		= "default"
{
xthickness = 0
ythickness = 0
GtkNotebook::tab-overlap = -2
GtkNotebook::tab-curvature = 1

  engine "pixmap" 
    {
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= { 0, 0, 3, 3 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= {  0, 0, 3, 3 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= {  0, 0, 3, 3 }
	stretch			= TRUE
	gap_side		= LEFT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= { 0, 0, 3, 3 }
	stretch			= TRUE
	gap_side		= RIGHT
      }	
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal.png"
	border			= { 0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal.png"
	border			= { 0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal.png"
	border			= {  0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= RIGHT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal.png"
	border			= {  0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= LEFT
      }
  }
}

class "GtkNotebook" style "notebook"

# notebook с журналами
style "smallnotebook"
{
xthickness = 0
ythickness = 0
GtkNotebook::tab-overlap = 3
GtkNotebook::tab-curvature = 0

  engine "pixmap" 
    {
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= { 0, 0, 0, 0 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= {  0, 0, 0, 0 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= {  0, 0, 0, 0 }
	stretch			= TRUE
	gap_side		= LEFT
      }
   image 
     {
       function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "active.png"
	border			= { 0, 0, 0, 0 }
	stretch			= TRUE
	gap_side		= RIGHT
     }	
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal1.png"
	border			= { 0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal1.png"
	border			= { 0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal1.png"
	border			= {  0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= RIGHT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	file				= "normal1.png"
	border			= {  0, 3, 3, 3 }
	stretch			= TRUE
	gap_side		= LEFT
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "bg1.png" 
	border			= { 3, 3, 3, 0 }
	stretch			= TRUE
	gap_file			= "gap.png"
	gap_border     	= { 0, 0, 3, 3 }
	gap_start_file	= "gap_side.png"
	gap_end_file		= "gap_side.png"
	gap_side		= TOP
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "bg1.png"
	border			= { 3, 3, 3, 0 }
	stretch			= TRUE
	gap_file			= "gap.png"
	gap_border		= { 0, 0, 3, 3 }
	gap_start_file	= "gap_side.png"
	gap_end_file		= "gap_side.png"
	gap_side		= BOTTOM
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "bg1.png"
	border			= { 3, 3, 3, 0 }
	stretch			= TRUE
	gap_file			= "gap.png"
	gap_border		= { 3, 3, 3, 3 }
	gap_start_file	= "gap_side.png"
	gap_end_file		= "gap_side.png"
	gap_side		= LEFT
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "bg1.png" 
	border			= { 3, 3, 3, 0 }
	stretch			= TRUE
	gap_file			= "gap.png"
	gap_border		= { 0, 0, 3, 3 }
	gap_start_file	= "gap_side.png"
	gap_end_file		= "gap_side.png"
	gap_side		= RIGHT
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file				= "bg1.png"
	border			= { 3, 3, 3, 0 }
	stretch			= TRUE
	gap_side		= TOP
      }
  }
}

widget "*journalbook*" style:highest "smallnotebook"

# Полоса прокрутки журналов
style "scrollbar"
{
  engine "pixmap" 
  {

    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "trough-h.png"
      border			= { 0, 0, 0, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "trough.png"
      border			= { 3, 0, 0, 0 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "slider.png" 
      border			= { 6, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file				= "slider-prelight.png" 
      border			= { 6, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "slider.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip-insensitive.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "slider.png" 
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file				= "slider-prelight.png" 
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "slider.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip-insensitive.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-up.png"
      border			= { 3, 0, 0, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-up-insensitive.png"
      border			= { 3, 0, 0, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-up-prelight.png"
      border			= { 3, 0, 0, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-up-pressed.png"
      border			= { 3, 0, 0, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-down.png"
      border			= { 3, 0, 3, 0 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-down-insensitive.png"
      border			= { 3, 0, 3, 0 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-down-prelight.png"
      border			= { 3, 0, 3, 0 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-down-pressed.png"
      border			= { 3, 0, 3, 0 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-right.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-right-insensitive.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-right-prelight.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-right-pressed.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-left.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-left-insensitive.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-left-prelight.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-left-pressed.png"
      border			= { 3, 3, 0, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
  }
}

class "GtkScrollbar" style "scrollbar"

# Полосы прокрутки окна просмотра html
style "scrollbar1"
{
  engine "pixmap" 
  {

    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "trough-h1.png"
      border			= { 0, 0, 3, 3 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "trough1.png"
      border			= { 3, 3, 0, 0 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "slider-h1.png" 
      border			= { 3, 3, 6, 6 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file				= "slider-prelight-h1.png" 
      border			= { 3, 3, 6, 6 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "slider-h1.png"
      border			= { 3, 3, 6, 6 }
      stretch			= TRUE
      orientation		= HORIZONTAL
      overlay_file		= "thumb-grip-insensitive.png"
      overlay_stretch	= FALSE
    }
    image
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "slider-v1.png" 
      border			= { 6, 6, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= PRELIGHT
      file				= "slider-prelight-v1.png" 
      border			= { 6, 6, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
      overlay_file		= "thumb-grip.png"
      overlay_stretch	= FALSE
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "slider-v1.png"
      border			= { 6, 6, 3, 3 }
      stretch			= TRUE
      orientation		= VERTICAL
      overlay_file		= "thumb-grip-insensitive.png"
      overlay_stretch	= FALSE
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-up1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-up-insensitive1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-up-prelight1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-up-pressed1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= UP
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-down1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-down-insensitive1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-down-prelight1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-down-pressed1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= DOWN
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-right1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-right-insensitive1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-right-prelight1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-right-pressed1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= RIGHT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= NORMAL
      file				= "stepper-left1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "stepper-left-insensitive1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "stepper-left-prelight1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
    image 
    {
      function			= STEPPER
      recolorable		= TRUE
      state				= ACTIVE
      file				= "stepper-left-pressed1.png"
      border			= { 3, 3, 3, 3 }
      stretch			= TRUE
      arrow_direction	= LEFT
    }
  }
}

widget_class "*.<GtkFrame>.<GtkScrolledWindow>.<GtkScrollbar>" style "scrollbar1"

style "entry"
{
	font_name = "Liberation Sans 24"
}

class "GtkEntry" style "entry"

style "spin"
{

    xthickness = 15
    ythickness = 12
    engine "pixmap"
    {
	    image
	    {
		function        	= BOX
		recolorable     	= TRUE
		state			= INSENSITIVE
		detail		= "spinbutton_up"
		file            		= "spinbutton.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    image
	    {
		function        	= BOX
		recolorable     	= TRUE
		state			= INSENSITIVE
		detail		= "spinbutton_down"
		file            		= "spinbutton.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    #The following two sections define the images used to draw the up and
	    #down spin buttons in the PRELIGHT state.
	    image
	    {
		function        	= BOX
		recolorable  	= TRUE
		state			= PRELIGHT
		detail		= "spinbutton_up"
		file            		= "spinbutton-prelight.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    image
	    {
		function        	= BOX
		recolorable  	= TRUE
		state			= PRELIGHT
		detail		= "spinbutton_down"
		file            		= "spinbutton-prelight.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    #The following two sections define the images used to draw the up and
	    #down spin buttons in any states that we have not already defined.
	    image
	    {
		function        	= BOX
		state			= NORMAL
		recolorable     	= TRUE
		detail		= "spinbutton_up"
		file            		= "spinbutton.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    image
	    {
		function        	= BOX
		state			= NORMAL
		recolorable     	= TRUE
		detail		= "spinbutton_down"
		file            		= "spinbutton.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

  #Pushed state
	    image
		{
		function        	= BOX
		state			= ACTIVE
		recolorable     	= TRUE
		detail		= "spinbutton_up"
		file            	= "spinbutton-pressed.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    image
		{
		function        	= BOX
		state			= ACTIVE
		recolorable     	= TRUE
		detail		= "spinbutton_down"
		file            	= "spinbutton-pressed.png"
		border          	= { 3,3,3,3 }
		stretch         	= TRUE
	    }

	    image 
	    {
		function	= ARROW
		state		= NORMAL
		recolorable	= TRUE
		overlay_file	= "arrow-up.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = UP
		}

	    image 
	    {
		function	= ARROW
		state		= NORMAL
		recolorable	= TRUE
		overlay_file	= "arrow-down.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = DOWN
		}

	    image 
	    {
		function	= ARROW
		state		= INSENSITIVE
		recolorable	= TRUE
		overlay_file	= "arrow-up-insensitive.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = UP
		}

	    image 
	    {
		function	= ARROW
		state		= INSENSITIVE
		recolorable	= TRUE
		overlay_file	= "arrow-down-insensitive.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = DOWN
		}

	    image 
	    {
		function	= ARROW
		state		= PRELIGHT
		recolorable	= TRUE
		overlay_file	= "arrow-up-prelight.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = UP
		}

	    image 
	    {
		function	= ARROW
		state		= PRELIGHT
		recolorable	= TRUE
		overlay_file	= "arrow-down-prelight.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = DOWN
		}

	    image 
	    {
		function	= ARROW
		state		= ACTIVE
		recolorable	= TRUE
		overlay_file	= "arrow-up-pressed.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = UP
		}

	    image 
	    {
		function	= ARROW
		state		= ACTIVE
		recolorable	= TRUE
		overlay_file	= "arrow-down-pressed.png"
		overlay_border	= { 0, 0, 0, 0 }
		overlay_stretch	= FALSE
		arrow_direction = DOWN
		}

    }
}

class "GtkSpin*" style "spin"

style "CheckBox" 
{

    engine "pixmap" 
    {
	#This is the image used to draw an unchecked box.
        image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = NORMAL
            shadow          = OUT
            overlay_file    = "check_out.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = PRELIGHT
            shadow          = OUT
            overlay_file    = "check_out.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = ACTIVE
            shadow          = OUT
            overlay_file    = "check_out_insens.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = INSENSITIVE
            shadow          = OUT
            overlay_file    = "check_out_insens.png"
            overlay_stretch = FALSE
        }

	#This is the image used to draw a selected (checked) box.
        image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = NORMAL
            shadow          = IN
            overlay_file    = "check_in.png"
            overlay_stretch = FALSE
        }

  image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = PRELIGHT
            shadow          = IN
            overlay_file    = "check_in.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = ACTIVE
            shadow          = IN
            overlay_file    = "check_in_push.png"
            overlay_stretch = FALSE
        }


     image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = INSENSITIVE
            shadow          = IN
            overlay_file    = "check_in_insens.png"
            overlay_stretch = FALSE
        }

	#Use this image to draw the highlight when a line with a check box
	#is moused over.
	image 
	{
            function        = FLAT_BOX
            recolorable     = TRUE
            file            = "checklight.png"
            border          = { 1, 1, 1, 1 }
        }

    }
}

class "GtkCheckButton" style "CheckBox"

style "checkbuttonlabel" {
        fg[ACTIVE] = "#b4b4b4"
	}

widget_class "*.<GtkCheckButton>.*" style "checkbuttonlabel"


#####################################################
#Combo Button
#####################################################

# Кнопка выпадения списка у поля ввода с выпадающим списком
style "combobutton" {
  xthickness = 7
  ythickness = 11

	engine "pixmap" {
		image {
			function = BOX
			recolorable = TRUE
			state = NORMAL
			detail = "buttondefault"
			shadow = IN
			file = "spinbutton.png"
			border = {3, 3, 3, 3}
			stretch = TRUE
		}
		image {
			function = BOX
			recolorable = FALSE
			state = NORMAL
			shadow = OUT
			file = "spinbutton.png"
			border = {3, 3, 3, 3}
			stretch = TRUE
		}
		image {
			function = BOX
			recolorable     = FALSE
			state           = PRELIGHT
			shadow          = IN
			file            = "spinbutton.png"
			border          = {3, 3, 3, 3}
			stretch         = TRUE
		}


		image {
			function = BOX
			recolorable     = FALSE
			state           = ACTIVE
			shadow          = IN
			file            = "spinbutton-pressed.png"
			border          = {3, 3, 3, 3}
			stretch         = TRUE
		}
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "spinbutton-prelight.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = IN
	file            = "spinbutton.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = IN
	file            = "spinbutton.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "spinbutton.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "spinbutton-prelight.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	shadow          = IN
	file            = "spinbutton-pressed.png"
	border          = {3, 3, 3, 3}
	stretch         = TRUE
      }
   }
}

widget_class "*.<GtkComboBox>.<GtkButton>" style "combobutton"

# Стрелка у этой кнопки
style "arrow"
{
	fg[NORMAL] = "#141414"
	fg[ACTIVE] = "#373737"
	fg[PRELIGHT] = "#141414"
	fg[SELECTED] = "#373737"
	fg[INSENSITIVE] = "#303030"
}

widget_class "*.<GtkButton>.*<GtkArrow>" style "arrow"
