drguilhermeapolinario commited on
Commit
237d5f3
verified
1 Parent(s): 970c567

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +312 -76
static/style.css CHANGED
@@ -1,103 +1,339 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
2
-
3
- :root {
4
- --background: #CCCCCC;
5
- --foreground: #0A0A0C;
6
- --card: #FFFFFF;
7
- --card-foreground: #0A0A0C;
8
- --popover: #FFFFFF;
9
- --popover-foreground: #0A0A0C;
10
- --primary: #191919;
11
- --primary-foreground: #FAFAFA;
12
- --secondary: #F4F4F5;
13
- --secondary-foreground: #191919;
14
- --muted: #F4F4F5;
15
- --muted-foreground: #737373;
16
- --accent: #F4F4F5;
17
- --accent-foreground: #191919;
18
- --destructive: #E11D48;
19
- --destructive-foreground: #FAFAFA;
20
- --border: #E5E5E6;
21
- --input: #E5E5E6;
22
- --ring: #0A0A0C;
23
- --chart-1: #1F9D85;
24
- --chart-2: #E85D3F;
25
- --chart-3: #1E4E5F;
26
- --chart-4: #E5B22D;
27
- --chart-5: #F2701D;
28
- }
29
-
30
  /* Estilos gerais */
31
  body {
32
  font-family: 'Roboto', sans-serif;
33
- background-color: hsl(var(--background));
34
- color: hsl(var(--foreground));
 
 
 
 
 
35
  }
36
 
37
  .stApp {
38
- padding: 20px;
39
  }
40
 
