ui: use screenfull to handle fullscreen, make the button state-aware, disable it when not supported (#99)

This commit is contained in:
jean-emmanuel 2017-09-05 21:08:33 +02:00
parent 0b1d2dabdb
commit 75ecb95e4b
4 changed files with 25 additions and 20 deletions

View file

@ -44,7 +44,7 @@
padding: 8rem;
flex: 1 1 auto;
flex-shrink:0;
li {
display: block;
margin-bottom: 8rem;
@ -95,9 +95,10 @@
&.on {
z-index: 0;
pointer-events: none;
color: var(--color-custom);
// background: var(--color-fg);
&:not(.fullscreenToggle) {
pointer-events: none;
}
&:after {
content: "";
position: absolute;