diff --git a/buildtime/client/logical-editor/src/App.css b/buildtime/client/logical-editor/src/App.css index c2ac47afc..a5178b641 100644 --- a/buildtime/client/logical-editor/src/App.css +++ b/buildtime/client/logical-editor/src/App.css @@ -4,13 +4,14 @@ padding: 16px; color: gray; display: flex; + flex-flow: row; background: var(--code-bg); box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); height: 80px; } .navbar h1 { - font-size: 26px; + font-size: 32px; letter-spacing: -1.68px; margin: 4px 10px 0 0; @media (max-width: 1024px) { @@ -31,7 +32,7 @@ color: gray; text-decoration: none; margin-left: 16px; - font-size: 14px; + font-size: 20px; letter-spacing: -1px; } @@ -56,7 +57,7 @@ } .sidebar h1 { - font-size: 16px; + font-size: 24px; letter-spacing: -1.68px; margin: 4px 10px 0 0; @media (max-width: 1024px) { @@ -107,4 +108,69 @@ footer { } +.editor { + display: flex; + flex-flow: column; + padding: 16px; + margin: 16px; + color: gray; + background: whitesmoke; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); + width: 100%; +} + +.editor-title { + font-size: 24px; + letter-spacing: -1.68px; + margin: 16px; + @media (max-width: 1024px) { + font-size: 14px; + margin: 20px 0; + } +} + +input[type="text"] { + width: 100%; /* Full width */ + padding: 2px; /* Inner spacing */ + margin: 8px 0; /* Space around */ + box-sizing: border-box; /* Include padding in width */ + border: 2px solid #000000; /* Green border */ + border-radius: 10px; /* Rounded corners */ + background-color: #ffffff; /* Light background */ + font-size: 16px; /* Text size */ +} + +input[type="text"]:focus { + border-color: #45a049; /* Darker green on focus */ + outline: none; /* Remove default outline */ +} + +textarea { + width: 100%; /* Full width */ + height: 150px; + padding: 2px; /* Inner spacing */ + margin: 8px 0; /* Space around */ + box-sizing: border-box; /* Include padding in width */ + border: 2px solid #000000; /* Green border */ + border-radius: 10px; /* Rounded corners */ + background-color: #ffffff; /* Light background */ + font-size: 16px; /* Text size */ +} + +textarea:focus { + border-color: #45a049; /* Darker green on focus */ + outline: none; /* Remove default outline */ +} + +.main { + display: flex; + flex-flow: column; + padding: 16px; + margin: 16px; + color: gray; + background: whitesmoke; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); + width: 100%; +} + @import "tailwindcss"; diff --git a/buildtime/client/logical-editor/src/components/EditPropertyGroup.jsx b/buildtime/client/logical-editor/src/components/EditPropertyGroup.jsx new file mode 100644 index 000000000..0a90d4f11 --- /dev/null +++ b/buildtime/client/logical-editor/src/components/EditPropertyGroup.jsx @@ -0,0 +1,29 @@ +import React, { useState } from 'react'; + +const EditPropertyGroup = ({ propertyGroup, onClose }) => { + const [labelTranslation, setLabelTranslation] = useState(propertyGroup.labelTranslation); + const [description, setDescription] = useState(propertyGroup.description); + + return ( +
+

Edit Property Group

+
+ + +