Skip to content

Commit

Permalink
Merge pull request #11 from asadarafat/dev-frontend
Browse files Browse the repository at this point in the history
Dev frontend --> main
  • Loading branch information
asadarafat authored Feb 21, 2025
2 parents 6c029b5 + 8c79c9e commit 5b203d4
Show file tree
Hide file tree
Showing 12 changed files with 7,283 additions and 3,997 deletions.
957 changes: 957 additions & 0 deletions html-static/css/quill.css

Large diffs are not rendered by default.

125 changes: 124 additions & 1 deletion html-static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,17 @@ body {
z-index: 21;
}

#panel-node-editor-parent {
bottom: 10px;
left: 40px;
width: 340px;
max-height: 700px;
overflow-y: auto;
overflow-x: hidden;
position: fixed;
z-index: 21;
}

#panel-node-kind-dropdown-content {
max-height: 120px;
/* Adjust height to show about 5 items */
Expand Down Expand Up @@ -610,4 +621,116 @@ body {
#sidebar {
background-color: white;
}
}
}

/* Overlay container (textbox overlay) */
/* Overlay container (textbox overlay) */
/* Overlay container (textbox overlay) */


/* Overlay container (textbox overlay) */
.html-label {
position: absolute;
pointer-events: none;
/* let events pass through by default (read-only mode) */
background: #3b3d40;
width: 550px;
/* default overlay width */
height: 250px;
/* default overlay height */
padding-top: 0.25rem;
padding-bottom: 0.25rem;
padding-left: 0.5rem;
padding-right: 0.5rem;



border-radius: 8px;
box-shadow: 0 0 10px #000;
z-index: 9999;
display: flex;
flex-direction: column;
}

/* Quill toolbar container, initially hidden */
[id^="toolbar-container-"] {
/* flex: 1; */
display: none;
margin-bottom: 0.5rem;
pointer-events: auto;
/* ensure the toolbar can be clicked */
}

/* Editor area */
[id^="editor-"] {
/* flex: 1; */
overflow: auto;
border: 1px solid #ccc;
border-radius: 4px;
/* margin-top: 0.5rem; */
}

.ql-editor {
color: #000 !important;
}

.ql-toolbar {
color: #000 !important;
margin-top: 0.5rem;
}


.ql-snow .ql-color-picker .ql-picker-label svg .ql-color-label.ql-stroke.ql-transparent {
stroke: #000;
opacity: 1 !important;
/* or a specific hex: #ff0000 !important; */
}


/* Button row styling */
.button-row {
margin-bottom: 0.5rem;
}

/* Resize handles */
.resize-handle {
width: 20px;
height: 20px;
position: absolute;
pointer-events: auto;
/* so we can grab the handle */
background: rgba(0, 0, 0, 0);
/* transparent, but you could style it differently */
}

.resize-handle.bottom-right {
bottom: 0;
right: 0;
cursor: nwse-resize;
}

.resize-handle.bottom-center {
bottom: 0;
left: 50%;
transform: translateX(-50%);
cursor: s-resize;
}

.resize-handle.right-center {
top: 50%;
right: 0;
transform: translateY(-50%);
cursor: e-resize;
}

/* Disable text selection while resizing */
.no-select {
user-select: none;
}

/* Ensure buttons and dropdowns capture events (while editing) */
.button-quill,
select {
pointer-events: auto;
}

Loading

0 comments on commit 5b203d4

Please sign in to comment.