diff --git a/demoHtml/flex/css/index.css b/demoHtml/flex/css/index.css index fa2fb71..76ee2bd 100644 --- a/demoHtml/flex/css/index.css +++ b/demoHtml/flex/css/index.css @@ -157,6 +157,45 @@ html { align-items: center; justify-content: center; } + +#canvas-tabs { + position: absolute; + top: 20px; + left: 50%; + transform: translateX(-50%); + z-index: 10; + background-color: rgba(255, 255, 255, 0.8); + border-radius: 8px; + padding: 5px; + display: flex; + gap: 5px; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.tab-button { + padding: 8px 15px; + border: none; + background-color: transparent; + cursor: pointer; + border-radius: 6px; + font-size: 14px; + color: #333; + transition: background-color 0.3s, color 0.3s; +} + +.tab-button:hover { + background-color: #f0f0f0; +} + +.tab-button.active { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: #fff; +} + +#main-screen { + display: none; +} + .grid-stack { background-color: #e2e2e2; border-radius: 8px; diff --git a/demoHtml/flex/index.html b/demoHtml/flex/index.html index e77e9b2..1522943 100644 --- a/demoHtml/flex/index.html +++ b/demoHtml/flex/index.html @@ -65,6 +65,10 @@