@import "gn.less";
@import "timeline.less";

.gn-chart{
  height:500px;
}

.gn-chart-small{
  height:50%;
}

.gn-btn-admin{
  width:31% !important;
  height: 150px;
  float:left;
  margin:5px;
  padding-top: 25px;
}
.gn-btn-admin p{
  white-space: normal;
}

.gn-logo-settings * div.gn-thumbnail{
  text-align:center;
  height:150px;
}
.gn-logo-settings * div.gn-thumbnail img{
  max-height:60%;
}

.harvester-logo {
 height:20px;
}

.gn-action:not([disabled]) {
  cursor: pointer;
}
.gn-action[disabled] {
  cursor: not-allowed;
  text-decoration: none;
  color: grey;
}

.ng-invalid {
  outline-color: #ff0000;
}

fieldset.cswCriteriaInfo, ul.list-group {
  padding-right: 1em;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 40em;
}

fieldset.cswCriteriaInfo, ul.criteria-list-group {
  padding-right: 1em;
  overflow-x: hidden;
}

.gn-virtual-csw .radio-inline {
  width: 24%;
}

.badge-warning {
  background-color: @alert-warning-text;
}

.badge-danger {
  background-color: @alert-danger-text;
}

.health-check.alert-warning a {
  background-color: @alert-warning-bg;
  color: @alert-warning-text;
}
.health-check.alert-danger a {
  background-color: @alert-danger-bg;
  color: @alert-danger-text;
}
ul.error-message {
  .left-offset {
  left: -2em;
  }

  overflow-x: auto;
  z-index: 9999999;
  dl,pre {
    margin-left: 5px;
    margin-right: 5px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    dd > span {
      padding-left: 10px;
    }
  }
}

.input-group-addon.highlight:hover {
  color: @label-primary-bg;
  cursor: pointer;
}

.thread-state-NEW {
  background-color: white;
}
.thread-state-RUNNABLE {
  background-color: LIGHTGREEN;
}
.thread-state-BLOCKED {
  background-color: RED;
}
.thread-state-WAITING {
  background-color: ORANGE;
}
.thread-state-TIMED_WAITING {
  background-color: YELLOW;
}
.thread-state-TERMINATED {
  background-color: LIGHTGRAY;
}

#admin-console-link {
  cursor: pointer;
}

// remove bottom margin from pager
// (this breaks layout because the component may or may not be there)
ul.pager {
  margin-bottom: 0px;
}

#gn-thesaurus-container {
  // Fixes gn-modal windows; TODO: fix this globally in gn-popup style
  [gn-modal] {
    max-width: none;
    max-height: none;

    @media (min-width: 992px) {
      .modal-dialog {
        width: 650px;
      }
    }
  }

  .thesaurus-header .panel-body {
    padding-bottom: 0px;
  }

  .panel-heading input.filter-text {
    width: 20%;
    min-width: 13em;
    height: 2em;
  }

  .list-group-item.keyword-item {
    padding: 8px;
    line-height: 1em;
  }
}
// harvester privileges

.list-group-interne {
  background-color: #d9edf7;
}
ul > li > a.privilege-check-order{
  margin-right: 20px;
}
ul > li.list-group-item > input {
  margin-right: 40px;
  margin-left: 30px;
}
