@import "../../../styles/variables";
@import '../infra_shared/shared';

chef-page-header {
  padding-bottom: 0;
}

chef-toolbar {
  display: block;
  position: relative;
  margin-bottom: 5px;

  small {
    bottom: 2px;
    color: $chef-dark-grey;
    position: absolute;
    right: 0;
  }

  chef-button {
    display: flex;
    margin: 0px;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    float: right;
    background: $chef-primary-bright;
    border-radius: 4px;
    height: 36px;
  }
}

thead {
  font-size: 14px;
  letter-spacing: 0.2px;
  color: $chef-primary-dark;
}

th {
  text-align: left;
  padding: 0px;
}

tbody > .detail-row {
  padding-top: 0px;
  padding-bottom: 15px;
}

.detail-row {
  display: flex;
  color: $chef-primary-dark;
}

.id-column {
  width: 33%;
  padding-top: 0px;
  padding-left: 0px;
}

.type-column {
  width: 66%;
  padding-top: 0px;
  padding-left: 0px;
}

chef-table {
  .controls {
    text-align: right;
  }

  a {
    cursor: pointer;
    text-decoration: underline;
  }

  chef-th {
    font-size: 12px;
  }
}

.spinner {
  chef-loading-spinner {
    width: auto;
    z-index: 199;
    background-color: $chef-white;
    opacity: 0.7;
  }
}

.empty-section {
  margin-top: 130px;
  text-align: center;
}

img {
  width: 70px;
}

::ng-deep chef-button button:focus {
  outline: none;
}

.version-dropdown {
  color: $chef-primary-dark;
  margin-bottom: 30px;

  ::ng-deep label {
    display: inline;
    color: $chef-primary-dark;
    font-size: 15px;
    margin-right: 15px;
  }

  chef-select {
    font-size: 14px;
    font-weight: normal;
  }

  ::ng-deep chef-select .selected-value {
    height: 45px;
    width: 309px;
    background: $chef-white;
    padding: 1em;
    border: 1px solid $chef-form-input;
    box-sizing: border-box;
    border-radius: 4px;
  }

  ::ng-deep chef-select chef-dropdown {
    border: 1px solid $chef-key-tab;
    box-sizing: border-box;
    border-radius: 4px;
  }

  ::ng-deep chef-select chef-option {
    height: 32px;
    padding: 0.4em;
  }

  ::ng-deep chef-select .selected {
    background: $chef-primary-bright;
    border-radius: 4px;
  }
}

