Device manager - device type icon (#9355)
* record device client inforamtion events on app start * matrix-client-information -> matrix_client_information * fix types * remove another unused export * add docs link * display device client information in device details * update snapshots * integration-ish test client information in metadata * tests * fix tests * export helper * DeviceClientInformation type * Device manager - select all devices (#9330) * add device selection that does nothing * multi select and sign out of sessions * test multiple selection * fix type after rebase * select all sessions * rename type * use ExtendedDevice type everywhere * rename clientName to appName for less collision with UA parser * fix bad find and replace * rename ExtendedDeviceInfo to ExtendedDeviceAppInfo * rename DeviceType comp to DeviceTypeIcon * update tests for new required property deviceType * add stubbed user agent parsing * add icons * set device type icon * device type icon tets * update snapshots for device type icon changes * desktop icon viewbox * i18n
This commit is contained in:
parent
8399b63e7a
commit
5e18abe7f7
13 changed files with 222 additions and 90 deletions
|
@ -22,7 +22,7 @@ limitations under the License.
|
|||
padding: 0 $spacing-8 $spacing-8 0;
|
||||
}
|
||||
|
||||
.mx_DeviceTypeIcon_deviceIcon {
|
||||
.mx_DeviceTypeIcon_deviceIconWrapper {
|
||||
--background-color: $system;
|
||||
--icon-color: $secondary-content;
|
||||
|
||||
|
@ -36,11 +36,16 @@ limitations under the License.
|
|||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
.mx_DeviceTypeIcon_selected .mx_DeviceTypeIcon_deviceIcon {
|
||||
.mx_DeviceTypeIcon_selected .mx_DeviceTypeIcon_deviceIconWrapper {
|
||||
--background-color: $primary-content;
|
||||
--icon-color: $background;
|
||||
}
|
||||
|
||||
.mx_DeviceTypeIcon_deviceIcon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.mx_DeviceTypeIcon_verificationIcon {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue