.thor__visualization {
  width: 100%;
  height: 100%;
}
.thor__input {
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid @grayLighter;
  &:focus {
    outline: none;
    box-shadow: 0 0 2px @grayLight;
  }
}

.thor__yes_no {
  label {
    font-weight: normal;
    margin-right: 10px;
    input { margin-right: 5px; }
  }
}

.thor__button {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  background-color: transparent;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 0 0 10px;
  &.sm {
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 5px;
  }
  &.md {
    padding: 3px 7px;
    font-size: 0.9em;
    margin-left: 5px;
  }
}

.create-buttons(@name; @color) {
  .thor__button-outlined-@{name} {
    .thor__button;
    border-color: @color;
    color: @color !important;
    &:hover {
      border-color: darken(@color, 10%);
      color: darken(@color, 10%) !important;
    }
  }
  .thor__button-solid-@{name} {
    .thor__button;
    background-color: @color;
    color: @white !important;
    &:hover {
      background-color: darken(@color, 10%);
      color: @white !important;
    }
  }
}


.create-buttons(gray, @kibanaGray);
.create-buttons(grayLight, @grayLight);
.create-buttons(default, @esBlue);
.create-buttons(primary, @esGreen);
.create-buttons(danger, @esRed);

.pui-tooltip { font-size: 12px !important; }

.add_delete__buttons {
  > * {
    margin-left: 5px;
  }
  .disabled {
    color: @gray;
    border-color: @gray;
  }
}

/**
  * 1. The absolute positioning broke reports and was fighting with display: flex,
  *    setting the flex-basis to 100% fixed the issue the abs positioning was trying to fix
  */
.dashboard__visualization {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%; /* 1 */
  padding: 10px;
}

.dashboard__visualization-title {
  color: rgba(0,0,0,0.6);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  margin-bottom: 10px;
  flex: 0 0 auto;
  &.reversed {
    color: rgba(255,255,255,0.8);
  }
}

.tsvb-table__value {
  font-size: 1.1em;
  text-align: right;
}

.tsvb-table__trend {
  margin-left: 5px;
}

.tsvb-table__columnName {
  text-align: right;
}

