Refactor builder store and remove wall store
Refactor builder store and remove wall store - Consolidated wall-related state management into the builder store by removing the useWallStore. - Added new properties and setters for wall attributes (thickness, height, materials) in the builder store. - Introduced SelectedWallProperties and WallProperties components for managing wall properties in the sidebar. - Created a new floor store for managing floor-related state. - Added a wall asset store for managing wall assets. - Implemented a zone store for managing zones and their properties. - Updated sidebar styles for better layout and appearance.
This commit is contained in:
@@ -1657,8 +1657,13 @@
|
||||
|
||||
.sidebar-right-wrapper {
|
||||
.wall-properties-container {
|
||||
.wall-properties-section{
|
||||
padding: 14px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.header {
|
||||
color: var(--background-color-button);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.wall-properties {
|
||||
@@ -1692,7 +1697,7 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
background: var(--Grays-Gray-6, #f2f2f7);
|
||||
background: var(--background-color-secondary);
|
||||
padding: 18px 25px;
|
||||
|
||||
.sides-wrapper {
|
||||
@@ -1736,8 +1741,10 @@
|
||||
}
|
||||
|
||||
.preview {
|
||||
width: 90%;
|
||||
width: 100%;
|
||||
height: 111px;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
@@ -1750,7 +1757,8 @@
|
||||
.materials {
|
||||
max-height: 250px;
|
||||
overflow: auto;
|
||||
margin-bottom: 6px;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 16px;
|
||||
padding: 0 12px;
|
||||
|
||||
.material-container {
|
||||
|
||||
Reference in New Issue
Block a user