-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Sidebar and empty scene context
- Loading branch information
Showing
9 changed files
with
242 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
8 changes: 8 additions & 0 deletions
8
examples/experimental/nodes/frontend/src/components/Sidebar/SceneContext.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,8 @@ | ||
#scene-context { | ||
width: 260px; | ||
background-color: #252526; | ||
color: #cccccc; | ||
border-right: 1px solid #333; | ||
overflow-y: auto; | ||
padding: 0px 0 0 10px; | ||
} |
11 changes: 11 additions & 0 deletions
11
examples/experimental/nodes/frontend/src/components/Sidebar/SceneContext.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
import './SceneContext.css'; | ||
|
||
|
||
export const SceneContext: React.FC = () => { | ||
return ( | ||
<div> | ||
{/* Scene context content will go here */} | ||
</div> | ||
); | ||
}; |
24 changes: 24 additions & 0 deletions
24
examples/experimental/nodes/frontend/src/components/Sidebar/Sidebar.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,24 @@ | ||
.sidebar { | ||
width: 50px; | ||
background-color: #333; | ||
color: #fff; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 10px 0; | ||
border-right: 1px solid #444; | ||
} | ||
|
||
.sidebar-button { | ||
background: none; | ||
border: none; | ||
color: #fff; | ||
margin: 5px 0; | ||
cursor: pointer; | ||
font-size: 12px; | ||
text-align: center; | ||
} | ||
|
||
.sidebar-button:hover { | ||
background-color: #444; | ||
} |
Oops, something went wrong.