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

$row-padding: 8px;

:host {
  display: block;
}

.grey {
  background-color: rgb(245, 245, 245);
}

.row-right-padding {
  padding-right: $row-padding;
}

tr th.right-align {
  text-align: right;
}

.action-list {
  display: flex;
  width: fit-content;
  margin: auto 0 auto auto;
}

.action-button {
  margin: auto 0.2rem;
}

.mat-cell-truncate {
  max-width: 20px;
}

th.mat-header-cell {
  padding-right: $row-padding;
  padding-left: $row-padding;
}

td.mat-cell {
  padding-right: $row-padding;
  padding-left: $row-padding;
}

.mat-row:hover {
  background-color: rgb(245, 245, 245);
}

.mat-row:hover .link {
  text-decoration: underline;
}

a {
  display: inline-block;
  text-decoration: none;
  color: black;
  max-width: 100%;
}

a:hover {
  text-decoration: underline;
  color: $link-color;
  cursor: pointer;
}

lib-action {
  width: 40px;
  display: inline-flex;
  justify-content: center;
  height: 40px;
}

.mat-form-field {
  width: 100%;
}

.filter-icon {
  margin-right: 4px;
}

.filter-header {
  margin-right: 8px;
}

.highlight-row {
  background-color: #ffffcd;
}
