1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

PS-725 - add empty state image to Vault and Send pages in web and to the Vault page in the bowser extension (#3263)

This commit is contained in:
dgoodman-bw
2022-08-09 09:23:57 -07:00
committed by GitHub
parent 95bb429281
commit ecd6863abe
7 changed files with 88 additions and 0 deletions

View File

@@ -306,3 +306,18 @@ button i.bwi,
a i.bwi {
margin-right: 0.25rem;
}
.no-items {
display: flex;
height: 100%;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
.no-items-image {
@include themify($themes) {
content: url("../images/search-web" + themed("svgSuffix"));
}
}
}

View File

@@ -219,6 +219,7 @@ $themes: (
textMuted: #6c757d,
textSuccessColor: $white,
textWarningColor: $white,
svgSuffix: "-light.svg",
),
dark: (
primary: $darkPrimary,
@@ -330,6 +331,7 @@ $themes: (
textMuted: $darkGrey1,
textSuccessColor: $darkDarkBlue2,
textWarningColor: $darkDarkBlue2,
svgSuffix: "-dark.svg",
),
);