TeaWeb/shared/css/static/modal-banclient.scss

295 lines
4.4 KiB
SCSS
Raw Normal View History

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