|
|
%%writefile ./static/style.css
|
|
|
body {
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
background-color: #eef2f7;
|
|
|
color: #333;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
line-height: 1.6;
|
|
|
}
|
|
|
|
|
|
.gradio-container {
|
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
|
|
border-radius: 10px;
|
|
|
overflow: hidden;
|
|
|
max-width: 700px;
|
|
|
margin: 40px auto;
|
|
|
background-color: #fff;
|
|
|
padding: 20px;
|
|
|
}
|
|
|
|
|
|
.app-title h1 {
|
|
|
color: #1e3a8a;
|
|
|
text-align: center;
|
|
|
margin-bottom: 15px;
|
|
|
font-size: 2em;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
|
|
|
.app-title em {
|
|
|
display: block;
|
|
|
font-size: 1em;
|
|
|
color: #555;
|
|
|
margin-top: 5px;
|
|
|
}
|
|
|
|
|
|
|
|
|
.main-row {
|
|
|
display: flex;
|
|
|
gap: 20px;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
|
|
|
.task-column {
|
|
|
flex: 1;
|
|
|
min-width: 280px;
|
|
|
}
|
|
|
|
|
|
|
|
|
.task-display textarea {
|
|
|
border: 2px solid #1e3a8a;
|
|
|
border-radius: 8px;
|
|
|
padding: 15px;
|
|
|
font-size: 1.1em;
|
|
|
color: #1e3a8a;
|
|
|
background-color: #f0f4f8;
|
|
|
min-height: 80px;
|
|
|
resize: vertical;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
|
|
|
.action-button {
|
|
|
background-color: #10b981;
|
|
|
color: white;
|
|
|
border: none;
|
|
|
padding: 12px 25px;
|
|
|
text-align: center;
|
|
|
text-decoration: none;
|
|
|
display: inline-block;
|
|
|
font-size: 1em;
|
|
|
margin: 5px;
|
|
|
cursor: pointer;
|
|
|
border-radius: 6px;
|
|
|
transition: background-color 0.3s ease;
|
|
|
flex-grow: 1;
|
|
|
}
|
|
|
|
|
|
.action-button:hover {
|
|
|
background-color: #059669;
|
|
|
}
|
|
|
|
|
|
.reset-button {
|
|
|
background-color: #ef4444;
|
|
|
color: white;
|
|
|
border: none;
|
|
|
padding: 10px 20px;
|
|
|
text-align: center;
|
|
|
text-decoration: none;
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
font-size: 1em;
|
|
|
margin: 10px 0;
|
|
|
cursor: pointer;
|
|
|
border-radius: 6px;
|
|
|
transition: background-color 0.3s ease;
|
|
|
}
|
|
|
|
|
|
.reset-button:hover {
|
|
|
background-color: #dc2626;
|
|
|
}
|
|
|
|
|
|
|
|
|
.completed-tasks-display textarea {
|
|
|
border: 1px solid #ccc;
|
|
|
border-radius: 4px;
|
|
|
padding: 10px;
|
|
|
font-size: 0.9em;
|
|
|
color: #555;
|
|
|
background-color: #f9f9f9;
|
|
|
min-height: 100px;
|
|
|
resize: vertical;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
|
|
|
.add-impulse-accordion {
|
|
|
margin-top: 20px;
|
|
|
border: 1px solid #ddd;
|
|
|
border-radius: 8px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.add-impulse-accordion .label {
|
|
|
background-color: #f3f4f6;
|
|
|
padding: 12px;
|
|
|
cursor: pointer;
|
|
|
font-weight: bold;
|
|
|
color: #333;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
|
|
|
.new-impulse-input textarea {
|
|
|
border: 1px solid #ccc;
|
|
|
border-radius: 4px;
|
|
|
padding: 8px;
|
|
|
margin-bottom: 10px;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.add-button {
|
|
|
background-color: #3b82f6;
|
|
|
color: white;
|
|
|
border: none;
|
|
|
padding: 10px 20px;
|
|
|
text-align: center;
|
|
|
text-decoration: none;
|
|
|
display: inline-block;
|
|
|
font-size: 1em;
|
|
|
margin-top: 5px;
|
|
|
cursor: pointer;
|
|
|
border-radius: 6px;
|
|
|
transition: background-color 0.3s ease;
|
|
|
}
|
|
|
|
|
|
.add-button:hover {
|
|
|
background-color: #2563eb;
|
|
|
}
|
|
|
|
|
|
.add-output textarea {
|
|
|
border: 1px solid #ccc;
|
|
|
border-radius: 4px;
|
|
|
padding: 8px;
|
|
|
margin-top: 10px;
|
|
|
background-color: #e0f2f7;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
|
|
|
.evolution-map-row {
|
|
|
margin-top: 25px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.map-title h3 {
|
|
|
color: #065f46;
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
|
|
|
.progress-map {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
gap: 12px;
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
.progress-item {
|
|
|
width: 35px;
|
|
|
height: 35px;
|
|
|
border-radius: 50%;
|
|
|
background-color: #d1d5db;
|
|
|
transition: background-color 0.3s ease;
|
|
|
border: 2px solid #9ca3af;
|
|
|
}
|
|
|
|
|
|
.progress-item.completed {
|
|
|
background-color: #065f46;
|
|
|
border-color: #047857;
|
|
|
}
|
|
|
|
|
|
|
|
|
.quote-row {
|
|
|
margin-top: 30px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.quote-title h3 {
|
|
|
color: #4f46e5;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
.quote-text textarea {
|
|
|
font-style: italic;
|
|
|
color: #6d28d9;
|
|
|
border: none;
|
|
|
background-color: transparent;
|
|
|
font-size: 1.1em;
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
.gradio-container {
|
|
|
margin: 20px auto;
|
|
|
padding: 15px;
|
|
|
}
|
|
|
|
|
|
.main-row {
|
|
|
flex-direction: column;
|
|
|
gap: 15px;
|
|
|
}
|
|
|
|
|
|
.task-column {
|
|
|
min-width: 100%;
|
|
|
}
|
|
|
|
|
|
.action-button {
|
|
|
padding: 10px 20px;
|
|
|
font-size: 0.9em;
|
|
|
}
|
|
|
|
|
|
.reset-button {
|
|
|
padding: 10px;
|
|
|
font-size: 0.9em;
|
|
|
margin: 8px 0;
|
|
|
}
|
|
|
|
|
|
.progress-item {
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
}
|
|
|
} |