Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Style Editor
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#StyleEditor {
Kite 8c766d
  & QPushButton {
Kite 6ecce0
    // Adds spacing to buttons, but this setting may be temporary
Kite 8c766d
    margin: 2 1;
Kite 8c766d
    padding: 0;
Kite 8c766d
  }
Kite 8c766d
  & #TabBarContainer {
Kite 8c766d
    margin-left: -4; // reset left edge margin
Kite 8c766d
  }
Kite 8c766d
  & #bottomWidget {
Kite 8c766d
    border-top: 1 solid @accent;
Kite 8c766d
    padding: 3 2 8 3;
Kite 8c766d
    & QPushButton {
Kite 8c766d
      // override above margin reset
Kite 8c766d
      padding: 3 5;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#StyleEditorTabBar {
Kite 8c766d
  &::tab {
Kite 8c766d
    &:extend(.tab-flat all);
Kite 8c766d
    &::first {
Kite 8c766d
      // add a border to first item on
Kite 8c766d
      // the left side due to the spacer
Kite 8c766d
      // coded in the cpp file
Kite 8c766d
      border-left: 1 solid @accent;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#HexagonalColorWheel {
Kite 8c766d
  qproperty-BGColor: @bg;
Kite 8c766d
}
Kite 8c766d

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

Kite 8c766d
/* Horizontal QSlider */
Kite 8c766d

Kite 8c766d
#colorSlider {
Kite 8c766d
  &::groove:horizontal {
Kite 8c766d
    height: 1;
Kite 8c766d
    border-image: none;
Kite 8c766d
  }
Kite 8c766d
  &::handle:horizontal {
Kite 8c766d
    width: 8;
Kite 8c766d
    margin: -8 -4;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#colorSliderAddButton, 
Kite 8c766d
#colorSliderSubButton {
Kite 8c766d
  background: none;
Kite 8c766d
  border-color: transparent;
Kite 8c766d
  image-position: center center;
Kite 8c766d
  min-height: 16;
Kite 8c766d
  padding: 0;
Kite 8c766d
  min-width: 18;
Kite 8c766d
  &:hover {
Kite 8c766d
    &:extend(.button-tool:hover);
Kite 8c766d
  }
Kite 8c766d
  &:pressed {
Kite 8c766d
    &:extend(.button-tool:pressed);
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#colorSliderAddButton {
Kite 8c766d
  image: url('@{img-url}/scroll-right.svg');
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#colorSliderSubButton {
Kite 8c766d
  image: url('@{img-url}/scroll-left.svg');
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#PlainColorPageParts {
Kite 6ecce0
  border-bottom: 1 solid @accent;
Kite 8c766d
  & QLineEdit {
Kite 8c766d
    max-width: 35;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#colorSliderLabel, 
Kite 8c766d
#colorSliderField {
Kite 8c766d
  // Placeholder
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Palette Viewer / Studio Palette
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
PaletteViewer {
Kite 8c766d
  & DvScrollWidget {
Kite 8c766d
    & QPushButton {
Kite 8c766d
      border-top: 0;
Kite 8c766d
      margin-bottom: 1;
Kite 8c766d
      max-width: 15;
Kite 8c766d
      min-width: 15;
Kite 8c766d
    }
Kite 8c766d
    & #ScrollLeftButton {
Kite 8c766d
      border-radius: 0;
Kite 8c766d
      margin-bottom: 1;
Kite 8c766d
      max-width: 16;
Kite 8c766d
      min-width: 16;
Kite 8c766d
    }
Kite 8c766d
    & #ScrollRightButton {
Kite 8c766d
      border-radius: 0;
Kite 8c766d
      margin-left: 1;
Kite 8c766d
      margin-bottom: 1;
Kite 8c766d
      max-width: 16;
Kite 8c766d
      min-width: 16;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
  & QToolBar {
Kite 8c766d
    background: none;
Kite 8c766d
    border-bottom: 1 solid @accent;
Kite 8c766d
    padding: 0;
Kite 8c766d
    margin: 0;
Kite 8c766d
    &::separator:horizontal {
Kite 8c766d
      margin: 0; // very compact space
Kite 8c766d
                 // so remove margin
Kite 8c766d
    }
Kite 8c766d
    & QToolButton {
Kite 6ecce0
      &:extend(.button-flat all); // Use flat button style
Kite 6ecce0
      margin: 0 0 1 0; // Forces extra height to QToolBar
Kite 6ecce0
      padding: 1 0 2 0;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#StudioPalette {
Kite 6ecce0
  // placeholder
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#PaletteTabBar {
Kite 8c766d
  &::tab {
Kite 8c766d
    &:extend(.tab-flat all);
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#PageViewer {
Kite 8c766d
  qproperty-TextColor: @text-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#PaletteLockButton {
Kite 8c766d
  border-radius: 0;
Kite 8c766d
  margin: 0 0 1 1;
Kite 8c766d
  &:checked {
Kite 8c766d
    background-color: @toolbutton-lock-bg-color-checked;
Kite 8c766d
    border-color: @toolbutton-lock-border-color-checked;
Kite 8c766d
    &:hover {
Kite 8c766d
      background-color: @toolbutton-lock-bg-color-checked-hover;
Kite 8c766d
      border-color: @toolbutton-lock-border-color-checked-hover;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Quick Renamer
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#WordButton {
Kite 8c766d
  &:extend(.QPushButton all);
Kite 8c766d
  // remove horizontal padding
Kite 8c766d
  // otherwise moderate length text
Kite 8c766d
  // gets clipped
Kite 8c766d
  padding-right: 0;
Kite 8c766d
  padding-left: 0;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#SolidLineFrame {
Kite 8c766d
  &:extend(.frame all);
Kite 8c766d
}