diff --git a/demoHtml/flex/css/index.css b/demoHtml/flex/css/index.css index 080141a..e75d887 100644 --- a/demoHtml/flex/css/index.css +++ b/demoHtml/flex/css/index.css @@ -5,7 +5,7 @@ html { padding: 0; height: 100%; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - background-color: #f0f2f5; + background-color: #e5e7eb; color: #333; } * { @@ -21,16 +21,23 @@ html { /* Components panel */ #components-panel { + position: relative; flex: 1; - padding: 10px; background-color: #fff; + border-right: 1px solid #e0e0e0; + display: flex; + flex-direction: column; +} + +.components-list { + flex: 1; + padding: 10px; overflow-y: auto; display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 10px; - border-right: 1px solid #e0e0e0; } .component-item { @@ -70,12 +77,42 @@ html { .component-item span { font-size: 14px; } +.action-btn { + position: relative; + width: 100%; + height: 50px; + display: flex; + align-items: center; + justify-content: center; + padding: 0 10px; +} +.action-btn .trash-container, +.action-btn .save-container { + width: 46%; + height: 40px; + margin: 0 2%; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + background: rgb(0, 123, 255, 0.6); + color: #fff; + font-size: 14px; + cursor: pointer; +} +.save-container { + background: rgb(0, 123, 255, 1) !important; +} +.action-btn .trash-container > span, +.action-btn .save-container > span { + margin-left: 5px; +} /* Canvas panel */ #canvas-panel { flex: 4; height: 100%; - background-color: #f9f9f9; + background-color: #f9fafb; position: relative; overflow-y: auto; padding: 10px; @@ -84,6 +121,10 @@ html { cursor: pointer; background: #fff; } +#canvas-panel .grid-stack-item-content { + border-radius: 8px; + border: 1px solid #e0e0e0; +} .global-save-button-container { position: absolute; diff --git a/demoHtml/flex/index.html b/demoHtml/flex/index.html index 4e20114..5e2bbe8 100644 --- a/demoHtml/flex/index.html +++ b/demoHtml/flex/index.html @@ -26,30 +26,45 @@