@menu-bg-colour: 55,48,33; @menu-opacity: 0.9; @keyboard-key-colour: 55, 48, 33; :root { --menu-bg-colour: @menu-bg-colour; --keyboard-key-colour: @keyboard-key-colour; --menu-opacity: @menu-opacity; } body{ margin: 0; } .wrapper { width: 100%; height: 100%; display: flex; coh-partitioned: on; text-shadow: 2px 2px 8px #000; color: white; font-family: "Noto Sans", "Noto Sans Symbols", sans-serif; .keyboard { width: 100%; border-radius: 0.5em; box-sizing: border-box; //border: 3px solid #404040; padding: 5px; background-color: rgb(var(--menu-bg-colour)); text-align: center; display: flex; flex-direction: column; align-self: flex-end; .in { left: 5%; transition: left 0.2s linear; } .out { left: 100%; transition: left 0.2s linear; } .keyboard-row { width: 100%; display: flex; //border-top: 3px solid #404040; .spacer { flex: 1.55; } .special-keys { flex: .5 !important; border: 0 !important; background-color: transparent !important; &:hover { filter: brightness(0.8) !important; } } .keyboard-key, .keyboard-mod, .keyboard-func { flex: 1; min-height: 2.5em; font-size: 1.61em; display: flex; align-items: center; justify-content: center; border: 2px solid #59885d; margin: 2px; border-radius: 0.25em; background-color: rgb(var(--keyboard-key-colour)); span { width: 1em; display: block; } &:hover, &:active { background-color: #1b5037; } } .wide { flex: 1.5; } .wider { flex: 2; } .widest { flex: 2.5; } .space { flex: 10; } .cancel-key { background: #E43600; &:hover { background-color: #E43600; filter: brightness(80%); } } .submit-key { background: #37BD3C; span { width: 4em; display: block; } &:hover{ background-color: #37BD3C; filter: brightness(80%); } } } .keyboard-input-block{ width: unset; flex: 10; position: relative; margin-left: 4px; margin-right: 4px; .textarea-info { position: absolute; background-color: rgb(var(--menu-bg-colour)); border-top-left-radius: 0.5em; border-top-right-radius: 0.5em; right: 10px; top: -20px; padding: 5px; } .textarea-background { position: absolute; bottom: 0; width: 100%; height: auto; background-color: rgb(var(--menu-bg-colour)); border-radius: 0.5em; } .textarea-container { padding-top: 8px; padding-left: 8px; padding-right: 8px; padding-bottom: 12px; bottom: 0; width: 100%; .input-container { background-color: white; border-radius: 0.5em; border-top-width: initial; border-left-width: initial; border-bottom-width: initial; border-right-width: initial; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgba(153, 153, 153, 1.000000); border-left-color: rgba(153, 153, 153, 1.000000); border-right-color: rgba(237, 237, 237, 1.000000); border-bottom-color: rgba(237, 237, 237, 1.000000); background-color: rgba(255, 255, 255, 1.000000); position: relative; display: block; padding-left: 4px; padding-right: 4px; width: 100%; overflow-x: auto; .inputLineBlock { text-align: left; font-size: 2em; color: black; background-color: transparent; width: 100%; white-space: pre-wrap; text-shadow: 0 0 0 #00000000; } .input { text-align: left; font-size: 2em; color: black; margin: 0; border: 0; background-color: transparent; position: relative; white-space: nowrap; overflow-wrap: normal; height: inherit; display: flex; min-height: 0; min-width: 0; width: initial; overflow-x: auto; caret-color: transparent; font-family: "Noto Sans", "Noto Sans Symbols", sans-serif; } } .input_mirror { text-align: left; height: 100%; width: 100%; color: transparent !important; display: flex; font-size: 2em; padding-left: 6px; padding-right: 4px; text-shadow: 0 0 0 #00000000; position: absolute; white-space: pre-wrap; top:10px; pointer-events: none; overflow: auto; z-index: 2; span { margin: 0; display: inline; } .cursor { font-size: 1em; color: black; border:0.1px solid transparent; margin-left: -8px; display: block; position: relative; align-self: flex-end; padding-bottom: 6px; //animation: blink-animation 1s steps(5, start) infinite; //-webkit-animation: blink-animation 1s steps(5, start) infinite; @keyframes blink-animation { to { visibility: hidden; } } @-webkit-keyframes blink-animation { to { visibility: hidden; } } } } } .placeholder { display: block; font-size: 2em; color: dimgrey; z-index: 2; position: absolute; text-shadow: 0 0 0 rgba(0, 0, 0, 0); height: 100%; padding-top: 8%; align-self: flex-start; padding-left: 12px; } } } }