Device manager - device list filtering (PSG-648) (#9181)
* add device filtering * improve dropdown styling * test device filtering * update type imports * fix types * security card margin * more specific type for onFilterOptionChange
This commit is contained in:
parent
aa9191bc34
commit
6f2c761fb4
11 changed files with 529 additions and 43 deletions
|
@ -64,7 +64,7 @@ limitations under the License.
|
|||
margin: 0 0 $spacing-4 0;
|
||||
}
|
||||
.mx_DeviceSecurityCard_description {
|
||||
margin: 0 0 $spacing-8 0;
|
||||
margin: 0;
|
||||
font-size: $font-12px;
|
||||
color: $secondary-content;
|
||||
}
|
||||
|
|
|
@ -15,9 +15,45 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_FilteredDeviceList {
|
||||
.mx_Dropdown {
|
||||
flex: 1 0 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
grid-gap: $spacing-16;
|
||||
margin: 0;
|
||||
padding: 0 $spacing-8;
|
||||
}
|
||||
|
||||
.mx_FilteredDeviceList_securityCard {
|
||||
margin-bottom: $spacing-32;
|
||||
}
|
||||
|
||||
.mx_FilteredDeviceList_noResults {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-bottom: $spacing-32;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue