1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[PM-8771] Migrate the 404 page to Tailwind (#10116)

Redesign our 404 page and update to use Tailwind components.
This commit is contained in:
Oscar Hinton
2024-07-30 12:25:24 +02:00
committed by GitHub
parent 3b54bbd168
commit 339768947b
9 changed files with 61 additions and 210 deletions

View File

@@ -3,3 +3,25 @@
@tailwind utilities;
@import "../../../../libs/components/src/tw-theme.css";
/*
* Duplicated styling from Angular components.
*
* For use in non Angular pages like the 404 and connectors.
*/
@layer components {
.tw-h1 {
@apply tw-text-3xl tw-font-semibold;
}
.tw-btn {
@apply tw-font-semibold tw-py-1.5 tw-px-3 tw-rounded tw-transition tw-border tw-border-solid tw-text-center tw-no-underline hover:tw-no-underline focus:tw-outline-none;
}
.tw-btn-secondary {
@apply tw-btn;
@apply tw-bg-transparent tw-border-text-muted hover:tw-bg-text-muted hover:tw-border-text-muted hover:!tw-text-contrast disabled:tw-bg-transparent disabled:tw-border-text-muted/60 disabled:!tw-text-muted/60 disabled:tw-cursor-not-allowed;
@apply tw-text-muted !important;
}
}