Files
ersteller/starter/static/styles.css
T
2026-04-05 11:53:23 +02:00

734 lines
15 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
color: #333333;
min-height: 100vh;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 20px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
}
.header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 50,0 100,100" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
background-size: 60px 100%;
opacity: 0.3;
}
.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 2;
}
.logo {
display: flex;
align-items: center;
gap: 15px;
}
.logo-icon {
font-size: 2.5rem;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.logo-text {
font-size: 2rem;
font-weight: bold;
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.nav {
display: flex;
gap: 30px;
}
.nav a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
padding: 10px 15px;
border-radius: 5px;
transition: all 0.3s ease;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.nav a:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.nav a.selected {
background: linear-gradient(45deg, #667eea, #764ba2);
border: 2px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transform: translateY(-1px);
}
.language-switcher {
display: flex;
gap: 3px;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 4px;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
}
.language-button {
color: #ffffff;
text-decoration: none;
font-weight: bold;
padding: 8px 14px;
border-radius: 6px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
font-size: 0.85rem;
min-width: 36px;
text-align: center;
display: block;
}
.language-button.active {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.05);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.language-button.inactive:hover {
background: rgba(255, 255, 255, 0.15);
transform: scale(1.02);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
.hero-section {
text-align: center;
padding: 60px 0;
background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
border-radius: 15px;
margin-bottom: 40px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.hero-title {
font-size: 3rem;
font-weight: bold;
color: #333333;
margin-bottom: 20px;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: none;
}
.hero-description {
font-size: 1.2rem;
color: #666666;
line-height: 1.6;
max-width: 600px;
margin: 0 auto;
}
.content-section {
background: rgba(255, 255, 255, 0.8);
padding: 40px;
border-radius: 10px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-section:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.section-title {
font-size: 2rem;
color: #333333;
margin-bottom: 15px;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section-description {
font-size: 1.1rem;
color: #555555;
line-height: 1.6;
}
.footer {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: #ffffff;
padding: 40px 0 20px 0;
margin-top: 60px;
}
.footer-menu {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.footer-link {
color: #ffffff;
text-decoration: none;
font-weight: 500;
padding: 8px 12px;
border-radius: 5px;
transition: all 0.3s ease;
}
.footer-link:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.footer-disclaimer {
text-align: center;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
margin: 15px 0 10px 0;
font-style: italic;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding: 0 20px;
}
.footer p:last-child {
text-align: center;
color: rgba(255, 255, 255, 0.7);
font-size: 0.85rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Mobile Responsive Styles */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 20px;
text-align: center;
}
.nav {
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.nav a {
padding: 8px 12px;
font-size: 0.9rem;
}
.logo-text {
font-size: 1.5rem;
}
.logo-icon {
font-size: 2rem;
}
.hero-title {
font-size: 2.2rem;
}
.hero-description {
font-size: 1.1rem;
padding: 0 15px;
}
.content-section {
padding: 25px 20px;
margin-bottom: 20px;
}
.section-title {
font-size: 1.6rem;
}
.section-description {
font-size: 1rem;
}
.container {
padding: 20px 15px;
}
.hero-section {
padding: 40px 20px;
margin-bottom: 30px;
}
.footer-menu {
gap: 15px;
flex-direction: column;
align-items: center;
}
.footer-link {
font-size: 0.9rem;
padding: 6px 10px;
}
.footer-disclaimer {
font-size: 0.8rem;
margin: 12px 0 8px 0;
}
}
/* Extra small screens */
@media (max-width: 480px) {
.hero-title {
font-size: 1.8rem;
}
.nav {
gap: 10px;
}
.nav a {
padding: 6px 10px;
font-size: 0.85rem;
}
.language-switcher {
padding: 2px;
gap: 2px;
}
.language-button {
padding: 6px 10px;
font-size: 0.8rem;
min-width: 32px;
}
}
/* Global link styles */
a {
color: #667eea;
text-decoration: underline;
text-underline-offset: 0.2em;
text-decoration-thickness: 2px;
text-decoration-color: rgba(102, 126, 234, 0.4);
transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover {
color: #764ba2;
text-decoration-color: #764ba2;
}
a:focus-visible {
outline: 2px solid #667eea;
outline-offset: 2px;
border-radius: 2px;
}
a:active {
opacity: 0.9;
}
/* Disabled state support */
a[aria-disabled="true"],
a.disabled {
opacity: 0.6;
pointer-events: none;
text-decoration-color: rgba(0, 0, 0, 0.2);
}
/* Button styles */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: all 0.2s ease;
min-height: 48px;
text-align: center;
box-sizing: border-box;
}
.btn:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
}
.btn-primary {
background-color: #4285f4;
color: white;
}
.btn-primary:hover {
background-color: #357ae8;
color: white;
text-decoration: none;
}
/* Google Login Button */
.google-login-btn {
background-color: #4285f4;
color: white;
border: 1px solid #dadce0;
font-family: 'Roboto', Arial, sans-serif;
font-size: 14px;
font-weight: 500;
padding: 12px 24px;
min-width: 200px;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
transition: all 0.15s ease;
}
.google-login-btn::before {
content: '';
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjY0IDkuMjA0NTVDMTcuNjQgOC41NjY3NCAxNy41ODI3IDcuOTUzMDUgMTcuNDc2NCA3LjM2MzY0SDE5VjEwLjgxODJIMTMuNTg0NUwxMy42Mzg2IDExLjEzNjNMMTMuNzI3IDExLjU0NTVIMTRWMTJIMTBWMTEuNzE4MkgxM1YxMC44MTgySDlWMTEuMTM2M0gxMlY5LjgxODE4SDlWMTAuMTM2NEgxMi40NzI3TDEyLjUgOS42ODE4Mkw5LjUgOS4yMjczVjguNUgxMS41VjguMTgxODJIMTFWOEg5LjVWNy42MTgxOEgxMVY3SDkuNVY2LjM4MTgySDExVjYuNUg5VjZIOC41VjUuNUg5VjVINy41VjQuNUg5VjRINy41VjMuNUg5VjNIMTRWMi41SDlWMkgxNFYxLjVIOVYxSDEzSDBWMEgxOFYxOEgwVjBaIiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPgo=');
background-size: 18px 18px;
background-repeat: no-repeat;
background-position: center;
width: 18px;
height: 18px;
display: inline-block;
}
.google-login-btn:hover {
background-color: #357ae8;
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
transform: translateY(-1px);
color: white;
text-decoration: none;
}
.google-login-btn:active {
background-color: #2b5ce6;
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3);
transform: translateY(0);
}
.google-login-btn:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.4);
}
/* Login section specific styles */
.login-section {
max-width: 400px;
margin: 0 auto;
padding: 40px 30px;
}
.login-form {
margin-top: 30px;
display: flex;
flex-direction: column;
gap: 20px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #333;
}
.error-message {
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
color: white;
padding: 12px 20px;
border-radius: 8px;
margin: 20px 0;
text-align: center;
font-weight: 500;
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
animation: slideIn 0.3s ease;
}
/* Mobile responsive adjustments for login button */
@media (max-width: 480px) {
.google-login-btn {
min-width: 160px;
font-size: 13px;
padding: 10px 20px;
}
.login-section {
padding: 30px 20px;
}
}
/* Workflow Executions Styles */
.executions-container {
display: flex;
flex-direction: column;
gap: 30px;
margin-top: 30px;
}
.execution-card {
background: #ffffff;
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
border: 1px solid #edf2f7;
}
.execution-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
border-bottom: 1px solid #edf2f7;
padding-bottom: 12px;
}
.execution-id {
font-size: 0.9rem;
color: #718096;
font-family: monospace;
}
.steps-flow {
display: flex;
align-items: flex-start;
gap: 0;
overflow-x: auto;
padding: 20px 0;
scrollbar-width: thin;
}
.step-node {
display: flex;
flex-direction: column;
align-items: center;
min-width: 150px;
position: relative;
}
.step-connector {
flex-grow: 1;
height: 2px;
background: #e2e8f0;
margin-top: 25px;
min-width: 40px;
position: relative;
}
.step-connector::after {
content: '▶';
position: absolute;
right: -5px;
top: -7px;
color: #e2e8f0;
font-size: 12px;
}
.step-content {
background: #f8fafc;
border: 2px solid #e2e8f0;
border-radius: 8px;
padding: 12px;
width: 140px;
text-align: center;
transition: all 0.2s ease;
cursor: pointer;
position: relative;
z-index: 1;
}
.step-node:hover .step-content {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.step-name {
font-weight: 600;
font-size: 0.85rem;
margin-bottom: 4px;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.step-status-badge {
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 10px;
text-transform: uppercase;
font-weight: bold;
}
/* Status colors */
.status-completed .step-content { border-color: #48bb78; background-color: #f0fff4; }
.status-completed .step-status-badge { background: #48bb78; color: white; }
.status-completed + .step-connector { background: #48bb78; }
.status-completed + .step-connector::after { color: #48bb78; }
.status-failed .step-content { border-color: #f56565; background-color: #fff5f5; }
.status-failed .step-status-badge { background: #f56565; color: white; }
.status-in_progress .step-content { border-color: #4299e1; background-color: #ebf8ff; }
.status-in_progress .step-status-badge { background: #4299e1; color: white; }
.status-pending .step-content { border-color: #a0aec0; background-color: #f7fafc; }
.status-pending .step-status-badge { background: #a0aec0; color: white; }
.step-details {
margin-top: 10px;
font-size: 0.75rem;
color: #4a5568;
width: 100%;
}
.step-details details {
margin-top: 5px;
text-align: left;
}
.step-details summary {
cursor: pointer;
color: #4a90e2;
}
.step-details pre {
background: #1a202c;
color: #e2e8f0;
padding: 8px;
border-radius: 4px;
margin-top: 4px;
white-space: pre-wrap;
word-break: break-all;
max-height: 150px;
overflow-y: auto;
}
.trigger-form-card {
background: #ffffff;
border-radius: 12px;
padding: 24px;
margin-bottom: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.form-row {
display: flex;
gap: 12px;
}
.form-row input[type="text"] {
flex-grow: 1;
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.2s;
}
.form-row input[type="text"]:focus {
outline: none;
border-color: #667eea;
}
.form-row button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
transition: transform 0.2s;
}
.form-row button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
@media (max-width: 768px) {
.steps-flow {
flex-direction: column;
align-items: stretch;
}
.step-node {
flex-direction: row;
width: 100%;
min-width: unset;
gap: 20px;
}
.step-connector {
width: 2px;
height: 30px;
min-width: unset;
margin-top: 0;
margin-left: 70px; /* half of step-content width (140/2) */
}
.step-connector::after {
content: '▼';
right: -5px;
bottom: -10px;
top: unset;
}
.step-content {
width: 100%;
max-width: 200px;
}
}