Merge remote-tracking branch 'origin/v3-ui' into v3
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 646 B |
After Width: | Height: | Size: 551 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 494 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 550 B |
After Width: | Height: | Size: 229 B |
|
@ -67,142 +67,142 @@ const SideBarRight: React.FC = () => {
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<Header />
|
<Header />
|
||||||
{toggleUIRight && !isVersionSaved && (
|
{toggleUIRight && (
|
||||||
<div className="sidebar-actions-container">
|
<>
|
||||||
{activeModule !== "simulation" && (
|
{!isVersionSaved && (
|
||||||
<button
|
<div className="sidebar-actions-container">
|
||||||
id="sidebar-action-list-properties"
|
{activeModule !== "simulation" && (
|
||||||
className={`sidebar-action-list ${
|
<button
|
||||||
subModule === "properties" ? "active" : ""
|
id="sidebar-action-list-properties"
|
||||||
}`}
|
className={`sidebar-action-list ${
|
||||||
onClick={() => {
|
subModule === "properties" ? "active" : ""
|
||||||
setSubModule("properties");
|
}`}
|
||||||
setVersionHistory(false);
|
onClick={() => {
|
||||||
}}
|
setSubModule("properties");
|
||||||
>
|
setVersionHistory(false);
|
||||||
<div className="tooltip">properties</div>
|
}}
|
||||||
<PropertiesIcon isActive={subModule === "properties"} />
|
>
|
||||||
</button>
|
<div className="tooltip">properties</div>
|
||||||
|
<PropertiesIcon isActive={subModule === "properties"} />
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
|
{activeModule === "simulation" && (
|
||||||
|
<>
|
||||||
|
<button
|
||||||
|
id="sidebar-action-list-simulation"
|
||||||
|
className={`sidebar-action-list ${
|
||||||
|
subModule === "simulations" ? "active" : ""
|
||||||
|
}`}
|
||||||
|
onClick={() => {
|
||||||
|
setSubModule("simulations");
|
||||||
|
setVersionHistory(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div className="tooltip">simulations</div>
|
||||||
|
<SimulationIcon isActive={subModule === "simulations"} />
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
id="sidebar-action-list-mechanics"
|
||||||
|
className={`sidebar-action-list ${
|
||||||
|
subModule === "mechanics" ? "active" : ""
|
||||||
|
}`}
|
||||||
|
onClick={() => {
|
||||||
|
setSubModule("mechanics");
|
||||||
|
setVersionHistory(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div className="tooltip">mechanics</div>
|
||||||
|
<MechanicsIcon isActive={subModule === "mechanics"} />
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
id="sidebar-action-list-analysis"
|
||||||
|
className={`sidebar-action-list ${
|
||||||
|
subModule === "analysis" ? "active" : ""
|
||||||
|
}`}
|
||||||
|
onClick={() => {
|
||||||
|
setSubModule("analysis");
|
||||||
|
setVersionHistory(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div className="tooltip">analysis</div>
|
||||||
|
<AnalysisIcon isActive={subModule === "analysis"} />
|
||||||
|
</button>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
{activeModule === "simulation" && (
|
|
||||||
<>
|
{viewVersionHistory && (
|
||||||
<button
|
<div className="sidebar-right-container">
|
||||||
id="sidebar-action-list-simulation"
|
<div className="sidebar-right-content-container">
|
||||||
className={`sidebar-action-list ${
|
<VersionHistory />
|
||||||
subModule === "simulations" ? "active" : ""
|
</div>
|
||||||
}`}
|
</div>
|
||||||
onClick={() => {
|
|
||||||
setSubModule("simulations");
|
|
||||||
setVersionHistory(false);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="tooltip">simulations</div>
|
|
||||||
<SimulationIcon isActive={subModule === "simulations"} />
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
id="sidebar-action-list-mechanics"
|
|
||||||
className={`sidebar-action-list ${
|
|
||||||
subModule === "mechanics" ? "active" : ""
|
|
||||||
}`}
|
|
||||||
onClick={() => {
|
|
||||||
setSubModule("mechanics");
|
|
||||||
setVersionHistory(false);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="tooltip">mechanics</div>
|
|
||||||
<MechanicsIcon isActive={subModule === "mechanics"} />
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
id="sidebar-action-list-analysis"
|
|
||||||
className={`sidebar-action-list ${
|
|
||||||
subModule === "analysis" ? "active" : ""
|
|
||||||
}`}
|
|
||||||
onClick={() => {
|
|
||||||
setSubModule("analysis");
|
|
||||||
setVersionHistory(false);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div className="tooltip">analysis</div>
|
|
||||||
<AnalysisIcon isActive={subModule === "analysis"} />
|
|
||||||
</button>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
|
{/* process builder */}
|
||||||
|
{!viewVersionHistory &&
|
||||||
|
subModule === "properties" &&
|
||||||
|
activeModule !== "visualization" &&
|
||||||
|
!selectedFloorItem && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<GlobalProperties />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{!viewVersionHistory &&
|
||||||
|
subModule === "properties" &&
|
||||||
|
activeModule !== "visualization" &&
|
||||||
|
selectedFloorItem && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<AsstePropertiies />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{!viewVersionHistory &&
|
||||||
|
subModule === "zoneProperties" &&
|
||||||
|
(activeModule === "builder" || activeModule === "simulation") && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<ZoneProperties />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{/* simulation */}
|
||||||
|
{!isVersionSaved &&
|
||||||
|
!viewVersionHistory &&
|
||||||
|
activeModule === "simulation" && (
|
||||||
|
<>
|
||||||
|
{subModule === "simulations" && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<Simulations />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{subModule === "mechanics" && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<EventProperties />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{subModule === "analysis" && (
|
||||||
|
<div className="sidebar-right-container">
|
||||||
|
<div className="sidebar-right-content-container">
|
||||||
|
<Analysis />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{/* realtime visualization */}
|
||||||
|
{activeModule === "visualization" && <Visualization />}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{toggleUIRight && viewVersionHistory && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<VersionHistory />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* process builder */}
|
|
||||||
{toggleUIRight &&
|
|
||||||
!viewVersionHistory &&
|
|
||||||
subModule === "properties" &&
|
|
||||||
activeModule !== "visualization" &&
|
|
||||||
!selectedFloorItem && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<GlobalProperties />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
{toggleUIRight &&
|
|
||||||
!viewVersionHistory &&
|
|
||||||
subModule === "properties" &&
|
|
||||||
activeModule !== "visualization" &&
|
|
||||||
selectedFloorItem && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<AsstePropertiies />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{toggleUIRight &&
|
|
||||||
!viewVersionHistory &&
|
|
||||||
subModule === "zoneProperties" &&
|
|
||||||
(activeModule === "builder" || activeModule === "simulation") && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<ZoneProperties />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
{/* simulation */}
|
|
||||||
{toggleUIRight &&
|
|
||||||
!isVersionSaved &&
|
|
||||||
!viewVersionHistory &&
|
|
||||||
activeModule === "simulation" && (
|
|
||||||
<>
|
|
||||||
{subModule === "simulations" && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<Simulations />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
{subModule === "mechanics" && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<EventProperties />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
{subModule === "analysis" && (
|
|
||||||
<div className="sidebar-right-container">
|
|
||||||
<div className="sidebar-right-content-container">
|
|
||||||
<Analysis />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
{/* realtime visualization */}
|
|
||||||
{toggleUIRight && activeModule === "visualization" && <Visualization />}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,191 @@
|
||||||
|
import React, { useState } from "react";
|
||||||
|
import InputWithDropDown from "../../../ui/inputs/InputWithDropDown";
|
||||||
|
import { ArrowIcon } from "../../../icons/ExportCommonIcons";
|
||||||
|
|
||||||
|
// image imports
|
||||||
|
import Arc from "../../../../assets/image/aisleTypes/Arc.png";
|
||||||
|
import Arrow from "../../../../assets/image/aisleTypes/Arrow.png";
|
||||||
|
import Arrows from "../../../../assets/image/aisleTypes/Arrows.png";
|
||||||
|
import Circle from "../../../../assets/image/aisleTypes/Circle.png";
|
||||||
|
import Dashed from "../../../../assets/image/aisleTypes/Dashed.png";
|
||||||
|
import Directional from "../../../../assets/image/aisleTypes/Directional.png";
|
||||||
|
import Dotted from "../../../../assets/image/aisleTypes/Dotted.png";
|
||||||
|
import Solid from "../../../../assets/image/aisleTypes/Solid.png";
|
||||||
|
|
||||||
|
interface TextureItem {
|
||||||
|
color: string;
|
||||||
|
id: string;
|
||||||
|
brief: string;
|
||||||
|
texture: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const AisleProperties: React.FC = () => {
|
||||||
|
const [collapsePresets, setCollapsePresets] = useState(false);
|
||||||
|
const [collapseTexture, setCollapseTexture] = useState(true);
|
||||||
|
const [selectedTexture, setSelectedTexture] = useState<string | null>(
|
||||||
|
"yellow1"
|
||||||
|
);
|
||||||
|
const [selectedType, setSelectedType] = useState<string | null>("Solid");
|
||||||
|
|
||||||
|
const aisleTextureList: TextureItem[] = [
|
||||||
|
{ color: "gray", id: "gray", brief: "basic", texture: "" },
|
||||||
|
{
|
||||||
|
color: "yellow",
|
||||||
|
id: "yellow1",
|
||||||
|
brief: "pedestrian walkways",
|
||||||
|
texture: "",
|
||||||
|
},
|
||||||
|
{ color: "green", id: "green1", brief: "pedestrian walkways", texture: "" },
|
||||||
|
{ color: "orange", id: "orange", brief: "material flow", texture: "" },
|
||||||
|
{ color: "blue", id: "blue", brief: "vehicle paths", texture: "" },
|
||||||
|
{ color: "purple", id: "purple", brief: "material flow", texture: "" },
|
||||||
|
{ color: "red", id: "red", brief: "safety zone", texture: "" },
|
||||||
|
{
|
||||||
|
color: "bright green",
|
||||||
|
id: "bright-green",
|
||||||
|
brief: "safety zone",
|
||||||
|
texture: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
color: "yellow-black",
|
||||||
|
id: "yellow-black",
|
||||||
|
brief: "utility aisles",
|
||||||
|
texture: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
color: "white-black",
|
||||||
|
id: "white-black",
|
||||||
|
brief: "utility aisles",
|
||||||
|
texture: "",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
const aisleTypes = [
|
||||||
|
{
|
||||||
|
name: "Solid",
|
||||||
|
id: "1",
|
||||||
|
thumbnail: Solid,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Dotted",
|
||||||
|
id: "2",
|
||||||
|
thumbnail: Dotted,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Dashed",
|
||||||
|
id: "3",
|
||||||
|
thumbnail: Dashed,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Arrow",
|
||||||
|
id: "4",
|
||||||
|
thumbnail: Arrow,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Contiuous Arrows",
|
||||||
|
id: "5",
|
||||||
|
thumbnail: Arrows,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Directional",
|
||||||
|
id: "6",
|
||||||
|
thumbnail: Directional,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Arc",
|
||||||
|
id: "7",
|
||||||
|
thumbnail: Arc,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Circle",
|
||||||
|
id: "8",
|
||||||
|
thumbnail: Circle,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="aisle-properties-container">
|
||||||
|
<div className="header">Properties</div>
|
||||||
|
<section>
|
||||||
|
<InputWithDropDown
|
||||||
|
label="Width"
|
||||||
|
value="1"
|
||||||
|
editableLabel
|
||||||
|
onChange={() => {}}
|
||||||
|
/>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{/* Presets */}
|
||||||
|
<section>
|
||||||
|
<button
|
||||||
|
className="header"
|
||||||
|
onClick={() => setCollapsePresets(!collapsePresets)}
|
||||||
|
aria-expanded={!collapsePresets}
|
||||||
|
>
|
||||||
|
<div className="value">Presets</div>
|
||||||
|
<div className="icon">
|
||||||
|
<ArrowIcon />
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
{!collapsePresets && (
|
||||||
|
<div className="presets-list-container">
|
||||||
|
{aisleTypes.map((val) => (
|
||||||
|
<div className="preset-list" key={val.id}>
|
||||||
|
<button
|
||||||
|
className={`thumbnail ${
|
||||||
|
selectedType === val.name ? "selected" : ""
|
||||||
|
}`}
|
||||||
|
title={val.name}
|
||||||
|
onClick={() => {
|
||||||
|
setSelectedType(val.name);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<img src={val.thumbnail} alt="" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{/* Texture */}
|
||||||
|
<section>
|
||||||
|
<button
|
||||||
|
className="header"
|
||||||
|
onClick={() => setCollapseTexture(!collapseTexture)}
|
||||||
|
aria-expanded={!collapseTexture}
|
||||||
|
>
|
||||||
|
<div className="value">Aisle Texture</div>
|
||||||
|
<div
|
||||||
|
className="icon"
|
||||||
|
style={{ rotate: collapseTexture ? "" : "-90deg" }}
|
||||||
|
>
|
||||||
|
<ArrowIcon />
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
{collapseTexture && (
|
||||||
|
<div className="aisle-texture-container">
|
||||||
|
{aisleTextureList.map((val) => (
|
||||||
|
<button
|
||||||
|
key={val.id}
|
||||||
|
title={val.brief || val.id}
|
||||||
|
className={`aisle-list ${
|
||||||
|
selectedTexture === val.id ? "selected" : ""
|
||||||
|
}`}
|
||||||
|
onClick={() => setSelectedTexture(val.id)}
|
||||||
|
aria-pressed={selectedTexture === val.id}
|
||||||
|
>
|
||||||
|
<div className="texture-display">{val.texture}</div>
|
||||||
|
<div className="aisle-color">{val.color}</div>
|
||||||
|
<div className="aisle-brief">{`( ${val.brief} )`}</div>
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default AisleProperties;
|
|
@ -486,9 +486,6 @@
|
||||||
|
|
||||||
.add-icon {
|
.add-icon {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.kebab-icon {
|
.kebab-icon {
|
||||||
|
@ -539,7 +536,7 @@
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
|
||||||
.saved-history-count {
|
.saved-history-count {
|
||||||
font-size: var(--font-size-tiny)
|
font-size: var(--font-size-tiny);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -556,7 +553,6 @@
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
|
|
||||||
.version-name {
|
.version-name {
|
||||||
|
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
@ -588,7 +584,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.saved-by {
|
.saved-by {
|
||||||
|
@ -597,7 +592,6 @@
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
||||||
.user-profile {
|
.user-profile {
|
||||||
|
|
||||||
background: var(--background-color-accent);
|
background: var(--background-color-accent);
|
||||||
color: var(--text-button-color);
|
color: var(--text-button-color);
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
@ -612,7 +606,6 @@
|
||||||
|
|
||||||
.user-name {
|
.user-name {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -625,8 +618,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-event-selected {
|
.no-event-selected {
|
||||||
|
@ -665,7 +656,7 @@
|
||||||
|
|
||||||
path {
|
path {
|
||||||
stroke: var(--text-button-color);
|
stroke: var(--text-button-color);
|
||||||
strokeWidth: 1.3;
|
stroke-width: 1.3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -686,7 +677,6 @@
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
|
|
||||||
.sidebar-right-content-container {
|
.sidebar-right-content-container {
|
||||||
|
|
||||||
.dataSideBar {
|
.dataSideBar {
|
||||||
.inputs-wrapper {
|
.inputs-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -936,7 +926,7 @@
|
||||||
|
|
||||||
path {
|
path {
|
||||||
stroke: var(--accent-color);
|
stroke: var(--accent-color);
|
||||||
strokeWidth: 1.5px;
|
stroke-width: 1.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -1271,15 +1261,105 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.aisle-properties-container {
|
||||||
|
max-height: 65vh;
|
||||||
|
overflow: auto;
|
||||||
|
.aisle-texture-container {
|
||||||
|
max-height: 40vh;
|
||||||
|
overflow: auto;
|
||||||
|
.aisle-list {
|
||||||
|
width: calc(100% - 8px);
|
||||||
|
text-align: start;
|
||||||
|
padding: 4px 6px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
border-radius: #{$border-radius-large};
|
||||||
|
margin: 2px 6px;
|
||||||
|
.texture-display {
|
||||||
|
height: 34px;
|
||||||
|
width: 34px;
|
||||||
|
background: #7e7e7e86;
|
||||||
|
border-radius: #{$border-radius-large};
|
||||||
|
margin-right: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.aisle-color {
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
.aisle-brief {
|
||||||
|
font-size: var(--font-size-small);
|
||||||
|
color: var(--input-text-color);
|
||||||
|
}
|
||||||
|
&.selected {
|
||||||
|
background: var(--background-color-accent);
|
||||||
|
color: var(--text-button-color);
|
||||||
|
&:hover {
|
||||||
|
background: var(--background-color-accent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
background: var(--background-color-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.value-field-container {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.presets-list-container {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 6px;
|
||||||
|
padding-left: 7px;
|
||||||
|
.preset-list {
|
||||||
|
background: #444;
|
||||||
|
height: 90px;
|
||||||
|
width: 90px;
|
||||||
|
border-radius: #{$border-radius-large};
|
||||||
|
overflow: hidden;
|
||||||
|
.thumbnail {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: #{$border-radius-large};
|
||||||
|
outline-offset: -1px;
|
||||||
|
img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
transition: all 0.2s;
|
||||||
|
}
|
||||||
|
&.selected {
|
||||||
|
outline: 2px solid var(--border-color-accent);
|
||||||
|
outline-offset: -2px;
|
||||||
|
&:hover {
|
||||||
|
outline: 2px solid var(--border-color-accent);
|
||||||
|
img {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
outline: 1px solid var(--border-color);
|
||||||
|
img {
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.global-properties-container,
|
.global-properties-container,
|
||||||
.analysis-main-container,
|
.analysis-main-container,
|
||||||
.asset-properties-container,
|
.asset-properties-container,
|
||||||
.zone-properties-container {
|
.zone-properties-container,
|
||||||
|
.aisle-properties-container {
|
||||||
.header {
|
.header {
|
||||||
@include flex-space-between;
|
@include flex-space-between;
|
||||||
padding: 10px 12px;
|
padding: 10px 12px;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
width: 100%;
|
||||||
.input-value {
|
.input-value {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
@ -1661,9 +1741,11 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: var(--font-size-regular);
|
font-size: var(--font-size-regular);
|
||||||
background: linear-gradient(0deg,
|
background: linear-gradient(
|
||||||
rgba(37, 24, 51, 0) 0%,
|
0deg,
|
||||||
rgba(52, 41, 61, 0.5) 100%);
|
rgba(37, 24, 51, 0) 0%,
|
||||||
|
rgba(52, 41, 61, 0.5) 100%
|
||||||
|
);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -1740,9 +1822,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.versionSaved {
|
.versionSaved {
|
||||||
min-width: 449px;
|
min-width: 449px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -1798,7 +1877,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
||||||
font-size: var(--font-size-small);
|
font-size: var(--font-size-small);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -1810,10 +1888,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dismissing {
|
.dismissing {
|
||||||
|
@ -1821,8 +1896,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-version-popup-wrapper {
|
.edit-version-popup-wrapper {
|
||||||
|
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
background: var(--background-color-secondary);
|
background: var(--background-color-secondary);
|
||||||
|
@ -1835,8 +1908,6 @@
|
||||||
border-radius: #{$border-radius-large};
|
border-radius: #{$border-radius-large};
|
||||||
backdrop-filter: blur(15px);
|
backdrop-filter: blur(15px);
|
||||||
outline: 1px solid var(--border-color);
|
outline: 1px solid var(--border-color);
|
||||||
padding: 6px;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
|
@ -1854,7 +1925,6 @@
|
||||||
|
|
||||||
.version-name,
|
.version-name,
|
||||||
.version-description {
|
.version-description {
|
||||||
|
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
backdrop-filter: blur(20px);
|
backdrop-filter: blur(20px);
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
|
@ -1870,7 +1940,6 @@
|
||||||
right: 8px;
|
right: 8px;
|
||||||
font-size: var(--font-size-tiny);
|
font-size: var(--font-size-tiny);
|
||||||
color: var(--text-disabled);
|
color: var(--text-disabled);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -1883,7 +1952,6 @@
|
||||||
|
|
||||||
.version-description {
|
.version-description {
|
||||||
textarea {
|
textarea {
|
||||||
|
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 101px;
|
min-height: 101px;
|
||||||
|
@ -1900,7 +1968,6 @@
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
|
||||||
.save {
|
.save {
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -1912,4 +1979,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|