This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/ui/web/css/main.css

47 lines
1.3 KiB
CSS
Raw Normal View History

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