-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
84 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
lib/static/new-ui/features/suites/components/SuitesTreeView/index.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
.tree-view { | ||
margin-top: var(--g-spacing-2); | ||
} | ||
|
||
.tree-view :global(.g-text_ellipsis) { | ||
white-space: normal; | ||
} | ||
|
||
.tree-view__container { | ||
height: 100%; | ||
width: 100%; | ||
overflow-y: auto; | ||
contain: strict; | ||
} | ||
|
||
.tree-view__total-size-wrapper { | ||
width: 100%; | ||
position: relative; | ||
} | ||
|
||
.tree-view__visible-window { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
} | ||
|
||
.tree-view__item { | ||
--g-text-subheader-1-font-size: 18px; | ||
--g-text-subheader-1-line-height: 22px; | ||
--g-text-subheader-font-weight: normal; | ||
|
||
--g-text-body-1-font-size: 18px; | ||
--g-text-body-1-line-height: 22px; | ||
--g-text-body-font-weight: normal; | ||
|
||
padding: 4px 0; | ||
font-size: 18px; | ||
|
||
user-select: none; | ||
} | ||
|
||
.tree-view__item svg { | ||
flex-shrink: 0; | ||
} | ||
|
||
.tree-view__item > div > div { | ||
align-items: start !important; | ||
} | ||
|
||
.tree-view__item--current { | ||
background: #a28aff !important; | ||
color: #fff; | ||
} | ||
|
||
.tree-view__item--current:hover { | ||
background: #af9aff !important; | ||
} | ||
|
||
.tree-view__item--current svg { | ||
color: #fff; | ||
} | ||
|
||
.tree-view__item--browser { | ||
padding-left: 8px; | ||
} | ||
|
||
.tree-view__item--error { | ||
background: var(--g-color-private-red-100); | ||
color: var(--g-color-private-red-600-solid); | ||
} | ||
|
||
.tree-view__item--error:hover { | ||
background: var(--g-color-private-red-50) !important; | ||
} | ||
|
||
|
||
.tree-view__item--error svg { | ||
color: var(--g-color-private-red-600-solid); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters