Always show sidebar toggle, also when sidebar is open

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-01-12 20:42:00 +01:00 коммит произвёл Ivan Sein
Родитель 6fefbf8f97
Коммит f72ed2da78
2 изменённых файлов: 13 добавлений и 34 удалений

Просмотреть файл

@ -453,10 +453,6 @@ video {
z-index: 90;
}
#video-fullscreen.public {
top: 89px;
}
#video-fullscreen,
.nameIndicator button,
#app-sidebar-trigger {
@ -608,32 +604,6 @@ video {
display: none !important;
}
/* As there is no header in fullscreen the buttons can be moved to the top. */
#app-content:-webkit-full-screen #app-sidebar-trigger {
top: 0;
}
#app-content:-moz-full-screen #app-sidebar-trigger {
top: 0;
}
#app-content:-ms-fullscreen #app-sidebar-trigger {
top: 0;
}
#app-content:fullscreen #app-sidebar-trigger {
top: 0;
}
#app-content:-webkit-full-screen #video-fullscreen {
top: 44px;
}
#app-content:-moz-full-screen #video-fullscreen {
top: 44px;
}
#app-content:-ms-fullscreen #video-fullscreen {
top: 44px;
}
#app-content:fullscreen #video-fullscreen {
top: 44px;
}
.localmediaerror h2 {
color: red;
@ -709,8 +679,8 @@ video {
}
#app-sidebar-trigger {
position: fixed;
top: 45px;
position: absolute;
top: 0;
right: 0;
/* Higher than the z-index of the emptycontent */
z-index: 50;
@ -768,6 +738,16 @@ video {
background: transparent;
}
/* Correctly position icons below header in public chat. */
#body-public {
#app-sidebar-trigger {
top: 45px;
}
#video-fullscreen {
top: 89px;
}
}
/* As the header is hidden (except for the logo), move the fullscreen button and
* sidebar to the top during calls */
#body-public #app-content:not(.participants-1) #app-sidebar,

Просмотреть файл

@ -55,8 +55,7 @@
*
* In order for the user to be able to open the sidebar when it is closed,
* the SidebarView shows a small icon ("#app-sidebar-trigger") on the right
* border of the document that opens the sidebar when clicked. When the
* sidebar is open the icon is hidden.
* border of the document that opens the sidebar when clicked.
*
* By default the sidebar is disabled, that is, it is closed and can not be
* opened, neither by the user nor programatically. Calling "enable()" will