123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- @import "../../styles/common";
- .root {
- display: flex;
- &.selected:not(.is_tray):hover {
- .edit {
- display: block;
- }
- }
- .edit {
- z-index: 10;
- //background: var(--swh-selected-bg);
- padding: 0 2px;
- display: none;
- cursor: pointer;
- svg {
- opacity: 0.5;
- transition: 0.3s;
- }
- &:hover {
- svg {
- opacity: 1;
- }
- }
- }
- }
- .title {
- flex: 1 1 auto;
- position: relative;
- //padding-left: 10px;
- height: var(--swh-tree-row-height);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- cursor: default;
- }
- .folder_open {
- .folder_arrow {
- transform: rotate(90deg);
- margin-top: 1px;
- margin-left: -10px;
- }
- }
- .folder_arrow {
- position: absolute;
- margin-top: 1px;
- margin-left: -10px;
- cursor: pointer;
- transition: 0.3s;
- font-size: 8px;
- }
- .icon {
- margin-right: 0.5em;
- display: inline-block;
- vertical-align: middle;
- &.folder {
- cursor: pointer;
- }
- svg {
- position: relative;
- top: -1px;
- }
- }
- .status {
- flex: 0 0 auto;
- display: flex;
- align-items: center;
- gap: 5px;
- margin: auto 6px auto auto;
- }
- .children {
- overflow: hidden;
- transition: 0.3s;
- }
|