Implement push notification toggle in device detail (#9308)
Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
ace6591f43
commit
641cf28e4c
13 changed files with 269 additions and 3 deletions
|
@ -46,6 +46,13 @@ limitations under the License.
|
|||
|
||||
.mx_DeviceDetails_sectionHeading {
|
||||
margin: 0;
|
||||
|
||||
.mx_DeviceDetails_sectionSubheading {
|
||||
display: block;
|
||||
font-size: $font-12px;
|
||||
color: $secondary-content;
|
||||
line-height: $font-14px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_DeviceDetails_metadataTable {
|
||||
|
@ -81,3 +88,10 @@ limitations under the License.
|
|||
align-items: center;
|
||||
gap: $spacing-4;
|
||||
}
|
||||
|
||||
.mx_DeviceDetails_pushNotifications {
|
||||
display: block;
|
||||
.mx_ToggleSwitch {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,10 @@ limitations under the License.
|
|||
|
||||
background-color: $togglesw-off-color;
|
||||
opacity: 0.5;
|
||||
|
||||
&[aria-disabled="true"] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_ToggleSwitch_enabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue