@import '../styles/utils/variables';

a.close {
  display: inline-block;
  opacity: 0.4;
  transition: opacity 0.26s ease;
  vertical-align: text-bottom;
  &:hover {
    opacity: 1;
    .material-icons {
      color: $bn-red;
    }
  }

  .material-icons {
    float: left;
    transition: color 0.26s ease;
  }
}

.row-detail {
  padding: 2px 0 8px;
  div {
    display: flex;
    justify-content: space-between;
  }
  div + div {
    margin-top: 15px;
    padding-top: 5px;
    border-top: solid 2px rgba(255,255,255,0.25);
  }

  .close {
  	font-family: "Open Sans";
    color: $bn-red;
    font-weight: bold;
    opacity: 1;
  }
}

app-table ::ng-deep {
  .bn-table__row {
    &.canceled {
      pointer-events: none;
      [class*=" col-"], [class^="col-"] {
        opacity: 0.4;
        &:not(:last-of-type) {
          text-decoration: line-through;
        }
      }
    }
  }
}

.padded-token {
  margin-left: 4px;
  //white-space: pre; // enable if we want to pad tokens so the numbers line up
}

.open-order-table-font {
  font-size: 11px;
}


// style filled order statuses in filled-orders/filled-orders.component.scss
.order-status {
  display: block;
  margin: auto;
  margin-top: 2px;
  width: 30px;
  height: 17px;
  line-height: 16px;
  text-align: center;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.7);
}
.status-open {
  background-color: rgba(255, 255, 255, 1);
}
.status-process {
  background-color: rgba(238, 238, 238, 0.8);
}
.status-finished {
  font-size: 12px;
  background-color: rgba(0, 245, 196, 0.7);
}
.status-alert {
  background-color: rgba(235, 184, 66, 0.9);
}
.status-error {
  background-color: #d65a62;
}
