-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.py
More file actions
63 lines (61 loc) · 1.63 KB
/
style.py
File metadata and controls
63 lines (61 loc) · 1.63 KB
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
"""
Módulo para fornecer os blocos de CSS e HTML da aplicação.
"""
def get_css_block():
"""Retorna o bloco de CSS para estilizar a página."""
return """
<style>
body {
background-color: #FFFFFF;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
border-bottom: 2px solid #01a9e0;
}
.header h1 {
color: #01a9e0;
font-family: Arial, sans-serif;
margin: 0;
}
.logo-container {
display: flex;
align-items: center;
gap: 20px;
}
.logo {
height: 60px;
}
.kpi {
text-align: center;
padding: 20px;
margin: 10px;
border-radius: 10px;
background-color: #f9f9f9;
border: 1px solid #ddd;
}
.kpi h2 {
color: #01a9e0;
font-size: 36px;
margin-bottom: 10px;
}
.kpi p {
font-size: 30px;
color: #626366;
font-weight: bold;
}
</style>
"""
def get_header_html():
"""Retorna o bloco de HTML para o cabeçalho."""
return """
<div class="header">
<h1>Processador de Relatórios</h1>
<div class="logo-container">
<img src="https://i.postimg.cc/2y7yXY7z/Logo-NEO-horiz-transp-inv-3.png" alt="Logo da NEO" class="logo">
<img src="https://docol65anos.com.br/temp/logo-docol.png" alt="Logo da Docol" class="logo">
</div>
</div>
"""