{{! TABS }}
{{! Tab set }}
[
  {
    "class": "tabset_control",
    "layer0.texture": "",
    "layer0.tint": {{{tabsetBackground}}},
    "layer0.inner_margin": [10, 0],
    "layer0.opacity": 1.0,
    "layer1.opacity": 0.0,
    "layer2.opacity": 0.0,
    "content_margin": [0, 0, 0, 0],
    "tab_overlap": 0,
    "tab_width": 160,
    "tab_min_width": 48,
    "tab_height": 48,
    "mouse_wheel_switch": false
  },
  {
    "class": "tabset_control",
    "settings": ["mouse_wheel_switches_tabs"],
    "mouse_wheel_switch": true
  },

  {{!*****************************************************************************
      TAB BACKGROUNDS }}
  {{! Tab element }}
  {
    "class": "tab_control",
    "content_margin": [28, 6, 28, 4],
    "max_margin_trim": 0,
    "hit_test_level": 0.0,
    "layer0.texture": "",
    "layer0.opacity": 1.0,
    "layer1.opacity": 0.0,
    "layer2.opacity": 0.0
  },
  {
    {{!  Tab close state }}
    "class": "tab_control",
    "settings": ["show_tab_close_buttons"],
    "content_margin": [20, 0, 10, 1] {{!  adjust text position }}
  },


  {{!*****************************************************************************
      TAB LABELS }}
  {
    "class": "tab_label",
    "shadow_offset": [0,0]
  },

  {{!  Inactive Tab }}
  {
    "class": "tab_control",
    "layer0.tint": {{{tabSettings.inactive.backgroundColor}}}
  },
  {
    "class": "tab_label",
    "fade": false,
    "fg": {{{tabSettings.inactive.textColor}}},
    "font.bold" : {{{tabSettings.inactive.textBold}}},
    "font.size" : 12
  },
  {
    "class": "tab_label",
    "settings": ["itg_hidpi"],
    "font.size" : 17
  },


  {{!  Active Tab }}
  {
    "class": "tab_control",
    "attributes": ["selected"],
    "layer0.tint": {{{tabSettings.active.backgroundColor}}}
  },
  {
    "class": "tab_label",
    "parents": [{"class": "tab_control", "attributes": ["selected"]}],
    "fg": {{{tabSettings.active.textColor}}},
    "font.bold" : {{{tabSettings.active.textBold}}}
  },

  {{!  Hover Tab }}
  {
    "class": "tab_control",
    "attributes": ["hover"],
    "layer0.tint": {{{tabSettings.hover.backgroundColor}}}
  },
  {
    "class": "tab_label",
    "parents": [{"class": "tab_control", "attributes": ["hover"]}],
    "fg": {{{tabSettings.hover.textColor}}},
    "font.bold" : {{{tabSettings.hover.textBold}}}
  },
  {
    "class": "tab_label",
    "attributes": ["transient"],
    "font.italic": true
  },
  {{!  Tab close button }}
  {
    "class": "tab_close_button",
    "content_margin": [10, 0],
    {{!  Tab close default settings }}
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.closeIcon}}}",
    "layer0.tint": {{{closeIconSettings.tabs.inactive.color}}},
    "layer0.opacity": {{{closeIconSettings.tabs.inactive.defaultOpacity}}},
    "layer0.inner_margin": [0, 0],
    {{!  Tab close hover settings }}
    "layer1.texture": "",
    "layer2.texture": "",
    "layer3.texture": "",
    "layer1.opacity": 0.0,
    "layer2.opacity": 0.0,
    "layer3.opacity": 0.0
  },
  {
    {{!  Tab button size }}
    "class": "tab_close_button",
    "settings": ["show_tab_close_buttons"],
    "content_margin": [8, 8]
  },
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["hover"]}],
    "layer0.tint": {{{closeIconSettings.tabs.inactive.hoverColor}}},
    "layer0.opacity": {{{closeIconSettings.tabs.inactive.hoverOpacity}}}
  },
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["selected"]}],
    "layer0.tint": {{{closeIconSettings.tabs.active.color}}},
    "layer0.opacity": {{{closeIconSettings.tabs.active.defaultOpacity}}}
  },
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["selected", "hover"]}],
    "layer0.tint": {{{closeIconSettings.tabs.active.color}}},
    "layer0.opacity": {{{closeIconSettings.tabs.active.hoverOpacity}}}
  },
  {
    {{!  Tab close button hover }}
    "class": "tab_close_button",
    "attributes": ["hover"],
    "parents": [{"class": "tab_control", "attributes": ["hover"]}],
    "layer0.tint": {{{closeIconSettings.tabs.hover.hoverColor}}}
  },
  {{!  Tab dirty button }}
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.dirtyIcon}}}",
    "layer0.tint": {{{closeIconSettings.tabs.inactive.dirtyColor}}},
    "layer0.opacity": 1.0
  },
  {{!  Tab dirty button selected hover }}
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["dirty", "selected"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.dirtyIcon}}}",
    "layer0.tint": {{{closeIconSettings.tabs.active.dirtyColor}}},
    "layer0.opacity": 1.0
  },
  {{!  Tab dirty button hover }}
  {
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["dirty", "hover"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.dirtyIcon}}}",
    "layer0.tint": {{{closeIconSettings.tabs.hover.dirtyColor}}},
    "layer0.opacity": 1.0
  },
  {
    {{!  Tab dirty icon hover }}
    "class": "tab_close_button",
    "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
    "attributes": ["hover"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.closeIcon}}}",
    "layer0.tint": {{{closeIconSettings.tabs.active.hoverColor}}},
    "layer0.opacity": 1.0
  },
  {{!  Tab close button hidden with highlight modified flag true }}
  {
    {{!  Tab dirty state (close button hidden) }}
    "class": "tab_control",
    "settings": ["!show_tab_close_buttons", "highlight_modified_tabs"],
    "attributes": ["dirty"],
    "content_margin": [22, 6, 15, 4]
  },
  {
    {{!  Tab dirty button (close button hidden) }}
    "class": "tab_close_button",
    "settings": ["!show_tab_close_buttons", "highlight_modified_tabs"],
    "parents": [{"class": "tab_control", "attributes": ["dirty"]}],
    "content_margin": [8, 8]
  },
  {{!  SMALL TABS }}
  {
    "class": "tabset_control",
    "settings": ["itg_small_tabs"],
    "tab_height": 32
  },

