#bbb-react-root, #bbb-root {
  height: 100%;
  min-height: calc(100vh - 50px);
}

#bbb-react-root {

  .icon {
    display: inline-block;
    opacity: 0;

    &.icon-visible {
      opacity: 0.5;
    }
  }

  &, & > table {
    width: 100%;
  }

  tr {
    min-height: 62px;
  }

  th {
    border-bottom: 1px #ddd solid;
    cursor: pointer;

    .sort_arrow {
      float: right;
      color: #888;
    }
  }

  td, th {
    padding: 10px;
    position: relative;
    display: table-cell;

    & > form {
      margin: -10px;

      input[type='text'] {
        width: 100%;
      }
    }

    .action-rename {
      &::after {
        display: inline-block;
        position: relative;
        top: 2px;
        left: 2px;
        content: '';
        width: 16px;
        height: 16px;
        background: url('../../img/rename.svg') no-repeat center;
        opacity: 0;

        &:hover {
          opacity: 1;
        }
      }
    }

    &.icon-col {
      width: 32px;
    }

    a.icon {
      margin-left: 5px;
    }
  }

  tr:hover {
    .icon {
      opacity: 0.5;

      &:hover {
        opacity: 1;
      }
    }

    .action-rename {
      &::after {
        opacity: 0.5;
      }

      &:hover::after {
        opacity: 1;
      }
    }
  }

  .copy-to-clipboard {
    cursor: pointer;
    border-radius: 50%;
    width: 20px;
    height: 20px;

    &:active {
      background-color: rgba(0, 128, 0, 0.445);
    }
  }
}