Spaces:
Runtime error
Runtime error
| @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; | |
| } | |