Fixing some transparency issues related to MSEdge
Signed-off-by: WolverinDEV <git@teaspeak.de>
This commit is contained in:
parent
f49e7bd527
commit
0cbd4b5fac
14 changed files with 45 additions and 202 deletions
2
file.ts
2
file.ts
|
@ -1029,7 +1029,7 @@ async function main(args: string[]) {
|
||||||
const switches = [];
|
const switches = [];
|
||||||
const pargs = args.slice(1).filter(e => e.startsWith("--") ? (switches.push(e), false) : true);
|
const pargs = args.slice(1).filter(e => e.startsWith("--") ? (switches.push(e), false) : true);
|
||||||
|
|
||||||
await main_develop(is_node, target, pargs.length > 2 ? parseInt(pargs[2]) : 8081, switches);
|
await main_develop(is_node, target, pargs.length > 1 ? parseInt(pargs[1]) : 8081, switches);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,7 +280,7 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
width: 1px;
|
width: 1px;
|
||||||
background-color: #a814147F;
|
@include background-color(#a814147F);
|
||||||
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
||||||
|
|
|
@ -102,10 +102,6 @@
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #2d2f32;
|
background-color: #2d2f32;
|
||||||
border-bottom: 1px solid #0d9cfd;
|
border-bottom: 1px solid #0d9cfd;
|
||||||
|
|
||||||
//-webkit-box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
||||||
//-moz-box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
||||||
//box-shadow: inset 4px -17px 50px -30px #0d9cfd99;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,7 +133,9 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
|
|
||||||
border: 1px #2222223b solid;
|
border: 1px solid;
|
||||||
|
@include hex-rgba(border-color, #2222223b);
|
||||||
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background: #e7e7e7;
|
background: #e7e7e7;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
|
|
|
@ -31,9 +31,9 @@ $client_info_avatar_size: 10em;
|
||||||
border-top-left-radius: 5px;
|
border-top-left-radius: 5px;
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: 5px;
|
||||||
|
|
||||||
-moz-box-shadow: inset 0 0 5px #00000040;
|
-moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
-webkit-box-shadow: inset 0 0 5px #00000040;
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
box-shadow: inset 0 0 5px #00000040;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
|
|
||||||
.lane {
|
.lane {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
@ -925,7 +925,7 @@ $client_info_avatar_size: 10em;
|
||||||
color: #8b8b8b;
|
color: #8b8b8b;
|
||||||
|
|
||||||
background: #353535; /* if we dont support gradients */
|
background: #353535; /* if we dont support gradients */
|
||||||
background: linear-gradient(#35353500 10%, #353535 70%);
|
background: linear-gradient(rgba(53, 53, 53, 0) 10%, #353535 70%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
background-color: #2e2e2e;
|
background-color: #2e2e2e;
|
||||||
border-top-left-radius: 5px;
|
border-top-left-radius: 5px;
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: 5px;
|
||||||
-moz-box-shadow: inset 0 0 5px #00000040;
|
-moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
-webkit-box-shadow: inset 0 0 5px #00000040;
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
box-shadow: inset 0 0 5px #00000040;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,11 +54,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:not(.disabled) {
|
&:hover:not(.disabled) {
|
||||||
background-color: #00000044;
|
background-color: rgba(0, 0, 0, 0.27);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background-color: #00000022;
|
background-color: rgba(0, 0, 0, 0.13);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub-menu {
|
.sub-menu {
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #00000044;
|
background-color: rgba(0, 0, 0, 0.27);
|
||||||
|
|
||||||
> .sub-menu {
|
> .sub-menu {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -148,4 +148,13 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin hex-rgba($property, $color) {
|
||||||
|
#{$property}: rgba(red($color), green($color), blue($color), alpha($color))
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin background-color($color) {
|
||||||
|
@include hex-rgba(background-color, $color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -281,6 +281,7 @@
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
@include chat-scrollbar-vertical();
|
@include chat-scrollbar-vertical();
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
|
|
|
@ -214,7 +214,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
color: #7979797F;
|
color: rgba(121, 121, 121, 0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,14 +84,14 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
border-radius: .1em;
|
border-radius: .1em;
|
||||||
|
|
||||||
background-color: #00000011;
|
background-color: rgba(0, 0, 0, 0.07);
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border-radius: .1em;
|
border-radius: .1em;
|
||||||
|
|
||||||
background-color: #00330011;
|
background-color: rgba(0, 51, 0, 0.07);
|
||||||
border: 1px solid red;
|
border: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
color: hsla(0, 0%, 40%, 1);
|
color: hsla(0, 0%, 40%, 1);
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #00000045;
|
background-color: rgba(0, 0, 0, 0.27);
|
||||||
|
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
||||||
|
@ -250,14 +250,14 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
border-radius: .1em;
|
border-radius: .1em;
|
||||||
|
|
||||||
background-color: #00000011;
|
background-color: rgba(0, 0, 0, 0.07);
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border-radius: .1em;
|
border-radius: .1em;
|
||||||
|
|
||||||
background-color: #00330011;
|
background-color: rgba(0, 51, 0, 0.07);
|
||||||
border: 1px solid red;
|
border: 1px solid red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -316,15 +316,15 @@
|
||||||
border-radius: $border_radius_middle;
|
border-radius: $border_radius_middle;
|
||||||
|
|
||||||
&.container-error {
|
&.container-error {
|
||||||
border-color: #8000007F;
|
border-color: rgba(128, 0, 0, 0.5);
|
||||||
background-color: #80000040;
|
background-color: rgba(128, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.container-success {
|
&.container-success {
|
||||||
margin-top: .5em;
|
margin-top: .5em;
|
||||||
|
|
||||||
border-color: #328f3340;
|
border-color: rgba(50, 143, 51, 0.25);
|
||||||
background-color: #328f3320;
|
background-color: rgba(50, 143, 51, 0.13);
|
||||||
}
|
}
|
||||||
|
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
@ -423,11 +423,11 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
&.bg-danger {
|
&.bg-danger {
|
||||||
background-color: #8000007F;
|
background-color: rgba(128, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bg-success {
|
&.bg-success {
|
||||||
background-color: #328f337F;
|
background-color: rgba(50, 143, 51, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@include transition(width 1s ease-in-out, background-color $button_hover_animation_time ease-in-out);
|
@include transition(width 1s ease-in-out, background-color $button_hover_animation_time ease-in-out);
|
||||||
|
|
|
@ -283,7 +283,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #00000033;
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -487,7 +487,7 @@
|
||||||
.btn {
|
.btn {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
background-color: #0000007F;
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-radius: $border_radius_middle;
|
border-radius: $border_radius_middle;
|
||||||
|
@ -505,10 +505,10 @@
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: #00000045;
|
background-color: rgba(0, 0, 0, 0.27);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #00000045;
|
background-color: rgba(0, 0, 0, 0.27);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -611,7 +611,7 @@
|
||||||
@include transition(.4s);
|
@include transition(.4s);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
box-shadow: 0 0 .2em 1px #00000044;
|
box-shadow: 0 0 .2em 1px rgba(0, 0, 0, 0.27);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dot {
|
.dot {
|
||||||
|
@ -624,7 +624,7 @@
|
||||||
bottom: $slider_height / 2 - $ball_inner_width / 2;
|
bottom: $slider_height / 2 - $ball_inner_width / 2;
|
||||||
|
|
||||||
background-color: #a5a5a5;
|
background-color: #a5a5a5;
|
||||||
box-shadow: 0 0 1em 1px #a5a5a566;
|
box-shadow: 0 0 1em 1px rgba(165, 165, 165, 0.4);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
@include transition(.4s);
|
@include transition(.4s);
|
||||||
|
@ -684,7 +684,7 @@
|
||||||
left: ($button_size - $mark_size) / 2;
|
left: ($button_size - $mark_size) / 2;
|
||||||
|
|
||||||
background-color: #46c0ec;
|
background-color: #46c0ec;
|
||||||
box-shadow: 0 0 .5em 1px #46c0ec66;
|
box-shadow: 0 0 .5em 1px rgba(70, 192, 236, 0.4);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
@include transition(.4s);
|
@include transition(.4s);
|
||||||
|
|
|
@ -1,164 +0,0 @@
|
||||||
.container-frame-chat {
|
|
||||||
font-family: Arial, serif;
|
|
||||||
font-size: 12px;
|
|
||||||
/*white-space: pre;*/
|
|
||||||
line-height: 1;
|
|
||||||
padding: 2px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
flex-grow: 1;
|
|
||||||
|
|
||||||
div, a {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.messages {
|
|
||||||
border-color: #6f6f6f;
|
|
||||||
border-radius: 2px 2px 2px 0;
|
|
||||||
border-style: solid;
|
|
||||||
overflow-y: auto;
|
|
||||||
flex-grow: 1;
|
|
||||||
|
|
||||||
.message_box {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
.message {
|
|
||||||
width: 100%;
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
* {
|
|
||||||
display: inline;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.event-message { /* special formated messages */
|
|
||||||
&.event-partner-disconnect {
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.event-partner-connect {
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.event-partner-closed {
|
|
||||||
color: orange;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.chats {
|
|
||||||
max-width: 100%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
flex-grow: 0;
|
|
||||||
overflow: auto;
|
|
||||||
overflow-y: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
margin-top: -1px;
|
|
||||||
display: flex;
|
|
||||||
user-select: none;
|
|
||||||
|
|
||||||
.chat {
|
|
||||||
background: #5f5f5f5f;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid #6f6f6f;
|
|
||||||
border-radius: 0 0 2px 2px;
|
|
||||||
vertical-align: middle;
|
|
||||||
padding-right: 5px;
|
|
||||||
padding-left: 2px;
|
|
||||||
cursor: pointer;
|
|
||||||
height: 18px;
|
|
||||||
|
|
||||||
.btn_close {
|
|
||||||
display: none;
|
|
||||||
|
|
||||||
float: none;
|
|
||||||
margin-right: -5px;
|
|
||||||
margin-left: 8px;
|
|
||||||
|
|
||||||
&:hover, &:focus {
|
|
||||||
color: black;
|
|
||||||
text-decoration: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.name, .chat-type {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.closeable {
|
|
||||||
.btn_close {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.active {
|
|
||||||
background: #11111111;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.offline {
|
|
||||||
.name {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.unread {
|
|
||||||
.name {
|
|
||||||
color: blue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.input {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: stretch;
|
|
||||||
|
|
||||||
height: auto;
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 2px;
|
|
||||||
position: relative;
|
|
||||||
flex-shrink: 0;
|
|
||||||
|
|
||||||
.bmd-form-group {
|
|
||||||
flex-grow: 1;
|
|
||||||
flex-shrink: 1;
|
|
||||||
|
|
||||||
margin-right: 5px;
|
|
||||||
padding-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.form-group {
|
|
||||||
flex-grow: 1;
|
|
||||||
flex-shrink: 1;
|
|
||||||
margin: 0 5px 0 0;
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
height: 30px;
|
|
||||||
min-height: 30px;
|
|
||||||
max-height: 80px;
|
|
||||||
|
|
||||||
resize: vertical;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding-top: 1px;
|
|
||||||
padding-bottom: 1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -330,7 +330,6 @@ const loader_style = {
|
||||||
"css/static/scroll.css",
|
"css/static/scroll.css",
|
||||||
"css/static/channel-tree.css",
|
"css/static/channel-tree.css",
|
||||||
"css/static/ts/tab.css",
|
"css/static/ts/tab.css",
|
||||||
"css/static/ts/chat.css",
|
|
||||||
"css/static/ts/icons.css",
|
"css/static/ts/icons.css",
|
||||||
"css/static/ts/icons_em.css",
|
"css/static/ts/icons_em.css",
|
||||||
"css/static/ts/country.css",
|
"css/static/ts/country.css",
|
||||||
|
|
Loading…
Add table
Reference in a new issue