/*
 * 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.
 */
.treeNodeControl {
  transition: opacity 0.3s ease;
  opacity: 1;

  &.outdated {
    opacity: 0.5;
  }
}

.treeNodeControl:hover > .portal,
.treeNodeControl[aria-selected='true'] > .portal,
.portal:focus-within {
  visibility: visible;
}

.treeNodeName {
  composes: theme-text-text-hint-on-light theme-typography--caption from global;
  height: 100%;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal {
  position: relative;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: 8px !important;
  visibility: hidden;
}

.nameBox {
  overflow: hidden;
  text-overflow: ellipsis;
}
