Fixing some transparency issues related to MSEdge

Signed-off-by: WolverinDEV <git@teaspeak.de>
canary
WolverinDEV 2019-12-21 19:29:34 +01:00
parent f49e7bd527
commit 0cbd4b5fac
No known key found for this signature in database
GPG Key ID: 77A6C15085150EEB
14 changed files with 45 additions and 202 deletions

View File

@ -1029,7 +1029,7 @@ async function main(args: string[]) {
const switches = [];
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;
}
}

View File

@ -280,7 +280,7 @@
bottom: 0;
width: 1px;
background-color: #a814147F;
@include background-color(#a814147F);
opacity: 1;

View File

@ -102,10 +102,6 @@
&.active {
background-color: #2d2f32;
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;
border: 1px #2222223b solid;
border: 1px solid;
@include hex-rgba(border-color, #2222223b);
border-radius: 2px;
background: #e7e7e7;
padding-left: 2px;

View File

@ -31,9 +31,9 @@ $client_info_avatar_size: 10em;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
-moz-box-shadow: inset 0 0 5px #00000040;
-webkit-box-shadow: inset 0 0 5px #00000040;
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 rgba(0, 0, 0, 0.25);
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
.lane {
padding-right: 10px;
@ -925,7 +925,7 @@ $client_info_avatar_size: 10em;
color: #8b8b8b;
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;
opacity: 0;

View File

@ -17,9 +17,9 @@
background-color: #2e2e2e;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
-moz-box-shadow: inset 0 0 5px #00000040;
-webkit-box-shadow: inset 0 0 5px #00000040;
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 rgba(0, 0, 0, 0.25);
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
padding-bottom: 5px;
}

View File

@ -54,11 +54,11 @@
}
&:hover:not(.disabled) {
background-color: #00000044;
background-color: rgba(0, 0, 0, 0.27);
}
&.disabled {
background-color: #00000022;
background-color: rgba(0, 0, 0, 0.13);
}
.sub-menu {
@ -102,7 +102,7 @@
}
&.active {
background-color: #00000044;
background-color: rgba(0, 0, 0, 0.27);
> .sub-menu {
display: block;

View File

@ -148,4 +148,13 @@
white-space: nowrap;
overflow: hidden;
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);
}

View File

@ -281,6 +281,7 @@
justify-content: flex-start;
overflow-y: auto;
overflow-x: hidden;
@include chat-scrollbar-vertical();
.group {

View File

@ -214,7 +214,7 @@
flex-direction: column;
justify-content: space-around;
font-size: 1.25em;
color: #7979797F;
color: rgba(121, 121, 121, 0.5);
}
}

View File

@ -84,14 +84,14 @@
&:hover {
border-radius: .1em;
background-color: #00000011;
background-color: rgba(0, 0, 0, 0.07);
border: 1px solid black;
}
&.selected {
border-radius: .1em;
background-color: #00330011;
background-color: rgba(0, 51, 0, 0.07);
border: 1px solid red;
}
@ -115,7 +115,7 @@
color: hsla(0, 0%, 40%, 1);
position: absolute;
background-color: #00000045;
background-color: rgba(0, 0, 0, 0.27);
cursor: not-allowed;
@ -250,14 +250,14 @@
&:hover {
border-radius: .1em;
background-color: #00000011;
background-color: rgba(0, 0, 0, 0.07);
border: 1px solid black;
}
&.selected {
border-radius: .1em;
background-color: #00330011;
background-color: rgba(0, 51, 0, 0.07);
border: 1px solid red;
}
@ -316,15 +316,15 @@
border-radius: $border_radius_middle;
&.container-error {
border-color: #8000007F;
background-color: #80000040;
border-color: rgba(128, 0, 0, 0.5);
background-color: rgba(128, 0, 0, 0.25);
}
&.container-success {
margin-top: .5em;
border-color: #328f3340;
background-color: #328f3320;
border-color: rgba(50, 143, 51, 0.25);
background-color: rgba(50, 143, 51, 0.13);
}
padding: .5em;
@ -423,11 +423,11 @@
height: 100%;
&.bg-danger {
background-color: #8000007F;
background-color: rgba(128, 0, 0, 0.5);
}
&.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);

View File

@ -283,7 +283,7 @@
justify-content: center;
&:hover {
background: #00000033;
background: rgba(0, 0, 0, 0.2);
}
}
}

View File

@ -487,7 +487,7 @@
.btn {
cursor: pointer;
background-color: #0000007F;
background-color: rgba(0, 0, 0, 0.5);
border-width: 0;
border-radius: $border_radius_middle;
@ -505,10 +505,10 @@
&:disabled {
box-shadow: none;
background-color: #00000045;
background-color: rgba(0, 0, 0, 0.27);
&:hover {
background-color: #00000045;
background-color: rgba(0, 0, 0, 0.27);
}
}
@ -611,7 +611,7 @@
@include transition(.4s);
border-radius: 50%;
box-shadow: 0 0 .2em 1px #00000044;
box-shadow: 0 0 .2em 1px rgba(0, 0, 0, 0.27);
}
.dot {
@ -624,7 +624,7 @@
bottom: $slider_height / 2 - $ball_inner_width / 2;
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%;
@include transition(.4s);
@ -684,7 +684,7 @@
left: ($button_size - $mark_size) / 2;
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%;
@include transition(.4s);

View File

@ -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;
}
}
}

View File

@ -330,7 +330,6 @@ const loader_style = {
"css/static/scroll.css",
"css/static/channel-tree.css",
"css/static/ts/tab.css",
"css/static/ts/chat.css",
"css/static/ts/icons.css",
"css/static/ts/icons_em.css",
"css/static/ts/country.css",