# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
pixmap_path "/usr/include/X11R6/pixmaps:./"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>

# Here is a list of all the possible states.  Note that some do not apply to
# certain widgets.
#
# NORMAL - The normal state of a widget, without the mouse over top of
# it, and not being pressed, etc.
#
# PRELIGHT - When the mouse is over top of the widget, colors defined
# using this state will be in effect.
#
# ACTIVE - When the widget is pressed or clicked it will be active, and
# the attributes assigned by this tag will be in effect.
#
# INSENSITIVE - When a widget is set insensitive, and cannot be
# activated, it will take these attributes.
#
# SELECTED - When an object is selected, it takes these attributes.
#
# Given these states, we can set the attributes of the widgets in each of
# these states using the following directives.
#
# fg - Sets the foreground color of a widget.
# fg - Sets the background color of a widget.
# bg_pixmap - Sets the background of a widget to a tiled pixmap.
# font - Sets the font to be used with the given widget.
#

# This sets a style called "button".  The name is not really important, as
# it is assigned to the actual widgets at the bottom of the file.


style "review-button" {

  GtkWidget::focus-line-pattern = "\0\0\0\0\0\0\0\0"
  GtkWidget::focus-width = 0
  GtkButton::default_border = { 0, 0, 0, 0 }
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 0
  GtkButton::interior_focus = 0
  GtkButton::child_spacing = 0
  xthickness = 7
  ythickness = 0

  engine "pixmap" {

    image {
        function = FOCUS
	state    = ACTIVE
    }

    image {
        function = FOCUS
	file     = "textarea.png"
	border   = { 8, 8, 8, 8 }
    }

    image {
	function = BOX
	file     = "textarea.png"
  	border   = { 8, 8, 8, 8 }
    }

  }
}



style "review-title-label" {
	font_name = "Nokia Sans 16.0"
	fg[NORMAL] = "#000000"
	fg[NORMAL] = "#c2c1bf"
}

style "review-answer-label" {
	font_name = "Nokia Sans 16.0"
	fg[NORMAL] = "#000000"
}

style "review-question-label" {
	font_name = "Nokia Sans 16.0"
	fg[NORMAL] = "#000000"
}

# Normal Button styles:
style "review-frame" {

  engine "pixmap" {

    image
         {
          function = FLAT_BOX
	file     = "textarea.png"
  	border   = { 8, 8, 8, 8 }

          }

  }
}


style "mainwindow"
{
   engine "sapwood"
      {
        image
         {
          function = FLAT_BOX
          file = "background.png"
          border = {0, 0, 0, 0}
          detail = "base"
          }
     }
 }



style "review-button-background"
{
  GtkNotebook::inner_left_border = 0
  GtkNotebook::inner_right_border = 0
  GtkNotebook::tab-overlap = 0
  GtkNotebook::arrow-spacing = 6
  GtkNotebook::label-padding = 2

  # Themings for images on different sides of the notebook.
  engine "sapwood"
  {
    image
      {
        function = BOX
	detail   = "notebook"
        border   = { 59, 59, 15, 15 }
        file     = "darkbackground.png"
      }
  }
}

style "review-qabutton-background"
{
  GtkNotebook::inner_left_border = 0
  GtkNotebook::inner_right_border = 0
  GtkNotebook::tab-overlap = 0
  GtkNotebook::arrow-spacing = 6
  GtkNotebook::label-padding = 2

  # Themings for images on different sides of the notebook.
  engine "sapwood"
  {
    image
      {
        function = BOX
	detail   = "notebook"
        border   = { 19, 19, 35, 15 }
        file     = "updarkbackground.png"
      }
  }
}

style "nothing"
{
  GtkNotebook::inner_left_border = 0
  GtkNotebook::inner_right_border = 0
  GtkNotebook::tab-overlap = 0
  GtkNotebook::arrow-spacing = 6
  GtkNotebook::label-padding = 2

  # Themings for images on different sides of the notebook.
  engine "sapwood"
  {
    image
      {
        function = BOX
	detail   = "notebook"
        border   = { 0, 0, 0, 0 }
        file     = "nothing.png"
      }
  }
}

style "warning-notebook"
{
  GtkNotebook::inner_left_border = 0
  GtkNotebook::inner_right_border = 0
  GtkNotebook::tab-overlap = 0
  GtkNotebook::arrow-spacing = 6
  GtkNotebook::label-padding = 2

  # Themings for images on different sides of the notebook.
  engine "pixmap"
  {
    image
      {
        function = BOX
	detail   = "notebook"
          file = "warning_window.png"
          border = {30, 30, 75, 75}
      }
  }
}



widget "*.button_answer" style "review-button"
widget "*.title_label" style "review-title-label"
widget "*.answer" style "review-question-label"
widget "*.question" style "review-question-label"
widget "*.button_question" style "review-button"
widget "*.notebook_button" style "review-button-background"
widget "*.notebook_qa" style "review-qabutton-background"
widget "*.switcher" style "nothing"
widget "*.label_warning" style "review-question-label"
widget "*.label_ok" style "review-question-label"
widget "*.notebook_wwindows" style "nothing"
widget "warningwindow" style "mainwindow"
widget "window" style "mainwindow"
