Properly import the old global css styles

master
WolverinDEV 2021-03-17 16:02:06 +01:00
parent 29639ca836
commit 5b289b15d7
37 changed files with 9027 additions and 9644 deletions

View File

@ -1,36 +1,31 @@
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/properties.scss" import "./static/properties.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/main-layout.scss" import "./static/main-layout.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/general.scss" import "./static/general.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/frame-chat.scss" import "./static/frame-chat.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/server-log.scss" import "./static/htmltags.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/scroll.scss" import "./static/mixin.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/hostbanner.scss" import "./static/modal.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/htmltags.scss" import "./static/modals.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/menu-bar.scss" import "./static/modal-about.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/mixin.scss" import "./static/modal-avatar.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal.scss" import "./static/modal-banclient.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modals.scss" import "./static/modal-banlist.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-about.scss" import "./static/modal-channelinfo.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-avatar.scss" import "./static/modal-clientinfo.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-banclient.scss" import "./static/modal-group-assignment.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-banlist.scss" import "./static/modal-icons.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-channelinfo.scss" import "./static/modal-identity.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-clientinfo.scss" import "./static/modal-newcomer.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-connect.scss" import "./static/modal-invite.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-group-assignment.scss" import "./static/modal-keyselect.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-icons.scss" import "./static/modal-poke.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-identity.scss" import "./static/modal-query.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-newcomer.scss" import "./static/modal-server.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-invite.scss" import "./static/modal-musicmanage.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-keyselect.scss" import "./static/modal-serverinfobandwidth.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-poke.scss" import "./static/modal-serverinfo.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-query.scss" import "./static/modal-settings.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-server.scss" import "./static/overlay-image-preview.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-musicmanage.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-serverinfobandwidth.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-serverinfo.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/modal-settings.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/overlay-image-preview.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/ts/tab.scss" import "./static/ts/tab.scss"
import "!style-loader!css-loader?url=false!sass-loader?sourceMap=true!./static/ts/country.scss" import "./static/ts/country.scss"

File diff suppressed because one or more lines are too long

View File

@ -1,83 +0,0 @@
@import "mixin";
html:root {
--hostbanner-background: #2e2e2e;
}
.hostbanner {
.container-hostbanner {
position: relative;
overflow: hidden;
height: 1000px; /* allocate some height to be truncated by the flex :) */
display: flex;
flex-direction: column;
justify-content: stretch;
cursor: pointer;
&:not(.no-background) {
background-color: var(--hostbanner-background);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
-moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
padding-bottom: 5px;
}
&.disabled {
padding-bottom: 0;
height: 0;
}
@include transition(height 0.5s ease-in-out);
.hostbanner-image-container {
height: 100%;
width: 100%;
flex-grow: 1;
flex-shrink: 1;
min-height: 0;
text-align: center;
&.hostbanner-mode-0 {
/* do not adjust */
display: block;
}
&.hostbanner-mode-1 {
/* do adjust and ignore ration */
display: flex;
height: 100%;
width: 100%;
> img {
width: 100%;
height: 100%;
}
}
&.hostbanner-mode-2 {
display: flex;
flex-direction: row;
justify-content: space-around;
> img {
object-fit: contain;
max-height: 100%;
/* "Normal" third more */
//max-width: 100%;
/* better adoptable mode */
width: min-content;
}
}
}
}
}

View File

@ -1,5 +1,7 @@
.htmltag-client, .htmltag-channel { :global {
color: var(--text); .htmltag-client, .htmltag-channel {
font-weight: bold; color: var(--text);
cursor: pointer; font-weight: bold;
cursor: pointer;
}
} }

View File

@ -16,77 +16,85 @@ html:root {
--channel-chat-seperator: #1e1e1e; --channel-chat-seperator: #1e1e1e;
--channel-chat-seperator-selected: #707070; --channel-chat-seperator-selected: #707070;
--server-log-text: #6e6e6e;
--server-log-error: #e62222;
--server-log-tree-entry: #d8d8d8;
--hostbanner-background: #2e2e2e;
} }
.hide-small { :global {
opacity: 1;
transition: opacity $animation_length linear;
}
.show-small {
display: none;
opacity: 0;
transition: opacity $animation_length linear;
}
.app-container {
right: 0;
left: 0;
top: 0;
overflow: auto;
padding: 0;
}
@media only screen and (max-width: $small_device) {
.hide-small { .hide-small {
display: none; opacity: 1;
opacity: 0;
transition: opacity $animation_length linear; transition: opacity $animation_length linear;
} }
.show-small { .show-small {
display: block !important; display: none;
opacity: 1 !important; opacity: 0;
transition: opacity $animation_length linear; transition: opacity $animation_length linear;
} }
}
$animation_seperator_length: .1s; .app-container {
.container-seperator { right: 0;
@include transition(all $animation_seperator_length ease-in-out); left: 0;
background: var(--channel-chat-seperator); top: 0;
flex-grow: 0; overflow: auto;
flex-shrink: 0; padding: 0;
&.horizontal {
height: $separator_thickness;
width: 100%;
cursor: row-resize;
} }
&.vertical { @media only screen and (max-width: $small_device) {
width: $separator_thickness; .hide-small {
height: 100%; display: none;
opacity: 0;
transition: opacity $animation_length linear;
}
cursor: col-resize; .show-small {
display: block !important;
opacity: 1 !important;
transition: opacity $animation_length linear;
}
} }
&.seperator-selected { $animation_seperator_length: .1s;
.container-seperator {
@include transition(all $animation_seperator_length ease-in-out); @include transition(all $animation_seperator_length ease-in-out);
background: var(--channel-chat-seperator);
background-color: var(--channel-chat-seperator-selected); flex-grow: 0;
flex-shrink: 0;
&.horizontal {
height: $separator_thickness;
width: 100%;
cursor: row-resize;
}
&.vertical {
width: $separator_thickness;
height: 100%;
cursor: col-resize;
}
&.seperator-selected {
@include transition(all $animation_seperator_length ease-in-out);
background-color: var(--channel-chat-seperator-selected);
}
} }
}
html, body { html, body {
overflow: hidden; overflow: hidden;
} }
body { body {
background: var(--app-background)!important; background: var(--app-background)!important;
}
} }

View File

@ -1,133 +0,0 @@
@import "mixin";
.top-menu-bar {
@include user-select(none);
height: 1.5em;
width: 100%;
background: #fafafa;
display: flex;
flex-direction: row;
justify-content: flex-start;
position: fixed;
top: 0;
z-index: 201;
font-family: Arial, serif;
.container-menu-item {
position: relative;
.menu-item {
cursor: pointer;
padding-left: .4em;
padding-right: .4em;
height: 100%;
display: flex;
flex-direction: row;
width: max-content;
> * {
vertical-align: middle;
}
.container-icon {
height: 1.2em;
width: 1.2em;
padding: .1em;
font-size: 1em;
margin-right: .2em;
display: inline-block;
}
.container-label {
display: inline-block;
align-self: center;
a {
white-space: nowrap;
}
}
}
&:hover:not(.disabled) {
background-color: rgba(0, 0, 0, 0.27);
}
&.disabled {
background-color: rgba(0, 0, 0, 0.13);
}
&.hidden {
display: none;
}
.sub-menu {
z-index: 1000;
display: none;
background: white;
position: absolute;
top: 100%;
border: 1px solid black;
> .container-menu-item {
padding-right: .5em;
}
}
&.type-side {
&.sub-entries:after {
position: absolute;
display: block;
content: '>';
top: 0;
bottom: 0;
right: .4em;
}
> .sub-menu {
top: -1px; /* border */
left: 100%;
}
&:hover {
> .sub-menu {
display: block;
}
}
}
&.active {
background-color: rgba(0, 0, 0, 0.27);
> .sub-menu {
display: block;
}
}
}
> .container-menu-item {
> .menu-item {
.container-icon {
display: none;
}
}
}
hr {
margin-top: .125em;
margin-bottom: .125em;
}
}

View File

@ -1,59 +1,61 @@
.modal-about { :global {
display: flex!important; .modal-about {
flex-direction: row!important; display: flex!important;
flex-direction: row!important;
text-align: center; text-align: center;
color: #999999; color: #999999;
.container-left { .container-left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
}
.container-right {
text-align: left;
padding-left: 2em;
h1 {
font-size: 1.5em;
margin-block-start: 0.35em;
margin-block-end: 0.35em;
} }
h2 { .container-right {
font-size: 1.25em;
margin-block-start: 0.10em;
margin-block-end: 0.10em;
}
p {
margin-block-start: .25em;
margin-block-end: .25em;
}
}
.version {
width: 100%;
display: flex;
flex-direction: row;
justify-content: stretch;
a {
width: 50%;
flex-grow: 1;
flex-shrink: 1;
text-align: right;
}
.value {
padding-left: .25em;
text-align: left; text-align: left;
padding-left: 2em;
flex-grow: 1; h1 {
flex-shrink: 1; font-size: 1.5em;
margin-block-start: 0.35em;
margin-block-end: 0.35em;
}
h2 {
font-size: 1.25em;
margin-block-start: 0.10em;
margin-block-end: 0.10em;
}
p {
margin-block-start: .25em;
margin-block-end: .25em;
}
}
.version {
width: 100%;
display: flex;
flex-direction: row;
justify-content: stretch;
a {
width: 50%;
flex-grow: 1;
flex-shrink: 1;
text-align: right;
}
.value {
padding-left: .25em;
text-align: left;
flex-grow: 1;
flex-shrink: 1;
}
} }
} }
} }

View File

