commit template changes
This commit is contained in:
@@ -47,19 +47,33 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.document-canvas {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background: white;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Draggable Nodes */
|
||||
.layout-node {
|
||||
padding: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: white;
|
||||
position: absolute;
|
||||
padding: 0.1rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
border: 1px solid var(--surface-border);
|
||||
border-left: 4px solid var(--primary-color);
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
cursor: grab;
|
||||
transition: box-shadow 0.2s;
|
||||
transition: box-shadow 0.2s, border-color 0.2s;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
||||
z-index: 10;
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
&:active {
|
||||
@@ -67,25 +81,32 @@
|
||||
}
|
||||
|
||||
.node-type {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.5rem;
|
||||
color: var(--text-color-secondary);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.25rem;
|
||||
margin-bottom: 0.1rem;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.node-text {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-color);
|
||||
word-break: break-word;
|
||||
line-height: 1.1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Color coding by block type */
|
||||
&.header { border-left-color: #3B82F6; }
|
||||
&.vendor { border-left-color: #8B5CF6; }
|
||||
&.table_header { border-left-color: #F59E0B; }
|
||||
&.total { border-left-color: #10B981; }
|
||||
&.tax { border-left-color: #EF4444; }
|
||||
/* Color coding by block type - use borders now instead of thick left border */
|
||||
&.header { border-color: #3B82F6; }
|
||||
&.vendor { border-color: #8B5CF6; }
|
||||
&.table_header { border-color: #F59E0B; }
|
||||
&.total { border-color: #10B981; }
|
||||
&.tax { border-color: #EF4444; }
|
||||
}
|
||||
|
||||
/* Template Mapping Side */
|
||||
|
||||
Reference in New Issue
Block a user