#nodes-formset-datatable .datatable tbody {
  input {
    padding: 2px 1px;
  }
  input.number_input_slim {
    width: 3em;
  }
  td {
    padding: 2px;
    text-align: center;
    a.close {
        margin-right: 4px;
    }
  }
}

$link-color: #428bca;

// Register nodes formset
.register-nodes-formset {
  a.node-icon {
    display: block;
    float: right;
    padding-left: 10px;
  }

  .nav-pills > .active > a {
    color: #fff;
    background-color: $link-color;
  }

  ul.nav-pills > li span.delete-icon {
    display: none;
  }

  ul.nav-pills > li.active span.delete-icon {
    display: block;
    cursor: default;
    color: #fff;
    z-index: 1000;
    position: absolute;
    right: 16px;
    top: 10px;
  }

  ul.nav-pills > li {
    position: relative;
  }

  ul.nav-pills > li.active {
    width: 107%;
  }

  ul.nav-pills > li.active:after {
    display: block;
    content: '';
    position: absolute;
    top: 1px;
    right: -7px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 8px solid $link-color;
  }

  .register-nav-head {
    margin-top: 19px;
    margin-bottom: 5px;

    h4 {
        margin: 0;
    }
  }

  .form h5 {
    margin: 0.5em 0 0.75em 0;
  }

  .form label.checkbox {
    font-weight: normal;
  }

  .panel {
      margin: 8px -8px 8px -8px;
      padding: 8px;
      .panel-heading {
          margin: -8px -8px 0 -8px;
      }
  }

  fieldset .form-group {
    width: 100%;
    input, textarea, select {
      width: 100%;
      margin-left: 5px;
    }
  }

  .required label:after {
    content: "*";
    font-weight: bold;
    line-height: 0;
    padding-left: 4px;
    color: #428bca;
  }
}


#detail__overview, #collapseParameters {
  ul {
    list-style: disc;
    margin: 0 0 9px 25px;
  }
}

// Power state icons
.fa.powerstate {
  display: inline-block;
  vertical-align: middle;
  &.fa-play {
    color: $brand-success;
  }
}

// Node detail view
.node-details {
   .chart svg {
        path.undefined {
            stroke-width: 1px;
            stroke: #ff7f0e;
        }

        .y_ticks text {
            display: none;
        }
    }
}

// Node overview

.nodes {
  .widget-info {
    padding: 0 30px 0 30px;
    text-align: center;
    span {
      font-size: 300%;
    }
  }

  .d3_pie_chart_distribution {
    .legend {
      position: relative;
    }
  }
}

// Plan overview

.deployment-icon {
    vertical-align: middle;
    float: left;
    text-align: center;
    color: #ddd;
    background: #fff;
}

.deployment-box {
    border-left: 4px solid #eee;
    margin-left: 24px;
    margin-bottom: 12px;
    padding-left: 20px;
}

.deployment-buttons {
    margin-top: 12px;
}

.deployment-roles-label {
    font-weight: bold;
    display: block;
    margin: 14px 0 0 0;
}

.deploy-role-icon {
    a {
        display: inline-block;
        margin: 7px 0 0 0;
    }
    i {
        display: inline-block;
        margin: 14px 0 0 0;
    }
}
.deploy-role-count {
    text-align: right;
    vertical-align: middle;
    font-size: 32px;
    small {
        font-size: 28px;
    }
}

#collapseDriver {
    margin-left: -50px;
}

/* Configuration parameters */
table .data-table-config-label {
    width: 20em;
    vertical-align: top;
}
table .data-table-config-value {
    font-weight: bold;
}
table.definition-list-table > thead {
    display: none;
}
table.definition-list-table > tbody > tr > td {
    border: 0;
}


ul.nav-arrow {
  padding-top: 30px;
  & > li {
    z-index: 1000;
    position: relative;
    margin-right: -30px;
    & > a {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
    &.active {
      margin-right: -31px;
      &:after {
        display: block;
        content: '';
        position: absolute;
        top: 0px;
        right: -12px;
        border-top: 19px solid transparent;
        border-bottom: 19px solid transparent;
        border-left: 12px solid $link-color;
      }
    }
  }
}

.configuration-panel {
  padding: 15px 0 0px 30px !important;
  border: none;
  border-left: 1px solid $border-color;
  border-radius: 0;
  box-shadow: none;
}

.password-button + div.popover {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.form-horizontal label .popover {
  min-width: 250px;
  .popover-content {
    font-weight: normal;
  }
}

// hacky positioning of advanced service config form buttons next to header
.page_form_actions {
  margin-top: -5em;
}
