diff --git a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html index 34846703a..11cf9ee71 100644 --- a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html +++ b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html @@ -241,9 +241,10 @@ .n8n-container { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); border-left: 4px solid #2ecc71; - padding: 15px; + padding: 20px; margin-bottom: 20px; border-radius: 4px; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .n8n-metrics { @@ -277,6 +278,7 @@ gap: 10px; margin-top: 15px; margin-bottom: 20px; + flex-wrap: wrap; } .quick-action-btn { @@ -313,6 +315,121 @@ background: #fff1f0; color: #f5222d; } + + /* Additional n8n styling for better layouts */ + .n8n-dashboard-section { + background: white; + border-radius: 6px; + box-shadow: 0 1px 3px rgba(0,0,0,0.12); + padding: 20px; + margin-bottom: 20px; + } + + .n8n-section-header { + border-bottom: 1px solid #eee; + padding-bottom: 10px; + margin-bottom: 20px; + display: flex; + justify-content: space-between; + align-items: center; + } + + .n8n-section-header h4 { + margin: 0; + font-weight: 600; + color: #333; + } + + .n8n-container .row { + margin-left: -15px; + margin-right: -15px; + display: flex; + flex-wrap: wrap; + } + + .n8n-container .col-md-6 { + padding-left: 15px; + padding-right: 15px; + flex: 0 0 50%; + max-width: 50%; + } + + .n8n-empty-state { + text-align: center; + padding: 30px; + background: #f9f9f9; + border-radius: 4px; + } + + .n8n-empty-state i { + font-size: 48px; + color: #ccc; + display: block; + margin-bottom: 15px; + } + + .n8n-empty-state p { + color: #888; + margin-bottom: 15px; + } + + /* Fix for status messages */ + .no-data-message { + text-align: center; + padding: 20px; + background: #f9f9f9; + border-radius: 4px; + margin: 15px 0; + } + + /* Design fixes for card layouts */ + .n8n-card { + background: white; + border-radius: 6px; + box-shadow: 0 1px 3px rgba(0,0,0,0.12); + margin-bottom: 15px; + } + + .n8n-card-header { + padding: 12px 15px; + border-bottom: 1px solid #eee; + background: #f5f7fa; + border-radius: 6px 6px 0 0; + } + + .n8n-card-header h5 { + margin: 0; + font-size: 16px; + font-weight: 600; + } + + .n8n-card-body { + padding: 15px; + } + + /* Fix version management styles */ + .version-badge { + display: inline-block; + padding: 5px 10px; + border-radius: 50px; + background: #e8f4fd; + color: #1976d2; + font-weight: 600; + } + + .up-to-date-badge { + display: flex; + align-items: center; + gap: 8px; + padding: 10px 15px; + background: #e8f7e8; + border-radius: 4px; + margin: 15px 0; + } + + .up-to-date-badge i { + color: #388e3c; + }