File size: 6,473 Bytes
1e729d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
%%writefile ./static/style.css
body {
    font-family: 'Roboto', sans-serif;
    background-color: #eef2f7; /* Softer background */
    color: #333;
    margin: 0;
    padding: 0; /* Remove body padding */
    line-height: 1.6;
}

.gradio-container {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    border-radius: 10px; /* Slightly larger border radius */
    overflow: hidden;
    max-width: 700px; /* Max width for better compactness */
    margin: 40px auto; /* Center the container and add space */
    background-color: #fff; /* White background for the container */
    padding: 20px; /* Add padding inside the container */
}

.app-title h1 {
    color: #1e3a8a; /* Darker blue */
    text-align: center;
    margin-bottom: 15px; /* Reduced margin */
    font-size: 2em; /* Slightly larger title */
    font-weight: 700;
}

.app-title em {
    display: block; /* Make the subtitle appear on a new line */
    font-size: 1em;
    color: #555;
    margin-top: 5px;
}


.main-row {
    display: flex;
    gap: 20px; /* Space between columns */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.task-column {
    flex: 1; /* Allow column to grow */
    min-width: 280px; /* Minimum width for the column */
}


.task-display textarea { /* Target the textarea within the task display */
    border: 2px solid #1e3a8a; /* Blue border */
    border-radius: 8px;
    padding: 15px;
    font-size: 1.1em;
    color: #1e3a8a;
    background-color: #f0f4f8; /* Light blue background */
    min-height: 80px; /* Set a minimum height */
    resize: vertical; /* Allow vertical resizing if needed */
    width: 100%; /* Make it full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


.action-button {
    background-color: #10b981; /* Green */
    color: white;
    border: none;
    padding: 12px 25px; /* More padding */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em; /* Standard font size */
    margin: 5px; /* Reduced margin */
    cursor: pointer;
    border-radius: 6px; /* Slightly larger border radius */
    transition: background-color 0.3s ease;
    flex-grow: 1; /* Allow buttons in the row to grow */
}

.action-button:hover {
    background-color: #059669; /* Darker green */
}

.reset-button {
    background-color: #ef4444; /* Red */
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: block; /* Make it a block element to take full width */
    width: 100%; /* Full width */
    font-size: 1em;
    margin: 10px 0; /* Add margin top and bottom */
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.reset-button:hover {
    background-color: #dc2626; /* Darker red */
}


.completed-tasks-display textarea { /* Style for completed tasks textbox */
     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 { /* Targeting the accordion label */
    background-color: #f3f4f6; /* Light grey background */
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ddd;
}


.new-impulse-input textarea { /* Styling for the input fields */
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
    width: 100%; /* Full width */
    box-sizing: border-box;
}

.add-button {
    background-color: #3b82f6; /* Blue */
    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; /* Darker blue */
}

.add-output textarea { /* Styling for the add output textbox */
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-top: 10px;
    background-color: #e0f2f7; /* Light blue background */
    width: 100%;
    box-sizing: border-box;
}


.evolution-map-row {
     margin-top: 25px; /* Space above the map section */
     text-align: center; /* Center the map and title */
}

.map-title h3 {
    color: #065f46; /* Green */
    margin-bottom: 15px;
}

.progress-map {
    display: flex;
    justify-content: center;
    gap: 12px; /* Increased gap */
    margin-top: 10px;
}

.progress-item {
    width: 35px; /* Slightly larger */
    height: 35px; /* Slightly larger */
    border-radius: 50%;
    background-color: #d1d5db; /* Light grey */
    transition: background-color 0.3s ease;
    border: 2px solid #9ca3af; /* Border for visibility */
}

.progress-item.completed {
    background-color: #065f46; /* Darker green when completed */
    border-color: #047857;
}


.quote-row {
    margin-top: 30px; /* Space above the quote section */
    text-align: center;
}

.quote-title h3 {
    color: #4f46e5; /* Purple */
    margin-bottom: 10px;
}

.quote-text textarea { /* Styling for the quote textbox */
    font-style: italic;
    color: #6d28d9; /* Darker purple */
    border: none; /* Remove border */
    background-color: transparent; /* Transparent background */
    font-size: 1.1em;
    width: 100%;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .gradio-container {
        margin: 20px auto;
        padding: 15px;
    }

    .main-row {
        flex-direction: column; /* Stack columns on small screens */
        gap: 15px;
    }

    .task-column {
        min-width: 100%; /* Full width on small screens */
    }

    .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;
    }
}