@import '../../../global/theme.less';

.root {
  position: sticky;
  top: 0;
  width: 100%;
  background: @t-dashboard-block-bg;
  color: @t-dashboard-color;
  z-index: 2;

  .main {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    width: 100%;
    align-items: center;
  }
  .property {
    width: 0;
    flex-grow: 1;
  }

  &.fullScreen {
    top: 0;
    &.autoHide {
      position: fixed;
      height: auto;
      opacity: 0;
      transform: translateY(calc(-100% + 10px));
      transition: 0.3s;
      &:hover {
        transform: translateY(0);
        opacity: 1;
      }
    }
  }
}
