Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Main
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
QWidget {
Kite 8c766d
  background-color: @bg;
Kite 8c766d
  color: @text-color;
Kite 8c766d
  &:disabled {
Kite 8c766d
    color: @text-color-disabled;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
TPanel {
Kite 8c766d
  // Placeholder
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QFrame {
Kite 8c766d
  border: 0;
Kite 8c766d
  margin: 0;
Kite 8c766d
  padding: 0;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QToolTip,
Kite 8c766d
#helpToolTip {
Kite 8c766d
  background-color: @tooltip-bg-color;
Kite 8c766d
  border: 1 solid @tooltip-border-color;
Kite 8c766d
  color: @tooltip-text-color;
Kite 8c766d
  padding: 1 1;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#DockSeparator,
Kite 8c766d
QMainWindow::separator,
Kite 8c766d
QSplitter::handle {
Kite 8c766d
  background-color: @dock-bg-color;
Kite 8c766d
  height: 4;
Kite 8c766d
  width: 4;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#TDockPlaceholder {
Kite 8c766d
  background-color: @dock-placeholder-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
TPanel {
Kite 8c766d
  background-color: @dock-bg-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Topbar
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#TopBar {
Kite 8c766d
  background: @topbar-bg-color;
Kite 8c766d
  border: 0;
Kite 8c766d
  border-bottom: 1 solid @accent;
Kite 8c766d
  height: 21;
Kite 8c766d
  & #EditToolLockButton {
Kite 8c766d
    background: @topbar-bg-color;
Kite 8c766d
    spacing: 0;
Kite 8c766d
    &::indicator {
Kite 8c766d
      // inherits from #ToolOptions
Kite 8c766d
      background: none;
Kite 8c766d
      border: none;
Kite 8c766d
      height: 18;
Kite 8c766d
      margin: 1 2 0 0;
Kite 8c766d
      padding-left: 0;
Kite 8c766d
      padding-right: 0;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#TopBarTabContainer {
Kite 8c766d
  background-color: @topbar-bg-color;
Kite 8c766d
  margin-bottom: 1; // Required for #TopBar border-bottom to show
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#StackedMenuBar {
Kite 8c766d
  border: 0;
Kite 8c766d
  margin: 0;
Kite 8c766d
  padding: 0;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QMenuBar {
Kite 8c766d
  background-color: @topbar-bg-color;
Kite 8c766d
  border: 0;
Kite 8c766d
  &::item {
Kite 8c766d
    background-color: @topbar-bg-color;
Kite 8c766d
    border-left: 1 solid @topbar-bg-color; // Helps to align with QMenu
Kite 8c766d
    margin: 0;
Kite 8c766d
    padding: 3 5;
Kite 8c766d
    &:selected {
Kite 8c766d
      .hl-color-secondary;
Kite 8c766d
    }
Kite 8c766d
    &:pressed {
Kite 8c766d
      .hl-color;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Workspaces
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#TopBarTab {
Kite 8c766d
  margin: 0;
Kite 8c766d
  padding: 0;
Kite 8c766d
  &::tab {
Kite 8c766d
    background-color: @rooms-tab-bg-color;
Kite 8c766d
    border-top: 1 solid @accent;
Kite 8c766d
    border-right: 1 solid @accent;
Kite 8c766d
    color: @rooms-tab-text-color;
Kite 8c766d
    margin: 0 0 0 0;
Kite 8c766d
    padding: 2 8 3 8;
Kite 8c766d
    &:hover {
Kite 8c766d
      background-color: @rooms-tab-bg-color-hover;
Kite 8c766d
      color: @rooms-text-color-hover;
Kite 8c766d
    }
Kite 8c766d
    &:selected {
Kite 8c766d
      background-color: @rooms-tab-bg-color-selected;
Kite 8c766d
      color: @rooms-tab-text-color-selected;
Kite 8c766d
    }
Kite 8c766d
    &:first {
Kite 8c766d
      border-left: 1 solid @accent;
Kite 8c766d
    }
Kite 8c766d
    &:last {
Kite 8c766d
      border-right: 1 solid @accent;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Menu
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
QMenu {
Kite 8c766d
  background-color: @menu-bg-color;
Kite 8c766d
  border: 1 solid @menu-border-color;
Kite 8c766d
  padding: 2 0;
Kite 8c766d
  &::item {
Kite 8c766d
    padding: 3 28;
Kite 8c766d
    &:selected {
Kite 8c766d
      .hl-color;
Kite 8c766d
    }
Kite 8c766d
    &:checked {
Kite 8c766d
      color: @menu-checkbox-text-color-selected;
Kite 8c766d
      &:selected {
Kite 8c766d
        .hl-color;
Kite 8c766d
      }
Kite 8c766d
    }
Kite 8c766d
    &:disabled {
Kite 8c766d
      background: none;
Kite 8c766d
      color: @text-color-disabled;
Kite 8c766d
      &:selected {
Kite 8c766d
        border-color: transparent;
Kite 8c766d
      }
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
  &::separator {
Kite 8c766d
    border-top: 1 solid @menu-separator-color;
Kite 8c766d
    height: 0;
Kite 8c766d
    margin: 2 0;
Kite 8c766d
  }
Kite 8c766d
  &::icon {
Kite 8c766d
    border-radius: 2;
Kite 8c766d
    margin: 0 0 0 3;
Kite 8c766d
    padding: 1;
Kite 8c766d
    &:checked {
Kite 8c766d
      background-color: @hl-bg-color;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
  &::indicator {
Kite 8c766d
    &:extend(.CheckBox::indicator all);
Kite 8c766d
    margin-left: 7;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Titlebars
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
TPanelTitleBar {
Kite 8c766d
  background-color: @title-bg-color;
Kite 8c766d
  border-color: @accent;
Kite 8c766d
  border-style: solid;
Kite 8c766d
  border-width: 0 0 1 0;
Kite 8c766d
  height: 20;
Kite 8c766d
  min-height: 20;
Kite 8c766d
  qproperty-TitleColor: @title-text-color;
Kite 8c766d
  qproperty-ActiveTitleColor: @title-text-color-active;
Kite 8c766d
  // QSS only works when pixmaps are set to 'none'
Kite 8c766d
  qproperty-BorderPixmap: url('none');
Kite 8c766d
  qproperty-ActiveBorderPixmap: url('@{img-url}/@{title-active-border-pixmap}');
Kite 8c766d
  qproperty-FloatBorderPixmap: url('none');
Kite 8c766d
  qproperty-FloatActiveBorderPixmap: url('@{img-url}/@{title-active-border-pixmap}');
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Scrollbars
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
QAbstractScrollArea::corner {
Kite 8c766d
  background-color: @scrollbar-bg-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QScrollBar {
Kite 8c766d
  background-color: @scrollbar-bg-color;
Kite 8c766d
  border: 0;
Kite 8c766d
  &:horizontal {
Kite 8c766d
    height: 16;
Kite 8c766d
    margin: 0;
Kite 8c766d
  }
Kite 8c766d
  &:vertical {
Kite 8c766d
    margin: 0;
Kite 8c766d
    width: 16;
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::handle {
Kite 8c766d
    border: @scrollbar-handle-border-size solid @scrollbar-handle-border-color;
Kite 8c766d
    border-radius: @scrollbar-handle-radius;
Kite 8c766d
    &:horizontal,
Kite 8c766d
    &:vertical {
Kite 8c766d
      &:hover {
Kite 8c766d
        background-color: @scrollbar-handle-bg-color-hover;
Kite 8c766d
        border-color: @scrollbar-handle-border-color-hover;
Kite 8c766d
      }
Kite 8c766d
      &:pressed {
Kite 8c766d
        background-color: @scrollbar-handle-bg-color-pressed;
Kite 8c766d
        border-color: @scrollbar-handle-border-color-pressed;
Kite 8c766d
      }
Kite 8c766d
    }
Kite 8c766d
    &:horizontal {
Kite 8c766d
      background-color: @scrollbar-handle-bg-color;
Kite 8c766d
      margin: @scrollbar-handle-margin 16;
Kite 8c766d
      min-width: 20;
Kite 8c766d
    }
Kite 8c766d
    &:vertical {
Kite 8c766d
      background-color: @scrollbar-handle-bg-color;
Kite 8c766d
      margin: 16 @scrollbar-handle-margin;
Kite 8c766d
      min-height: 20;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::add-line {
Kite 8c766d
    subcontrol-origin: margin;
Kite 8c766d
    border: 0;
Kite 8c766d
    &:horizontal { // right
Kite 8c766d
      subcontrol-position: right;
Kite 8c766d
      background-color: @scrollbar-bg-color;
Kite 8c766d
      margin: 0;
Kite 8c766d
      width: 16;
Kite 8c766d
    }
Kite 8c766d
    &:vertical { // down
Kite 8c766d
      subcontrol-position: bottom;
Kite 8c766d
      background-color: @scrollbar-bg-color;
Kite 8c766d
      margin: 0;
Kite 8c766d
      height: 16;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::sub-line {
Kite 8c766d
    border: 0;
Kite 8c766d
    subcontrol-origin: margin;
Kite 8c766d
    &:horizontal { // left
Kite 8c766d
      subcontrol-position: left;
Kite 8c766d
      background-color: @scrollbar-bg-color;
Kite 8c766d
      margin: 0;
Kite 8c766d
      width: 16;
Kite 8c766d
    }
Kite 8c766d
    &:vertical { // up
Kite 8c766d
      subcontrol-position: top;
Kite 8c766d
      background-color: @scrollbar-bg-color;
Kite 8c766d
      margin: 0;
Kite 8c766d
      height: 16;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  @arrow-pressed: 1 0 0 0; // press effect shortcut
Kite 8c766d
                           // nudge arrow down 1 on pressed event
Kite 8c766d

Kite 8c766d
  &::up-arrow:vertical {
Kite 8c766d
    image: url('@{img-url}/scroll-up.svg');
Kite 8c766d
    image-position: center center;
Kite 8c766d
    &:pressed {
Kite 8c766d
      margin: @arrow-pressed;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::down-arrow:vertical {
Kite 8c766d
    image: url('@{img-url}/scroll-down.svg');
Kite 8c766d
    image-position: center center;
Kite 8c766d
    &:pressed {
Kite 8c766d
      margin: @arrow-pressed;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::left-arrow:horizontal {
Kite 8c766d
    image: url('@{img-url}/scroll-left.svg');
Kite 8c766d
    image-position: center center;
Kite 8c766d
    &:pressed {
Kite 8c766d
      margin: @arrow-pressed;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::right-arrow:horizontal {
Kite 8c766d
    image: url('@{img-url}/scroll-right.svg');
Kite 8c766d
    image-position: center center;
Kite 8c766d
    &:pressed {
Kite 8c766d
      margin: @arrow-pressed;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d

Kite 8c766d
  &::sub-page,
Kite 8c766d
  &::add-page {
Kite 8c766d
    &:horizontal,
Kite 8c766d
    &:vertical {
Kite 8c766d
      background: none;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Tool Bars
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
// this applies to QToolBar
Kite 8c766d
// !!!! this is not the #ToolBar window !!!!
Kite 8c766d
// look in [layouts/toolbar] for the window
Kite 8c766d

Kite 8c766d
QToolBar {
Kite 8c766d
  padding: 0;
Kite 8c766d
  &::separator {
Kite 8c766d
    &:horizontal {
Kite 8c766d
      border-left: 1 solid @accent;
Kite 8c766d
      margin: 0 1;
Kite 8c766d
      width: 0;
Kite 8c766d
    }
Kite 8c766d
    &:vertical {
Kite 8c766d
      border-top: 1 solid @accent;
Kite 8c766d
      height: 0;
Kite 8c766d
      margin: 1 0;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
  & QLabel {
Kite 8c766d
    margin-top: 1;
Kite 8c766d
  }
Kite 8c766d
  & QToolBar {
Kite 8c766d
    border: 0;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QToolButton {
Kite 8c766d
  &:extend(.button-tool all);
Kite 8c766d
  &::menu-indicator {
Kite 8c766d
    image: none;
Kite 8c766d
  }
Kite 8c766d
  &::menu-button {
Kite 8c766d
    border-image: none;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -------------------------------------------------------------------------- */
Kite 8c766d
/* Scrollable QToolBar Buttons
Kite 8c766d
/* -------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
.DvScrollWidget {
Kite 8c766d
  & QPushButton {
Kite 8c766d
    background-color: @scrollable-button-bg-color;
Kite 8c766d
    border: 0 solid @scrollable-button-border-color;
Kite 8c766d
    border-radius: 0;
Kite 8c766d
    padding: 0;
Kite 8c766d
    max-width: 16;
Kite 8c766d
    &:hover {
Kite 8c766d
      background-color: @scrollable-button-bg-color-hover;
Kite 8c766d
    }
Kite 8c766d
    &:pressed {
Kite 8c766d
      background-color: @scrollable-button-bg-color-pressed;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
DvScrollWidget {
Kite 8c766d
  // Can't extend to a Qt selector so we use
Kite 8c766d
  // a mixin instead
Kite 8c766d
  &:extend(.DvScrollWidget all);
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#ScrollLeftButton,
Kite 8c766d
#ScrollRightButton,
Kite 8c766d
#ScrollUpButton,
Kite 8c766d
#ScrollDownButton {
Kite 8c766d
  &:extend(.DvScrollWidget all);
Kite 8c766d
  margin: 0;
Kite 8c766d
  min-width: 16;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#ScrollLeftButton {
Kite 8c766d
  border-right: 1 solid @accent;
Kite 8c766d
  image: url('@{img-url}/scroll-left.svg');
Kite 8c766d
}
Kite 8c766d
#ScrollRightButton {
Kite 8c766d
  border-left: 1 solid @accent;
Kite 8c766d
  margin-left: 3;
Kite 8c766d
  image: url('@{img-url}/scroll-right.svg');
Kite 8c766d
}
Kite 8c766d
#ScrollUpButton {
Kite 8c766d
  image: url('@{img-url}/scroll-up.svg');
Kite 8c766d
}
Kite 8c766d
#ScrollDownButton {
Kite 8c766d
  image: url('@{img-url}/scroll-down.svg');
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#keyFrameNavigator {
Kite 8c766d
  background: none;
Kite 8c766d
  margin: 0;
Kite 8c766d
  padding: 0;
Kite 8c766d
  & QToolButton {
Kite 8c766d
    min-width: 18;
Kite 8c766d
  }
Kite 8c766d
  #PreviousKey {
Kite 8c766d
    image: url('@{img-url}/prevkey.svg');
Kite 8c766d
    &:hover {
Kite 8c766d
      image: url('@{img-url}/prevkey_over.svg');
Kite 8c766d
    }
Kite 8c766d
	  &:disabled {
Kite 8c766d
		  image: url('@{img-url}/prevkey_disabled.svg');
Kite 8c766d
	  }
Kite 8c766d
  }
Kite 8c766d
  #NextKey {
Kite 8c766d
    image: url('@{img-url}/nextkey.svg');
Kite 8c766d
    &:hover {
Kite 8c766d
      image: url('@{img-url}/nextkey_over.svg');
Kite 8c766d
    }
Kite 8c766d
	  &:disabled {
Kite 8c766d
		  image: url('@{img-url}/nextkey_disabled.svg');
Kite 8c766d
	  }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Tree Systems
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
QTreeWidget {
Kite 8c766d
  &:extend(.tree-list all);
Kite 8c766d
  background: @tree-bg-color;
Kite 8c766d
  alternate-background-color: @tree-bg-color-alt;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
QListView {
Kite 8c766d
  outline: 0; // hide focus border
Kite 8c766d
  background: @tree-bg-color;
Kite 8c766d
  alternate-background-color: @tree-bg-color-alt;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Tab Systems
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#TabBarContainer {
Kite 8c766d
  &:extend(.tab-container);
Kite 8c766d
  background-color: @tabbar-bg-color;
Kite 8c766d
}