-
Notifications
You must be signed in to change notification settings - Fork 0
/
estilos.css
108 lines (92 loc) · 1.72 KB
/
estilos.css
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
/* Estilos generales */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
#app {
max-width: 950px;
margin: 0 auto;
padding: 20px;
background-color: hsl(0, 0%, 87%);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
display: block;
margin-bottom: 10px;
font-weight: bold;
}
input[type="password"],
textarea {
width: 95%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
button {
padding: 10px 20px;
margin-right: 10px;
border: none;
border-radius: 5px;
background-color: #4CAF50;
color: white;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:last-of-type {
background-color: #008CBA;
}
button:hover {
background-color: #45a049;
}
button:last-of-type:hover {
background-color: #007bb5;
}
/* Estilos de la barra de progreso */
#progress-bar {
width: 100%;
background-color: #f3f3f3;
border-radius: 5px;
overflow: hidden;
margin: 10px 0;
display: none;
}
#progress-bar div {
height: 10px;
width: 0;
background-color: #45a049;
animation: progress 2s infinite;
}
@keyframes progress {
0% { width: 0; }
50% { width: 100%; }S
100% { width: 0; }
}
/* Estilos responsivos */
@media (max-width: 600px) {
#app {
padding: 10px;
}
button {
width: 100%;
margin-bottom: 10px;
}
button:last-of-type {
width: 100%;
}
}
.form-group.inline {
display: flex;
gap: 20px;
}
.form-group.inline label {
display: flex;
align-items: center;
margin-bottom: 0;
font-weight: normal;
}