1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-08 09:43:42 +01:00
bitwarden-browser/apps/desktop/src/scss/vault.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

165 lines
2.6 KiB
SCSS
Raw Normal View History

2018-01-27 19:12:06 +01:00
@import "variables.scss";
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079) * [refactor] Remove references to deprecated services * [feature] Implement account switching * [bug] Fix state handling for authentication dependent system menu items * [bug] Enable the account switcher to fucntion properly when switching to a locked accounts * [feature] Enable locking any account from the menu * [bug] Ensure the avatar instance used in the account switcher updates on account change * [style] Fix lint complaints * [bug] Ensure the logout command callback can handle any user in state * [style] Fix lint complaints * rollup * [style] Fix lint complaints * [bug] Don't clean up state until everything else is done on logout * [bug] Navigate to vault on a succesful account switch * [bug] Init the state service on start * [feature] Limit account switching to 5 account maximum * [bug] Resolve app lock state with 5 logged out accounts * [chore] Update account refrences to match recent jslib restructuring * [bug] Add missing awaits * [bug] Update app menu on logout * [bug] Hide the switcher if there are no authed accounts * [bug] Move authenticationStatus display information out of jslib * [bug] Remove unused active style from scss * [refactor] Rewrite the menu bar * [style] Fix lint complaints * [bug] Clean state of loggout out user after redirect * [bug] Redirect on logout if not explicity provided a userId that isn't active * [bug] Relocated several settings items to persistant storage * [bug] Correct account switcher styles on all themes * [chore] Include state migration service in services * [bug] Swap to next account on logout * [bug] Correct DI service * [bug] fix loginGuard deps in services.module * [chore] update jslib * [bug] Remove badly merged scss * [chore] update jslib * [review] Code review cleanup * [review] Code review cleanup Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 23:32:00 +01:00
app-root {
display: flex;
flex-flow: column;
height: 100%;
}
#container {
height: 100%;
min-height: 0;
}
2021-02-03 22:24:49 +01:00
.vault {
2018-01-31 22:51:59 +01:00
height: 100%;
2018-01-27 19:12:06 +01:00
display: flex;
2021-12-20 15:47:17 +01:00
> .items > div,
2021-02-03 22:24:49 +01:00
> .details,
> .logo {
2018-01-27 19:12:06 +01:00
display: flex;
2018-02-01 03:04:04 +01:00
flex-direction: column;
2021-12-20 15:47:17 +01:00
2018-02-01 03:04:04 +01:00
.inner-content {
padding: 10px 15px;
2021-12-20 15:47:17 +01:00
}
}
2018-01-27 19:12:06 +01:00
2022-02-14 21:43:05 +01:00
> .items {
order: 2;
2018-01-27 19:12:06 +01:00
width: 28%;
min-width: 200px;
2018-05-30 15:28:19 +02:00
max-width: 350px;
border-right: 1px solid #000000;
@include themify($themes) {
2018-10-26 05:04:14 +02:00
background-color: themed("backgroundColor");
border-right-color: themed("borderColor");
}
2018-01-29 22:13:37 +01:00
.no-items {
display: flex;
2018-01-31 23:58:06 +01:00
height: 100%;
2018-01-29 22:13:37 +01:00
flex-direction: column;
2018-01-31 23:58:06 +01:00
justify-content: center;
2018-01-29 22:13:37 +01:00
align-items: center;
text-align: center;
padding: 0 10px;
.no-items-image {
@include themify($themes) {
content: url("../images/search-desktop" + themed("svgSuffix"));
}
}
.bwi {
2018-01-29 22:13:37 +01:00
margin-bottom: 10px;
@include themify($themes) {
color: themed("disabledIconColor");
}
2021-12-20 15:47:17 +01:00
}
}
}
2018-01-31 18:52:12 +01:00
> .details {
flex: 1;
min-width: 0;
[Feature] End User Vault Refresh (#2545) * Initial org filter work * update jslib * Move filter to below cipher length check * don't show vault filter in personal or org folder * Use family icon for families org * jslib and auth guard updates * lint fixes * rename GroupingsComponent to VaultFilterComponent * fix no folder showing all items * Add checks for PersonalOwnership policy * update css class names * lint fixes * cleanup * Some final cleanup * import order lint fix * remove unused import * Use smaller icon for chevron * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * fix lint error * remove extra localizations * rename orgFilter -> vaultSelect * Rename orgFilterService to VaultSelectService * lint fixes * combine vault select service with vault filter service * Use base vault filter service methods * Use VaultFilter model and other small fixes * lint fixes * Final restructuring pass * Update jslib and remove extra function * Remove extra imports * remove space * Remove vaultFilterService from background services * Update jslib to latest on feature branch * merge fix * update jslib * [feat] Implement EUVR for desktop Should contain only https://github.com/bitwarden/desktop/pull/1487, with merge resolutions and style fixes * [fix] Delete unused GroupingsComponentTemplate * [dep] Update jslib Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2022-05-09 14:19:18 +02:00
order: 3;
2021-12-20 15:47:17 +01:00
2018-01-31 18:52:12 +01:00
@include themify($themes) {
background-color: themed("backgroundColorAlt2");
2018-01-27 19:12:06 +01:00
}
2021-02-03 22:24:49 +01:00
.inner-content {
min-width: 400px;
2021-12-20 15:47:17 +01:00
}
.box {
max-width: 550px;
margin: 30px auto 0 auto;
&:first-child {
margin-top: 10px;
}
&:last-child {
2018-05-31 04:28:04 +02:00
margin-bottom: 30px;
2021-12-20 15:47:17 +01:00
}
}
> form {
display: flex;
flex-direction: column;
height: 100%;
}
.footer {
button {
margin-right: 10px;
&:last-child {
margin-right: 0;
}
}
}
2021-12-20 15:47:17 +01:00
}
> .logo {
flex: 1;
min-width: 0;
[Feature] End User Vault Refresh (#2545) * Initial org filter work * update jslib * Move filter to below cipher length check * don't show vault filter in personal or org folder * Use family icon for families org * jslib and auth guard updates * lint fixes * rename GroupingsComponent to VaultFilterComponent * fix no folder showing all items * Add checks for PersonalOwnership policy * update css class names * lint fixes * cleanup * Some final cleanup * import order lint fix * remove unused import * Use smaller icon for chevron * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * Update src/popup/vault/organization-filter.component.ts Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * fix lint error * remove extra localizations * rename orgFilter -> vaultSelect * Rename orgFilterService to VaultSelectService * lint fixes * combine vault select service with vault filter service * Use base vault filter service methods * Use VaultFilter model and other small fixes * lint fixes * Final restructuring pass * Update jslib and remove extra function * Remove extra imports * remove space * Remove vaultFilterService from background services * Update jslib to latest on feature branch * merge fix * update jslib * [feat] Implement EUVR for desktop Should contain only https://github.com/bitwarden/desktop/pull/1487, with merge resolutions and style fixes * [fix] Delete unused GroupingsComponentTemplate * [dep] Update jslib Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
2022-05-09 14:19:18 +02:00
order: 3;
2018-01-27 19:12:06 +01:00
.content {
overflow-y: hidden;
overflow-x: auto;
}
.inner-content {
2021-02-05 18:34:01 +01:00
min-width: 320px;
height: 100%;
2018-01-27 19:12:06 +01:00
display: flex;
flex-direction: column;
2018-01-27 19:12:06 +01:00
align-items: center;
justify-content: center;
2021-12-20 15:47:17 +01:00
}
2018-01-27 19:12:06 +01:00
2018-05-30 21:21:41 +02:00
img {
width: 284px;
opacity: 0.3;
transition: all 1s ease-in-out;
2018-01-27 19:12:06 +01:00
&:hover {
opacity: 1;
2021-12-20 15:47:17 +01:00
}
}
}
2018-01-27 19:12:06 +01:00
.content {
flex: 1 1 auto;
position: relative;
2021-12-20 15:47:17 +01:00
overflow: auto;
2018-01-27 19:12:06 +01:00
height: 100%;
}
2018-01-29 22:13:37 +01:00
.footer {
height: 55px;
flex: 0 0 auto;
2018-05-30 21:21:41 +02:00
border-top: 1px solid #000000;
2018-01-29 22:13:37 +01:00
display: flex;
align-items: center;
2018-01-27 19:12:06 +01:00
padding: 0 15px;
2021-12-20 15:47:17 +01:00
2021-02-05 18:34:01 +01:00
@include themify($themes) {
background-color: themed("backgroundColorAlt");
2018-06-01 22:58:24 +02:00
border-top-color: themed("borderColor");
2018-01-27 19:12:06 +01:00
}
2021-02-05 18:34:01 +01:00
2021-12-20 15:47:17 +01:00
.right {
2018-01-27 20:43:29 +01:00
margin-left: auto;
2021-02-05 18:34:01 +01:00
display: flex;
2021-12-20 15:47:17 +01:00
}
}
2018-01-27 19:12:06 +01:00
}