gdm: Add "Login Failed" notification

One step toward implementing Web Login is adding the ability to
show "Login Failed" as a notification banner.

This is because with Web Login, the auth prompt is occluded so can't
be used to show an error message itself.

This commit adds the necessary code to show the Login Failed
notification, but doesn't actually call that code yet.

It will be used later when Web Login support is added.
This commit is contained in:
Ray Strode 2024-02-07 11:47:32 -05:00
parent c42d33aa46
commit 49f88b4fd6
2 changed files with 39 additions and 0 deletions

View file

@ -356,6 +356,19 @@ $_gdm_dialog_width: 25em;
}
}
// Login Failed banner
.auth-notification-banner {
.message-header {
width: 0px;
height: 0px;
.message-close-button {
border: none;
background-color: rgba(0, 0, 0, 0.0);
}
}
}
// QR Code
.qr-code {
background: black;