Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CRUD Animais da Fazenda
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
O Bar da Lora
CRUD Animais da Fazenda
Commits
aebb48eb
Commit
aebb48eb
authored
Apr 16, 2026
by
Natã Frederico Sangalletti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Novo css e mudanças no gitignore
parent
dab9cd66
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
164 additions
and
131 deletions
+164
-131
.gitignore
.gitignore
+4
-0
style.css
static/style.css
+160
-131
No files found.
.gitignore
View file @
aebb48eb
...
...
@@ -13,3 +13,6 @@ ENV/
# Variáveis de ambiente (Segurança)
.env
.env.local
relatorio.md
\ No newline at end of file
static/style.css
View file @
aebb48eb
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
:root
{
/* === PALETA DE CORES - TEMA FAZENDA DIGITAL MODERNA === */
--primary-green
:
#2e7d32
;
/* Verde fazenda vivo */
--wood-brown
:
#8d5524
;
/* Marrom madeira/celeiro */
--sun-orange
:
#f4a261
;
/* Laranja dourado do sol */
--bg-beige
:
#f8f1e3
;
/* Bege claro com vibe de feno/palha */
--card-bg
:
#ffffff
;
--text-dark
:
#2c2c2c
;
--text-light
:
#f4f4f4
;
--shadow-wood
:
0
10px
30px
rgba
(
141
,
85
,
36
,
0.18
);
}
body
{
font-family
:
'Lexend'
,
sans-serif
;
background
:
linear-gradient
(
135deg
,
#667eea
0%
,
#764ba2
100%
);
min-height
:
100vh
;
padding
:
20px
;
position
:
relative
;
/* Fundo vivo com textura de fazenda */
background
:
linear-gradient
(
180deg
,
#a8d5a8
0%
,
#c8e4c8
25%
,
#f0e8d8
55%
,
#f8f1e3
100%
);
background-image
:
repeating-linear-gradient
(
35deg
,
transparent
,
transparent
40px
,
rgba
(
46
,
125
,
50
,
0.15
)
40px
,
rgba
(
46
,
125
,
50
,
0.15
)
45px
),
radial-gradient
(
circle
at
25%
35%
,
rgba
(
141
,
85
,
36
,
0.12
)
1.5px
,
transparent
0
),
radial-gradient
(
circle
at
75%
65%
,
rgba
(
141
,
85
,
36
,
0.12
)
1.5px
,
transparent
0
),
radial-gradient
(
circle
at
40%
80%
,
rgba
(
141
,
85
,
36
,
0.09
)
2px
,
transparent
0
),
linear-gradient
(
rgba
(
255
,
255
,
255
,
0.65
),
rgba
(
255
,
255
,
255
,
0.65
));
background-size
:
100%
100%
,
90px
90px
,
120px
120px
,
180px
180px
,
100%
100%
;
background-attachment
:
fixed
;
}
.container
{
max-width
:
1
0
00px
;
max-width
:
1
1
00px
;
margin
:
0
auto
;
background
:
white
;
border-radius
:
12
px
;
box-shadow
:
0
10px
40px
rgba
(
0
,
0
,
0
,
0.15
);
background
:
var
(
--card-bg
)
;
border-radius
:
20
px
;
box-shadow
:
var
(
--shadow-wood
);
padding
:
40px
;
border
:
6px
solid
var
(
--wood-brown
);
position
:
relative
;
overflow
:
hidden
;
}
/* Header */
/* Header
limpo
*/
header
{
text-align
:
center
;
margin-bottom
:
30px
;
margin-bottom
:
40px
;
position
:
relative
;
}
header
h1
{
color
:
#333
;
font-size
:
2.5rem
;
margin-bottom
:
10px
;
color
:
var
(
--primary-green
);
font-size
:
2.8rem
;
margin-bottom
:
8px
;
font-weight
:
700
;
text-shadow
:
2px
2px
4px
rgba
(
141
,
85
,
36
,
0.1
);
}
.subtitle
{
color
:
#666
;
font-size
:
1.1rem
;
font-weight
:
300
;
}
/* Headings */
h1
{
color
:
#333
;
font-size
:
2rem
;
margin-bottom
:
30px
;
text-align
:
center
;
color
:
var
(
--wood-brown
);
font-size
:
1.15rem
;
font-weight
:
400
;
letter-spacing
:
0.5px
;
}
/*
Actions
*/
/*
Espaço grande entre botão de adicionar e a lista
*/
.actions
{
display
:
flex
;
gap
:
1
0
px
;
margin-bottom
:
3
0px
;
gap
:
1
2
px
;
margin-bottom
:
6
0px
;
flex-wrap
:
wrap
;
justify-content
:
flex-end
;
}
/* Buttons */
.btn
{
display
:
inline-block
;
padding
:
12px
24px
;
border-radius
:
6px
;
display
:
inline-flex
;
align-items
:
center
;
justify-content
:
center
;
gap
:
8px
;
padding
:
14px
28px
;
border-radius
:
50px
;
text-decoration
:
none
;
font-weight
:
6
00
;
font-weight
:
7
00
;
border
:
none
;
cursor
:
pointer
;
transition
:
all
0.3s
ease
;
font-size
:
0.95rem
;
transition
:
all
0.3s
cubic-bezier
(
0.4
,
0
,
0.2
,
1
);
font-size
:
1rem
;
box-shadow
:
0
4px
12px
rgba
(
46
,
125
,
50
,
0.25
);
}
.btn-primary
{
background
:
linear-gradient
(
135deg
,
#667eea
0%
,
#764ba2
100%
);
background
:
var
(
--primary-green
);
color
:
white
;
}
.btn-primary
:hover
{
transform
:
translateY
(
-2px
);
box-shadow
:
0
5px
15px
rgba
(
102
,
126
,
234
,
0.4
);
background
:
#256627
;
transform
:
translateY
(
-3px
)
scale
(
1.05
);
box-shadow
:
0
8px
20px
rgba
(
46
,
125
,
50
,
0.4
);
}
.btn-secondary
{
background
:
#f
0f0f0
;
color
:
#333
;
border
:
1px
solid
#ddd
;
background
:
#f
4f1e8
;
color
:
var
(
--wood-brown
)
;
border
:
3px
solid
var
(
--wood-brown
)
;
}
.btn-secondary
:hover
{
background
:
#e5e5e5
;
background
:
var
(
--wood-brown
);
color
:
white
;
transform
:
translateY
(
-2px
);
}
.btn-edit
{
background
:
#3498db
;
background
:
var
(
--sun-orange
)
;
color
:
white
;
padding
:
8px
1
6
px
;
padding
:
8px
1
8
px
;
font-size
:
0.9rem
;
}
.btn-edit
:hover
{
background
:
#2980b9
;
background
:
#e38f4a
;
transform
:
scale
(
1.08
);
}
.btn-delete
{
background
:
#
e74c3c
;
background
:
#
c14a3d
;
color
:
white
;
padding
:
8px
1
6
px
;
padding
:
8px
1
8
px
;
font-size
:
0.9rem
;
}
.btn-delete
:hover
{
background
:
#
c0392b
;
background
:
#
a83f35
;
}
/* T
able
*/
/* T
ABELA - FUNDO ARREDONDADO CORRETO (sem vazamento)
*/
.table-responsive
{
overflow-x
:
auto
;
border-radius
:
8px
;
border
:
1px
solid
#eee
;
border-radius
:
16px
;
border
:
4px
solid
var
(
--wood-brown
);
box-shadow
:
var
(
--shadow-wood
);
overflow
:
hidden
;
/* 🔥 ESSA LINHA RESOLVE O PROBLEMA */
}
.animals-table
{
width
:
100%
;
border-collapse
:
collapse
;
background
:
white
;
background
:
var
(
--card-bg
);
table-layout
:
auto
;
border-radius
:
12px
;
/* arredonda a própria tabela também */
}
.animals-table
thead
{
background
:
linear-gradient
(
135deg
,
#667eea
0%
,
#764ba2
100%
);
background
:
linear-gradient
(
135deg
,
var
(
--primary-green
),
#3d9b3d
);
color
:
white
;
}
.animals-table
th
{
padding
:
16px
;
padding
:
1
8px
1
6px
;
text-align
:
left
;
font-weight
:
600
;
font-size
:
1rem
;
font-weight
:
700
;
font-size
:
1.05rem
;
text-transform
:
uppercase
;
letter-spacing
:
0.5px
;
}
.animals-table
td
{
padding
:
14px
16px
;
border-bottom
:
1px
solid
#f0f0f0
;
padding
:
16px
;
border-bottom
:
2px
solid
#f0e8d8
;
color
:
var
(
--text-dark
);
}
.animals-table
tbody
tr
{
transition
:
background-color
0.2
s
ease
;
transition
:
all
0.3
s
ease
;
}
.animals-table
tbody
tr
:hover
{
background-color
:
#f9f9f9
;
}
.animals-table
tbody
tr
:last-child
td
{
border-bottom
:
none
;
background-color
:
#f8f1e3
;
transform
:
scale
(
1.01
);
}
.actions-column
{
display
:
flex
;
gap
:
8px
;
flex-wrap
:
wrap
;
}
/* Forms */
/* Formulário de cadastro */
.form
{
max-width
:
6
0
0px
;
max-width
:
6
2
0px
;
margin
:
0
auto
;
}
.form-group
{
margin-bottom
:
20px
;
display
:
flex
;
flex-direction
:
column
;
margin-bottom
:
24px
;
}
.form-group
label
{
color
:
#333
;
font-weight
:
6
00
;
color
:
var
(
--wood-brown
)
;
font-weight
:
7
00
;
margin-bottom
:
8px
;
font-size
:
1rem
;
font-size
:
1.05rem
;
display
:
flex
;
align-items
:
center
;
gap
:
6px
;
}
.form-group
input
{
padding
:
12px
;
border
:
2px
solid
#ddd
;
border-radius
:
6px
;
.form-group
input
,
.form-group
select
,
.form-group
textarea
{
padding
:
14px
18px
;
border
:
3px
solid
#d4c4a8
;
border-radius
:
12px
;
font-family
:
'Lexend'
,
sans-serif
;
font-size
:
1rem
;
transition
:
border-color
0.3s
ease
;
transition
:
all
0.3s
ease
;
background
:
#fffef7
;
}
.form-group
input
:focus
{
.form-group
input
:focus
,
.form-group
select
:focus
,
.form-group
textarea
:focus
{
outline
:
none
;
border-color
:
#667eea
;
box-shadow
:
0
0
0
3px
rgba
(
102
,
126
,
234
,
0.1
);
}
.form-group
input
::placeholder
{
color
:
#999
;
border-color
:
var
(
--primary-green
);
box-shadow
:
0
0
0
4px
rgba
(
46
,
125
,
50
,
0.2
);
background
:
white
;
}
/* Ações do formulário */
.form-actions
{
display
:
flex
;
gap
:
1
2
px
;
margin-top
:
3
0px
;
gap
:
1
6
px
;
margin-top
:
4
0px
;
justify-content
:
center
;
}
/* Empty
State
*/
/* Empty
state com vibe de fazenda
*/
.empty-state
{
text-align
:
center
;
padding
:
6
0px
20px
;
color
:
#666
;
padding
:
8
0px
20px
;
color
:
var
(
--wood-brown
)
;
}
.empty-state
p
{
font-size
:
1.2rem
;
margin-bottom
:
20px
;
font-size
:
1.3rem
;
margin-bottom
:
16px
;
font-weight
:
500
;
}
/* Responsive */
@media
(
max-width
:
768px
)
{
.container
{
padding
:
20px
;
padding
:
24px
;
border-radius
:
16px
;
}
header
h1
{
font-size
:
2rem
;
font-size
:
2
.2
rem
;
}
.actions-column
{
flex-direction
:
column
;
}
.btn-edit
,
.btn-delete
{
width
:
100%
;
text-align
:
center
;
}
.form-actions
{
flex-direction
:
column
;
.actions
{
justify-content
:
center
;
margin-bottom
:
50px
;
}
.
form-actions
.
btn
{
.btn
{
width
:
100%
;
text-align
:
center
;
justify-content
:
center
;
}
.animals-table
th
,
.animals-table
td
{
padding
:
10px
;
font-size
:
0.9rem
;
padding
:
1
2px
1
0px
;
font-size
:
0.9
5
rem
;
}
}
@media
(
max-width
:
480px
)
{
body
{
padding
:
1
0
px
;
padding
:
1
2
px
;
}
.container
{
padding
:
15
px
;
border-
radius
:
8
px
;
padding
:
20
px
;
border-
width
:
4
px
;
}
header
h1
{
font-size
:
1.5rem
;
}
.subtitle
{
font-size
:
0.95rem
;
}
.btn
{
padding
:
10px
16px
;
font-size
:
0.85rem
;
}
.animals-table
th
,
.animals-table
td
{
padding
:
8px
;
font-size
:
1.8rem
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment