Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 1 | body { |
Adrien Beraud | 8e25afb | 2017-04-19 01:38:57 +0200 | [diff] [blame] | 2 | margin: 0; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 3 | overflow: hidden; |
Adrien Beraud | 8e25afb | 2017-04-19 01:38:57 +0200 | [diff] [blame] | 4 | } |
| 5 | |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 6 | #invitation { |
| 7 | visibility: hidden; |
| 8 | width: 100%; |
| 9 | background: #bae5f0; |
| 10 | z-index: 2; |
| 11 | position: absolute; |
| 12 | margin: 0 auto; |
| 13 | left:0; |
| 14 | right:0; |
| 15 | top:0; |
| 16 | } |
| 17 | |
| 18 | #actions |
| 19 | { |
| 20 | margin: 10px; |
| 21 | list-style: none; |
| 22 | display: flex; |
| 23 | align-items: center; |
| 24 | justify-content: center; |
| 25 | } |
| 26 | |
| 27 | .flat-button { |
| 28 | margin: 5px; |
| 29 | border: 0; |
| 30 | border-radius: 5px; |
| 31 | transition: all 0.3s ease; |
| 32 | color: white; |
| 33 | padding: 10px 20px 10px 20px; |
| 34 | vertical-align: middle; |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | .button-green { |
| 38 | background: #27ae60; |
| 39 | } |
| 40 | |
| 41 | .button-green:hover { |
| 42 | background: #219d55; |
| 43 | } |
| 44 | |
| 45 | .button-red { |
| 46 | background: #dc3a37; |
| 47 | } |
| 48 | |
| 49 | .button-red:hover { |
| 50 | background: #dc2719; |
| 51 | } |
| 52 | |
| 53 | #invitation #text h1 { |
| 54 | font-size: 1.5em; |
| 55 | } |
| 56 | |
| 57 | #invitation #text { |
| 58 | text-align: center; |
| 59 | width: 90%; |
| 60 | margin: auto; |
| 61 | margin-top: 10px; |
| 62 | font-size: 0.8em; |
| 63 | } |
| 64 | |
Sébastien Blin | 23c09e0 | 2017-07-28 16:19:17 -0400 | [diff] [blame] | 65 | a:link { |
| 66 | text-decoration: none; |
| 67 | color: #0e649b; |
| 68 | transition: all 0.2s ease-in-out; |
| 69 | border-bottom: dotted 1px; |
| 70 | } |
| 71 | |
| 72 | a:hover { |
| 73 | border: 0; |
| 74 | } |
| 75 | |
| 76 | .message_out #cardWrapper { |
| 77 | display: inline-block; |
| 78 | text-align: right; |
| 79 | width: 100%; |
| 80 | } |
| 81 | |
| 82 | .message_out #cardWrapper a { |
| 83 | border: 0; |
| 84 | } |
| 85 | |
| 86 | .message_out #containerVideo { |
| 87 | float: right; |
| 88 | } |
| 89 | |
| 90 | #playVideo { |
| 91 | background-color: rgba(0, 0, 0, 0.4); |
| 92 | height: 50px; |
| 93 | width: 50px; |
| 94 | border-radius: 5px; |
| 95 | float: right; |
| 96 | position: absolute; |
| 97 | top: calc(50% - 25px); |
| 98 | left: calc(50% - 25px); |
| 99 | z-index: 3; |
| 100 | } |
| 101 | |
| 102 | #containerVideo { |
| 103 | max-width: 350px; |
| 104 | position: relative; |
| 105 | } |
| 106 | |
| 107 | #playVideo svg { |
| 108 | height: 40px; |
| 109 | width: 40px; |
| 110 | margin: 5px; |
| 111 | } |
| 112 | |
Adrien Beraud | 8e25afb | 2017-04-19 01:38:57 +0200 | [diff] [blame] | 113 | #container { |
| 114 | position: relative; |
| 115 | height: 100%; |
| 116 | width: 100%; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 117 | display: flex; |
| 118 | flex-direction: column; |
| 119 | margin: 0; |
| 120 | padding: 0; |
AmarOk | d55d85e | 2017-07-14 09:44:05 -0400 | [diff] [blame] | 121 | justify-content: flex-end; |
Adrien Beraud | 8e25afb | 2017-04-19 01:38:57 +0200 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | #messages { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 125 | position: relative; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 126 | z-index: 0; |
Adrien Beraud | 8e25afb | 2017-04-19 01:38:57 +0200 | [diff] [blame] | 127 | width: 100%; |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 128 | overflow-y: scroll; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 129 | height: auto; |
AmarOk | d55d85e | 2017-07-14 09:44:05 -0400 | [diff] [blame] | 130 | max-height: calc(100% - 50px); |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 131 | } |
| 132 | |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 133 | #sendMessage { |
| 134 | display: flex; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 135 | position: relative; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 136 | border-top : 2px solid #d3d3d3; |
AmarOk | 6286ad4 | 2017-07-14 12:11:08 -0400 | [diff] [blame] | 137 | margin-left: 10px; |
| 138 | margin-right: 10px; |
| 139 | padding-left: 8px; |
| 140 | overflow: hidden; |
| 141 | padding-top: 8px; |
| 142 | padding-bottom: 8px; |
| 143 | align-items: center; |
| 144 | |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 145 | } |
| 146 | |
| 147 | #message { |
AmarOk | d55d85e | 2017-07-14 09:44:05 -0400 | [diff] [blame] | 148 | flex: 1; |
AmarOk | 6286ad4 | 2017-07-14 12:11:08 -0400 | [diff] [blame] | 149 | margin-right: 10px; |
| 150 | border: 0; |
| 151 | overflow-y: scroll; |
| 152 | color: black; |
| 153 | max-height: 150px; |
| 154 | padding-left: 8px; |
| 155 | resize: none; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 156 | } |
| 157 | |
| 158 | #message:focus, |
| 159 | #message.focus { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 160 | outline: none; |
| 161 | } |
| 162 | |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 163 | #container[disabled] { |
| 164 | background-color: #ccc; |
| 165 | } |
| 166 | |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 167 | input[placeholder], [placeholder], *[placeholder] { |
| 168 | color: #d3d3d3; |
| 169 | } |
| 170 | |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 171 | .msg-button { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 172 | border-radius: 50%; |
| 173 | border: 0; |
| 174 | width: 40px; |
| 175 | height: 40px; |
AmarOk | 6286ad4 | 2017-07-14 12:11:08 -0400 | [diff] [blame] | 176 | align-self: center; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 177 | transition: all 0.3s ease; |
| 178 | } |
| 179 | |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 180 | .msg-button.hover, |
| 181 | .msg-button:hover { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 182 | background: #bae5f0; |
| 183 | } |
| 184 | |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 185 | .msg-button.hover svg, |
| 186 | .msg-button:hover svg { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 187 | fill: black; |
| 188 | } |
| 189 | |
| 190 | #sendMessage svg { |
| 191 | fill: #666; |
| 192 | padding: 5px; |
| 193 | width: 100%; |
| 194 | height: 100%; |
| 195 | transition: all 0.3s ease; |
| 196 | } |
| 197 | |
| 198 | |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 199 | .wc { |
| 200 | will-change: transform; |
| 201 | } |
| 202 | |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 203 | .status_circle { |
| 204 | fill: #A0A0A0; |
| 205 | -webkit-animation: circle-dance; |
| 206 | -webkit-animation-duration: 0.8s; |
| 207 | -webkit-animation-iteration-count: infinite; |
| 208 | -webkit-animation-direction: alternate; |
| 209 | -webkit-animation-timing-function: ease-in-out; |
| 210 | } |
| 211 | |
| 212 | .anim-first { |
| 213 | -webkit-animation-delay: 0.7s; |
| 214 | } |
| 215 | |
| 216 | .anim-second { |
| 217 | -webkit-animation-delay: 0.9s; |
| 218 | } |
| 219 | |
| 220 | .anim-third { |
| 221 | -webkit-animation-delay: 1.1s; |
| 222 | } |
| 223 | |
| 224 | @-webkit-keyframes circle-dance { |
| 225 | 0%,50% { |
| 226 | -webkit-transform: translateY(0); |
| 227 | fill: #A0A0A0; |
| 228 | } |
| 229 | 100% { |
| 230 | -webkit-transform: translateY(-8px); |
| 231 | fill: #000; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | .status-check { |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 236 | stroke-dasharray: 17; |
| 237 | stroke-dashoffset: 17; |
| 238 | -webkit-animation: dash-check; |
| 239 | -webkit-animation-duration: 0.4s; |
| 240 | -webkit-animation-delay: 0.7s; |
| 241 | -webkit-animation-fill-mode: forwards; |
| 242 | -webkit-animation-timing-function: ease-in-out; |
| 243 | display: none; |
| 244 | } |
| 245 | |
| 246 | .message--sent .status-check { |
| 247 | display: inline-block; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | @-webkit-keyframes dash-check{ |
| 251 | from { |
| 252 | stroke-dashoffset: 17; |
| 253 | } |
| 254 | to { |
| 255 | stroke-dashoffset: 0; |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | .status-x { |
| 260 | stroke-dasharray: 12; |
| 261 | stroke-dashoffset: 12; |
| 262 | -webkit-animation: dash-x; |
| 263 | -webkit-animation-duration: 0.2s; |
| 264 | -webkit-animation-fill-mode: forwards; |
| 265 | -webkit-animation-timing-function: ease-in-out; |
| 266 | } |
| 267 | |
| 268 | .x-first { |
| 269 | -webkit-animation-delay: 0.7s; |
| 270 | } |
| 271 | |
| 272 | .x-second { |
| 273 | -webkit-animation-delay: 0.9s; |
| 274 | } |
| 275 | |
| 276 | @-webkit-keyframes dash-x{ |
| 277 | from { |
| 278 | stroke-dashoffset: 12; |
| 279 | } |
| 280 | to { |
| 281 | stroke-dashoffset: 0; |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | .message_wrapper { |
| 286 | transform: scale(0); |
Sébastien Blin | 23c09e0 | 2017-07-28 16:19:17 -0400 | [diff] [blame] | 287 | max-width: 70%; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 288 | margin: 10px 0; |
| 289 | display: inline-block; |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 290 | padding: 10px; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 291 | border-radius: 10px; |
| 292 | position: relative; |
| 293 | -webkit-animation: talk; |
| 294 | -webkit-animation-duration: 0.3s; |
| 295 | -webkit-animation-delay: 0.1s; |
| 296 | -webkit-animation-fill-mode: forwards; |
| 297 | -webkit-animation-timing-function: ease-in-out; |
| 298 | } |
| 299 | |
| 300 | .message { |
| 301 | font: 0.875em "Open sans",Helvetica,"Segoe UI",sans-serif; |
| 302 | margin: 0; |
| 303 | display: flex; |
| 304 | justify-content: flex-start; |
| 305 | align-items: top; |
| 306 | overflow: hidden; |
| 307 | } |
| 308 | |
Sébastien Blin | 23c09e0 | 2017-07-28 16:19:17 -0400 | [diff] [blame] | 309 | #msg_content img { |
| 310 | max-width: 300px; |
| 311 | align-content: center; |
| 312 | } |
| 313 | |
| 314 | #msg_content img:first-of-type { |
| 315 | margin: 5px; |
| 316 | } |
| 317 | |
AmarOk | 6286ad4 | 2017-07-14 12:11:08 -0400 | [diff] [blame] | 318 | pre { |
| 319 | font : inherit; |
| 320 | font-family : inherit; |
| 321 | font-size : inherit; |
| 322 | font-style : inherit; |
| 323 | font-variant : inherit; |
| 324 | font-weight : inherit; |
| 325 | margin: 0; |
| 326 | padding: 0; |
| 327 | } |
| 328 | |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 329 | .message_out { |
| 330 | flex-direction: row-reverse; |
| 331 | } |
| 332 | |
Sébastien Blin | c6f3a26 | 2017-07-28 16:12:24 -0400 | [diff] [blame] | 333 | .timestamp |
| 334 | { |
| 335 | display: flex; |
| 336 | justify-content: flex-start; |
| 337 | color: #333; |
| 338 | font-size: 10px; |
| 339 | padding: 5px; |
| 340 | } |
| 341 | |
| 342 | .timestamp_out { |
| 343 | flex-direction: row-reverse; |
| 344 | } |
| 345 | |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 346 | .message_sender { |
| 347 | display: none; |
| 348 | } |
| 349 | |
| 350 | .sender_image { |
| 351 | border-radius: 50%; |
| 352 | transition: transform 0.2s ease-in-out; |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 353 | margin: 10px; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 354 | } |
| 355 | |
| 356 | .message_in .sender_image { |
| 357 | -webkit-animation-name: enter-stage-left; |
| 358 | -webkit-animation-duration: 0.2s; |
| 359 | -webkit-animation-timing-function: ease-in-out; |
| 360 | } |
| 361 | |
| 362 | .message_out .sender_image { |
| 363 | -webkit-animation-name: enter-stage-right; |
| 364 | -webkit-animation-duration: 0.2s; |
| 365 | -webkit-animation-timing-function: ease-in-out; |
| 366 | } |
| 367 | |
| 368 | @-webkit-keyframes enter-stage-left { |
| 369 | from { |
| 370 | transform: translateX(-100%); |
| 371 | } |
| 372 | to { |
| 373 | transform: translateX(0); |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | @-webkit-keyframes enter-stage-right { |
| 378 | from { |
| 379 | transform: translateX(100%); |
| 380 | } |
| 381 | to { |
| 382 | transform: translateX(0); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | .message_out > .message_wrapper { |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 387 | background-color: #cfebf5; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 388 | border-top-right-radius: 0; |
| 389 | transform-origin: top right; |
| 390 | } |
| 391 | |
| 392 | .message_out + .message_out > .message_wrapper { |
| 393 | border-top-right-radius: 10px; |
| 394 | } |
| 395 | |
| 396 | .message_in > .message_wrapper { |
| 397 | background-color: #DEDEE0; |
| 398 | border-top-left-radius: 0; |
| 399 | transform-origin: top left; |
| 400 | } |
| 401 | |
| 402 | .message_in + .message_in > .message_wrapper { |
| 403 | border-top-left-radius: 10px; |
| 404 | } |
| 405 | |
| 406 | .message_timestamp { |
Sébastien Blin | c6f3a26 | 2017-07-28 16:12:24 -0400 | [diff] [blame] | 407 | color: #333; |
| 408 | font-size: 0.8em; |
| 409 | margin-top: 0.5em; |
| 410 | transition: opacity 0.3s ease-in-out; |
| 411 | line-height: 1em; |
| 412 | display: inline-block; |
| 413 | opacity: 0; |
| 414 | float: right; |
| 415 | } |
| 416 | |
| 417 | .message_wrapper:hover .message_timestamp { |
| 418 | opacity: 1; |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 419 | } |
| 420 | |
| 421 | .sent-checkmark { |
Sébastien Blin | c6f3a26 | 2017-07-28 16:12:24 -0400 | [diff] [blame] | 422 | margin-left: 0.313em; |
| 423 | float: right; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 424 | } |
| 425 | |
| 426 | @-webkit-keyframes fade-in { |
| 427 | from { |
| 428 | opacity: 0; |
| 429 | } |
| 430 | to { |
| 431 | opacity: 1; |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | .message_text { |
| 436 | word-wrap: break-word; |
Frédéric Guimont | 3e5f1b6 | 2016-11-22 11:41:38 -0500 | [diff] [blame] | 437 | display: block; |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 438 | } |
| 439 | |
| 440 | @-webkit-keyframes talk { |
| 441 | from { |
| 442 | transform: scale(0); |
| 443 | } |
| 444 | to { |
| 445 | transform: scale(1); |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | .message_in > .message_wrapper:before { |
| 450 | content: ""; |
| 451 | width: 10px; |
| 452 | height: 10px; |
| 453 | position: absolute; |
| 454 | left: -10px; |
| 455 | top: 0; |
| 456 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E %3Cpath d= 'M10,0 L0,0 C10,0 10,10 10,10' fill='%23DEDEE0'/%3E %3C/svg%3E"); |
| 457 | transform-origin: top left; |
| 458 | } |
| 459 | |
| 460 | .message_in + .message_in > .message_wrapper:before { |
| 461 | display: none; |
| 462 | } |
| 463 | |
| 464 | .message_out + .message_out > .message_wrapper:after { |
| 465 | display: none; |
| 466 | } |
| 467 | |
| 468 | .message_out > .message_wrapper:after { |
| 469 | content: ""; |
| 470 | width: 10px; |
| 471 | height: 10px; |
| 472 | position: absolute; |
| 473 | right: -10px; |
| 474 | top: 0; |
AmarOk | b425324 | 2017-07-13 11:21:39 -0400 | [diff] [blame] | 475 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E %3Cpath d= 'M0,0 L10,0 C0,0 0,10 0,10' fill='%23cfebf5'/%3E %3C/svg%3E"); |
aviau | 32b8dd6 | 2016-11-02 00:36:57 -0400 | [diff] [blame] | 476 | transform-origin: top right; |
| 477 | } |
| 478 | |
| 479 | .message_delivery_status { |
| 480 | margin: 10px 10px; |
| 481 | color: #A0A0A0; |
| 482 | opacity: 0; |
| 483 | -webkit-animation-name: fade-in; |
| 484 | -webkit-animation-duration: 0.2s; |
| 485 | -webkit-animation-timing-function: ease-in-out; |
| 486 | -webkit-animation-delay: 0.4s; |
| 487 | -webkit-animation-fill-mode: forwards; |
| 488 | transition: opacity 0.5s ease-in-out; |
| 489 | } |
| 490 | |
| 491 | .message_in + .message_in .sender_image { |
| 492 | opacity: 0; |
| 493 | } |
| 494 | |
| 495 | .message_out + .message_out .sender_image { |
| 496 | opacity: 0; |
| 497 | } |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 498 | |
| 499 | .message_type_contact, |
| 500 | .message_type_call { |
| 501 | width: 100%; |
| 502 | } |
| 503 | |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 504 | .message_type_data_transfer .message_timestamp, |
| 505 | .message_type_data_transfer .message_delivery_status, |
| 506 | .message_type_data_transfer .sent-checkmark, |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 507 | .message_type_call .sent-checkmark, |
| 508 | .message_type_call .message_sender, |
| 509 | .message_type_call .message_delivery_status, |
| 510 | .message_type_call .message_timestamp, |
| 511 | .message_type_call .message_sender_image, |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 512 | .message_type_call .message_progress_bar, |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 513 | .message_type_contact .sent-checkmark, |
| 514 | .message_type_contact .message_sender, |
| 515 | .message_type_contact .message_delivery_status, |
| 516 | .message_type_contact .message_timestamp, |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 517 | .message_type_contact .message_sender_image, |
| 518 | .message_type_contact .message_progress_bar, |
| 519 | .message_type_text .message_progress_bar { |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 520 | visibility: hidden; |
| 521 | display: none; |
| 522 | } |
| 523 | |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 524 | .message_type_contact .message_wrapper:before, |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 525 | .message_type_data_transfer .message_wrapper:before, |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 526 | .message_type_call .message_wrapper:before { |
| 527 | display: none; |
| 528 | } |
| 529 | |
| 530 | .message_type_call .message_wrapper:after, |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 531 | .message_type_data_transfer .message_wrapper:after, |
Sébastien Blin | f4f9028 | 2017-10-03 14:07:16 -0400 | [diff] [blame] | 532 | .message_type_contact .message_wrapper:after { |
| 533 | display: none; |
| 534 | } |
| 535 | |
| 536 | .message_type_call .message_wrapper, |
| 537 | .message_type_contact .message_wrapper { |
| 538 | background: #fff; |
| 539 | width: 100%; |
| 540 | max-width: 100%; |
| 541 | text-align: center; |
| 542 | margin: 0; |
| 543 | padding: 0; |
| 544 | color: #888; |
| 545 | font-style: italic; |
| 546 | border-radius: 0; |
| 547 | } |
| 548 | |
| 549 | .message_type_call .message_text, |
| 550 | .message_type_contact .message_text { |
| 551 | overflow: hidden; |
| 552 | text-align: center; |
| 553 | padding-bottom: 5px; |
| 554 | margin-bottom: 5px; |
| 555 | border-bottom: 1px solid #ccc; |
| 556 | margin-left: 20px; |
| 557 | } |
| 558 | |
| 559 | .message_type_call .message_text { |
| 560 | border-bottom: 1px dotted #ccc; |
| 561 | } |
| 562 | |
| 563 | #green { |
| 564 | color: green; |
| 565 | } |
| 566 | |
| 567 | #red { |
| 568 | color: red; |
| 569 | font-size: 1.25em; |
| 570 | } |
Guillaume Roguez | 5b137be | 2018-02-21 10:44:58 -0500 | [diff] [blame^] | 571 | |
| 572 | .message_type_data_transfer .message_wrapper |
| 573 | { |
| 574 | padding: 0; |
| 575 | width: 30%; |
| 576 | display: flex; |
| 577 | flex-wrap: wrap; |
| 578 | } |
| 579 | |
| 580 | .message_type_data_transfer #left_buttons |
| 581 | { |
| 582 | width: 25%; |
| 583 | display: flex; |
| 584 | padding-left: 5px; |
| 585 | overflow: hidden; |
| 586 | } |
| 587 | |
| 588 | .message_type_data_transfer #text |
| 589 | { |
| 590 | width: 70%; |
| 591 | text-align: center; |
| 592 | padding-top: 14px; |
| 593 | margin-bottom: 12px; |
| 594 | } |
| 595 | |
| 596 | .message_type_data_transfer #filename |
| 597 | { |
| 598 | font-weight: bold; |
| 599 | overflow: hidden; |
| 600 | } |
| 601 | |
| 602 | .message_type_data_transfer #informations |
| 603 | { |
| 604 | color: #555; |
| 605 | font-size: 0.8em; |
| 606 | } |
| 607 | |
| 608 | .message_progress_bar { |
| 609 | margin-top: 12px; |
| 610 | width: 100%; |
| 611 | height: 12px; |
| 612 | position: relative; |
| 613 | overflow: hidden; |
| 614 | background-color: #eee; |
| 615 | border-radius: 2px; |
| 616 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset; |
| 617 | } |
| 618 | |
| 619 | .message_progress_bar > span { |
| 620 | display: inline; |
| 621 | height: 100%; |
| 622 | background-color: #01a2b8; |
| 623 | position: absolute; |
| 624 | overflow: hidden; |
| 625 | } |
| 626 | |
| 627 | .message_type_data_transfer .flat-button |
| 628 | { |
| 629 | padding: 0; |
| 630 | } |