mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
feat: add change indicator on settings page
This commit is contained in:
@@ -188,6 +188,7 @@
|
||||
}
|
||||
|
||||
> label {
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
@@ -263,7 +264,14 @@
|
||||
}
|
||||
|
||||
// stylelint-disable-next-line
|
||||
form label:has(:global(.pending-changes)) {
|
||||
color: var(--md-sys-color-tertiary);
|
||||
label:global(:has(.pending-changes)) {
|
||||
color: var(--md-sys-color-primary);
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
right: 0.25em;
|
||||
content: "•";
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user