2022-08-11 17:13:17 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2022-08-11 17:13:17 +08:00
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2022-08-11 17:13:17 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_DeviceDetails {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-08-15 23:30:18 +08:00
|
|
|
box-sizing: border-box;
|
2022-08-11 17:13:17 +08:00
|
|
|
|
2022-08-15 23:30:18 +08:00
|
|
|
margin-top: $spacing-16;
|
2022-12-20 09:17:05 +08:00
|
|
|
padding: $spacing-24;
|
2022-08-11 17:13:17 +08:00
|
|
|
border-radius: 8px;
|
2022-08-15 23:30:18 +08:00
|
|
|
border: 1px solid $quinary-content;
|
2022-08-11 17:13:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DeviceDetails_section {
|
2022-12-20 09:17:05 +08:00
|
|
|
padding-bottom: $spacing-20;
|
|
|
|
margin-bottom: $spacing-20;
|
2022-08-15 23:30:18 +08:00
|
|
|
border-bottom: 1px solid $quinary-content;
|
2022-08-11 17:13:17 +08:00
|
|
|
|
2022-08-17 17:58:34 +08:00
|
|
|
display: grid;
|
2022-12-20 09:17:05 +08:00
|
|
|
grid-gap: $spacing-24;
|
2022-09-14 20:37:36 +08:00
|
|
|
justify-content: left;
|
2022-09-15 22:34:50 +08:00
|
|
|
grid-template-columns: 100%;
|
2022-08-17 17:58:34 +08:00
|
|
|
|
2022-08-11 17:13:17 +08:00
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_DeviceDetails_sectionHeading {
|
|
|
|
margin: 0;
|
2022-09-27 20:35:54 +08:00
|
|
|
|
|
|
|
.mx_DeviceDetails_sectionSubheading {
|
|
|
|
display: block;
|
|
|
|
font-size: $font-12px;
|
|
|
|
color: $secondary-content;
|
|
|
|
line-height: $font-14px;
|
2022-12-20 09:17:05 +08:00
|
|
|
margin-top: $spacing-4;
|
2022-09-27 20:35:54 +08:00
|
|
|
}
|
2022-08-11 17:13:17 +08:00
|
|
|
}
|
|
|
|
|
2022-09-14 20:37:36 +08:00
|
|
|
.mx_DeviceDetails_metadataTable {
|
2023-08-01 18:31:21 +08:00
|
|
|
font: var(--cpd-font-body-sm-regular);
|
2022-08-11 17:13:17 +08:00
|
|
|
color: $secondary-content;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
border-spacing: 0;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding-top: $spacing-8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mxDeviceDetails_metadataLabel {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mxDeviceDetails_metadataValue {
|
|
|
|
color: $primary-content;
|
|
|
|
}
|
|
|
|
}
|
2022-09-15 00:18:32 +08:00
|
|
|
|
|
|
|
.mx_DeviceDetails_signOutButtonContent {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
gap: $spacing-4;
|
|
|
|
}
|
2022-09-27 20:35:54 +08:00
|
|
|
|
|
|
|
.mx_DeviceDetails_pushNotifications {
|
|
|
|
display: block;
|
|
|
|
.mx_ToggleSwitch {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|