Live location sharing - extract zoom buttons into component (#8235)
* extract out zoombuttons component * newline Signed-off-by: Kerry Archibald <kerrya@element.io> * stylelint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove skinned sdk Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
44d446be89
commit
df20821fd6
8 changed files with 242 additions and 2 deletions
45
res/css/components/views/location/_ZoomButtons.scss
Normal file
45
res/css/components/views/location/_ZoomButtons.scss
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
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_ZoomButtons {
|
||||
position: absolute;
|
||||
bottom: $spacing-32;
|
||||
right: $spacing-24;
|
||||
}
|
||||
|
||||
.mx_ZoomButtons_button {
|
||||
@mixin ButtonResetDefault;
|
||||
|
||||
margin-top: $spacing-8;
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
|
||||
background: $background;
|
||||
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.mx_ZoomButtons_icon {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
|
||||
color: $primary-content;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue