2020-08-05 18:38:55 +02:00
|
|
|
/*
|
|
|
|
Copyright 2020 Bruno Windels <bruno@windels.cloud>
|
2020-08-12 11:52:03 +02:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
2020-08-05 18:38:55 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
2020-08-12 16:32:49 +02:00
|
|
|
@import url('font.css');
|
2019-06-16 15:21:20 +02:00
|
|
|
@import url('layout.css');
|
2020-05-03 01:08:53 +02:00
|
|
|
@import url('login.css');
|
2019-06-16 15:21:20 +02:00
|
|
|
@import url('left-panel.css');
|
|
|
|
@import url('room.css');
|
|
|
|
@import url('timeline.css');
|
|
|
|
@import url('avatar.css');
|
2020-04-30 18:28:21 +02:00
|
|
|
@import url('spinner.css');
|
2020-08-12 11:52:03 +02:00
|
|
|
@import url('form.css');
|
|
|
|
@import url('status.css');
|
2019-06-16 15:21:20 +02:00
|
|
|
|
2020-08-07 19:15:17 +02:00
|
|
|
/* only if the body contains the whole app (e.g. we're not embedded in a page), make some changes */
|
2020-08-12 11:42:42 +02:00
|
|
|
body.hydrogen {
|
2020-08-07 19:15:17 +02:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2020-08-12 11:42:42 +02:00
|
|
|
.hydrogen {
|
2019-06-16 15:21:20 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-05 23:18:31 +02:00
|
|
|
.hiddenWithLayout {
|
2020-04-30 18:28:21 +02:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-05-05 23:18:31 +02:00
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|