Live location sharing - extract live time UI for reuse (#8283)
* extract livetimeremaining into own component Signed-off-by: Kerry Archibald <kerrya@element.io> * extract LiveTimeRemaining for reuse in beacon timeline Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
e90ee38e4b
commit
4b7840bf78
5 changed files with 100 additions and 63 deletions
20
res/css/components/views/beacon/_LiveTimeRemaining.scss
Normal file
20
res/css/components/views/beacon/_LiveTimeRemaining.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
Copyright 2022 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.
|
||||
*/
|
||||
|
||||
.mx_LiveTimeRemaining {
|
||||
color: $secondary-content;
|
||||
font-size: $font-12px;
|
||||
}
|
|
@ -39,12 +39,6 @@ limitations under the License.
|
|||
font-size: $font-15px;
|
||||
}
|
||||
|
||||
.mx_RoomLiveShareWarning_expiry {
|
||||
color: $secondary-content;
|
||||
font-size: $font-12px;
|
||||
margin-right: $spacing-16;
|
||||
}
|
||||
|
||||
.mx_RoomLiveShareWarning_spinner {
|
||||
margin-right: $spacing-16;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue