/*
Copyright 2020 Bruno Windels <bruno@windels.cloud>
Copyright 2020 The Matrix.org Foundation C.I.C.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
@import url('font.css');
@import url('layout.css');
@import url('popup.css');
@import url('login.css');
@import url('left-panel.css');
@import url('right-panel.css');
@import url('room.css');
@import url('timeline.css');
@import url('avatar.css');
@import url('spinner.css');
@import url('form.css');
@import url('status.css');

/* only if the body contains the whole app (e.g. we're not embedded in a page), make some changes */
body.hydrogen {
    /* make sure to disable rubber-banding and pull to refresh in a PWA if we'd end up having a scrollbar */
    overscroll-behavior: none;
    /* disable rubberband scrolling on document in IE11 */
    overflow: hidden;
}

.hydrogen {
    margin: 0;
}

.hiddenWithLayout {
    visibility: hidden;
}

.hidden {
    display: none !important;
}

/* hide clear buttons in IE */
input::-ms-clear {
    display: none;
}
