@import "mixin"; @import "properties"; :global { //TODO: Resize style! .modal-body.modal-ban-client { padding: 0!important; display: flex!important; flex-direction: column!important; justify-content: stretch!important; //min-width: 30em!important; max-height: calc(100vh - 10em); width: 40em; min-height: 20em; .container-tooltip { flex-shrink: 0; flex-grow: 0; position: relative; width: 1.6em; margin-left: .5em; margin-right: .25em; font-size: .9em; display: flex; flex-direction: column; justify-content: center; img { height: 1em; width: 1em; align-self: center; font-size: 1.2em; } .tooltip { display: none; } } .container-info { flex-shrink: 0; flex-grow: 0; padding: .5em; display: flex; flex-direction: row; justify-content: stretch; .container { flex-grow: 1; flex-shrink: 1; min-width: 4em; width: 10em; display: flex; flex-direction: column; justify-content: stretch; .title { text-transform: uppercase; color: #557edc; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .value { flex-grow: 1; flex-shrink: 1; min-height: 2em; padding: .5em; border-radius: 0.2em; border: 1px solid #111112; background-color: #121213; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @include chat-scrollbar-vertical(); } } } .container-duration { margin: 1em; margin-top: 0em; display: flex; flex-direction: column; justify-content: flex-start; > a { flex-grow: 0; flex-shrink: 0; } .container-value { flex-grow: 0; flex-shrink: 0; display: flex; flex-direction: row; justify-content: stretch; .input-boxed.value { flex-grow: 1; flex-shrink: 1; min-width: 6em; margin-right: 1em; } select { width: 7em; padding-left: .5em; } } } .container-reason { margin: 1em; margin-top: 0em; position: relative; flex-grow: 0; flex-shrink: 1; min-height: 5em; max-height: 22.5em; border-radius: .2em; border: 1px solid #111112; overflow: hidden; display: flex; flex-direction: column; justify-content: stretch; .toolbar { flex-shrink: 0; flex-grow: 0; display: flex; flex-direction: row; justify-content: flex-start; width: 100%; height: 2.5em; background-color: #17171a; font-size: .8em; padding: .25em; .button { cursor: pointer; padding: .5em; &:not(:first-child) { margin-left: .25em; } border-radius: .2em; border: 1px solid #111112; background-color: #121213; height: 2em; width: 2em; display: flex; flex-direction: column; justify-content: center; text-align: center; align-self: center; &.button-bold { font-weight: bold; } &.button-italic { font-style: italic; } &.button-underline { text-decoration: underline; } &.button-color { input { position: absolute; width: 0; height: 0; opacity: 0; } } &:hover { background-color: #0f0f0f; @include transition(background-color $button_hover_animation_time); } } } > .input-boxed { flex-shrink: 1; flex-grow: 1; min-height: 2.5em; height: 5em; max-height: 20em; border: none; border-radius: 0; border-top: 1px solid #111112; overflow-x: hidden;; overflow-y: auto; resize: vertical; @include chat-scrollbar-vertical(); } &:focus-within { background-color: #131b22; //border-color: #284262; } } .container-criteria { margin: 1em; margin-top: 0em; padding: .5em; border-radius: 0.2em; border: 1px solid #111112; background-color: #121213; .criteria { display: flex; flex-direction: row; justify-content: space-between; a { flex-shrink: 1; min-width: 4em; text-transform: uppercase; color: #557edc; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } label { } } } .container-buttons { display: flex; flex-direction: row; justify-content: flex-end; margin: 1em; margin-top: 0em; button:not(:first-of-type) { margin-left: 1em; width: 6em; } } } }