mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-17 08:05:51 +01:00
229 lines
No EOL
4.2 KiB
CSS
229 lines
No EOL
4.2 KiB
CSS
/* #app styles are in style.css to avoid conflicts */
|
|
|
|
.compact-container {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin: 15px 0;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.drag-source {
|
|
background: white;
|
|
border: 2px solid #5c6bc0;
|
|
padding: 12px;
|
|
min-width: 140px;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.drag-source h4 {
|
|
color: #3949ab;
|
|
margin: 0 0 8px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.draggable {
|
|
background: #f5f5f5;
|
|
color: #1a1a1a;
|
|
padding: 8px;
|
|
margin: 6px 0;
|
|
border-radius: 4px;
|
|
cursor: move;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
border: 2px solid #c5cae9;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.draggable:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
background: #e8eaf6;
|
|
border-color: #7986cb;
|
|
}
|
|
|
|
.draggable.dragging {
|
|
opacity: 0.5;
|
|
transform: scale(0.95);
|
|
background: #c5cae9;
|
|
}
|
|
|
|
.drop-zone {
|
|
background: #f8f9fa;
|
|
border: 2px dashed #9e9e9e;
|
|
padding: 12px;
|
|
min-width: 180px;
|
|
min-height: 120px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.drop-zone h4 {
|
|
color: #5c6bc0;
|
|
margin: 0 0 8px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.drop-zone.drag-over {
|
|
background: #e3f2fd;
|
|
border-color: #2196F3;
|
|
transform: scale(1.02);
|
|
box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
|
|
}
|
|
|
|
.file-drop-zone {
|
|
background: #fff8e1;
|
|
border: 2px dashed #ffc107;
|
|
padding: 12px;
|
|
min-width: 180px;
|
|
min-height: 120px;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.file-drop-zone h4 {
|
|
color: #f57c00;
|
|
margin: 0 0 8px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.file-drop-zone.drag-over {
|
|
background: #fff3cd;
|
|
border-color: #ff9800;
|
|
transform: scale(1.02);
|
|
box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
|
|
}
|
|
|
|
.dropped-item {
|
|
background: linear-gradient(135deg, #42a5f5 0%, #66bb6a 100%);
|
|
color: white;
|
|
padding: 6px 8px;
|
|
margin: 4px 2px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
animation: slideIn 0.3s ease;
|
|
display: inline-block;
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dropped-file {
|
|
background: #fff;
|
|
border: 2px solid #ff9800;
|
|
color: #333;
|
|
padding: 6px 8px;
|
|
margin: 4px 0;
|
|
border-radius: 4px;
|
|
text-align: left;
|
|
animation: slideIn 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
font-size: 13px;
|
|
}
|
|
|
|
#dropMessage, #fileDropMessage {
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.status {
|
|
margin: 15px auto;
|
|
max-width: 1000px;
|
|
padding: 12px;
|
|
background: #2c3e50;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.status h4 {
|
|
color: white;
|
|
margin: 0 0 8px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#eventLog {
|
|
background: #1a1a1a;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
font-family: 'Courier New', monospace;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.log-entry {
|
|
padding: 4px 8px;
|
|
font-size: 13px;
|
|
margin: 2px 0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.log-entry.drag-start {
|
|
color: #81c784;
|
|
background: rgba(129, 199, 132, 0.1);
|
|
}
|
|
|
|
.log-entry.drag-over {
|
|
color: #64b5f6;
|
|
background: rgba(100, 181, 246, 0.1);
|
|
}
|
|
|
|
.log-entry.drag-enter {
|
|
color: #ffb74d;
|
|
background: rgba(255, 183, 77, 0.1);
|
|
}
|
|
|
|
.log-entry.drag-leave {
|
|
color: #ba68c8;
|
|
background: rgba(186, 104, 200, 0.1);
|
|
}
|
|
|
|
.log-entry.drop {
|
|
color: #e57373;
|
|
background: rgba(229, 115, 115, 0.1);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.log-entry.drag-end {
|
|
color: #90a4ae;
|
|
background: rgba(144, 164, 174, 0.1);
|
|
}
|
|
|
|
.log-entry.file-drop {
|
|
color: #ffc107;
|
|
background: rgba(255, 193, 7, 0.1);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.log-entry.page-loaded {
|
|
color: #4caf50;
|
|
background: rgba(76, 175, 80, 0.1);
|
|
}
|
|
|
|
.log-entry.wails-status {
|
|
color: #00bcd4;
|
|
background: rgba(0, 188, 212, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
font-size: 1.8em;
|
|
margin: 10px 0 8px 0;
|
|
} |