-
Notifications
You must be signed in to change notification settings - Fork 0
/
chatbot.css
112 lines (101 loc) · 2.05 KB
/
chatbot.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
108
109
110
111
112
body {
background-color: #ffffff;
}
.titulo {
display: inline-block;
width: 96.5%; /* Establece el ancho*/
height: 80px;
margin: 20px;
background-color: #004d80;
color: #ffffff;
text-align: center;
border-radius: 10px;
vertical-align: top; /* Alineación vertical en la parte superior */
box-shadow: 5px 5px 5px black;
font-family: monospace;
font-size: larger;
}
.nube-de-pensamiento {
position: relative;
background-color: #cfcdcd;
border-radius: 20px;
padding: 20px;
max-width: 300px;
margin: 20px;
}
.nube-de-pensamiento::before {
content: "";
position: absolute;
top: 10px;
right: 100%;
border-style: solid;
border-width: 10px 15px 10px 0;
border-color: transparent #cfcdcd transparent transparent;
}
.contenido {
font-size: 16px;
line-height: 1.5;
font-family: monospace;
}
.chat input[type="text"] {
position: absolute;
bottom: 0;
width: 85%;
height: 50px;
margin: 20px;
background-color: #d5d4d4;
color: #000000;
text-align: center;
border-radius: 20px;
border-style: solid;
box-shadow: 5px 5px 5px black;
}
.enviar {
position: absolute;
bottom: 0;
width: 75px;
height: 50px;
margin: 20px;
background-color: #d5d4d4;
color: #fff;
border-radius: 20px;
border-style: solid;
border-color: #000000;
position: fixed;
bottom: 0;
left: 90%;
box-shadow: 5px 5px 5px black;
border-color: #333;
transition-duration: 0.4s; /* duración de la transición */
text-align: center;
}
.enviar:hover {
background-color: #2879f2; /* color de fondo al pasar el cursor */
}
.enviar img {
width: 35px;
height: auto; /* alto automático para mantener la proporción original */
display: inline-block;
margin: auto;
}
.detras {
position: absolute;
bottom: 0;
width: 100%;
height: 110px;
background-color: #222d31c3;
text-align: center;
margin-left: -25px;
border-style: solid;
border-color: #333;
}
#contenedor-imagen {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#contenedor-imagen img {
max-width: 100%;
opacity: 0.5;
}