File size: 4,061 Bytes
325d2d4
 
701e0d0
ec8894f
 
 
 
 
701e0d0
 
ec8894f
 
701e0d0
 
ec8894f
1110b36
 
 
701e0d0
 
 
 
c9dc71a
 
 
ec8894f
1110b36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701e0d0
c9dc71a
701e0d0
 
 
c9dc71a
701e0d0
 
 
 
ec8894f
 
701e0d0
ec8894f
869769b
c9dc71a
ec8894f
146224f
869769b
146224f
555c9a9
 
 
 
701e0d0
 
ec8894f
 
701e0d0
 
 
 
ec8894f
 
701e0d0
 
 
 
ec8894f
 
701e0d0
 
 
ec8894f
 
701e0d0
ec8894f
555c9a9
ec8894f
 
701e0d0
555c9a9
701e0d0
 
 
ec8894f
701e0d0
 
 
ec8894f
 
701e0d0
 
c9dc71a
 
555c9a9
 
 
869769b
c9dc71a
 
869769b
c9dc71a
ec8894f
 
701e0d0
 
 
 
ec8894f
 
701e0d0
 
 
ec8894f
 
701e0d0
 
 
 
ec8894f
 
66f6687
 
3a33259
66f6687
 
 
701e0d0
 
 
 
 
 
ec8894f
 
c9dc71a
701e0d0
 
 
 
 
ec8894f
 
869769b
701e0d0
ec8894f
 
701e0d0
 
 
c9dc71a
 
 
 
ec8894f
869769b
701e0d0
c9dc71a
 
 
 
c5dec12
869769b
 
 
ec8894f
c9dc71a
 
ec8894f
869769b
 
 
 
 
c9dc71a
0478785
c9dc71a
 
edb099b
ec8894f
 
869769b
ec8894f
325d2d4
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
@import "switch.css";

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Monospace;
    font-size: 15px;
}

body {
    display: flex;
}
button{
    cursor: pointer;
}
.wrapper {
    padding: 20px 20px 80px 20px;
    border-bottom: 5px solid #222f3d;
    background: #34495e;
    margin: 0;
    min-width: 320px;
    width: 100%;
}
.submenu {
    position: fixed;
    top: 0;
    left: 0;
    width: fit-content;
    height: fit-content;
    
}
.submenu .abrir{
    width: 30px;    
    height: 30px;
    background-image: url(/static/img/menu.svg);
    background-color: #8093a5;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px 0px 5px 0px;
    border-bottom: solid 1px;
    border-right: solid 1px;
    position: fixed;
}
.submenu .configuracion{
    width: calc( 100vw - 20px);
    height: 0px;
    background: #cbcbcb;
    margin-left: 10px;
    border-radius: 0px 0px 5px 5px;
    top: -2px;
    transition: box-shadow 0.5s, height 0.5s, top 0.5s;
}
.submenu .configuracion.desplegado{
    top: 0px;
    height: 300px;
    border: solid 1px;
    border-top: none;
    box-shadow: 5px 5px 10px 2px #000000ad;
}
.chat {
    --textarea: 0px;
    border-radius: 5px;
    display: block;
    width: 100%;
    height: calc( 100% - var(--textarea) );
    overflow-y: scroll;
    overflow-x: hidden;
    background: rgb(161, 161, 161);
    padding: 10px 0;
}

.chat .message {
    display: flex;
    margin: 5px 20px 5px 10px;
    filter: opacity(0.9);
}
.chat .message.me {
    margin: 5px 10px 5px 20px;
}
.chat .message.comando {
    margin: 5px auto;
    display: table;
}
.chat .message:last-child {
    filter: opacity(1);
}

.chat .message.no-opacity {
    display: flex;
    margin: 10px 0 0 10px;
    filter: opacity(1);
}

.chat .message img {
    margin: 0 10px 0 0;
    height: 30px;
    border-radius: 50%;
}

.chat .message.me img {
    order: 2;
    margin: 0 0 0 3px;
}

.chat .message div {
    flex: 1;
    max-width: 100%;
}

.chat .message div p {
    max-width: calc( 100% - 20px );
    display: inline-block;
    margin: 0;
    padding: 8px 10px 8px 10px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    min-width: 40%;
}

.chat .message.me div p {
    float: right;
    background: #b4c2ff;
}
.chat .message.comando div p {
    background: #d0a8ff;
}
.chat .message.warning div p  {
    background: #f0e370;
}
.chat .message.error div p  {
    background: #f09470;
}

.chat .message div p ul {
    list-style: none;
    color: #555;
    padding-right: 10px;
}

.chat .message:last-child div p ul {
    list-style: none;
    color: blue;
}

.chat .message div p ul.ultotal {
    list-style: none;
    color: #34495e;
    font-size: 12px;
}

.chat .message pre {
    overflow-x: scroll;
    border: solid 1px #e5e4e4;
    padding: 10px;
}

.input-box {
    background: #222f3d;
    margin: 10px 0;
    height: 30px;
    display: flex;
    border-radius: 5px;
}

.input-box textarea,
.input-box button {
    height: 100%;
    margin: 0;
    border: none;
    padding: 0 15px;
}

.input-box button:focus, .input-box textarea:focus  {
    outline: none;
}

.input-box .input-text {
    width: 100%;
    border-radius: 5px 0 0 5px;
    resize: none;
    border-top: solid 7px #fff;
    border-bottom: solid 7px #fff;
    
}
.input-box button{
    width: 30px;
    background-size: 20px;
    background-color: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    /* border-left: solid 1px #555; */
}
.input-box .input-send {
    background-image: url(/static/img/send.png);
}
.input-box .input-delete {
    background-image: url(/static/img/delete.png);
}
.input-box button:first-child{
    border-left: none;
}
.input-box button:last-child{
    border-radius: 0 5px 5px 0;
}
.input-box button:disabled, .input-box textarea:disabled, .input-box input:disabled{
    background-color: #8b8b8b;
    border-color: #8b8b8b;
    filter: contrast(0.5);
}

#message-template{
    display: none;
}