41
- /* Estilo Neurom贸rfico para as m茅tricas */
42
- div[data-testid="stMetric"] {
43
- background: hsl(var(--card));
44
- border-radius: 15px;
45
- padding: 2em 1em; /* Aumenta o padding para sobressair */
46
- box-shadow: 8px 8px 15px hsl(var(--muted)), -8px -8px 15px hsl(var(--background));
47
- transition: all 0.3s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
- div[data-testid="stMetric"]:hover {
51
- transform: translateY(-5px);
52
- box-shadow: 12px 12px 20px hsl(var(--muted)), -12px -12px 20px hsl(var(--background));
 
 
53
  }
54
 
55
- div[data-testid="stMetricLabel"] p {
56
- color: hsl(var(--primary));
57
- font-size: 1.3em;
 
 
 
 
58
  }
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  div[data-testid="stMetricValue"] {
61
- font-size: 1.3em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  font-weight: 400;
63
- color: hsl(var(--primary-foreground));
64
  }
65
 
66
- /* Outros elementos neurom贸rficos */
67
- .stButton button,
68
- .stTextInput input,
69
- .stSelectbox select {
70
- border-radius: 25px;
71
- padding: 1em 2em;
72
- background: hsl(var(--card));
73
- box-shadow: 5px 5px 10px hsl(var(--muted)), -5px -5px 10px hsl(var(--background));
74
- transition: all 0.3s ease;
75
- border: none;
76
- color: hsl(var(--foreground));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
78
 
79
- .stButton button:hover,
80
- .stTextInput input:focus,
81
- .stSelectbox select:focus {
82
- box-shadow: 8px 8px 15px hsl(var(--muted)), -8px -8px 15px hsl(var(--background));
 
 
 
 
 
83
  }
84
 
85
- .stButton button:active,
86
- .stTextInput input:active,
87
- .stSelectbox select:active {
88
- box-shadow: inset 3px 3px 7px hsl(var(--muted)), inset -3px -3px 7px hsl(var(--background));
89
  }
90
 
91
- /* Ajustes para t铆tulos e subt铆tulos */
92
- .title {
93
- color: hsl(var(--primary));
94
- font-size: 4em;
95
- text-shadow: 2px 2px 4px hsl(var(--border));
96
  }
97
 
98
- h3 span {
99
- font-size: 1.1em;
100
- font-weight: 600;
101
- margin-top: 1em;
102
- color: hsl(var(--foreground));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Estilos gerais */
2
  body {
3
  font-family: 'Roboto', sans-serif;
4
+ background-color: #7fafcf;
5
+ color: #31333F;
6
+ }
7
+
8
+ .stMain, .stAppHeader {
9
+
10
+ background-color: #e0e5ec
11
  }
12
 
13
  .stApp {
14
+ padding: 4rem;
15
  }
16
 
17
+ .stIFrame {
18
+ display: flex;
19
+ justify-content: start;
20
+ width: 400px;
21
+ height: 600px;
22
+ border: none;
23
+
24
+ }
25
+
26
+ .linha-vertical {
27
+ height: 200px;
28
+ border-left: 1px solid #000;
29
+ }
30
+ /* Estilo para o data editor */
31
+ .stDataFrame {
32
+ border: none !important;
33
+ width: 100% !important;
34
+ padding: initial !important;
35
+ align-self: center !important;
36
+ cursor: pointer;
37
+ border-radius: 15px !important;
38
+ overflow: hidden !important;
39
+ border-radius: 8px !important;
40
+ box-shadow: rgba(85, 91, 100, 0.411) 20px 10px 17px 0px, rgb(99, 111, 119) 20px 8px 20px !important;
41
+ background: linear-gradient(180deg, #5f5fe73b, #f0505047) !important;
42
  }
43
 
44
+ .stDataFrame table {
45
+ border-collapse: separate !important;
46
+ background-color: #719fe7 !important;
47
+ border-spacing: 0 !important;
48
+ width: 100% !important;
49
  }
50
 
51
+ .stDataFrame th {
52
+ background-color: #E6E7EB !important;
53
+ color: #31333F !important;
54
+ font-weight: bold !important;
55
+ padding: 15px 12px !important;
56
+ text-align: left !important;
57
+ border-bottom: 2px solid #D1D9E6 !important;
58
  }
59
 
60
+ .stDataFrame td {
61
+ background-color: #FFFFFF !important;
62
+ color: #31333F !important;
63
+ padding: 12px !important;
64
+ border-bottom: 1px solid #E6E7EB !important;
65
+ }
66
+
67
+ .stDataFrame tr:last-child td {
68
+ border-bottom: none !important;
69
+ }
70
+
71
+ .stDataFrame tr:hover td {
72
+ background-color: #F8F9FA !important;
73
+ }
74
+
75
+ /* Estilo para as m茅tricas */
76
  div[data-testid="stMetricValue"] {
77
+ background: linear-gradient(145deg, #E6E7EB, #FFFFFF) !important;
78
+ border: none !important;
79
+ border-radius: 15px !important;
80
+ padding: 20px !important;
81
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
82
+ transition: all 0.3s ease !important;
83
+ }
84
+
85
+ div[data-testid="stMetricValue"]:hover {
86
+ transform: translateY(-5px) !important;
87
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
88
+ }
89
+
90
+ div[data-testid="stMetricLabel"] {
91
+ font-size: 16px !important;
92
+ color: #6C757D !important;
93
+ margin-bottom: 8px !important;
94
+ }
95
+
96
+ div[data-testid="stMetricValue"] > div {
97
+ font-size: 28px !important;
98
+ font-weight: bold !important;
99
+ color: #4A90E2 !important;
100
+ }
101
+
102
+
103
+ /* Estilo para os bot玫es */
104
+ .stButton button {
105
+ border: none !important;
106
+ border-radius: 25px !important;
107
+ padding: 12px 24px !important;
108
+ font-weight: bold !important;
109
+ font-size: 18px !important;
110
+ transition: all 0.3s ease !important;
111
+ background: linear-gradient(145deg, #ebeae6, #FFFFFF) !important;
112
+ color: #31333F !important;
113
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
114
+ }
115
+
116
+ .stCheckbox stCheckbox {
117
+ margin-left: 1px !important;
118
+ align-content: normal !important;
119
+ transform: scale(0.8) !important;
120
+ color: #2572b6 !important;
121
+ font-palette: #a77406 !important;
122
+
123
+ }
124
+ .stButton button:hover {
125
+ font-size: large !important;
126
+ font-weight: bolder !important;
127
+ transform: translateY(-2px) !important;
128
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
129
+ background: linear-gradient(145deg, #E6F3FF, #C5E4FF) !important;
130
+ color: #7aaad4 !important;
131
+ }
132
+
133
+ .stButton button:active {
134
+ transform: translateY(1px) !important;
135
+ box-shadow: inset 5px 5px 10px #B3D7FF, inset -5px -5px 10px #FFFFFF !important;
136
+ background: linear-gradient(145deg, #9bc3e5, #E6F3FF) !important;
137
+ }
138
+
139
+
140
+ .stSelectbox selectbox {
141
+ background: linear-gradient(145deg, #e6e7eb, #ffffff) !important;
142
+ border: none !important;
143
+ border-radius: 10px !important;
144
+ padding: 20px !important;
145
+ color: #31333F !important;
146
+ box-shadow:
147
+ 8px 8px 16px #d1d9e6,
148
+ -8px -8px 16px #ffffff,
149
+ inset 2px 2px 4px #d1d9e6,
150
+ inset -2px -2px 4px #ffffff !important;
151
+ transition: all 0.3s ease !important;
152
+ font-size: 16px !important;
153
+ line-height: 1.5 !important;
154
+ }
155
+
156
+
157
+
158
+
159
+ /* Estilo para inputs e selects */
160
+ .stTextInput input, .stSelectbox select {
161
+ background: #FFFFFF !important;
162
+ border: none !important;
163
+ border-radius: 10px !important;
164
+ padding: 12px 16px !important;
165
+ color: #31333F !important;
166
+ align-content: jusify-content !important;
167
+ box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF !important;
168
+ }
169
+
170
+ .stTextInput input:focus, .stSelectbox select:focus {
171
+ box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF !important;
172
+ outline: none !important;
173
+ }
174
+
175
+ /* Estilo para o t铆tulo */
176
+ h1 {
177
+ color: #9f4707 !important;
178
+ font-size: 2.5rem !important;
179
+ margin-bottom: 1.5rem !important;
180
+ text-shadow: 2px 2px 4px #D1D9E6 !important;
181
+ }
182
+
183
+ /* Estilo para subheaders */
184
+ h2, h3 {
185
+ color: #9f4707 !important;
186
+ margin-top: 2rem !important;
187
+ margin-bottom: 1rem !important;
188
+ text-shadow: 2px 2px 6px #e9d3be !important;
189
+
190
+ }
191
+
192
+ h4, h5, h6 {
193
+ color: #9f4707 !important;
194
+ margin-top: 2rem !important;
195
+ margin-bottom: 0rem !important;
196
+ text-shadow: 2px 2px 6px #e9d3be !important;
197
+
198
+ }
199
+
200
+ /* Estilo para links */
201
+ a {
202
+ color: #e28f4b !important;
203
+ text-decoration: none !important;
204
+ transition: color 0.3s ease !important;
205
+ }
206
+
207
+ p, ol, ul, dl {
208
+ margin: 0px 0px 1rem;
209
+ padding: 0px;
210
+ font-size: 1.1rem;
211
  font-weight: 400;
212
+ color: #9f4707;
213
  }
214
 
215
+
216
+ a:hover {
217
+ color: #cea022 !important;
218
+ }
219
+ /* Estilo aprimorado para o text box de processamento de texto */
220
+ .stTextArea textarea {
221
+ background: linear-gradient(145deg, #e6e7eb, #ffffff) !important;
222
+ border: none !important;
223
+ border-radius: 10px !important;
224
+ padding: 20px !important;
225
+ color: #31333F !important;
226
+ box-shadow:
227
+ 8px 8px 16px #d1d9e6,
228
+ -8px -8px 16px #ffffff,
229
+ inset 2px 2px 4px #d1d9e6,
230
+ inset -2px -2px 4px #ffffff !important;
231
+ transition: all 0.3s ease !important;
232
+ font-size: 16px !important;
233
+ line-height: 1.5 !important;
234
+ }
235
+
236
+ .stTextArea textarea:focus {
237
+ box-shadow:
238
+ 12px 12px 20px #d1d9e6,
239
+ -12px -12px 20px #ffffff,
240
+ inset 4px 4px 8px #d1d9e6,
241
+ inset -4px -4px 8px #ffffff !important;
242
+ outline: none !important;
243
+ transform: translateY(-2px) !important;
244
+ }
245
+
246
+ .stTextArea textarea::placeholder {
247
+ color: #9aa0a8 !important;
248
+ }
249
+ /
250
+ /* Estilo para o container do text box */
251
+ /*.stTextArea > div {
252
+ border-radius: 22px !important;
253
+ padding: 2px !important;
254
+ background: linear-gradient(145deg, #d1d9e6, #ffffff) !important;
255
+ box-shadow:
256
+ 10px 10px 20px #b8bfcc,
257
+ -10px -10px 20px #ffffff !important;
258
+ }
259
+
260
+ /* Ajuste para o label do text box */
261
+ .stTextArea label {
262
+ background: transparent !important;
263
+ color: #4A90E2 !important;
264
+ font-weight: bold !important;
265
+ font-size: 18px !important;
266
+ margin-bottom: 8px !important;
267
+ text-shadow: 1px 1px 2px #ffffff, -1px -1px 2px #d1d9e6 !important;
268
+ }
269
+
270
+ /* Estilo para o formul谩rio */
271
+ form {
272
+ background: linear-gradient(145deg, #E6E7EB, #FFFFFF) !important;
273
+ border-radius: 20px !important;
274
+ padding: 25px !important;
275
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
276
+ transition: all 0.3s ease !important;
277
+ }
278
+
279
+ form:hover {
280
+ transform: translateY(-5px) !important;
281
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
282
  }
283
 
284
+ /* Estilo para os inputs dentro do formul谩rio */
285
+ /*form .stTextInput input, form .stTimeInput input, form .stNumberInput input {
286
+ background: #FFFFFF !important;
287
+ border: none !important;
288
+ border-radius: 10px !important;
289
+ padding: 12px 16px !important;
290
+ color: #31333F !important;
291
+ box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF !important;
292
+ transition: all 0.3s ease !important;
293
  }
294
 
295
+ form .stTextInput input:focus, form .stTimeInput input:focus, form .stNumberInput input:focus {
296
+ box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF !important;
297
+ outline: none !important;
 
298
  }
299
 
300
+ /* Estilo para o bot茫o dentro do formul谩rio */
301
+ form .stButton button {
302
+ width: 100% !important;
303
+ margin-top: 15px !important;
 
304
  }
305
 
306
+
307
+ .input-field {
308
+ width: 50%;
309
+ padding: 12px 20px;
310
+ margin-left: 50px;
311
+ border: none;
312
+ border-radius: 25px;
313
+ background-color: #e0e5ec;
314
+ color: #333;
315
+ font-size: 16px;
316
+ box-shadow:
317
+ inset 5px 5px 10px #a3b1c6,
318
+ inset -5px -5px 10px #ffffff;
319
+ }
320
+
321
+ .st-key-icon-wrapper {
322
+ position: absolute;
323
+ left: 0;
324
+ top: 0;
325
+ width: 36px;
326
+ height: 36px;
327
+ background-color: #e0e5ec;
328
+ border-radius: 50%;
329
+ display: flex;
330
+ align-items: center;
331
+ justify-content: center;
332
+ box-shadow:
333
+ 5px 5px 10px #a3b1c6,
334
+ -5px -5px 10px #ffffff;
335
+ }
336
+ .st-key-input-icon {
337
+ color: #4a4a4a;
338
+ font-size: 18px;
339
  }