mirror of
https://github.com/sotam0316/drawNET_test.git
synced 2026-04-24 19:48:37 +09:00
191 lines
3.9 KiB
CSS
191 lines
3.9 KiB
CSS
/*
|
|
drawNET Premium CSS Manifest
|
|
This file imports modules to keep the production bundle organized.
|
|
*/
|
|
|
|
@import "modules/base.css";
|
|
@import "modules/sidebar.css";
|
|
@import "modules/sidebar_footer.css";
|
|
@import "modules/assets.css";
|
|
@import "modules/flyout.css";
|
|
@import "modules/header.css";
|
|
@import "modules/editor.css";
|
|
@import "modules/layout.css";
|
|
@import "modules/animations.css";
|
|
@import "modules/modal.css";
|
|
@import "modules/settings_panel.css";
|
|
@import "modules/properties_sidebar.css";
|
|
|
|
/* Floating Context Menu */
|
|
.floating-menu {
|
|
background: rgba(30, 41, 59, 0.85); /* Slate 800-ish with glassmorphism */
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
|
|
padding: 6px;
|
|
min-width: 180px;
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.menu-item {
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: #f1f5f9;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background: #3b82f6; /* Blue 500 */
|
|
color: white;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.menu-divider {
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.menu-label {
|
|
padding: 6px 14px 4px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #475569;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.menu-icon-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 4px 8px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.icon-btn {
|
|
flex: 1;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: #94a3b8;
|
|
transition: all 0.2s;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.icon-btn:hover {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.icon-btn i.fa-rotate-90 {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* --- X6 Port Styles --- */
|
|
.x6-port {
|
|
visibility: hidden;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.x6-node:hover .x6-port {
|
|
visibility: visible;
|
|
}
|
|
|
|
.x6-port circle {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.x6-port circle:hover {
|
|
fill: #3b82f6 !important;
|
|
r: 6 !important;
|
|
}
|
|
|
|
/* --- X6 Edge Selection Highlight --- */
|
|
.x6-edge-selected path {
|
|
stroke: #3b82f6 !important;
|
|
stroke-width: 3px !important;
|
|
filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.8));
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
/* Flow animation for selected flow lines */
|
|
.x6-edge-selected.flow-animation path {
|
|
stroke-width: 4px !important;
|
|
}
|
|
|
|
/* Mini buttons for editor actions */
|
|
.footer-btn.mini {
|
|
width: auto;
|
|
padding: 6px 12px;
|
|
font-size: 11px;
|
|
height: 28px;
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
|
color: #3b82f6;
|
|
border-radius: 6px;
|
|
margin-left: 6px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.footer-btn.mini:hover {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
/* --- Export Loading Overlay --- */
|
|
.export-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(15, 23, 42, 0.65); /* Slate 900 with transparency */
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
color: white;
|
|
font-family: inherit;
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.export-spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid rgba(255, 255, 255, 0.1);
|
|
border-left-color: #3b82f6;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.export-text {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|