drguilhermeapolinario commited on
Commit
69a2e2e
·
verified ·
1 Parent(s): ab36657

Upload 2 files

Browse files
Files changed (2) hide show
  1. style (1).css +287 -0
  2. styles.html +183 -0
style (1).css ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Estilos gerais */
2
+ body {
3
+ font-family: 'Roboto', sans-serif;
4
+ background-color: #7fafcf;
5
+ color: #31333F;
6
+ }
7
+
8
+ .stApp {
9
+ padding: 4rem;
10
+ }
11
+
12
+
13
+ /* Estilo para o data editor */
14
+ .stDataFrame {
15
+ border: none !important;
16
+ width: 100% !important;
17
+ padding: initial !important;
18
+ align-self: center !important;
19
+ cursor: pointer;
20
+ border-radius: 15px !important;
21
+ overflow: hidden !important;
22
+ border-radius: 8px !important;
23
+ box-shadow: rgba(85, 91, 100, 0.411) 20px 10px 17px 0px, rgb(99, 111, 119) 20px 8px 20px !important;
24
+ background: linear-gradient(180deg, #5f5fe73b, #f0505047) !important;
25
+ }
26
+
27
+ .stDataFrame table {
28
+ border-collapse: separate !important;
29
+ background-color: #719fe7 !important;
30
+ border-spacing: 0 !important;
31
+ width: 100% !important;
32
+ }
33
+
34
+ .stDataFrame th {
35
+ background-color: #E6E7EB !important;
36
+ color: #31333F !important;
37
+ font-weight: bold !important;
38
+ padding: 15px 12px !important;
39
+ text-align: left !important;
40
+ border-bottom: 2px solid #D1D9E6 !important;
41
+ }
42
+
43
+ .stDataFrame td {
44
+ background-color: #FFFFFF !important;
45
+ color: #31333F !important;
46
+ padding: 12px !important;
47
+ border-bottom: 1px solid #E6E7EB !important;
48
+ }
49
+
50
+ .stDataFrame tr:last-child td {
51
+ border-bottom: none !important;
52
+ }
53
+
54
+ .stDataFrame tr:hover td {
55
+ background-color: #F8F9FA !important;
56
+ }
57
+
58
+ /* Estilo para as métricas */
59
+ div[data-testid="stMetricValue"] {
60
+ background: linear-gradient(145deg, #E6E7EB, #FFFFFF) !important;
61
+ border: none !important;
62
+ border-radius: 15px !important;
63
+ padding: 20px !important;
64
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
65
+ transition: all 0.3s ease !important;
66
+ }
67
+
68
+ div[data-testid="stMetricValue"]:hover {
69
+ transform: translateY(-5px) !important;
70
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
71
+ }
72
+
73
+ div[data-testid="stMetricLabel"] {
74
+ font-size: 16px !important;
75
+ color: #6C757D !important;
76
+ margin-bottom: 8px !important;
77
+ }
78
+
79
+ div[data-testid="stMetricValue"] > div {
80
+ font-size: 28px !important;
81
+ font-weight: bold !important;
82
+ color: #4A90E2 !important;
83
+ }
84
+
85
+
86
+ /* Estilo para os botões */
87
+ .stButton button {
88
+ border: none !important;
89
+ border-radius: 25px !important;
90
+ padding: 12px 24px !important;
91
+ font-weight: bold !important;
92
+ font-size: 18px !important;
93
+ transition: all 0.3s ease !important;
94
+ background: linear-gradient(145deg, #ebeae6, #FFFFFF) !important;
95
+ color: #31333F !important;
96
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
97
+ }
98
+
99
+ .stCheckbox stCheckbox {
100
+ margin-left: 1px !important;
101
+ align-content: normal !important;
102
+ transform: scale(0.8) !important;
103
+ color: #2572b6 !important;
104
+ font-palette: #a77406 !important;
105
+
106
+ }
107
+ .stButton button:hover {
108
+ font-size: large !important;
109
+ font-weight: bolder !important;
110
+ transform: translateY(-2px) !important;
111
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
112
+ background: linear-gradient(145deg, #E6F3FF, #C5E4FF) !important;
113
+ color: #7aaad4 !important;
114
+ }
115
+
116
+ .stButton button:active {
117
+ transform: translateY(1px) !important;
118
+ box-shadow: inset 5px 5px 10px #B3D7FF, inset -5px -5px 10px #FFFFFF !important;
119
+ background: linear-gradient(145deg, #9bc3e5, #E6F3FF) !important;
120
+ }
121
+
122
+
123
+ .stSelectbox selectbox {
124
+ background: linear-gradient(145deg, #e6e7eb, #ffffff) !important;
125
+ border: none !important;
126
+ border-radius: 10px !important;
127
+ padding: 20px !important;
128
+ color: #31333F !important;
129
+ box-shadow:
130
+ 8px 8px 16px #d1d9e6,
131
+ -8px -8px 16px #ffffff,
132
+ inset 2px 2px 4px #d1d9e6,
133
+ inset -2px -2px 4px #ffffff !important;
134
+ transition: all 0.3s ease !important;
135
+ font-size: 16px !important;
136
+ line-height: 1.5 !important;
137
+ }
138
+
139
+
140
+
141
+
142
+ /* Estilo para inputs e selects */
143
+ .stTextInput input, .stSelectbox select {
144
+ background: #FFFFFF !important;
145
+ border: none !important;
146
+ border-radius: 10px !important;
147
+ padding: 12px 16px !important;
148
+ color: #31333F !important;
149
+ align-content: jusify-content !important;
150
+ box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF !important;
151
+ }
152
+
153
+ .stTextInput input:focus, .stSelectbox select:focus {
154
+ box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF !important;
155
+ outline: none !important;
156
+ }
157
+
158
+ /* Estilo para o título */
159
+ h1 {
160
+ color: #9f4707 !important;
161
+ font-size: 2.5rem !important;
162
+ margin-bottom: 1.5rem !important;
163
+ text-shadow: 2px 2px 4px #D1D9E6 !important;
164
+ }
165
+
166
+ /* Estilo para subheaders */
167
+ h2, h3 {
168
+ color: #9f4707 !important;
169
+ margin-top: 2rem !important;
170
+ margin-bottom: 1rem !important;
171
+ text-shadow: 2px 2px 6px #e9d3be !important;
172
+
173
+ }
174
+
175
+ h4, h5, h6 {
176
+ color: #9f4707 !important;
177
+ margin-top: 2rem !important;
178
+ margin-bottom: 0rem !important;
179
+ text-shadow: 2px 2px 6px #e9d3be !important;
180
+
181
+ }
182
+
183
+ /* Estilo para links */
184
+ a {
185
+ color: #e28f4b !important;
186
+ text-decoration: none !important;
187
+ transition: color 0.3s ease !important;
188
+ }
189
+
190
+ p, ol, ul, dl {
191
+ margin: 0px 0px 1rem;
192
+ padding: 0px;
193
+ font-size: 1.1rem;
194
+ font-weight: 400;
195
+ color: #9f4707;
196
+ }
197
+
198
+
199
+ a:hover {
200
+ color: #cea022 !important;
201
+ }
202
+ /* Estilo aprimorado para o text box de processamento de texto */
203
+ .stTextArea textarea {
204
+ background: linear-gradient(145deg, #e6e7eb, #ffffff) !important;
205
+ border: none !important;
206
+ border-radius: 10px !important;
207
+ padding: 20px !important;
208
+ color: #31333F !important;
209
+ box-shadow:
210
+ 8px 8px 16px #d1d9e6,
211
+ -8px -8px 16px #ffffff,
212
+ inset 2px 2px 4px #d1d9e6,
213
+ inset -2px -2px 4px #ffffff !important;
214
+ transition: all 0.3s ease !important;
215
+ font-size: 16px !important;
216
+ line-height: 1.5 !important;
217
+ }
218
+
219
+ .stTextArea textarea:focus {
220
+ box-shadow:
221
+ 12px 12px 20px #d1d9e6,
222
+ -12px -12px 20px #ffffff,
223
+ inset 4px 4px 8px #d1d9e6,
224
+ inset -4px -4px 8px #ffffff !important;
225
+ outline: none !important;
226
+ transform: translateY(-2px) !important;
227
+ }
228
+
229
+ .stTextArea textarea::placeholder {
230
+ color: #9aa0a8 !important;
231
+ }
232
+ /
233
+ /* Estilo para o container do text box */
234
+ /*.stTextArea > div {
235
+ border-radius: 22px !important;
236
+ padding: 2px !important;
237
+ background: linear-gradient(145deg, #d1d9e6, #ffffff) !important;
238
+ box-shadow:
239
+ 10px 10px 20px #b8bfcc,
240
+ -10px -10px 20px #ffffff !important;
241
+ }
242
+
243
+ /* Ajuste para o label do text box */
244
+ .stTextArea label {
245
+ background: transparent !important;
246
+ color: #4A90E2 !important;
247
+ font-weight: bold !important;
248
+ font-size: 18px !important;
249
+ margin-bottom: 8px !important;
250
+ text-shadow: 1px 1px 2px #ffffff, -1px -1px 2px #d1d9e6 !important;
251
+ }
252
+
253
+ /* Estilo para o formulário */
254
+ form {
255
+ background: linear-gradient(145deg, #E6E7EB, #FFFFFF) !important;
256
+ border-radius: 20px !important;
257
+ padding: 25px !important;
258
+ box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF !important;
259
+ transition: all 0.3s ease !important;
260
+ }
261
+
262
+ form:hover {
263
+ transform: translateY(-5px) !important;
264
+ box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF !important;
265
+ }
266
+
267
+ /* Estilo para os inputs dentro do formulário */
268
+ /*form .stTextInput input, form .stTimeInput input, form .stNumberInput input {
269
+ background: #FFFFFF !important;
270
+ border: none !important;
271
+ border-radius: 10px !important;
272
+ padding: 12px 16px !important;
273
+ color: #31333F !important;
274
+ box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF !important;
275
+ transition: all 0.3s ease !important;
276
+ }
277
+
278
+ form .stTextInput input:focus, form .stTimeInput input:focus, form .stNumberInput input:focus {
279
+ box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF !important;
280
+ outline: none !important;
281
+ }
282
+
283
+ /* Estilo para o botão dentro do formulário */
284
+ form .stButton button {
285
+ width: 100% !important;
286
+ margin-top: 15px !important;
287
+ }
styles.html ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ @font-face {
3
+ font-family: PoiretOne-Regular;
4
+ src: url(app/static/Quattrocento-Bold.ttf);
5
+ }
6
+
7
+ .title {
8
+ font-family: Quattrocento-Bold;
9
+ font-size: 4em;
10
+ }
11
+
12
+ h3 span {
13
+ font-family: PoiretOne-Regular;
14
+ font-size: 1.1em;
15
+ font-weight: 600;
16
+ margin-top: 1em;
17
+ }
18
+
19
+ div [data-testid="stWidgetLabel"] {
20
+ font-family: PoiretOne-Regular;
21
+ font-size: large;
22
+ font-weight: 400;
23
+ color: #17d1ff;
24
+ }
25
+
26
+ div [data-testid="stRadio"] {
27
+ margin-top: 0.5em;
28
+ padding: 1em;
29
+ border-radius: 18px;
30
+ border: 0.5px solid #ffd8b8;
31
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 90%);
32
+ }
33
+
34
+ div [data-testid="stCheckbox"] {
35
+ margin-top: 0.5em;
36
+ padding: 1em;
37
+ border-radius: 18px;
38
+ border: 0.3px solid #ffd8b8;
39
+ box-shadow: 5px 8px 15px rgb(189 222 241 / 90%);
40
+ }
41
+
42
+ div [data-testid="stSlider"] {
43
+ margin-top: 1em;
44
+ padding: 1em;
45
+ border-radius: 18px;
46
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 52%);
47
+ }
48
+
49
+ div [data-testid="stSelectbox"] {
50
+ margin-top: 1em;
51
+ padding: 1em;
52
+
53
+ border-radius: 18px;
54
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 52%);
55
+ }
56
+
57
+
58
+
59
+ div [data-testid="stSidebar"] {
60
+ margin-top: 1em;
61
+ padding: 1em;
62
+ border-radius: 18px;
63
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 52%);
64
+ background-image: -moz-repeating-linear-gradient(
65
+ 45deg,
66
+ rgb(209, 207, 178),
67
+ rgb(218, 213, 146) 10px,
68
+ rgb(223, 220, 189) 10px,
69
+ rgb(190, 190, 190) 20px);
70
+ }
71
+
72
+ div[data-testid="stVerticalBlockBorderWrapper"]:has(.stHtml > .watchlist_card) {
73
+ padding-bottom: 0em;
74
+ border-radius: 18px;
75
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 52%);
76
+ }
77
+
78
+ div[data-testid="element-container"]:has(.iframe) {
79
+ background-color: #50e758;
80
+ padding-bottom: 20em;
81
+ border-radius: 18px;
82
+ box-shadow: 2px 3px 10px rgb(189 222 241 / 52%);
83
+ }
84
+
85
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_symbol_name) {
86
+ & p {
87
+ color: #174C4F;
88
+ font-family: PoiretOne-Regular;;
89
+ font-size: 3em;
90
+ font-weight: 500;
91
+ margin-bottom: 0;
92
+ }
93
+ }
94
+
95
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_symbol_name) {
96
+ & p {
97
+ color: #174c4f;
98
+ font-family: "Open Sans", sans-serif;
99
+ font-size: 1em;
100
+ font-weight: 700;
101
+ margin-bottom: 0;
102
+ }
103
+ }
104
+
105
+
106
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_ticker) {
107
+ text-align: right;
108
+
109
+ & p {
110
+ font-size: 0.8em;
111
+ margin-bottom: 0;
112
+ }
113
+ }
114
+
115
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_price_label) {
116
+ & p {
117
+ font-size: 0.8em;
118
+ margin-bottom: 0;
119
+ }
120
+ }
121
+
122
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_price_value) {
123
+ & p {
124
+ color: #174C4F;
125
+ font-family: "Open Sans", sans-serif;
126
+ font-size: 1.2em;
127
+ margin-bottom: 0;
128
+ }
129
+ }
130
+
131
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .column_plotly) {
132
+ & .stPlotlyChart {
133
+ margin-top: 1em;
134
+ padding: 1em;
135
+ border-radius: 16px;
136
+ box-shadow: 0px 0px 10px rgba(81, 85, 195, 0.2);
137
+ }
138
+ }
139
+
140
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .column_indicator) {
141
+ margin-top: 2.5em;
142
+ padding-left: 4em;
143
+ }
144
+
145
+ /* Adapted from https://startbootstrap.com/theme/sb-admin-2 */
146
+ div[data-testid="stMetric"] {
147
+ background-color: #35383b;
148
+ border: 2px solid #3f3b3b;
149
+ margin-top: 1em;
150
+ padding: 1.5em 1em;
151
+ border-radius: 20px;
152
+ box-shadow: 4px 5px 10px rgb(189 222 241 / 52%);
153
+ }
154
+
155
+ label[data-testid="stMetricLabel"] p {
156
+ font-family: Quattrocento-Regular;
157
+ color: rgb(255, 201, 24);
158
+ font-size: 1.5em;
159
+ }
160
+
161
+ div[data-testid="stMetricValue"] {
162
+ font-size: 1em;
163
+ font-weight: 400;
164
+ color: #50e758;
165
+ }
166
+
167
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .low_indicator) {
168
+ & div[data-testid="stMetric"] {
169
+ border-left: 0.5rem solid red;
170
+ }
171
+ }
172
+
173
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .high_indicator) {
174
+ & div[data-testid="stMetric"] {
175
+ border-left: 0.5rem solid rgb(166, 255, 166);
176
+ }
177
+ }
178
+
179
+ div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .bottom_indicator) {
180
+ margin-top: 0.5em;
181
+ }
182
+
183
+ </style>