@import "src/style/modules";

.raw-flux-data-table > .fancy-scroll--container,
.raw-flux-data-table--cell {
  border: ($ix-border / 2) solid $g2-kevlar;
}

.raw-flux-data-table--cell {
  font-family: $cf-code-font;
  font-size: 12px;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;

  .raw-flux-data-table--cell-bg {
    background: $g0-obsidian;
    border: 2px solid $g0-obsidian;
    position: absolute;
    padding: 5px;
    border-radius: 2px;
    width: calc(100% - 10px);
    min-width: 100%;
    min-height: 100%;
    text-overflow:  ellipsis;
    white-space: nowrap;
    overflow: hidden;
    user-select: text;
    cursor: text;
  }

  &:hover {
    z-index: 2;

    .raw-flux-data-table--cell-bg {
      border: 2px solid $c-pool;
      background: $g5-pepper;
      width: auto;
    }
  }
}
