-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (113 loc) · 2.11 KB
/
styles.css
File metadata and controls
130 lines (113 loc) · 2.11 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Fundo da página */
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #4f46e5, #7c3aed);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* Container principal */
.container {
background: #ffffff;
width: 100%;
max-width: 480px;
padding: 25px;
border-radius: 16px;
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}
/* Título principal */
h1 {
text-align: center;
margin-bottom: 20px;
color: #111827;
}
/* Subtítulo */
h2 {
margin: 20px 0 10px;
color: #374151;
font-size: 18px;
}
/* Formulário */
form {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
/* Inputs */
input {
flex: 1 1 45%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid #d1d5db;
font-size: 14px;
}
input:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
/* Botão cadastrar */
button {
background: #6366f1;
color: #ffffff;
border: none;
border-radius: 10px;
padding: 10px 14px;
cursor: pointer;
font-weight: 600;
transition: 0.3s;
flex: 1 1 100%;
margin-top: 8px;
}
button:hover {
background: #4f46e5;
}
/* Lista */
ul {
list-style: none;
}
/* Item da lista */
li {
background: #f9fafb;
padding: 10px 12px;
border-radius: 10px;
margin-bottom: 8px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
color: #111827;
}
/* Botão excluir */
li button {
background: #ef4444;
padding: 6px 10px;
border-radius: 8px;
font-size: 12px;
}
li button:hover {
background: #dc2626;
}
/* Responsivo */
@media (max-width: 500px) {
form {
flex-direction: column;
}
}
#lista-clientes {
margin-top: 15px;
}
#lista-clientes li {
background: #f9fafb;
border-left: 4px solid #6366f1;
padding: 12px;
border-radius: 10px;
margin-bottom: 10px;
}