-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.py
More file actions
133 lines (116 loc) · 2.79 KB
/
styles.py
File metadata and controls
133 lines (116 loc) · 2.79 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
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
# Identidade visual do dash
VERDELOGO = '#78AB46'
CINZALOGO = '#606060'
VERDECLARO = '#A4D07B'
AZULCLARO = '#4A90E2'
AZULINFO = '#2D6FF4'
VERMELHODANGER = '#ed5353'
CINZACLARO = '#D3D3D3' # Ou outro tom de cinza de sua escolha
CINZAESCURO = '#A9A9A9' # Um tom um pouco diferente para indexadas
CARD_COLOR = '#f5f5f5'
LOGO_PATH = 'static/img/lageamb.png'
MAIN_TITLE_STYLE = {
'flex': '1',
'textAlign': 'left',
'color': VERDELOGO,
'fontSize': 40,
'fontWeight': 'bold',
'margin': '1rem 0'
}
SUB_TITLE_STYLE = {
'textAlign': 'center',
'color': CINZALOGO, # Cor neutra para subtítulo
'fontSize': '24px',
'fontWeight': 'bold',
'margin': '10px 0',
}
TITLE_STYLE = {
'textAlign': 'left',
'color': '#4CAF50',
'fontFamily': 'Helvetica, Arial, sans-serif',
'fontWeight': 'bold',
'fontSize': '3.5rem',
'margin': '1rem 0'
}
CARD_TEXT_STYLE = {
'textAlign': 'center',
'fontSize': '1.8rem'
}
GRAPH_TITLE_STYLE = {
'textAlign': 'center',
'fontSize': '2.0rem'
}
CARD_STYLE = {
'boxShadow': '4px 4px 4px lightgrey',
'border': '3px solid #E8E8E8',
'borderRadius': '20px',
"marginBottom": "20px",
"backgroundColor": CARD_COLOR,
}
CARD_STYLE_SIZE = {
'boxShadow': '4px 4px 4px lightgrey',
'border': '3px solid #E8E8E8',
'borderRadius': '20px',
"marginBottom": "20px",
"backgroundColor": CARD_COLOR,
'width': '100%',
'height': '50%' # Altura maior
}
CARD_STYLE_BIG = {
'boxShadow': '4px 4px 4px lightgrey',
'border': '3px solid #E8E8E8',
'borderRadius': '20px',
'marginBottom': '20px',
'backgroundColor': CARD_COLOR,
'width': '100%',
'height': '650px' # Altura maior
}
CARD_BODY_STYLE = {
"backgroundColor": CARD_COLOR,
"borderRadius": "20px",
"padding": "20px",
"fontSize": "20px",
'justifyContent': 'center', # Centraliza conteúdo verticalmente
'height': '100%' # Opcional: assegura que o card body ocupe todo o espaço do card
}
CARD_TITLE_STYLE = {
'textAlign': 'center',
'fontSize': 30,
'color': CINZALOGO
}
CARD_SUB_TITLE_STYLE = {
'textAlign': 'center',
'fontSize': 18,
'color': CINZALOGO
}
CARD_TEXT_STYLE_CENTER = {
'textAlign': 'center',
'fontSize': 16,
'color': CINZALOGO
}
CARD_IMAGE_STYLE = {
'display': 'block',
'margin-left': 'auto',
'margin-right': 'auto',
'width': '50%'
}
PAGE_STYLE = {
'margin': '0px',
'padding': '0px',
'height': '100vh'
}
NAV_LINK_STYLE = {
'color': '#2D6FF4', # Azul
'fontSize': 18,
'fontWeight': 'bold',
'padding': '10px 20px',
'margin': '5px 0'
}
NAV_LINK_STYLE_ACTIVE = {
'backgroundColor': '#2D6FF4', # Azul
'color': 'white',
'fontSize': 18,
'fontWeight': 'bold',
'padding': '10px 20px',
'margin': '5px 0'
}