diff --git a/ChangeLog.md b/ChangeLog.md index 097edfb1..fba4bd69 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,12 @@ # Changelog: +* **04.04.19** + - Fixed issue with client icons not updating correctly (Showing invalid microphone state) + - Added multi server mode + - Connect URL not disconnecting from all other servers + - Open certificate accept URL in another tab + - Improved the host banner experience + - Hiding server group types in permission editor which are not editable + * **28.03.19** - Improved icon and avatar cache handling - Added an icon manager diff --git a/client/css/static/main.scss b/client/css/static/main.scss index aa2e8051..2ab1d888 100644 --- a/client/css/static/main.scss +++ b/client/css/static/main.scss @@ -13,7 +13,7 @@ html, body { height: 100%; position: absolute; display: flex; - justify-content: center; + justify-content: stretch; .app { width: 100%; diff --git a/shared/css/static/channel-tree.scss b/shared/css/static/channel-tree.scss index ee2eb2f4..9c35ab4b 100644 --- a/shared/css/static/channel-tree.scss +++ b/shared/css/static/channel-tree.scss @@ -1,3 +1,5 @@ +@import "properties"; + /* the channel tree */ .channel-tree { -webkit-touch-callout: none; @@ -60,7 +62,11 @@ } &.selected { - background-color: blue; + background-color: $channel_tree_entry_selected; + + .name { + color: whitesmoke; + } } } @@ -79,10 +85,6 @@ align-items: center; cursor: pointer; - &.selected { - background-color: blue; - } - .channel-type { flex-grow: 0; flex-shrink: 0; @@ -128,6 +130,13 @@ border-bottom: 1px solid black; } + &.selected { + background-color: $channel_tree_entry_selected; + .channel-name { + color: whitesmoke; + } + } + .show-channel-normal-only { display: none; @@ -191,7 +200,11 @@ } &.selected { - background-color: blue; + background-color: $channel_tree_entry_selected; + + .client-name { + color: whitesmoke; + } } } } diff --git a/shared/css/static/connection_handlers.scss b/shared/css/static/connection_handlers.scss new file mode 100644 index 00000000..710bcdd6 --- /dev/null +++ b/shared/css/static/connection_handlers.scss @@ -0,0 +1,119 @@ + +.container-connection-handlers { + height: 35px; + background-color: lightgray; + + border: 4px solid lightgray; + border-top: 1px dotted gray; + border-bottom-width: 0; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + + position: relative; + + .connection-handlers { + height: 100%; + width: fit-content; + + display: flex; + flex-direction: row; + justify-content: left; + + .connection-container { + flex-grow: 0; + flex-shrink: 0; + + cursor: pointer; + display: inline-flex; + + margin-top: 5px; + + padding-left: 5px; + padding-right: 5px; + + border: 1px #2222223b solid; + border-radius: 2px 2px 0 0; + + .server-icon { + align-self: center; + margin-right: 5px; + } + + .server-name { + align-self: center; + margin-right: 5px; + } + + .button-close { + align-self: center; + + &:hover { + background-color: #e7e7e7; + } + } + + &.active { + background-color: #FFFFFF33; + } + } + + &::-webkit-scrollbar { + display: none; + } + + overflow-x: auto; + overflow-y: visible; + } + + .container-scroll { + margin-top: 5px; + position: absolute; + + top: 0; + right: 0; + bottom: 0; + + display: none; + flex-direction: row; + + &.enabled { + display: flex; + } + + .button-scroll { + cursor: pointer; + + display: flex; + flex-direction: column; + justify-content: center; + + + border: 1px #2222223b solid; + border-radius: 2px; + background: #e7e7e7; + padding-left: 2px; + padding-right: 2px; + + &:hover { + background: #eeeeee; + } + + &.disabled { + background: #9e9e9e; + &:hover { + background: #9e9e9e; + } + } + } + } + + &.scrollbar { + .connection-handlers { + width: calc(100% - 45px); + } + } + +} \ No newline at end of file diff --git a/shared/css/static/control_bar.scss b/shared/css/static/control_bar.scss index a8d85a75..5febb716 100644 --- a/shared/css/static/control_bar.scss +++ b/shared/css/static/control_bar.scss @@ -6,6 +6,11 @@ $background:lightgray; display: flex; flex-direction: row; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + /* tmp fix for ultra small devices */ overflow-y: visible; @@ -99,8 +104,6 @@ $background:lightgray; border: 2px solid $border_color_activated; width: 230px; - user-select: none; - z-index: 1000; /*box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);*/ @@ -136,7 +139,7 @@ $background:lightgray; } } - &:hover.displayed { + &:hover.displayed, &.force-show { .dropdown { display: block; } diff --git a/shared/css/static/frame/SelectInfo.scss b/shared/css/static/frame/SelectInfo.scss index 2a98df19..2dd521bf 100644 --- a/shared/css/static/frame/SelectInfo.scss +++ b/shared/css/static/frame/SelectInfo.scss @@ -66,10 +66,12 @@ flex-grow: 1; flex-shrink: 2; + max-height: 25%; + min-height: 0; + display: flex; justify-content: stretch; - overflow: hidden; @@ -81,6 +83,12 @@ .hostbanner { position: relative; flex-grow: 1; + flex-shrink: 1; + + .meta-image { + display: none; + } + .image-container { display: flex; diff --git a/shared/css/static/general.scss b/shared/css/static/general.scss index e5ce36f2..0ab472a4 100644 --- a/shared/css/static/general.scss +++ b/shared/css/static/general.scss @@ -238,6 +238,7 @@ $animation_length: .5s; .app { min-width: 350px; + min-height: 330px; .container-app-main { position: relative; @@ -245,6 +246,7 @@ $animation_length: .5s; flex-direction: row; justify-content: stretch; + min-height: 0; height: 100%; width: 100%; @@ -254,9 +256,11 @@ $animation_length: .5s; } .container-control-bar { + flex-shrink: 0; + height: 45px; width: 100%; - border-radius: 2px 0 0 0; + border-radius: 2px 2px 0 0; border-bottom-width: 0; background-color: lightgrey; @@ -327,6 +331,12 @@ $animation_length: .5s; } } +@media only screen and (max-width: 400px), only screen and (max-height: 400px) { + .app-container { + overflow: auto; + } +} + @media only screen and (max-width: $small_device) { .app-container { right: 0; @@ -334,11 +344,12 @@ $animation_length: .5s; top: 0; transition: all $animation_length linear; - overflow: auto; + overflow: auto; } .app { .container-app-main { + .container-info { display: none; position: absolute; diff --git a/shared/css/static/properties.scss b/shared/css/static/properties.scss new file mode 100644 index 00000000..44e29f5d --- /dev/null +++ b/shared/css/static/properties.scss @@ -0,0 +1 @@ +$channel_tree_entry_selected: blue; \ No newline at end of file diff --git a/shared/css/static/ts/chat.scss b/shared/css/static/ts/chat.scss index 9fd2d806..0b5723f1 100644 --- a/shared/css/static/ts/chat.scss +++ b/shared/css/static/ts/chat.scss @@ -1,4 +1,4 @@ -#chat { +.container-frame-chat { font-family: Arial, serif; font-size: 12px; /*white-space: pre;*/ diff --git a/shared/html/templates.html b/shared/html/templates.html index e0b1799c..508fef85 100644 --- a/shared/html/templates.html +++ b/shared/html/templates.html @@ -12,12 +12,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
@@ -164,43 +195,47 @@
-
-
-
-
-
-
-
- -
- -
- -
-
-
+
-
-
- -
- -
-
-
+
+ + + + @@ -2313,8 +2351,13 @@