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