{{!  FOLD BUTTONS }}
  {
    "class": "fold_button_control",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}fold-closed.png",
    "layer0.opacity": 0.8,
    "layer0.inner_margin": 0,
    "layer1.texture": "",
    "layer1.opacity": 0.0,
    "layer1.inner_margin": 0,
    "content_margin": [9, 7, 8, 6]
  },
  {
    "class": "fold_button_control",
    "attributes": ["hover"],
    "layer0.opacity": 1.0
  },
  {
    "class": "fold_button_control",
    "attributes": ["pressed"],
    "layer0.opacity": 1.0
  },
  {
    "class": "fold_button_control",
    "attributes": ["expanded"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}fold-open.png",
    "layer1.texture": ""
  },

{{!  STANDARD SCROLLBARS }}
  {{!  Standard vertical scroll bar }}
  {
    "class": "scroll_bar_control",
    "layer0.texture": "",
    "layer0.opacity": 1.0,
    "layer0.tint": {{{primaryDark}}},
    "layer0.inner_margin": [0, 0],
    "blur": false
  },
  {{!  Standard horizontal scroll bar }}
  {
    "class": "scroll_bar_control",
    "attributes": ["horizontal"],
    "layer0.texture": "",
    "layer0.opacity": 1.0,
    "layer0.tint": {{{primaryDark}}},
    "layer0.inner_margin": [6, 0],
    "blur": false
  },
  {{!  Standard scroll bar corner }}
  {
    "class": "scroll_corner_control",
    "layer0.texture": "",
    "layer0.tint": {{{primaryDark}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [0, 0]
  },
  {{!  Standard vertical scroll puck }}
  {
    "class": "puck_control",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-vertical.png",
    "layer0.tint": {{{white}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [2, 4],
    "content_margin": [2, 12],
    "blur": false
  },
  {{!  Standard horizontal scroll puck }}
  {
    "class": "puck_control",
    "attributes": ["horizontal"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-horizontal.png",
    "layer0.tint": {{{white}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [4, 2],
    "content_margin": [12, 2],
    "blur": false
  },

  {{!  SCROLLBAR SETTINGS }}
  {
    "class": "puck_control",
    "settings": ["itg_scrollbar_medium"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-vertical-medium.png",
    "layer0.inner_margin": [2, 8],
    "content_margin": [4, 12]
  },
  {
    "class": "puck_control",
    "settings": ["itg_scrollbar_medium"],
    "attributes": ["horizontal"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-horizontal-medium.png",
    "layer0.inner_margin": [8, 2],
    "content_margin": [12, 4]
  },
  {
    "class": "puck_control",
    "settings": ["itg_scrollbar_small"],
    "layer0.inner_margin": [2, 4],
    "content_margin": [2, 12]
  },
  {
    "class": "puck_control",
    "settings": ["itg_scrollbar_small"],
    "attributes": ["horizontal"],
    "layer0.inner_margin": [4, 2],
    "content_margin": [12, 2]
  },

{{!  OVERLAY SCROLLBARS }}
  {{!  Overlay toggle scroll bar }}
  {
    "class": "scroll_area_control",
    "settings": ["overlay_scroll_bars"],
    "overlay": true
  },
  {
    "class": "scroll_area_control",
    "settings": ["!overlay_scroll_bars"],
    "overlay": false
  },
  {{!  Overlay vertical scroll bar }}
  {
    "class": "scroll_bar_control",
    "settings": ["overlay_scroll_bars"],
    "layer0.texture": "",
    "layer0.inner_margin": [0, 5],
    "blur": true
  },
  {{!  Overlay horizontal scroll bar }}
  {
    "class": "scroll_bar_control",
    "settings": ["overlay_scroll_bars"],
    "attributes": ["horizontal"],
    "layer0.texture": "",
    "layer0.inner_margin": [5, 0],
    "blur": true
  },
  {{!  Overlay vertical puck }}
  {
    "class": "puck_control",
    "settings": ["overlay_scroll_bars"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-vertical.png",
    "layer0.tint": {{{scrollbars.lightContentColor}}},
    "layer0.opacity": 0.8,
    "layer0.inner_margin": [0, 2],
    "content_margin": [2, 20],
    "blur": true
  },
  {{!  Overlay horizontal puck }}
  {
    "class": "puck_control",
    "settings": ["overlay_scroll_bars"],
    "attributes": ["horizontal"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}standard-puck-horizontal.png",
    "layer0.tint": {{{scrollbars.lightContentColor}}},
    "layer0.opacity": 0.8,
    "layer0.inner_margin": [2, 0],
    "content_margin": [20, 2],
    "blur": true
  },
  {{!  Overlay light puck (for dark content) }}
  {
    "class": "puck_control",
    "settings": ["overlay_scroll_bars"],
    "attributes": ["dark"],
    "layer0.tint": {{{scrollbars.darkContentColor}}}
  },
  {{!  Overlay light horizontal puck (for dark content) }}
  {
    "class": "puck_control",
    "settings": ["overlay_scroll_bars"],
    "attributes": ["horizontal", "dark"],
    "layer0.tint": {{{scrollbars.darkContentColor}}}
  },

{{!  EMPTY WINDOW BACKGROUND }}
  {
    "class": "sheet_container_control",
    "layer0.tint": {{{primaryDark}}},
    "layer0.opacity": 1.0
  },

{{!  GRID LAYOUT }}
  {
    "class": "grid_layout_control",
    "border_size": 1,
    "border_color": {{{primaryDark}}}
  },
{{!  MINI MAP }}
  {
    "class": "minimap_control",
    "viewport_color": {{{minimapBackground}}}
  },

{{!  LABELS }}
  {{!  General labels }}
  {
    "class": "label_control",
    "color": {{{sidebarSettings.deselected.textColor}}},
    "shadow_color": [201, 202, 203],
    "shadow_offset": [0, 0],
    "font.bold" : false,
    "font.size" : 11
  },
  {
    "class": "label_control",
    "settings": ["itg_hidpi"],
    "font.size" : 17
  },
  {{!  Text field labels }}
  {
    "class": "label_control",
    "parents": [{"class": "panel_control"}],
    "shadow_color": [201, 202, 203],
    "shadow_offset": [0, 0]
  },
  {{!  Button labels }}
  {
    "class": "label_control",
    "parents": [{"class": "button_control"}],
    "shadow_color": [201, 202, 203],
    "shadow_offset": [0, 0]
  },
  {{!  Status bar label }}
  {
    "class": "label_control",
    "parents": [{"class": "status_bar"}],
    "color": {{{tabSettings.inactive.textColor}}},
    "shadow_color": [200, 200, 200],
    "shadow_offset": [0, 0],
    "font.bold" : false
  },

  {{!  TOOLTIP }}
  {{!  Tooltip container }}
  {
    "class": "tool_tip_control",
    "layer0.texture": "",
    "layer0.tint": {{{panelSelectedBackground}}},
    "layer0.inner_margin": [1, 1],
    "layer0.opacity": 0.95,
    "content_margin": [10, 10]
  },
  {{!  Tooltip content }}
  {
    "class": "tool_tip_label_control",
    "color": {{{panelSelectedMatchTextColor}}}
  },

{{!  STATUS BAR }}
  {{!  Status bar container }}
  {
    "class": "status_bar",
    "layer0.texture": "",
    "layer0.tint": {{{tabsetBackground}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [2, 2],
    "content_margin": [14, 4, 4, 4]
  },
  {
    "class": "status_button",
    "min_size": [100, 0]
  },

{{!  SIDEBAR }}
  {{!  Sidebar container }}
  {
    "class": "sidebar_container",
    "layer0.texture": "",
    "layer0.tint": {{{sidebarBackground}}},
    "layer0.opacity": 1.0,
    "layer0.draw_center": false,
    "layer0.inner_margin": [0, 0, 0, 0],
    "content_margin": [0, 0, 0, 0]
  },
  {{!  Sidebar tree }}
  {
    "class": "sidebar_tree",
    "row_padding": [8, 4],
    "indent": 14,
    "indent_offset": 20,
    "indent_top_level": false,
    "layer0.texture": "",
    "layer0.tint": {{{sidebarBackground}}},
    "layer0.opacity": 1.0,
    "dark_content": false
  },
  {
    "class": "sidebar_tree",
    "settings": ["itg_sidebar_tree_xsmall"],
    "row_padding": [8, 0]
  },
  {
    "class": "sidebar_tree",
    "settings": ["itg_sidebar_tree_small"],
    "row_padding": [8, 2]
  },
  {
    "class": "sidebar_tree",
    "settings": ["itg_sidebar_tree_medium"],
    "row_padding": [8, 3]
  },
  {
    "class": "sidebar_tree",
    "settings": ["itg_sidebar_tree_large"],
    "row_padding": [8, 6]
  },
  {
    "class": "sidebar_tree",
    "settings": ["itg_sidebar_tree_xlarge"],
    "row_padding": [8, 8]
  },

  {{!  Sidebar heading }}
  {{!  SIDEBARSETTINGS }}
  {
    "class": "sidebar_heading",
    "color": {{{sidebarSettings.headingTextColor}}},
    "font.bold": true,
    "shadow_color": [148, 149, 151],
    "shadow_offset": [0, 0]
  },
  {{!  :: DESELECTED }}
  {{!  Sidebar Row }}
  {
    "class": "tree_row",
    "layer0.texture": "",
    "layer0.tint": {{{sidebarSettings.deselected.backgroundColor}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [1,1]
  },
  {{!  Sidebar entry }}
  {
    "class": "sidebar_label",
    "color": {{{sidebarSettings.deselected.textColor}}},
    "shadow_offset": [0, 0]
  },
  {{!  Sidebar folder entry }}
  {
    "class": "sidebar_label",
    "parents": [{"class": "tree_row", "attributes": ["expandable"]}],
    "color": {{{sidebarSettings.deselected.folderTextColor}}},
    "shadow_color": [0, 0, 0],
    "shadow_offset": [0, 0]
  },
  {{!  Sidebar label (and folder) hover }}
  {{!  closed }}
  {
    "class": "sidebar_label",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "color": {{{sidebarSettings.hover.textColor}}}
  },
  {{!  open }}
  {
    "class": "sidebar_label",
    "parents": [{"class": "tree_row", "attributes": ["expandable"]}],
    "settings": ["bold_folder_labels"],
    "font.bold": true
  },
  {
    "class": "sidebar_label",
    "settings": ["itg_hidpi"],
    "font.size" : 17
  },


  {{!  :: HOVER }}
  {{!  Sidebar row selected }}
  {
    "class": "tree_row",
    "layer0.tint": {{{sidebarSettings.hover.backgroundColor}}},
    "layer0.opacity": 1.0,
    "attributes": ["hover"]
  },

  {{!  :: SELECTED }}
  {{!  Sidebar row selected }}
  {
    "class": "tree_row",
    "layer0.tint": {{{sidebarSettings.selected.backgroundColor}}},
    "layer0.opacity": 1.0,
    "attributes": ["selected"]
  },
  {{!  Sidebar entry selected }}
  {
    "class": "sidebar_label",
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "color": {{{sidebarSettings.selected.textColor}}},
    "shadow_color": [0, 0, 0],
    "shadow_offset": [0, 0]
  },

  {{!  Sidebar file close }}
  {{!  :: DEFAULT }}
  {
    "class": "close_button",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.closeIcon}}}",
    "layer0.tint": {{{closeIconSettings.sidebar.deselected.color}}},
    "layer0.opacity": {{{closeIconSettings.sidebar.deselected.defaultOpacity}}},
    "layer0.inner_margin": 0,
    "layer1.texture": "",
    "layer1.opacity": 0.0,
    "layer1.inner_margin": 0,
    "content_margin": [8, 8]
  },

  {{!  > ROW :: HOVER }}
  {{!  >> ICON }}
  {
    "class": "close_button",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "layer0.opacity": {{{closeIconSettings.sidebar.hover.defaultOpacity}}},
    "layer0.tint": {{{closeIconSettings.sidebar.hover.color}}}
  },

  {{!  > ROW :: HOVER }}
  {{!  >> ICON :: HOVER }}
  {
    "class": "close_button",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "attributes": ["hover"],
    "layer0.tint": {{{closeIconSettings.sidebar.hover.hoverColor}}},
    "layer0.opacity": {{{closeIconSettings.sidebar.hover.hoverOpacity}}}
  },

  {{!  > ROW :: SELECTED }}
  {{!  >> ICON }}
  {
    "class": "close_button",
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.tint": {{{closeIconSettings.sidebar.selected.color}}},
    "layer0.opacity": {{{closeIconSettings.sidebar.selected.defaultOpacity}}}
  },

  {{!  > ROW :: SELECTED :: HOVER }}
  {{!  >> ICON :: HOVER }}
  {
    "class": "close_button",
    "parents": [{"class": "tree_row", "attributes": ["hover", "selected"]}],
    "attributes": ["hover"],
    "layer0.tint": {{{closeIconSettings.sidebar.selected.color}}},
    "layer0.opacity": {{{closeIconSettings.sidebar.selected.hoverOpacity}}}
  },
  {{!  Sidebar file dirty }}
  {
    "class": "close_button",
    "attributes": ["dirty"],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.dirtyIcon}}}",
    "layer0.tint": {{{closeIconSettings.sidebar.deselected.dirtyColor}}},
    "layer0.opacity": 1.0
  },
  {
    "class": "close_button",
    "attributes": ["dirty"],
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.dirtyIcon}}}",
    "layer0.tint": {{{closeIconSettings.sidebar.selected.dirtyColor}}},
    "layer0.opacity": {{{closeIconSettings.sidebar.selected.hoverOpacity}}}
  },
  {
    "class": "close_button",
    "attributes": ["dirty"],
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.closeIcon}}}"
  },
  {
    "class": "close_button",
    "attributes": ["hover", "dirty"],
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.closeIcon}}}",
    "layer0.tint": {{{closeIconSettings.sidebar.hover.hoverColor}}}
  },
  {
    "class": "close_button",
    "attributes": ["dirty", "hover"],
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.tint": {{{closeIconSettings.sidebar.selected.hoverColor}}}
  },

  {{!  Sidebar Selected Folder Icons }}
  {
    "class": "icon_file_type",
    "content_margin": [0,0]
  },
  {
    "class": "icon_folder",
    "content_margin": [0,0]
  },
  {
    "class": "icon_folder_loading",
    "content_margin": [0,0]
  },

  {{!  DESELECTED }}
  {{!  :: CLOSED }}
  {
    "class": "disclosure_button_control",
    "parents": [{"class": "tree_row"}],
    "content_margin": [0, 6, 18, 7],
    "layer0.opacity": 1.0,
    "layer0.inner_margin": 0,
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.sidebarGroupClosed}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}}
  },

  {{!  :: CLOSED :: HOVER }}
  {
    "class": "disclosure_button_control",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}]
  },

  {{!  :: OPEN }}
  {
    "class": "disclosure_button_control",
    "attributes": ["expanded"],
    "parents": [{"class": "tree_row"}],
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.sidebarGroupOpen}}}"
  },

  {{!  :: OPEN :: HOVER }}
  {
    "class": "disclosure_button_control",
    "attributes": ["expanded"],
    "parents": [{"class": "tree_row", "attributes": ["hover"]}]
  },

  {{!  SELECTED }}
  {{!  :: CLOSED }}
  {
    "class": "disclosure_button_control",
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {{!  :: OPEN }}
  {
    "class": "disclosure_button_control",
    "attributes": ["expanded"],
    "parents": [{"class": "tree_row", "attributes": ["selected"]}]
  },

  {{!  STANDARD TEXT BUTTONS }}
  {{!  Standard buttons (used for Find / Replace panel) }}
  {
    "class": "button_control",
    "content_margin": [4, 6, 4, 5],
    "min_size": [69, 0],
    {{!  Default button state }}
    {{!  "color": [0,0,0], }}
    "layer0.texture": "",
    "layer0.tint": {{{sidebarBackground}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [6, 6],
    {{!  Pressed button setup }}
    "layer1.opacity": 0.0
  },
  {
    {{!  Pressed button state }}
    "class": "button_control",
    "attributes": ["hover"],
    "layer0.tint": {{{sidebarSettings.hover.backgroundColor}}}
  },
  {
    {{!  Pressed button state }}
    "class": "button_control",
    "attributes": ["pressed", "hover"],
    "layer0.tint": {{{sidebarSettings.selected.backgroundColor}}}
  },
  {
    "class": "label_control",
    "parents": [{"class": "button_control"}],
    "color": {{{sidebarSettings.deselected.textColor}}}
  },
  {
    "class": "label_control",
    "parents": [{"class": "button_control", "attributes": ["pressed", "hover"]}],
    "color": {{{sidebarSettings.selected.textColor}}}
  },

{{!  TEXT INPUT FIELD }}
  {{!  Text input field item }}
  {
    "class": "text_line_control",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}input.png",
    "layer0.tint": {{{inputColor}}},
    "layer0.opacity": 1.0,
    "layer0.inner_margin": [10,10,10,10],
    "content_margin": [4, 5, 15, 4]
  },

{{!  PANEL BACKGROUNDS }}
  {{!  Bottom panel background }}
  {
    "class": "panel_control",
    "layer0.texture": "",
    "layer0.tint": {{{panelBackground}}},
    "layer0.inner_margin": [2, 2, 2, 5],
    "layer0.opacity": 1.0
  },
  {{!  Quick panel background }}
  {
    "class": "overlay_control",
    "layer0.texture": "",
    "layer0.tint": {{{panelBackground}}},
    "layer0.inner_margin": [30, 30, 30, 30], {{!  9grid for the background }}
    "layer0.opacity": 1.0,
    "layer1.texture": "",
    "layer1.tint": {{{panelBackground}}},
    "layer1.inner_margin": [20, 40, 20, 20],
    "layer1.opacity": 1.0,
    "content_margin": [0, 0, 0, 0] {{!  content margin }}
  },
  {{!  Square tabs modify height, move content margin for quick panel }}
  {
    "class": "overlay_control",
    "settings": ["itg_square_tabs"],
    "content_margin": [20, 4, 20, 26]
  },

{{!  QUICK PANEL }}
  {
    "class": "quick_panel",
    "row_padding": [5, 2],
    "layer0.tint": [49, 52, 55],
    "layer0.opacity": 1.0
  },
  {
    "class": "quick_panel_row",
    "layer0.texture": "",
    "layer0.tint": {{{panelBackground}}},
    "layer0.inner_margin": [2, 2, 2, 2],
    "layer0.opacity": 1.0
  },
  {
    "class": "quick_panel_row",
    "attributes": ["selected"],
    "layer0.texture": "",
    "layer0.tint": {{{panelSelectedBackground}}}
  },
  {
    "class": "quick_panel_label",
    "fg": {{{panelTextColor}}},
    "match_fg": {{{panelMatchTextColor}}},
    "selected_fg": {{{panelSelectedTextColor}}},
    "selected_match_fg": {{{panelSelectedMatchTextColor}}}
  },
  {
    "class": "quick_panel_path_label",
    "fg": {{{panelTextColor}}},
    "match_fg": {{{panelMatchTextColor}}},
    "selected_fg": {{{panelSelectedTextColor}}},
    "selected_match_fg": {{{panelSelectedMatchTextColor}}}
  },
  {
    "class": "quick_panel_score_label",
    "fg": {{{white}}},
    "selected_fg": {{{white}}}
  },

{{!  MINI QUICK PANEL }}
  {
    "class": "mini_quick_panel_row",
    "layer0.texture": "",
    "layer0.tint": {{{panelBackground}}},
    "layer0.inner_margin": [2, 2, 2, 2],
    "layer0.opacity": 1.0
  },
  {
    "class": "mini_quick_panel_row",
    "attributes": ["selected"],
    "layer0.texture": "",
    "layer0.tint": {{{primaryColor}}}
  },

{{!  CODE COMPLETION DROPDOWN }}
  {
    "class": "popup_control",
    "content_margin": [0, 0]
  },
  {
    "class": "auto_complete",
    "row_padding": [2, 2],
    "layer0.tint": {{{panelBackground}}},
    "layer0.opacity": 1.0,
    "dark_content": true
  },
  {
    "class": "auto_complete_label",
    "bg": {{{panelSelectedBackground}}},
    "selected_bg": {{{panelSelectedBackground}}},

    {{!  text }}
    "fg": {{{panelTextColor}}},
    "match_fg": {{{panelMatchTextColor}}},
    "selected_fg": {{{panelSelectedTextColor}}},
    "selected_match_fg": {{{panelSelectedMatchTextColor}}}
  },
  {
    "class": "table_row",
    "layer0.texture": "",
    "layer0.opacity": 0.0,
    "layer0.inner_margin": [1, 1]
  },
  {
    "class": "table_row",
    "attributes": ["selected"],
    "layer0.tint": {{{panelSelectedBackground}}},
    "layer0.opacity": 1.0
  },

  {{!  BUTTONS }}
  {{!  :: DEFAULT }}
  {
    "class": "icon_button_control",
    "layer0.texture": "",
    "layer0.tint": {{{sidebarBackground}}},
    "layer0.opacity": 1.0,
    "layer1.opacity": 0.0,
    "layer2.opacity": 0.0,
    "layer3.opacity": 0.0,
    "content_margin": [6, 6]
  },


  {{!  :: HOVER }}
  {
    "class": "icon_button_control",
    "attributes": ["hover"],
    "layer0.texture": "",
    "layer0.tint": {{{sidebarSettings.hover.backgroundColor}}}
  },
  {{!  :: HOVER :: SELECTED }}
  {
    "class": "icon_button_control",
    "attributes": ["selected", "hover"],
    "layer0.tint": {{{sidebarSettings.selected.backgroundColor}}}
  },
  {{!  :: SELECTED }}
  {
    "class": "icon_button_control",
    "attributes": ["selected"],
    "layer0.texture": "",
    "layer0.tint": {{{sidebarSettings.selected.backgroundColor}}}
  },

{{!  BOTTOM PANEL ICONS - GROUP 1 }}
  {{!  Regex search button }}
  {
    "class": "icon_regex",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelRegexIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_regex",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_regex",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

  {{!  Case sensitive search button }}
  {
    "class": "icon_case",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelCaseIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_case",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_case",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

  {{!  Match whole word search button }}
  {
    "class": "icon_whole_word",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelWordIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_whole_word",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_whole_word",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

{{!  BOTTOM PANEL ICONS - GROUP 1 (EXTENDED: FIND IN FILES) }}
  {{!  Show search context button }}
  {
    "class": "icon_context",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelContextIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_context",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_context",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

  {{!  Use search buffer }}
  {
    "class": "icon_use_buffer",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelBufferIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_use_buffer",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_use_buffer",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

{{!  BOTTOM PANEL ICONS - GROUP 2 }}
  {{!  Reverse search direction button }}
  {
    "class": "icon_reverse",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelReverseIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_reverse",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_reverse",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

  {{!  Search wrap button }}
  {
    "class": "icon_wrap",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelWrapIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_wrap",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_wrap",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

  {{!  Search in selection button }}
  {
    "class": "icon_in_selection",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelSelectedIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_in_selection",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_in_selection",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },

{{!  BOTTOM PANEL ICONS - GROUP 3 }}

  {{!  Preserve case button }}
  {
    "class": "icon_preserve_case",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelPreserveIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_preserve_case",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_preserve_case",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  },
{{!  BOTTOM PANEL ICONS - GROUP 4 }}

  {{!  Highlight results button }}
  {
    "class": "icon_highlight",
    "layer0.texture": "{{{iconPath}}}{{{iconPathGroup}}}{{{icons.panelHighlightIcon}}}",
    "layer0.tint": {{{sidebarSettings.deselected.textColor}}},
    "layer0.opacity": 1.0,
    "content_margin": [8, 8]
  },
  {
    "class": "icon_highlight",
    "parents": [{"class": "icon_button_control", "attributes": ["selected"]}],
    "layer0.tint": {{{sidebarSettings.selected.textColor}}}
  },
  {
    "class": "icon_highlight",
    "parents": [{"class": "icon_button_control", "attributes": ["hover"]}],
    "layer0.tint": {{{sidebarSettings.hover.textColor}}}
  }
]