@ -1,289 +1,291 @@
.modal-avatar-list { :global {
display: flex!important;; .modal-avatar-list {
flex-direction: row!important;; display: flex!important;;
flex-direction: row!important;;
.container-list { .container-list {
width: 50%; width: 50%;
margin-top: 5px; margin-top: 5px;
display: flex;
flex-direction: column;
justify-content: stretch;
.column {
&.column-username {
width: calc(50% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
&.column-unique-id {
width: calc(50% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
&.column-size {
width: 75px;
flex-grow: 0;
flex-shrink: 0;
text-align: center;
}
&.column-timestamp {
width: 150px;
flex-grow: 0;
flex-shrink: 0;
text-align: center;
}
}
.list-header {
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
.column {
border: 1px solid lightgray;
text-align: center;
}
}
.list-entries-container {
flex-grow: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: start; justify-content: stretch;
overflow-y: auto;
min-height: 250px;
.entry { .column {
&.column-username {
width: calc(50% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
&.column-unique-id {
width: calc(50% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
&.column-size {
width: 75px;
flex-grow: 0;
flex-shrink: 0;
text-align: center;
}
&.column-timestamp {
width: 150px;
flex-grow: 0;
flex-shrink: 0;
text-align: center;
}
}
.list-header {
flex-grow: 0;
flex-shrink: 0;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
.column { .column {
margin-left: 2px; border: 1px solid lightgray;
} text-align: center;
cursor: pointer;
&.selected {
background-color: lightblue;
} }
} }
&.scrollbar { .list-entries-container {
.column-username {
width: calc(50% - 100px + 30px)
}
.column-unique-id {
width: calc(50% - 100px + 30px)
}
}
}
}
.container-info {
margin-left: 10px;
position: relative;
width: 50%;
.container-data {
width: 100%;
}
.container-preview {
display: flex;
flex-direction: row;
justify-content: stretch;
.container-image {
flex-shrink: 0;
flex-grow: 0;
width: 302px;
height: 302px;
background-color: whitesmoke;
border: 1px solid black;
border-radius: 2px;
position: relative;
overflow: hidden;
> div {
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
}
}
.container-image-data {
margin-left: 10px;
flex-shrink: 1;
flex-grow: 1; flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: start;
overflow-y: auto;
min-height: 250px;
.entry {
display: flex;
flex-direction: row;
.column {
margin-left: 2px;
}
cursor: pointer;
&.selected {
background-color: lightblue;
}
}
&.scrollbar {
.column-username {
width: calc(50% - 100px + 30px)
}
.column-unique-id {
width: calc(50% - 100px + 30px)
}
}
}
}
.container-info {
margin-left: 10px;
position: relative;
width: 50%;
.container-data {
width: 100%;
}
.container-preview {
display: flex;
flex-direction: row;
justify-content: stretch;
.container-image {
flex-shrink: 0;
flex-grow: 0;
width: 302px;
height: 302px;
background-color: whitesmoke;
border: 1px solid black;
border-radius: 2px;
position: relative;
overflow: hidden;
> div {
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
}
}
.container-image-data {
margin-left: 10px;
flex-shrink: 1;
flex-grow: 1;
a {
text-align: center;
}
.form-group {
width: 100%;
margin-bottom: 0px;
}
}
}
.container-buttons {
width: 100%;
margin-top: 20px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.disabled-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: gray;
display: flex;
flex-direction: column;
justify-content: space-around;
a { a {
text-align: center; text-align: center;
} }
.form-group {
width: 100%;
margin-bottom: 0px;
}
}
}
.container-buttons {
width: 100%;
margin-top: 20px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.disabled-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: gray;
display: flex;
flex-direction: column;
justify-content: space-around;
a {
text-align: center;
} }
} }
} }
}
.modal-avatar-upload {
display: flex;
flex-direction: column;
justify-content: stretch;
.container-upload {
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
.bmd-form-group {
padding-top: 0;
}
input[type="file"] {
display: none;
}
}
.container-preview {
flex-grow: 1;
flex-shrink: 1;
.modal-avatar-upload {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: stretch; justify-content: stretch;
.title { .container-upload {
font-size: 1.2em;
font-weight: bold;
border-bottom: 1px solid gray;
}
.previews {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-evenly; justify-content: space-between;
align-self: center; .bmd-form-group {
padding-top: 0;
}
.preview { input[type="file"] {
flex-shrink: 1; display: none;
flex-grow: 1; }
}
width: 11rem; .container-preview {
min-width: 11rem; flex-grow: 1;
max-width: 11rem; flex-shrink: 1;
height: 13rem; display: flex;
min-height: 13rem; flex-direction: column;
max-height: 13rem; justify-content: stretch;
text-align: center; .title {
font-size: 1.2em;
font-weight: bold;
border-bottom: 1px solid gray;
}
.previews {
flex-grow: 0;
flex-shrink: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
justify-content: flex-end; justify-content: space-evenly;
align-self: center;
.preview {
flex-shrink: 1;
flex-grow: 1;
width: 11rem;
min-width: 11rem;
max-width: 11rem;
height: 13rem;
min-height: 13rem;
max-height: 13rem;
text-align: center;
.container-avatar {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: space-around; justify-content: flex-end;
.avatar { .container-avatar {
position: relative; display: flex;
flex-direction: row;
justify-content: space-around;
height: 1em; .avatar {
width: 1em; position: relative;
overflow: hidden; height: 1em;
border-radius: 50%; width: 1em;
> img { overflow: hidden;
position: absolute; border-radius: 50%;
top: 0; > img {
left: 0; position: absolute;
height: 100%; top: 0;
width: 100%; left: 0;
height: 100%;
width: 100%;
}
} }
} }
}
> a { > a {
margin-top: 1em; margin-top: 1em;
}
&.preview-client-info {
.container-avatar {
font-size: 10rem;
} }
}
&.preview-chat { &.preview-client-info {
.container-avatar { .container-avatar {
font-size: 2.5rem; font-size: 10rem;
}
} }
}
&.preview-chat-entry { &.preview-chat {
.container-avatar { .container-avatar {
font-size: 2rem; font-size: 2.5rem;
}
}
&.preview-chat-entry {
.container-avatar {
font-size: 2rem;
}
} }
} }
} }
@ -292,7 +294,9 @@
} }
@media all and (max-width: 40rem) { @media all and (max-width: 40rem) {
.modal-avatar-upload .container-preview .previews { :global {
flex-direction: column; .modal-avatar-upload .container-preview .previews {
flex-direction: column;
}
} }
} }

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,161 +1,163 @@
@import "mixin"; @import "mixin";
@import "properties"; @import "properties";
.modal-body.modal-channel-info { :global {
display: flex!important; .modal-body.modal-channel-info {
flex-direction: column!important; display: flex!important;
justify-content: stretch!important; flex-direction: column!important;
justify-content: stretch!important;
min-width: 30em!important; min-width: 30em!important;
max-height: calc(100vh - 10em)!important; max-height: calc(100vh - 10em)!important;
padding: 0 !important; padding: 0 !important;
.row { .row {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
padding-top: 1em; padding-top: 1em;
padding-left: .5em; padding-left: .5em;
padding-right: .5em; padding-right: .5em;
.column { .column {
flex-grow: 1;
flex-shrink: 1;
min-width: 6em;
width: 10em;
margin-right: .5em;
margin-left: .5em;
.title {
text-transform: uppercase;
color: #557edc;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.value {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&.audio-encrypted {
/* looks better */
.value {
height: 1.6em;
overflow: visible;
}
}
}
}
.container-description {
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
min-width: 6em; min-height: 8em; /* description plus title */
width: 10em;
margin-right: .5em; display: flex;
margin-left: .5em; flex-direction: column;
justify-content: stretch;
padding-top: 1em;
padding-left: 1em;
padding-right: 1em;
.title { .title {
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-grow: 0;
flex-shrink: 0;
text-transform: uppercase; text-transform: uppercase;
color: #557edc; color: #557edc;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
.button-copy {
display: flex;
flex-direction: column;
justify-content: center;
margin-top: .1em; /* looks a bit better */
margin-left: .5em;
border-radius: .2em;
width: 1.3em;
height: 1.3em;
cursor: pointer;
div {
align-self: center;
}
&:hover {
background-color: #313135;
}
@include transition($button_hover_animation_time ease-in-out);
}
} }
.value { .value {
white-space: nowrap; display: block;
overflow: hidden; flex-grow: 1;
text-overflow: ellipsis; flex-shrink: 1;
border-radius: 0.2em;
border: 1px solid #212324;
background-color: #3a3b3f;
padding: .5em;
height: max-content;
min-height: 6em;
max-height: 40em;
overflow-y: auto;
overflow-x: hidden;
@include chat-scrollbar-vertical();
} }
&.audio-encrypted { .no-value {
/* looks better */ flex-grow: 0;
.value { flex-shrink: 0;
height: 1.6em;
overflow: visible;
}
}
}
}
.container-description { font-size: 1.25em;
flex-grow: 1; height: (6em / 1.25); /* min value height and a bit more */
flex-shrink: 1;
min-height: 8em; /* description plus title */
display: flex;
flex-direction: column;
justify-content: stretch;
padding-top: 1em;
padding-left: 1em;
padding-right: 1em;
.title {
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-grow: 0;
flex-shrink: 0;
text-transform: uppercase;
color: #557edc;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.button-copy {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
margin-top: .1em; /* looks a bit better */ text-align: center;
margin-left: .5em; color: #666666;
border-radius: .2em;
width: 1.3em;
height: 1.3em;
cursor: pointer;
div {
align-self: center;
}
&:hover {
background-color: #313135;
}
@include transition($button_hover_animation_time ease-in-out);
} }
} }
.value { .container-buttons {
display: block;
flex-grow: 1;
flex-shrink: 1;
border-radius: 0.2em;
border: 1px solid #212324;
background-color: #3a3b3f;
padding: .5em;
height: max-content;
min-height: 6em;
max-height: 40em;
overflow-y: auto;
overflow-x: hidden;
@include chat-scrollbar-vertical();
}
.no-value {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
font-size: 1.25em;
height: (6em / 1.25); /* min value height and a bit more */
display: flex; display: flex;
flex-direction: column; flex-direction: row;
justify-content: center; justify-content: flex-end;
text-align: center; padding: 1em;
color: #666666;
} }
} }
.container-buttons {
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: flex-end;
padding: 1em;
}
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,353 +0,0 @@
@import "mixin";
.modal .modal-connect {
@include user-select(none);
font-size: 1rem;
max-width: 100000px; /* max 100000px width, else we shrink the modal */
padding: 0!important; /* override the default padding */
display: flex!important;
flex-direction: column!important;
justify-content: stretch!important;
.container-connect-input {
flex-grow: 0;
flex-shrink: 0;
/* apply the default padding */
padding: .75em 24px;
border-left: 2px solid #0073d4;
overflow: hidden;
> .row {
display: flex;
flex-direction: row;
justify-content: stretch;
> *:not(:last-of-type) {
margin-right: 3em;
}
}
.container-address-password {
.container-address {
flex-grow: 1;
flex-shrink: 1;
}
.container-password {
flex-grow: 0;
flex-shrink: 4;
min-width: 21.5em;
}
}
.container-profile-manage {
flex-grow: 0;
flex-shrink: 4;
display: flex;
flex-direction: row;
justify-content: stretch;
.container-select-profile {
flex-grow: 1;
flex-shrink: 1;
min-width: 14em;
> .invalid-feedback {
width: max-content; /* allow overflow here */
}
}
.container-manage {
flex-grow: 0;
flex-shrink: 4;
margin-left: 15px;
}
.button-manage-profiles {
min-width: 7em;
margin-left: 0.5em;
}
}
.container-nickname {
flex-grow: 1;
flex-shrink: 1;
}
.container-buttons {
padding-top: 1em;
display: flex;
flex-direction: row;
justify-content: space-between;
.container-buttons-connect {
display: flex;
flex-direction: row;
flex-shrink: 1;
min-width: 6em;
}
.button-right {
min-width: 7em;
margin-left: 0.5em;
}
.button-left {
min-width: 14em;
}
}
.arrow {
border-color: #7a7a7a;
margin-left: .5em;
}
}
.container-last-servers {
flex-grow: 0;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
max-height: 0;
opacity: 0;
overflow: hidden;
padding: 0;
min-width: 0;
border: none;
border-left: 2px solid #7a7a7a;
@include transition(max-height .5s ease-in-out, opacity .5s ease-in-out, padding .5s ease-in-out);
&.shown {
/* apply the default padding */
padding: 0 24px 24px;
max-height: 100%;
opacity: 1;
@include transition(max-height .5s ease-in-out, opacity .5s ease-in-out, padding .5s ease-in-out)
}
hr {
height: 0;
width: calc(100% + 46px);
min-width: 0;
margin: 0 0 0 -23px;
padding: 0;
border: none;
border-top: 1px solid #090909;
margin-bottom: .75em;
}
color: #7a7a7a;
/* general table class */
.table {
width: 100em;
max-width: 100%;
display: flex;
flex-direction: column;
justify-content: stretch;
.head {
display: flex;
flex-direction: row;
justify-content: stretch;
flex-grow: 0;
flex-shrink: 0;
border: none;
border-bottom: 1px solid #161618;
}
.body {
flex-grow: 0;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
overflow: auto;
.row {
cursor: pointer;
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: stretch;
&:hover {
background-color: #202022;
}
&.selected {
background-color: #131315;
}
}
.body-empty {
height: 3em;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-around;
font-size: 1.25em;
color: rgba(121, 121, 121, 0.5);
}
}
.column {
flex-grow: 1;
flex-shrink: 1;
overflow: hidden;
white-space: nowrap;
padding-right: .25em;
padding-left: .25em;
display: flex;
flex-direction: row;
justify-content: flex-start;
&:not(:last-of-type) {
border-right: 1px solid #161618;
}
> a {
max-width: 100%;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
/* connect table */
.table {
margin-left: -1.5em; /* the delete row */
.head {
margin-left: 1.5em; /* the delete row */
.column.delete {
display: none;
}
}
.column {
align-self: center;
.country, .icon-container {
align-self: center;
margin-right: 0.25em;
}
@mixin fixed-column($name, $width) {
&.#{$name} {
flex-grow: 0;
flex-shrink: 0;
width: $width;
}
}
@include fixed-column(delete, 1.5em);
@include fixed-column(password, 5em);
@include fixed-column(country-name, 7em);
@include fixed-column(clients, 4em);
@include fixed-column(connections, 6.5em);
&.delete {
opacity: 0;
border-right: none;
border-bottom: none;
text-align: center;
@include transition(opacity .25 ease-in-out);
&:hover {
opacity: 1;
@include transition(opacity .25 ease-in-out);
}
}
&.address {
flex-grow: 1;
flex-shrink: 1;
width: 40%;
}
&.name {
flex-grow: 1;
flex-shrink: 1;
width: 60%;
}
}
}
}
}
@media all and (max-width: 55rem) {
.modal .modal-connect {
min-width: calc(21.25em + 24px * 2)!important;
width: 1000em; /* allocate space */
.container-address-password {
.container-password {
min-width: unset!important;
margin-left: 1em!important;
}
}
.container-buttons {
justify-content: flex-end!important;
.button-toggle-last-servers {
display: none;
}
}
.container-profile-name {
flex-direction: column!important;
}
.container-connect-input {
> .row {
> div {
margin-right: 0!important;
}
}
}
.container-last-servers {
display: none;
}
}
}

View File

@ -1,110 +1,112 @@
@import "mixin"; @import "mixin";
@import "properties"; @import "properties";
.modal-server-group-assignments { :global {
@include user-select(none); .modal-server-group-assignments {
@include user-select(none);
min-width: 25em!important; min-width: 25em!important;
max-height: calc(100vh - 10rem)!important; max-height: calc(100vh - 10rem)!important;
min-height: 10em!important; min-height: 10em!important;
width: 30em!important; width: 30em!important;
display: flex!important; display: flex!important;
flex-direction: column!important; flex-direction: column!important;
justify-content: stretch!important; justify-content: stretch!important;
background-color: #2f2f35; background-color: #2f2f35;
padding: .5em!important; padding: .5em!important;
.group-assignment-list { .group-assignment-list {
flex-grow: 1;
flex-shrink: 1;
min-height: 6em;
display: flex;
flex-direction: column;
justify-content: stretch;
color: #999999;
a {
flex-shrink: 0;
flex-grow: 0;
.htmltag-client {
display: inline;
color: #999999;
}
}
.group-list {
flex-shrink: 1;
flex-grow: 1; flex-grow: 1;
min-height: 4em; flex-shrink: 1;
min-height: 6em;
padding: 3px; display: flex;
overflow-y: auto; flex-direction: column;
justify-content: stretch;
border: 1px #161616 solid; color: #999999;
border-radius: $border_radius_middle;
background-color: #28292b;
@include chat-scrollbar-vertical(); a {
.group-entry {
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
display: flex; .htmltag-client {
flex-direction: row; display: inline;
justify-content: stretch; color: #999999;
}
}
height: 1.75em; .group-list {
flex-shrink: 1;
flex-grow: 1;
min-height: 4em;
> * { padding: 3px;
overflow-y: auto;
border: 1px #161616 solid;
border-radius: $border_radius_middle;
background-color: #28292b;
@include chat-scrollbar-vertical();
.group-entry {
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
display: flex;
flex-direction: row;
justify-content: stretch;
height: 1.75em;
> * {
flex-shrink: 0;
flex-grow: 0;
align-self: center;
}
a {
flex-shrink: 1;
flex-grow: 1;
min-width: 6em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
label {
margin-right: .25em;
}
}
.icon-container {
align-self: center; align-self: center;
margin-right: 4px;
margin-left: 2px;
margin-top: -2px;
} }
a { a {
flex-shrink: 1; align-self: center;
flex-grow: 1;
min-width: 6em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
label {
margin-right: .25em;
}
}
.icon-container {
align-self: center;
margin-right: 4px;
margin-left: 2px;
margin-top: -2px;
}
a {
align-self: center;
} }
} }
}
.container-buttons { .container-buttons {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
padding-top: 1em; padding-top: 1em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
}
} }
} }

View File

@ -1,508 +1,512 @@
@import "properties"; @import "properties";
@import "mixin"; @import "mixin";
.modal-icon-select { :global {
@include user-select(none); .modal-icon-select {
@include user-select(none);
display: flex!important; display: flex!important;
flex-direction: column!important; flex-direction: column!important;
justify-content: stretch!important; justify-content: stretch!important;
width: 50em!important; width: 50em!important;
/* /*
.right, .left { .right, .left {
.header { .header {
text-transform: uppercase; text-transform: uppercase;
color: #557edc; color: #557edc;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
} }
*/ */
.container-icons { .container-icons {
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-direction: row;
justify-content: stretch;
> div {
width: 50%;
&:not(:first-of-type) {
margin-left: 10px;
}
}
.content, .container-icons-list {
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
} justify-content: stretch;
.container-icons-list {
position: relative;
> div { > div {
border-radius: 3px; width: 50%;
&:not(:first-of-type) {
margin-left: 10px;
}
} }
.container-icons-remote, .container-icons-local { .content, .container-icons-list {
width: 100%; flex-grow: 1;
min-height: 300px; flex-shrink: 1;
overflow-x: hidden; display: flex;
flex-direction: column;
}
.container-icons-list {
position: relative;
> div {
border-radius: 3px;
}
.container-icons-remote, .container-icons-local {
width: 100%;
min-height: 300px;
overflow-x: hidden;
overflow-y: auto;
background-color: $color_list_background;
border: 1px $color_list_border solid;
border-radius: $border_radius_large;
padding: .5em;
flex-direction: row;
display: flex;
flex-wrap: wrap;
align-content: baseline;
&.container-icons-local {
font-size: 16px;
}
.icon-container, .icon {
margin-left: 1px;
margin-right: 1px;
}
&.icon-select {
.icon-container, .icon {
cursor: pointer;
&:hover {
border-radius: .1em;
background-color: rgba(0, 0, 0, 0.07);
border: 1px solid black;
}
&.selected {
border-radius: .1em;
background-color: rgba(0, 51, 0, 0.07);
border: 1px solid red;
}
&:hover, &.selected {
width: 18px;
height: 18px;
margin: -1px 0px;
}
}
}
}
.container-loading, .container-no-permissions, .container-error {
top: 0;
bottom: 0;
left: 0;
right: 0;
font-size: 1.1em;
color: hsla(0, 0%, 40%, 1);
position: absolute;
background-color: rgba(0, 0, 0, 0.27);
cursor: not-allowed;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-around;
> a {
padding-bottom: 30px;
}
}
.container-loading {
z-index: 40;
}
.container-error {
z-index: 30;
}
.container-no-permissions {
z-index: 20;
}
}
}
.container-buttons {
margin-top: 20px;
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
.spacer {
min-width: 0;
flex-grow: 1;
flex-shrink: 1;
}
button {
flex-grow: 0;
flex-shrink: 1;
width: 8em;
min-width: 4em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 1em;
}
.button-select {
margin-left: 10px;
display: flex;
align-items: center;
flex-direction: row;
justify-content: center;
a, div {
align-self: center;
}
> div {
font-size: 16px;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: .5rem;
> div {
display: flex;
}
}
}
.button-select-no-icon {
margin-left: 10px;
}
}
}
.modal-icon-upload {
@include user-select(none);
width: 50em;
min-width: 300px;
padding: 0!important;
display: flex;
flex-direction: column;
.container-select {
padding: 1em;
min-height: 130px;
display: flex;
flex-direction: row;
justify-content: stretch;
.container-icons {
flex-grow: 1;
flex-shrink: 1;
width: min-content;
min-width: 150px;
min-height: 130px;
overflow-y: auto; overflow-y: auto;
margin-right: 1em;
background-color: $color_list_background; background-color: $color_list_background;
border: 1px $color_list_border solid; border: 1px $color_list_border solid;
border-radius: $border_radius_large; border-radius: $border_radius_large;
padding: .5em; padding: .5em;
display: block;
flex-direction: row; .icon-container {
display: flex; cursor: pointer;
flex-wrap: wrap;
align-content: baseline;
&.container-icons-local { &:hover {
font-size: 16px; border-radius: .1em;
}
.icon-container, .icon { background-color: rgba(0, 0, 0, 0.07);
margin-left: 1px; border: 1px solid black;
margin-right: 1px;
}
&.icon-select {
.icon-container, .icon {
cursor: pointer;
&:hover {
border-radius: .1em;
background-color: rgba(0, 0, 0, 0.07);
border: 1px solid black;
}
&.selected {
border-radius: .1em;
background-color: rgba(0, 51, 0, 0.07);
border: 1px solid red;
}
&:hover, &.selected {
width: 18px;
height: 18px;
margin: -1px 0px;
}
} }
}
}
.container-loading, .container-no-permissions, .container-error { &.selected {
top: 0; border-radius: .1em;
bottom: 0;
left: 0;
right: 0;
font-size: 1.1em; background-color: rgba(0, 51, 0, 0.07);
color: hsla(0, 0%, 40%, 1); border: 1px solid red;
}
position: absolute; &:hover, &.selected {
background-color: rgba(0, 0, 0, 0.27); width: 18px;
height: 18px;
cursor: not-allowed; margin: -1px 0px;
}
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-around;
> a {
padding-bottom: 30px;
}
}
.container-loading {
z-index: 40;
}
.container-error {
z-index: 30;
}
.container-no-permissions {
z-index: 20;
}
}
}
.container-buttons {
margin-top: 20px;
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
.spacer {
min-width: 0;
flex-grow: 1;
flex-shrink: 1;
}
button {
flex-grow: 0;
flex-shrink: 1;
width: 8em;
min-width: 4em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 1em;
}
.button-select {
margin-left: 10px;
display: flex;
align-items: center;
flex-direction: row;
justify-content: center;
a, div {
align-self: center;
}
> div {
font-size: 16px;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: .5rem;
> div {
display: flex;
}
}
}
.button-select-no-icon {
margin-left: 10px;
}
}
}
.modal-icon-upload {
@include user-select(none);
width: 50em;
min-width: 300px;
padding: 0!important;
display: flex;
flex-direction: column;
.container-select {
padding: 1em;
min-height: 130px;
display: flex;
flex-direction: row;
justify-content: stretch;
.container-icons {
flex-grow: 1;
flex-shrink: 1;
width: min-content;
min-width: 150px;
min-height: 130px;
overflow-y: auto;
margin-right: 1em;
background-color: $color_list_background;
border: 1px $color_list_border solid;
border-radius: $border_radius_large;
padding: .5em;
display: block;
.icon-container {
cursor: pointer;
&:hover {
border-radius: .1em;
background-color: rgba(0, 0, 0, 0.07);
border: 1px solid black;
}
&.selected {
border-radius: .1em;
background-color: rgba(0, 51, 0, 0.07);
border: 1px solid red;
}
&:hover, &.selected {
width: 18px;
height: 18px;
margin: -1px 0px;
}
> img {
height: 16px;
width: 16px;
}
}
}
.container-buttons {
flex-grow: 1;
flex-shrink: 2;
min-width: 50px;
max-width: 200px;
display: flex;
flex-direction: column;
justify-content: space-between;
.buttons-manage {
display: flex;
flex-direction: column;
justify-content: flex-start;
> button:not(:first-of-type) {
margin-top: .5em;
}
}
}
}
.container-upload {
-webkit-box-shadow: 0px -5px 5px 0px rgba(0,0,0,0.25);
-moz-box-shadow: 0px -5px 5px 0px rgba(0,0,0,0.25);
box-shadow: 0px -5px 2px 0px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
padding: .5em 1em 1em;
.container-error, .container-success {
width: 100%;
min-height: 60px;
border: 2px solid;
border-radius: $border_radius_middle;
&.container-error {
border-color: rgba(128, 0, 0, 0.5);
background-color: rgba(128, 0, 0, 0.25);
}
&.container-success {
margin-top: .5em;
border-color: rgba(50, 143, 51, 0.25);
background-color: rgba(50, 143, 51, 0.13);
}
padding: .5em;
display: flex;
flex-direction: row;
justify-content: space-between;
> * {
align-self: center;
display: inline-block;
}
button {
width: 6em;
}
&.hidden {
opacity: 0;
height: 0;
min-height: 0;
padding: 0;
margin: 0;
}
@include transition(.25s ease-in-out);
}
.container-info {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.container-process {
margin-top: .5em;
width: 100%;
min-height: 100px;
overflow-y: auto;
background-color: $color_list_background;
border: 1px $color_list_border solid;
border-radius: $border_radius_large;
.upload-entry {
display: flex;
flex-direction: row;
justify-content: stretch;
.container-icon {
height: 16px;
width: 16px;
flex-grow: 0;
flex-shrink: 0;
margin: 1px 1px 1px 4px;
align-self: center;
display: flex;
flex-direction: column;
justify-content: center;
> img { > img {
height: 16px; height: 16px;
width: 16px; width: 16px;
} }
} }
.progress {
position: relative;
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-direction: row;
justify-content: flex-start;
min-width: 2em;
margin: 2px 5px 2px 3px;
height: 16px;
overflow: hidden;
font-size: .75rem;
background-color: #222222;
border: 1px solid hsla(0, 0%, 10%, 1);
border-radius: .25rem;
.progress-bar {
height: 100%;
&.bg-danger {
background-color: rgba(128, 0, 0, 0.5);
}
&.bg-success {
background-color: rgba(50, 143, 51, 0.5);
}
@include transition(width 1s ease-in-out, background-color $button_hover_animation_time ease-in-out);
}
.progress-message {
position: absolute;
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
flex-grow: 1;
flex-shrink: 1;
min-width: 1em;
line-height: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
}
input[type="file"] {
display: none;
}
}
@media screen and (max-width: 650px) {
.modal-icon-upload {
.container-select {
flex-direction: column;
.container-icons {
width: 100%;
margin-right: 0;
} }
.container-buttons { .container-buttons {
max-width: unset; flex-grow: 1;
margin-top: 5px; flex-shrink: 2;
> button { min-width: 50px;
width: 100%; max-width: 200px;
}
display: flex;
flex-direction: column;
justify-content: space-between;
.buttons-manage { .buttons-manage {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: stretch; justify-content: flex-start;
> button { > button:not(:first-of-type) {
width: 50%; margin-top: .5em;
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
} }
} }
} }
} }
.container-upload { .container-upload {
-webkit-box-shadow: 0px -5px 5px 0px rgba(0,0,0,0.25);
-moz-box-shadow: 0px -5px 5px 0px rgba(0,0,0,0.25);
box-shadow: 0px -5px 2px 0px rgba(0, 0, 0, 0.25);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start;
padding: .5em 1em 1em;
.container-error, .container-success {
width: 100%;
min-height: 60px;
border: 2px solid;
border-radius: $border_radius_middle;
&.container-error {
border-color: rgba(128, 0, 0, 0.5);
background-color: rgba(128, 0, 0, 0.25);
}
&.container-success {
margin-top: .5em;
border-color: rgba(50, 143, 51, 0.25);
background-color: rgba(50, 143, 51, 0.13);
}
padding: .5em;
display: flex;
flex-direction: row;
justify-content: space-between;
> * {
align-self: center;
display: inline-block;
}
button {
width: 6em;
}
&.hidden {
opacity: 0;
height: 0;
min-height: 0;
padding: 0;
margin: 0;
}
@include transition(.25s ease-in-out);
}
.container-info {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.container-process {
margin-top: .5em;
width: 100%;
min-height: 100px;
overflow-y: auto;
background-color: $color_list_background;
border: 1px $color_list_border solid;
border-radius: $border_radius_large;
.upload-entry {
display: flex;
flex-direction: row;
justify-content: stretch;
.container-icon {
height: 16px;
width: 16px;
flex-grow: 0;
flex-shrink: 0;
margin: 1px 1px 1px 4px;
align-self: center;
display: flex;
flex-direction: column;
justify-content: center;
> img {
height: 16px;
width: 16px;
}
}
.progress {
position: relative;
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-direction: row;
justify-content: flex-start;
min-width: 2em;
margin: 2px 5px 2px 3px;
height: 16px;
overflow: hidden;
font-size: .75rem;
background-color: #222222;
border: 1px solid hsla(0, 0%, 10%, 1);
border-radius: .25rem;
.progress-bar {
height: 100%;
&.bg-danger {
background-color: rgba(128, 0, 0, 0.5);
}
&.bg-success {
background-color: rgba(50, 143, 51, 0.5);
}
@include transition(width 1s ease-in-out, background-color $button_hover_animation_time ease-in-out);
}
.progress-message {
position: absolute;
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
flex-grow: 1;
flex-shrink: 1;
min-width: 1em;
line-height: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
}
input[type="file"] {
display: none;
}
}
}
@media screen and (max-width: 650px) {
:global {
.modal-icon-upload {
.container-select {
flex-direction: column;
.container-icons {
width: 100%;
margin-right: 0;
}
.container-buttons {
max-width: unset;
margin-top: 5px;
> button {
width: 100%;
}
.buttons-manage {
display: flex;
flex-direction: row;
justify-content: stretch;
> button {
width: 50%;
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
}
}
}
}
.container-upload {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
} }
} }
} }

View File

@ -1,60 +1,85 @@
@import "mixin"; @import "mixin";
.modal-body.modal-identity-improve { :global {
padding: 0!important; .modal-body.modal-identity-improve {
padding: 0!important;
display: flex!important; display: flex!important;
flex-direction: column!important; flex-direction: column!important;
justify-content: flex-start!important; justify-content: flex-start!important;
.container-tooltip { .container-tooltip {
flex-grow: 0!important; flex-grow: 0!important;
flex-shrink: 0!important; flex-shrink: 0!important;
min-width: unset!important; min-width: unset!important;
position: relative; position: relative;
width: .8em; width: .8em;
margin-right: .5em; margin-right: .5em;
font-size: .9em; font-size: .9em;
display: inline-flex; display: inline-flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
vertical-align: middle; vertical-align: middle;
margin-bottom: .1em; margin-bottom: .1em;
img { img {
height: 1em; height: 1em;
width: 1em; width: 1em;
align-self: center; align-self: center;
font-size: 1.2em; font-size: 1.2em;
}
.tooltip {
display: none;
}
} }
.tooltip { .options, .status {
display: none; flex-grow: 0;
} flex-shrink: 0;
}
.options, .status { padding: 1em;
flex-grow: 0;
flex-shrink: 0;
padding: 1em; .title {
color: #387fb5;
}
.title { .row {
color: #387fb5; display: flex;
flex-direction: row;
justify-content: stretch;
div {
flex-grow: 1;
flex-shrink: 1;
min-width: 4em;
&:not(:first-of-type) {
margin-left: 1em;
}
}
}
} }
.row { .status {
border-top: 3px solid #20262d;
}
.buttons {
flex-grow: 0;
flex-shrink: 0;
margin: 0 1em 1em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: flex-end;
div { button {
flex-grow: 1; min-width: 8em;
flex-shrink: 1;
min-width: 4em;
&:not(:first-of-type) { &:not(:first-of-type) {
margin-left: 1em; margin-left: 1em;
@ -63,126 +88,103 @@
} }
} }
.status { .modal-body.modal-identity-import {
border-top: 3px solid #20262d; padding: 0!important;
}
.buttons {
flex-grow: 0;
flex-shrink: 0;
margin: 0 1em 1em;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: flex-end; justify-content: flex-start;
button { @include user-select(none);
min-width: 8em;
&:not(:first-of-type) { .container-status {
margin-left: 1em; display: flex;
flex-direction: row;
justify-content: center;
margin: 1em 1em -1em;
height: 1.6em;
overflow: hidden;
color: #389738;
&.error {
color: #973838;
}
&.loading {
color: #96903a;
}
&.hidden {
height: 0;
}
a {
align-self: center;
}
@include transition(.2s ease-in-out);
}
.container-text, .container-file {
display: flex;
flex-direction: row;
justify-content: stretch;
> label {
flex-shrink: 0;
flex-grow: 0;
width: 10em;
display: flex;
flex-direction: row;
justify-content: flex-start;
padding-left: .25em;
align-self: center;
margin-right: 1em;
.radio-button {
align-self: center;
margin-right: .5em;
}
}
> * {
align-self: center;
}
.form-group {
margin-bottom: 1.75em;
width: 100%;
}
button {
min-width: 8em;
margin-right: 1em;
} }
} }
}
}
.modal-body.modal-identity-import { .footer {
padding: 0!important;
display: flex;
flex-direction: column;
justify-content: flex-start;
@include user-select(none);
.container-status {
display: flex;
flex-direction: row;
justify-content: center;
margin: 1em 1em -1em;
height: 1.6em;
overflow: hidden;
color: #389738;
&.error {
color: #973838;
}
&.loading {
color: #96903a;
}
&.hidden {
height: 0;
}
a {
align-self: center;
}
@include transition(.2s ease-in-out);
}
.container-text, .container-file {
display: flex;
flex-direction: row;
justify-content: stretch;
> label {
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
width: 10em; padding: 1em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-end;
padding-left: .25em; button {
align-self: center; min-width: 8em;
margin-right: 1em;
.radio-button {
align-self: center;
margin-right: .5em;
} }
} }
> * { .file-selector {
align-self: center; display: none;
} }
.form-group {
margin-bottom: 1.75em;
width: 100%;
}
button {
min-width: 8em;
margin-right: 1em;
}
}
.footer {
flex-shrink: 0;
flex-grow: 0;
padding: 1em;
display: flex;
flex-direction: row;
justify-content: flex-end;
button {
min-width: 8em;
}
}
.file-selector {
display: none;
} }
} }

View File

@ -1,73 +1,75 @@
@import "mixin"; @import "mixin";
@import "properties"; @import "properties";
.modal-invite { :global {
padding: .5em!important; .modal-invite {
@include user-select(none); padding: .5em!important;
@include user-select(none);
.general-properties { .general-properties {
flex: 0;
display: flex;
flex-direction: column;
justify-content: stretch;
.form-group {
flex: 0; flex: 0;
display: flex;
flex-direction: column;
justify-content: stretch;
.form-group {
flex: 0;
}
.container-settings {
flex: 0;
margin-bottom: .5em;
display: flex;
flex-direction: row;
justify-content: space-between;
label {
display: flex;
flex-direction: row;
justify-content: flex-start;
> * {
align-self: center;
}
a {
margin-left: .5em;
}
}
}
} }
.container-settings { .text-output {
flex: 0; background-color: $color_list_background;
border: 1px $color_list_border solid;
margin-bottom: .5em; border-radius: $border_radius_large;
padding: .5em;
min-height: 5em;
width: 100%;
resize: none;
color: #999999;
@include user-select(text);
}
.buttons {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
label { margin-top: 5px;
display: flex;
flex-direction: row;
justify-content: flex-start;
> * { .icon {
align-self: center; vertical-align: middle;
} margin-right: 5px;
a {
margin-left: .5em;
}
} }
} }
} }
.text-output {
background-color: $color_list_background;
border: 1px $color_list_border solid;
border-radius: $border_radius_large;
padding: .5em;
min-height: 5em;
width: 100%;
resize: none;
color: #999999;
@include user-select(text);
}
.buttons {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 5px;
.icon {
vertical-align: middle;
margin-right: 5px;
}
}
} }

View File

@ -1,50 +1,52 @@
.modal-body.modal-keyselect { :global {
width: max-content!important; .modal-body.modal-keyselect {
width: max-content!important;
.body {
display: flex;
flex-direction: column;
justify-content: flex-start;
.container-select {
margin-top: .5em;
.body {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
a { .container-select {
align-self: center; margin-top: .5em;
margin-right: .5em;
}
.container-key {
background-color: #272626;
border-radius: 0.15em;
-webkit-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
min-width: 12em;
height: 2em;
padding: 0 .5em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: flex-start;
a {
align-self: center;
margin-right: .5em;
}
.container-key {
background-color: #272626;
border-radius: 0.15em;
-webkit-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.5);
min-width: 12em;
height: 2em;
padding: 0 .5em;
display: flex;
flex-direction: row;
justify-content: center;
}
}
}
.container-buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-top: 1em;
button {
margin-left: 1em;
} }
} }
} }
.container-buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-top: 1em;
button {
margin-left: 1em;
}
}
} }

View File

@ -1,84 +1,86 @@
@import "mixin"; @import "mixin";
@import "properties"; @import "properties";
.modal-body.modal-latency { :global {
@include user-select(none); .modal-body.modal-latency {
@include transform(all $button_hover_animation_time ease-in-out); @include user-select(none);
@include transform(all $button_hover_animation_time ease-in-out);
.info { .info {
display: flex;
flex-direction: row;
justify-content: stretch;
.htmltag-client {
color: #999!important;
margin-left: .25em;
}
div {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
}
.value { .htmltag-client {
margin-left: .25em; color: #999!important;
} margin-left: .25em;
} }
.container-min, .container-max { div {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
}
height: 2em;
.container-value {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-shrink: 0;
flex-grow: 0;
margin-right: 1em;
width: 9em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
align-self: center;
.value { .value {
margin-left: .25em;
}
}
.container-min, .container-max {
display: flex;
flex-direction: row;
justify-content: stretch;
height: 2em;
.container-value {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-shrink: 0;
flex-grow: 0;
margin-right: 1em;
width: 9em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
align-self: center;
.value {
}
}
}
.container-max {
padding-top: 1em;
}
.container-slider {
align-self: center;
}
.buttons {
display: flex;
flex-direction: row;
justify-content: stretch;
margin-top: 2em;
.spacer {
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
}
button:not(:last-of-type) {
margin-right: 1em;
} }
} }
} }
.container-max {
padding-top: 1em;
}
.container-slider {
align-self: center;
}
.buttons {
display: flex;
flex-direction: row;
justify-content: stretch;
margin-top: 2em;
.spacer {
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
}
button:not(:last-of-type) {
margin-right: 1em;
}
}
} }

File diff suppressed because it is too large Load Diff

View File

@ -6,154 +6,156 @@ html:root {
--modal-newcomer-divider: #313135; --modal-newcomer-divider: #313135;
} }
.modal-body.modal-newcomer { :global {
display: flex!important; .modal-body.modal-newcomer {
flex-direction: column!important; display: flex!important;
justify-content: stretch!important; flex-direction: column!important;
justify-content: stretch!important;
padding: 0!important; padding: 0!important;
min-width: 20em; min-width: 20em;
width: 60em; width: 60em;
@include user-select(none); @include user-select(none);
.container-header { .container-header {
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
color: var(--modal-newcommer-header-color); color: var(--modal-newcommer-header-color);
padding: .5em .5em .25em; padding: .5em .5em .25em;
position: relative; position: relative;
font-size: 1.5em; font-size: 1.5em;
text-transform: uppercase; text-transform: uppercase;
.step {
&.hidden {
display: none;
}
&::after {
content: ' ';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1.25px;
//background: linear-gradient(90deg, rgba(49,49,53,1) 80%, rgba(49,49,53,0) 100%);
background: var(--modal-newcomer-divider);
}
&.hidden {
&::after {
content: unset;
}
}
}
}
.container-body {
//flex-grow: 1;
//flex-shrink: 1;
flex-shrink: 1;
min-height: 18em;
display: flex;
flex-direction: column;
justify-content: center;
overflow: auto;
@include chat-scrollbar-horizontal();
@include chat-scrollbar-vertical();
background-color: #19191b;
.body {
display: flex;
flex-direction: column;
justify-content: stretch;
padding: .5em .5em .5em;
&.height-transition {
@include transition(max-height .25s ease-in-out, min-height .25s ease-in-out);
overflow: hidden;
}
.step { .step {
&.step-welcome, &.step-finish {
display: flex;
flex-direction: row;
justify-content: center;
.text {
align-self: center;
h1 {
line-height: 1.1em;
margin-bottom: .8em;
margin-top: 0;
}
flex-shrink: 0;
}
&.step-welcome h1 {
margin-bottom: 0;
}
.logo {
max-height: 15em;
max-width: 15em;
align-self: center;
margin-right: 1em;
img {
max-height: 100%;
max-width: 100%;
}
}
}
/* for step-identity or step-microphone */
.container-settings-identity-profile {
padding: .5em;
.left .body {
background-color: #202122;
.overlay {
background-color: #202122;
}
.profile.selected {
background-color: #141415;
}
}
}
&.step-identity { }
&.hidden { &.hidden {
display: none; display: none;
} }
&::after {
content: ' ';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1.25px;
//background: linear-gradient(90deg, rgba(49,49,53,1) 80%, rgba(49,49,53,0) 100%);
background: var(--modal-newcomer-divider);
}
&.hidden {
&::after {
content: unset;
}
}
} }
} }
}
.buttons { .container-body {
flex-shrink: 0; //flex-grow: 1;
flex-grow: 0; //flex-shrink: 1;
flex-shrink: 1;
min-height: 18em;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: space-between; justify-content: center;
border-top: 1.25px solid var(--modal-newcomer-divider); overflow: auto;
padding: .5em; @include chat-scrollbar-horizontal();
@include chat-scrollbar-vertical();
background-color: #19191b;
.body {
display: flex;
flex-direction: column;
justify-content: stretch;
padding: .5em .5em .5em;
&.height-transition {
@include transition(max-height .25s ease-in-out, min-height .25s ease-in-out);
overflow: hidden;
}
.step {
&.step-welcome, &.step-finish {
display: flex;
flex-direction: row;
justify-content: center;
.text {
align-self: center;
h1 {
line-height: 1.1em;
margin-bottom: .8em;
margin-top: 0;
}
flex-shrink: 0;
}
&.step-welcome h1 {
margin-bottom: 0;
}
.logo {
max-height: 15em;
max-width: 15em;
align-self: center;
margin-right: 1em;
img {
max-height: 100%;
max-width: 100%;
}
}
}
/* for step-identity or step-microphone */
.container-settings-identity-profile {
padding: .5em;
.left .body {
background-color: #202122;
.overlay {
background-color: #202122;
}
.profile.selected {
background-color: #141415;
}
}
}
&.step-identity { }
&.hidden {
display: none;
}
}
}
}
.buttons {
flex-shrink: 0;
flex-grow: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
border-top: 1.25px solid var(--modal-newcomer-divider);
padding: .5em;
}
} }
} }

View File

@ -3,86 +3,88 @@ html:root {
--modal-poke-text: #004d00; --modal-poke-text: #004d00;
} }
.container-poke { :global {
display: flex!important;; .container-poke {
flex-direction: column!important;; display: flex!important;;
flex-direction: column!important;;
.container-servers { .container-servers {
display: flex;
flex-direction: column;
justify-content: stretch;
.server {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: stretch; justify-content: stretch;
.server-name { .server {
margin-top: 5px;
flex-grow: 0;
flex-shrink: 0;
font-weight: bold;
text-decoration: underline;
}
.poke-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: stretch;
overflow-y: auto; .server-name {
overflow-x: auto; margin-top: 5px;
.entry { flex-grow: 0;
flex-shrink: 0;
font-weight: bold;
text-decoration: underline;
}
.poke-list {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
flex-shrink: 0; overflow-y: auto;
flex-grow: 0; overflow-x: auto;
> * { .entry {
white-space: nowrap; display: flex;
} flex-direction: row;
justify-content: flex-start;
.date, .user, .text { flex-shrink: 0;
margin-right: 5px; flex-grow: 0;
}
.date { > * {
color: var(--modal-poke-date); white-space: nowrap;
} }
.text {
color: var(--modal-poke-text); .date, .user, .text {
margin-right: 5px;
}
.date {
color: var(--modal-poke-date);
}
.text {
color: var(--modal-poke-text);
}
} }
} }
} }
} }
}
.buttons { .buttons {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
margin-top: 5px;
flex-shrink: 0;
flex-grow: 0;
.spacer {
flex-grow: 1;
flex-shrink: 1;
}
.button-close {
flex-grow: 0;
flex-shrink: 0;
margin-top: 5px; margin-top: 5px;
width: 150px; flex-shrink: 0;
float: right; flex-grow: 0;
.spacer {
flex-grow: 1;
flex-shrink: 1;
}
.button-close {
flex-grow: 0;
flex-shrink: 0;
margin-top: 5px;
width: 150px;
float: right;
}
} }
} }
} }

View File

@ -1,375 +1,377 @@
@import "properties"; @import "properties";
@import "mixin"; @import "mixin";
.query-create { :global {
display: flex!important; .query-create {
flex-direction: column!important; display: flex!important;
flex-direction: column!important;
.row-name { .row-name {
width: 100%; width: 100%;
display: flex;
flex-direction: row;
justify-content: stretch;
input {
flex-grow: 1;
flex-shrink: 1;
margin-left: 5px;
}
}
.buttons {
margin-top: 5px;
text-align: right;
}
}
.query-created {
display: flex!important;
flex-direction: column!important;
.buttons {
text-align: right;
}
.form-row {
margin-right: 0!important;
margin-left: 0!important;
display: flex;
flex-direction: row;
justify-content: stretch;
.icon_x32 {
align-self: center;
margin-right: 5px;
cursor: pointer;
}
.form-group {
flex-grow: 1;
}
}
}
html:root {
--modal-query-title: #e0e0e0;
--modal-query-list: #28292b;
--modal-query-list-border: #1f2122;
--modal-query-empty: #4d4d4d;
--modal-query-error: #732626;
--modal-query-entry-hover: #2c2d2f;
--modal-query-entry-selected: #1a1a1b;
--modal-query-key: #557edc;
--modal-query-copy-hover: #28292b;
}
.modal-body.modal-query-manage {
display: flex!important;
flex-direction: row!important;
justify-content: stretch!important;
padding: 1em!important;
min-width: 25em!important; /* 23em to be exact */
min-height: 20em!important;
width: 60em; /* recommend width */
height: 50em;
@include user-select(none);
.container {
flex-grow: 1;
flex-shrink: 1;
min-width: 20em;
min-height: 10em;
display: flex;
flex-direction: row;
justify-content: stretch;
}
.left, .right {
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
> .title {
flex-grow: 0;
flex-shrink: 0;
margin-bottom: .5em;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
a { input {
font-weight: bold;
color: var(--modal-query-title);
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
margin-left: 5px;
}
}
font-size: 1.05em; .buttons {
min-width: 5em; margin-top: 5px;
text-align: right;
}
}
align-self: flex-end; .query-created {
line-height: normal; display: flex!important;
flex-direction: column!important;
white-space: nowrap; .buttons {
overflow: hidden; text-align: right;
text-overflow: ellipsis; }
.form-row {
margin-right: 0!important;
margin-left: 0!important;
display: flex;
flex-direction: row;
justify-content: stretch;
.icon_x32 {
align-self: center;
margin-right: 5px;
cursor: pointer;
} }
button { .form-group {
flex-grow: 0; flex-grow: 1;
flex-shrink: 1;
height: 2em;
font-size: .9em;
width: 10em;
min-width: 5em;
align-self: center;
overflow: hidden;
text-overflow: ellipsis;
} }
} }
} }
.left { html:root {
margin-right: .4em; --modal-query-title: #e0e0e0;
min-width: 10em;
.container-list { --modal-query-list: #28292b;
--modal-query-list-border: #1f2122;
--modal-query-empty: #4d4d4d;
--modal-query-error: #732626;
--modal-query-entry-hover: #2c2d2f;
--modal-query-entry-selected: #1a1a1b;
--modal-query-key: #557edc;
--modal-query-copy-hover: #28292b;
}
.modal-body.modal-query-manage {
display: flex!important;
flex-direction: row!important;
justify-content: stretch!important;
padding: 1em!important;
min-width: 25em!important; /* 23em to be exact */
min-height: 20em!important;
width: 60em; /* recommend width */
height: 50em;
@include user-select(none);
.container {
flex-grow: 1; flex-grow: 1;
flex-shrink: 1;
min-width: 20em;
min-height: 10em;
display: flex;
flex-direction: row;
justify-content: stretch;
}
.left, .right {
flex-grow: 1;
flex-shrink: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: stretch; justify-content: stretch;
border-radius: 0.2em; > .title {
border: 1px solid var(--modal-query-list-border);
background-color: var(--modal-query-list);
.container-entries {
flex-shrink: 1;
flex-grow: 1;
min-height: 5em;
position: relative;
overflow-x: hidden;
overflow-y: auto;
@include chat-scrollbar-vertical();
.container-empty, .container-error {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
font-size: 2em;
background-color: var(--modal-query-list);
}
.container-empty {
color: var(--modal-query-empty);
}
.container-error {
color: var(--modal-query-error);
}
.entry {
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-shrink: 1;
min-width: 4em;
padding-left: .5em;
padding-right: .5em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
&:hover {
background-color: var(--modal-query-entry-hover);
}
&.selected {
background-color: var(--modal-query-entry-selected);
}
}
}
.container-search {
flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
flex-shrink: 0;
padding: 0 .5em; margin-bottom: .5em;
border-top: 1px solid var(--modal-query-list-border);
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
a {
font-weight: bold;
color: var(--modal-query-title);
flex-grow: 1;
flex-shrink: 1;
font-size: 1.05em;
min-width: 5em;
align-self: flex-end;
line-height: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
button { button {
flex-grow: 0; flex-grow: 0;
flex-shrink: 1; flex-shrink: 1;
height: 2em; height: 2em;
min-width: 2em; font-size: .9em;
width: 10em;
min-width: 5em;
align-self: center; align-self: center;
margin-top: .8em;
margin-right: .5em;
white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.form-group {
flex-grow: 1;
flex-shrink: 1;
min-width: 5em;
}
} }
} }
}
.right { .left {
min-width: 10em; margin-right: .4em;
margin-left: .4em; min-width: 10em;
.container-details { .container-list {
flex-grow: 1; flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
.detail {
flex-shrink: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: stretch;
margin-bottom: 1em; border-radius: 0.2em;
border: 1px solid var(--modal-query-list-border);
background-color: var(--modal-query-list);
.title, .title a { .container-entries {
text-transform: uppercase; flex-shrink: 1;
color: var(--modal-query-key); flex-grow: 1;
white-space: nowrap; min-height: 5em;
overflow: hidden;
text-overflow: ellipsis;
}
.value { position: relative;
@include user-select(text);
white-space: nowrap; overflow-x: hidden;
overflow: hidden; overflow-y: auto;
text-overflow: ellipsis; @include chat-scrollbar-vertical();
}
&.unique-id { .container-empty, .container-error {
.title { position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
font-size: 2em;
background-color: var(--modal-query-list);
}
.container-empty {
color: var(--modal-query-empty);
}
.container-error {
color: var(--modal-query-error);
}
.entry {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;
.button { flex-shrink: 1;
display: flex; min-width: 4em;
flex-direction: column;
justify-content: center;
width: 1.2em; padding-left: .5em;
height: 1.2em; padding-right: .5em;
align-self: center; white-space: nowrap;
margin-left: .25em; overflow: hidden;
text-overflow: ellipsis;
cursor: pointer; cursor: pointer;
border-radius: .2em;
&:hover { &:hover {
background: var(--modal-query-copy-hover); background-color: var(--modal-query-entry-hover);
} }
margin-bottom: .2em; /* "text sub" */ &.selected {
background-color: var(--modal-query-entry-selected);
> div {
align-self: center;
}
@include transition($button_hover_animation_time ease-in-out);
} }
} }
} }
}
.spacer { flex-grow: 1; flex-shrink: 1; min-height: 0; } .container-search {
flex-shrink: 0;
flex-grow: 0;
.buttons { padding: 0 .5em;
display: flex;
flex-direction: row;
justify-content: space-between;
button { border-top: 1px solid var(--modal-query-list-border);
flex-shrink: 1;
min-width: 5em;
height: 2em; display: flex;
font-size: .9em; flex-direction: row;
justify-content: stretch;
width: 14em; button {
flex-grow: 0;
flex-shrink: 1;
white-space: nowrap; height: 2em;
overflow: hidden; min-width: 2em;
text-overflow: ellipsis;
&:not(:first-of-type) { align-self: center;
margin-left: 1em; margin-top: .8em;
margin-right: .5em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.form-group {
flex-grow: 1;
flex-shrink: 1;
min-width: 5em;
} }
} }
} }
} }
}
.container-seperator { .right {
background: transparent; min-width: 10em;
margin-left: .4em;
.container-details {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
.detail {
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
margin-bottom: 1em;
.title, .title a {
text-transform: uppercase;
color: var(--modal-query-key);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.value {
@include user-select(text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&.unique-id {
.title {
display: flex;
flex-direction: row;
justify-content: flex-start;
.button {
display: flex;
flex-direction: column;
justify-content: center;
width: 1.2em;
height: 1.2em;
align-self: center;
margin-left: .25em;
cursor: pointer;
border-radius: .2em;
&:hover {
background: var(--modal-query-copy-hover);
}
margin-bottom: .2em; /* "text sub" */
> div {
align-self: center;
}
@include transition($button_hover_animation_time ease-in-out);
}
}
}
}
.spacer { flex-grow: 1; flex-shrink: 1; min-height: 0; }
.buttons {
display: flex;
flex-direction: row;
justify-content: space-between;
button {
flex-shrink: 1;
min-width: 5em;
height: 2em;
font-size: .9em;
width: 14em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:not(:first-of-type) {
margin-left: 1em;
}
}
}
}
}
.container-seperator {
background: transparent;
}
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -11,253 +11,257 @@ html:root {
--serverinfo-value: #d6d6d7; --serverinfo-value: #d6d6d7;
} }
.modal-body.modal-server-info { :global {
padding: 0!important; .modal-body.modal-server-info {
width: 55em; padding: 0!important;
width: 55em;
display: flex!important; display: flex!important;
flex-direction: column!important; flex-direction: column!important;
justify-content: flex-start!important; justify-content: flex-start!important;
background-color: var(--serverinfo-background); background-color: var(--serverinfo-background);
.container-tooltip { .container-tooltip {
flex-shrink: 0;
flex-grow: 0;
position: relative;
width: 1.6em;
margin-left: .5em;
margin-right: .5em;
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-top {
flex-grow: 0;
flex-shrink: 0;
max-height: 9em;
//width: 30em; /* set a default width where we have to grow/shrink */
display: flex;
flex-direction: column;
justify-content: stretch;
.container-hostbanner {
border: none;
border-radius: 0;
background-color: var(--serverinfo-hostbanner-background);
}
&.hidden {
display: none;
}
}
.container-body {
flex-shrink: 1;
min-height: 12em; /* 10em + 2 * 1em margin */
overflow-y: auto;
@include chat-scrollbar-vertical();
}
.group {
flex-grow: 0;
flex-shrink: 0;
margin: 1em;
padding: .5em;
border-radius: .2em;
border: 1px solid var(--serverinfo-group-border);
background-color: var(--serverinfo-group-background);
display: flex;
flex-direction: row;
justify-content: stretch;
height: 10em;
max-height: 10em;
.container-image {
flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0;
max-width: 15em; position: relative;
max-height: 9em; /* minus one padding */ width: 1.6em;
margin-left: .5em;
margin-right: .5em;
font-size: .9em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
img { img {
object-fit: contain; height: 1em;
max-height: 100%; width: 1em;
max-width: 100%;
align-self: center;
font-size: 1.2em;
} }
margin-right: 2em; .tooltip {
@include transition(.25s ease-in-out); display: none;
}
} }
.container-properties { .container-top {
flex-shrink: 1; flex-grow: 0;
flex-grow: 1; flex-shrink: 0;
min-width: 20em; max-height: 9em;
//width: 30em; /* set a default width where we have to grow/shrink */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: stretch;
height: inherit; .container-hostbanner {
border: none;
border-radius: 0;
background-color: var(--serverinfo-hostbanner-background);
}
.row { &.hidden {
display: none;
}
}
.container-body {
flex-shrink: 1;
min-height: 12em; /* 10em + 2 * 1em margin */
overflow-y: auto;
@include chat-scrollbar-vertical();
}
.group {
flex-grow: 0;
flex-shrink: 0;
margin: 1em;
padding: .5em;
border-radius: .2em;
border: 1px solid var(--serverinfo-group-border);
background-color: var(--serverinfo-group-background);
display: flex;
flex-direction: row;
justify-content: stretch;
height: 10em;
max-height: 10em;
.container-image {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
height: 1.8em; max-width: 15em;
max-height: 9em; /* minus one padding */
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: flex-start; justify-content: center;
.key { img {
flex-shrink: 0; object-fit: contain;
flex-grow: 0; max-height: 100%;
max-width: 100%;
color: var(--serverinfo-key);
text-transform: uppercase;
align-self: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 15em;
} }
.value { margin-right: 2em;
color: var(--serverinfo-value); @include transition(.25s ease-in-out);
align-self: center; }
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.country { .container-properties {
display: inline-block; flex-shrink: 1;
margin-right: .25em; flex-grow: 1;
min-width: 20em;
display: flex;
flex-direction: column;
justify-content: flex-start;
height: inherit;
.row {
flex-grow: 0;
flex-shrink: 0;
height: 1.8em;
display: flex;
flex-direction: row;
justify-content: flex-start;
.key {
flex-shrink: 0;
flex-grow: 0;
color: var(--serverinfo-key);
text-transform: uppercase;
align-self: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 15em;
} }
&.server-version { .value {
display: flex; color: var(--serverinfo-value);
flex-direction: row; align-self: center;
justify-content: flex-start; white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
a { .country {
flex-shrink: 1; display: inline-block;
min-width: 0; margin-right: .25em;
}
&.server-version {
display: flex;
flex-direction: row;
justify-content: flex-start;
a {
flex-shrink: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
.container-network {
display: flex;
flex-direction: row;
justify-content: center;
.container-button {
margin-right: 1em;
flex-shrink: 1e8;
min-width: 5em;
display: flex;
flex-direction: column;
justify-content: flex-end;
button {
height: 2.5em;
width: 12em;
max-width: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
} }
}
}
.container-network { .right {
display: flex; flex-grow: 1;
flex-direction: row; flex-shrink: 1;
justify-content: center; min-width: 10em;
.container-button {
margin-right: 1em;
flex-shrink: 1e8;
min-width: 5em;
display: flex;
flex-direction: column;
justify-content: flex-end;
button {
height: 2.5em;
width: 12em;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
} }
}
.right { &.reverse {
flex-grow: 1; flex-direction: row-reverse;
flex-shrink: 1; text-align: right;
min-width: 10em;
.container-image {
margin-right: 0;
margin-left: 2em;
}
.container-properties {
.row {
flex-direction: row-reverse;
}
} }
} }
} }
&.reverse { .container-buttons {
flex-direction: row-reverse; margin: 1em;
text-align: right;
.container-image { flex-grow: 0;
margin-right: 0; flex-shrink: 0;
margin-left: 2em;
display: flex;
flex-direction: row;
justify-content: space-between;
button {
min-width: 8em;
} }
.container-properties {
.row {
flex-direction: row-reverse;
}
}
}
}
.container-buttons {
margin: 1em;
flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
button {
min-width: 8em;
} }
} }
} }
@media all and (max-width: 50em) { @media all and (max-width: 50em) {
.modal-body.modal-server-info { :global {
.container-image { .modal-body.modal-server-info {
margin: 0!important; .container-image {
max-width: 0!important; margin: 0!important;
max-width: 0!important;
}
} }
} }
} }

View File

@ -8,211 +8,215 @@ html:root {
--serverinfo-statistics-title: #244c78; --serverinfo-statistics-title: #244c78;
} }
.modal-body.modal-server-info-bandwidth { :global {
padding: 0!important; .modal-body.modal-server-info-bandwidth {
width: 55em; padding: 0!important;
width: 55em;
display: flex!important; display: flex!important;
flex-direction: column!important; flex-direction: column!important;
justify-content: flex-start!important; justify-content: flex-start!important;
background-color: #2f2f35; background-color: #2f2f35;
.container-tooltip { .container-tooltip {
flex-shrink: 0;
flex-grow: 0;
position: relative;
width: 1.6em;
margin-left: .5em;
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;
}
}
.top {
flex-grow: 0;
flex-shrink: 0;
margin: 1em;
padding: .5em;
display: flex;
flex-direction: row;
justify-content: stretch;
height: 12em;
max-height: 12em;
.container-image {
flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0;
max-width: 18em; position: relative;
max-height: 11em; /* minus one padding */ width: 1.6em;
margin-left: .5em;
font-size: .9em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
img { img {
object-fit: contain; height: 1em;
max-height: 100%; width: 1em;
max-width: 100%;
align-self: center;
font-size: 1.2em;
} }
margin-right: 2em; .tooltip {
@include transition(.25s ease-in-out); display: none;
}
} }
.container-stats { .top {
flex-shrink: 1; flex-grow: 0;
flex-grow: 1; flex-shrink: 0;
min-width: 25em; margin: 1em;
padding: .5em;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
justify-content: space-evenly; justify-content: stretch;
height: 12em;
max-height: 12em;
.container-image {
flex-grow: 0;
flex-shrink: 0;
max-width: 18em;
max-height: 11em; /* minus one padding */
.statistic {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: center;
> a { img {
font-size: 1.25em; object-fit: contain;
color: var(--serverinfo-title); max-height: 100%;
line-height: normal; max-width: 100%;
text-transform: uppercase;
} }
.values { margin-right: 2em;
@include transition(.25s ease-in-out);
}
.container-stats {
flex-shrink: 1;
flex-grow: 1;
min-width: 25em;
display: flex;
flex-direction: column;
justify-content: space-evenly;
.statistic {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: space-between; justify-content: flex-start;
> a { > a {
font-size: 1.2em; font-size: 1.25em;
color: var(--serverinfo-title);
line-height: normal; line-height: normal;
text-transform: uppercase;
} }
.upload { .values {
color: var(--serverinfo-bandwidth-upload); display: flex;
flex-direction: row;
justify-content: space-between;
> a {
font-size: 1.2em;
line-height: normal;
}
.upload {
color: var(--serverinfo-bandwidth-upload);
}
.download {
color: var(--serverinfo-bandwidth-download);
}
} }
.download { &:not(:first-of-type) {
color: var(--serverinfo-bandwidth-download); margin-top: 1em;
} }
} }
&:not(:first-of-type) {
margin-top: 1em;
}
} }
} }
}
.bottom { .bottom {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
margin: 1em; margin: 1em;
padding: .5em; padding: .5em;
border-radius: .2em; border-radius: .2em;
border: 1px solid #1f2122; border: 1px solid #1f2122;
background-color: #28292b; background-color: #28292b;
display: flex;
flex-direction: column;
justify-content: stretch;
//height: 15em;
//max-height: 10em;
.statistic {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: stretch; justify-content: stretch;
.title { //height: 15em;
flex-grow: 0; //max-height: 10em;
flex-shrink: 0;
color: var(--serverinfo-statistics-title);
font-size: 1.25em;
text-transform: uppercase;
}
.body {
flex-grow: 0;
flex-shrink: 0;
.statistic {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: stretch; justify-content: stretch;
height: 7em; .title {
flex-grow: 0;
flex-shrink: 0;
.container-canvas { color: var(--serverinfo-statistics-title);
flex-grow: 1; font-size: 1.25em;
flex-shrink: 1;
min-width: 6em; text-transform: uppercase;
margin-right: 1em;
} }
.values { .body {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
justify-content: center; justify-content: stretch;
width: 8em; height: 7em;
text-align: right;
.upload { .container-canvas {
color: var(--serverinfo-bandwidth-upload); flex-grow: 1;
flex-shrink: 1;
min-width: 6em;
margin-right: 1em;
} }
.download { .values {
color: var(--serverinfo-bandwidth-download); flex-grow: 0;
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: center;
width: 8em;
text-align: right;
.upload {
color: var(--serverinfo-bandwidth-upload);
}
.download {
color: var(--serverinfo-bandwidth-download);
}
} }
} }
}
&:not(:first-of-type) { &:not(:first-of-type) {
margin-top: 1.5em; margin-top: 1.5em;
}
} }
} }
} }
} }
@media all and (max-width: 50em) { @media all and (max-width: 50em) {
.modal-body.modal-server-info { :global {
.container-image { .modal-body.modal-server-info {
margin: 0!important; .container-image {
max-width: 0!important; margin: 0!important;
max-width: 0!important;
}
} }
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +1,34 @@
.arrow { :global {
display: inline-block; .arrow {
border: solid black; display: inline-block;
//border-width: 0 3px 3px 0; border: solid black;
//padding: 3px; //border-width: 0 3px 3px 0;
//height: 10px; //padding: 3px;
//height: 10px;
border-width: 0 .2em .2em 0; border-width: 0 .2em .2em 0;
padding: .21em; padding: .21em;
height: .5em; height: .5em;
width: .5em; width: .5em;
&.right { &.right {
transform: rotate(-45deg); transform: rotate(-45deg);
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
} }
&.left { &.left {
transform: rotate(135deg); transform: rotate(135deg);
-webkit-transform: rotate(135deg); -webkit-transform: rotate(135deg);
} }
&.up { &.up {
transform: rotate(-135deg); transform: rotate(-135deg);
-webkit-transform: rotate(-135deg); -webkit-transform: rotate(-135deg);
} }
&.down { &.down {
transform: rotate(45deg); transform: rotate(45deg);
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
}
} }
} }

View File

@ -1,88 +1,90 @@
@import "mixin"; @import "mixin";
.overlay-image-preview { :global {
position: absolute; .overlay-image-preview {
z-index: 1000;
pointer-events: all;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: 1;
background-color: #000000EF;
display: flex;
flex-direction: column;
justify-content: center;
.container-menu-bar {
position: absolute; position: absolute;
z-index: 1000;
top: .25em; pointer-events: all;
top: 0;
bottom: 0;
left: 0; left: 0;
right: .25em; right: 0;
display: flex; opacity: 1;
flex-direction: row; background-color: #000000EF;
justify-content: flex-end;
.entry {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 2em;
margin: .25em;
padding: .15em;
border-radius: .125em;
cursor: pointer;
.container-icon {
width: 1em;
height: 1em;
display: flex;
img {
height: 100%;
width: 100%;
}
}
&:hover {
background-color: #FFFFFF1F;
}
}
}
.container-image {
max-width: 90%;
max-height: 90%;
align-self: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: stretch; justify-content: center;
img { .container-menu-bar {
flex-shrink: 1; position: absolute;
min-height: 1em; top: .25em;
min-width: 1em; left: 0;
right: .25em;
max-height: 100%; display: flex;
max-width: 100%; flex-direction: row;
justify-content: flex-end;
.entry {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 2em;
margin: .25em;
padding: .15em;
border-radius: .125em;
cursor: pointer;
.container-icon {
width: 1em;
height: 1em;
display: flex;
img {
height: 100%;
width: 100%;
}
}
&:hover {
background-color: #FFFFFF1F;
}
}
} }
}
&.hidden { .container-image {
pointer-events: none; max-width: 90%;
opacity: 0; max-height: 90%;
} align-self: center;
@include transition(ease-in-out .25s); display: flex;
flex-direction: column;
justify-content: stretch;
img {
flex-shrink: 1;
min-height: 1em;
min-width: 1em;
max-height: 100%;
max-width: 100%;
}
}
&.hidden {
pointer-events: none;
opacity: 0;
}
@include transition(ease-in-out .25s);
}
} }

View File

@ -1,41 +0,0 @@
.scroll-left {
height: 100%;
overflow: hidden;
position: relative;
}
.scroll-left p {
position: absolute;
width: max-content;
height: 100%;
margin: 0;
text-align: center;
/* Starting position */
-moz-transform:translateX(100%);
-webkit-transform:translateX(100%);
transform:translateX(100%);
/* Apply animation to this element */
-moz-animation: scroll-left 10s linear infinite;
-webkit-animation: scroll-left 10s linear infinite;
animation: scroll-left 10s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
0% { -moz-transform: translateX(100%); }
100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes scroll-left {
0% { -webkit-transform: translateX(100%); }
100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll-left {
0% {
-moz-transform: translateX(100%); /* Browser bug fix */
-webkit-transform: translateX(100%); /* Browser bug fix */
transform: translateX(100%);
}
100% {
-moz-transform: translateX(-100%); /* Browser bug fix */
-webkit-transform: translateX(-100%); /* Browser bug fix */
transform: translateX(-100%);
}
}

View File

@ -1,63 +0,0 @@
@import "mixin";
html:root {
--server-log-text: #6e6e6e;
--server-log-error: #e62222;
--server-log-tree-entry: #d8d8d8;
}
.container-log {
display: block;
overflow-y: auto;
height: 100%;
width: 100%;
@include chat-scrollbar-vertical();
@include chat-scrollbar-horizontal();
.container-messages {
width: 100%;
line-height: 16px;
}
.log-message {
flex-shrink: 0;
flex-grow: 0;
color: var(--server-log-text);
overflow-x: hidden;
overflow-y: hidden;
display: block;
&, > * {
overflow-wrap: break-word;
word-wrap: break-word;
max-width: 100%;
}
> * {
display: inline-block;
font-family: sans-serif;
font-size: 13px;
line-height: initial;
}
> .timestamp {
padding-right: 5px;
}
.log-error {
color: var(--server-log-error);
}
.htmltag-client, .htmltag-channel {
color: var(--server-log-tree-entry);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,92 +1,94 @@
x-tab { display:none } :global {
x-tab { display:none }
.tab { .tab {
padding: 2px; padding: 2px;
height: 100%; height: 100%;
flex-direction: column; flex-direction: column;
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
min-height: 220px; /* min the header */ min-height: 220px; /* min the header */
}
.tab div * {
vertical-align: middle;
}
.tab .tab-content {
min-height: 200px;
border-radius: 0 2px 2px 2px;
border: solid #6f6f6f;
overflow-y: hidden;
height: 100%;
padding: 2px;
display: flex;
flex-grow: 1;
x-content {
min-height: 0;
overflow-y: auto;
width: 100%;
} }
@-moz-document url-prefix() { .tab div * {
vertical-align: middle;
}
.tab .tab-content {
min-height: 200px;
border-radius: 0 2px 2px 2px;
border: solid #6f6f6f;
overflow-y: hidden;
height: 100%;
padding: 2px;
display: flex;
flex-grow: 1;
x-content { x-content {
height: 100%; min-height: 0;
overflow-y: auto;
width: 100%;
}
@-moz-document url-prefix() {
x-content {
height: 100%;
}
} }
} }
}
/* /*
#chat .tab-content { #chat .tab-content {
flex-wrap: wrap; flex-wrap: wrap;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
height: auto; height: auto;
} }
*/ */
.tab .tab-header { .tab .tab-header {
font-family: Arial, serif; font-family: Arial, serif;
font-size: 12px; font-size: 12px;
/*white-space: pre;*/ /*white-space: pre;*/
line-height: 1; line-height: 1;
max-width: 100%; max-width: 100%;
overflow: auto; overflow: auto;
/*height: 24px;*/ /*height: 24px;*/
overflow-y: hidden; overflow-y: hidden;
white-space: nowrap; white-space: nowrap;
margin-bottom: -1px; margin-bottom: -1px;
display: flex; display: flex;
user-select: none; user-select: none;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
width: 100%; width: 100%;
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
} }
.tab .tab-header .entry { .tab .tab-header .entry {
background: #5f5f5f5f; background: #5f5f5f5f;
display: inline-block; display: inline-block;
border: 1px solid #6f6f6f; border: 1px solid #6f6f6f;
border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px;
vertical-align: middle; vertical-align: middle;
padding: 2px 5px; padding: 2px 5px;
cursor: pointer; cursor: pointer;
flex-grow: 1; flex-grow: 1;
} }
.tab .tab-content-invisible { .tab .tab-content-invisible {
display: none; display: none;
} }
.tab .tab-header .entry.selected { .tab .tab-header .entry.selected {
background: #11111111; background: #11111111;
}
} }

View File

@ -194,7 +194,7 @@ if(process_args.length < 1) {
process.exit(1); process.exit(1);
} }
const input_files = ["../dist/translations.json", "generated/translations_html.json"].map(e => path.join(__dirname, e)); const input_files = ["../dist/translations.json"].map(e => path.join(__dirname, e));
const output_file = process_args[1] || path.join(__dirname, "i18n", process_args[0] + "_google_translate.translation"); const output_file = process_args[1] || path.join(__dirname, "i18n", process_args[0] + "_google_translate.translation");
(async () => { (async () => {

View File

@ -1,9 +0,0 @@
#!/usr/bin/env bash
cd "$(dirname "$0")" || { echo "Failed to enter base directory"; exit 1; }
npm run trgen -- -f "$(pwd)/html/templates.html" -f "$(pwd)/html/templates/modal/newcomer.html" -f "$(pwd)/html/templates/modal/musicmanage.html" -d "$(pwd)/generated/translations_html.json"; _exit_code=$?
if [[ $_exit_code -ne 0 ]]; then
echo "Failed to generate translations file for the template files"
exit 1
fi

View File

@ -1,10 +1,8 @@
@import "../../../../css/static/mixin"; @import "../../../../css/static/mixin";
/* FIXME: Remove this wired import */ /* FIXME: Remove this wired import */
:global { @import "../../../../css/static/general";
@import "../../../../css/static/general"; @import "../../../../css/static/modal";
@import "../../../../css/static/modal";
}
html, body { html, body {
margin: 0; margin: 0;