/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */
.timer {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  user-select: none;

  & > .icon {
    width: 16px;
    height: 16px;
  }

  & .state {
    opacity: 0;

    & > .icon {
      width: 12px;
      height: 12px;
    }
  }
}
.state,
.interval {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
}
.timer {
  &:hover {
    & .state {
      opacity: 1;
    }
    & .interval {
      opacity: 0;
    }
  }
}
.interval {
  font-size: 8px;
  font-weight: bold;
  line-height: normal;
  justify-content: center;
  align-items: center;
}
