2020-08-05 22:08:55 +05:30
|
|
|
/*
|
|
|
|
Copyright 2020 Bruno Windels <bruno@windels.cloud>
|
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2021-09-15 22:00:08 +05:30
|
|
|
.Timeline {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-09-24 21:58:06 +05:30
|
|
|
/* needed to position the jump to bottom button */
|
2021-09-15 22:00:08 +05:30
|
|
|
position: relative;
|
2021-09-16 21:18:29 +05:30
|
|
|
min-height: 0;
|
2021-09-15 22:00:08 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.Timeline_jumpDown {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2019-06-16 18:51:20 +05:30
|
|
|
|
2021-09-15 22:00:08 +05:30
|
|
|
.Timeline_scroller {
|
2021-09-13 19:10:15 +05:30
|
|
|
overflow-y: scroll;
|
2021-09-13 16:41:25 +05:30
|
|
|
overscroll-behavior-y: contain;
|
|
|
|
overflow-anchor: none;
|
2021-09-07 18:47:27 +05:30
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-09-10 18:17:05 +05:30
|
|
|
/* need to read the offsetTop of tiles relative to this element in TimelineView */
|
|
|
|
position: relative;
|
2021-09-15 22:00:08 +05:30
|
|
|
min-height: 0;
|
|
|
|
flex: 1 0 0;
|
2021-09-07 18:47:27 +05:30
|
|
|
}
|
|
|
|
|
2021-09-15 22:00:08 +05:30
|
|
|
.Timeline_scroller > ul {
|
2019-06-16 18:51:20 +05:30
|
|
|
list-style: none;
|
2021-09-13 19:09:56 +05:30
|
|
|
/* use small horizontal padding so first/last children margin isn't collapsed
|
|
|
|
at the edge and a scrollbar shows up when setting margin-top to bottom-align
|
|
|
|
content when there are not yet enough tiles to fill the viewport */
|
|
|
|
padding: 1px 0;
|
2019-06-16 18:51:20 +05:30
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.AnnouncementView {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-08-17 18:52:39 +05:30
|
|
|
|
|
|
|
.GapView {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2020-10-08 19:23:13 +05:30
|
|
|
.GapView > :nth-child(2) {
|
|
|
|
flex: 1;
|
2020-08-17 18:52:39 +05:30
|
|
|
}
|
2021-07-08 12:50:35 +05:30
|
|
|
|
|
|
|
.Timeline_messageBody img {
|
2021-07-09 03:11:05 +05:30
|
|
|
max-width: 400px;
|
|
|
|
max-height: 300px;
|
2021-07-08 12:50:35 +05:30
|
|
|
}
|