Kite 9753a4
/* -----------------------------------------------------------------------------
Kite 9753a4
   Component: Button Styles
Kite 9753a4
----------------------------------------------------------------------------- */
Kite 9753a4
Kite 9753a4
// Show (+/-) Button
Kite 9753a4
// -----------------------------------------------------------------------------
Kite 9753a4
Kite 799aa3
// A button style for the show more options button
Kite 9753a4
.button-show {
Kite 9753a4
  image: url('@{img-url}/plus.svg');
Kite 9753a4
  image-position: center center;
Kite 9753a4
  margin: 0;
Kite 9753a4
  padding: 1px;
Kite 9753a4
  min-width: 10px;
Kite 9753a4
  min-height: 10px;
Kite 9753a4
  &:checked {
Kite 9753a4
    background-color: @button-bg-color-checked;
Kite 9753a4
    border-color: @button-border-color-checked;
Kite 9753a4
    image: url('@{img-url}/minus.svg');
Kite 9753a4
    &:pressed {
Kite 9753a4
      background-color: @button-bg-color-pressed;
Kite 9753a4
      border-color: @button-border-color-pressed;
Kite 9753a4
    }
Kite 9753a4
    &:hover {
Kite 9753a4
      background-color: @button-bg-color-checked-hover;
Kite 9753a4
    }
Kite 9753a4
  }
Kite 9753a4
}
Kite 9753a4
Kite 9753a4
// Tool Button
Kite 9753a4
// -----------------------------------------------------------------------------
Kite 9753a4
Kite 799aa3
// A button style intended for highlighting selected tools
Kite 9753a4
.button-tool {
Kite 9753a4
  background-color: @toolbutton-bg-color;
Kite 9753a4
  border: 1px solid @toolbutton-border-color;
Kite 9753a4
  border-radius: 2px;
Kite 1a2e2f
  color: @toolbutton-text-color;
Kite 9753a4
  margin: 1px;
Kite 9753a4
  padding: 0;
Kite 9753a4
  &:hover {
Kite 9753a4
    background-color: @toolbutton-bg-color-hover;
Kite 9753a4
    border-color: @toolbutton-border-color-hover;
Kite 1a2e2f
    color: @toolbutton-text-color-hover;
Kite 1a2e2f
  }
Kite 1a2e2f
  &:pressed {
Kite 1a2e2f
    background-color: @toolbutton-bg-color-pressed;
Kite 1a2e2f
    border-color: @toolbutton-border-color-pressed;
Kite 1a2e2f
    color: @toolbutton-text-color-pressed;
Kite 9753a4
  }
Kite 9753a4
  &:checked {
Kite 9753a4
    background-color: @toolbutton-bg-color-checked;
Kite 9753a4
    border-color: @toolbutton-border-color-checked;
Kite 799aa3
    color: @toolbutton-text-color-checked;
Kite 9753a4
    &:hover {
Kite 9753a4
      background-color: @toolbutton-bg-color-checked-hover;
Kite 9753a4
      border-color: @toolbutton-border-color-checked-hover;
Kite 9753a4
    }
Kite 9753a4
  }
Kite 9753a4
  &:disabled {
Kite 9753a4
    color: @text-color-disabled;
Kite 9753a4
  }
Kite 9753a4
}
Kite 9753a4
Kite 799aa3
// Flat Button
Kite 9753a4
// -----------------------------------------------------------------------------
Kite 9753a4
Kite 799aa3
// A flat button style with no border and no margin
Kite 9753a4
.button-flat {
Kite 9753a4
  background-color: none;
Kite 9753a4
  border: 0;
Kite 9753a4
  border-radius: 0;
Kite 9753a4
  margin: 0;
Kite 9753a4
  &:hover {
Kite 9753a4
    background-color: @toolbutton-bg-color-hover;
Kite 9753a4
  }
Kite 9753a4
  &:pressed {
Kite 799aa3
    background-color: @accent;
Kite 9753a4
  }
Kite 9753a4
}