-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
0628088
commit ad3d91c
Showing
17 changed files
with
247 additions
and
190 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
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
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
117 changes: 117 additions & 0 deletions
117
code/client/src/ui/components/sidebar/components/workspace-tree/WorkspaceTree.scss
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,117 @@ | ||
.workspace-tree { | ||
ul { | ||
padding: 0; | ||
li { | ||
padding: 1px; | ||
} | ||
} | ||
|
||
.popup { | ||
position: fixed; | ||
background: black; | ||
color: white; | ||
border-radius: 15px; | ||
margin-left: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: start; | ||
align-items: start; | ||
|
||
button { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: start; | ||
align-items: center; | ||
gap: 10px; | ||
width: 100%; | ||
border-radius: 15px; | ||
} | ||
|
||
button:hover { | ||
color: white; | ||
background-color: rgb(255, 255, 255, 0.1); | ||
} | ||
} | ||
|
||
.resource { | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
|
||
.resource-header { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
transition: 0.1s; | ||
width: 90%; | ||
border-radius: 5px; | ||
|
||
:first-child { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
div { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: start; | ||
border-radius: 5px; | ||
user-select: none; | ||
} | ||
} | ||
|
||
.resource-header:hover { | ||
background-color: rgba(0, 0, 0, 0.1); | ||
cursor: pointer; | ||
} | ||
|
||
.resource-header > button { | ||
display: none; | ||
} | ||
|
||
.resource-header:hover > button { | ||
display: block; | ||
} | ||
|
||
.resource-header > button:hover { | ||
color: gray; | ||
} | ||
|
||
.resource-header > div { | ||
white-space: nowrap; | ||
overflow-x: hidden; | ||
text-overflow: ellipsis; | ||
max-width: max-content; | ||
|
||
button { | ||
padding: 0; | ||
} | ||
} | ||
|
||
.resource-children { | ||
padding-left: 10px; | ||
} | ||
|
||
.resource-name { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 2px; | ||
} | ||
|
||
.folder svg { | ||
color: darkgray; | ||
} | ||
|
||
button { | ||
background-color: transparent; | ||
color: black; | ||
padding: 5px; | ||
margin: 0; | ||
} | ||
} | ||
} |
3 changes: 2 additions & 1 deletion
3
...ents/sidebar/components/WorkspaceTree.tsx → ...mponents/workspace-tree/WorkspaceTree.tsx
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
Oops, something went wrong.