Device manager - extract filtered device list header (#9323)

* extract filtered device list header

* stylelint
This commit is contained in:
Kerry 2022-09-29 09:22:00 +02:00 committed by GitHub
parent c3bfb6e4a9
commit 951cad98d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 144 additions and 28 deletions

View file

@ -20,26 +20,6 @@ limitations under the License.
}
}
.mx_FilteredDeviceList_header {
display: flex;
flex-direction: row;
align-items: center;
box-sizing: border-box;
width: 100%;
height: 48px;
padding: 0 $spacing-16;
margin-bottom: $spacing-32;
background-color: $system;
border-radius: 8px;
color: $secondary-content;
}
.mx_FilteredDeviceList_headerLabel {
flex: 1 1 100%;
}
.mx_FilteredDeviceList_list {
list-style-type: none;
display: grid;

View file

@ -0,0 +1,36 @@
/*
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_FilteredDeviceListHeader {
display: flex;
flex-direction: row;
align-items: center;
box-sizing: border-box;
gap: $spacing-8;
width: 100%;
height: 48px;
padding: 0 $spacing-16;
margin-bottom: $spacing-32;
background-color: $system;
border-radius: 8px;
color: $secondary-content;
}
.mx_FilteredDeviceListHeader_label {
flex: 1 1 100%;
}