From 6a2a72329c68191d2fbb86f810f9602088dc9971 Mon Sep 17 00:00:00 2001 From: Csaky Date: Tue, 21 Nov 2023 17:23:44 -0800 Subject: [PATCH] visual css adjustments after review --- app/app.ts | 2 +- frontend/src/assets/main.scss | 24 +++++++++++++++++-- .../src/components/bucket/BucketTable.vue | 8 +++---- .../components/object/ObjectFileDetails.vue | 2 +- .../src/components/object/ObjectMetadata.vue | 2 +- .../object/ObjectMetadataTagForm.vue | 4 ++-- .../src/components/object/ObjectTable.vue | 11 +++++---- frontend/src/components/object/ObjectTag.vue | 2 +- .../components/object/ObjectUploadBasic.vue | 7 +++--- .../components/object/ObjectUploadFile.vue | 2 +- .../src/components/object/ObjectVersion.vue | 11 +++++---- .../object/share/ShareLinkContent.vue | 2 +- .../object/share/ShareObjectButton.vue | 2 +- frontend/src/views/HomeView.vue | 12 +++++----- .../unit/components/layout/Footer.spec.ts | 1 - 15 files changed, 56 insertions(+), 36 deletions(-) diff --git a/app/app.ts b/app/app.ts index d3ea43d6..830e8db3 100644 --- a/app/app.ts +++ b/app/app.ts @@ -50,7 +50,7 @@ appRouter.get('/config', (_req: Request, res: Response, next: (err: unknown) => ...config.get('frontend'), gitRev: state.gitRev, idpList: state.idpList, - version: process.env.npm_package_version + version: appVersion }); } catch (err) { next(err); diff --git a/frontend/src/assets/main.scss b/frontend/src/assets/main.scss index b93fc89e..6d9594b8 100644 --- a/frontend/src/assets/main.scss +++ b/frontend/src/assets/main.scss @@ -30,6 +30,7 @@ body { "Droid Sans", "Helvetica Neue", sans-serif; + line-height: 1.6; font-weight: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; @@ -66,7 +67,6 @@ h5 { } p { - line-height: 1.5rem; margin-top: 0; } @@ -114,7 +114,7 @@ a:visited { margin: 1rem 5rem 1rem 5rem; } @media screen and (min-width: 1600px) { - margin: 1rem 10% 1rem 10%; + margin: 1rem 15% 1rem 15%; } } @@ -159,6 +159,7 @@ a:visited { } .p-button { + border-width: 2px; &:not(.p-button-secondary, .p-button-success, .p-button-info, .p-button-warning, .p-button-help, .p-button-danger) { color: $bcbox-primary; &:not(.p-button-outlined, .p-button-text) { @@ -233,9 +234,20 @@ a:visited { justify-content: right; } + .header-center .p-column-header-content { + justify-content: center; + } + .content-center { + text-align: center !important; + } + .header-right .p-column-header-content { + justify-content: right; + } .action-buttons { text-align: right; + // width: 150px; } + .action-buttons .p-button { padding: 0; margin-left: 1rem; @@ -257,6 +269,7 @@ a:visited { /* modals */ .bcbox-info-dialog { + width: 800px; .p-dialog-header { padding-bottom: 0; @@ -291,6 +304,13 @@ a:visited { justify-content: left; } +.p-disabled .p-tabview-nav-link { + color: gray; +} +.p-tabview-nav:not(.p-disabled) .p-tabview-nav-link { + border-color: $bcbox-link-text; +} + /* side panel */ .side-panel { diff --git a/frontend/src/components/bucket/BucketTable.vue b/frontend/src/components/bucket/BucketTable.vue index 26edfd5b..e42d110e 100644 --- a/frontend/src/components/bucket/BucketTable.vue +++ b/frontend/src/components/bucket/BucketTable.vue @@ -262,7 +262,7 @@ watch(getBuckets, () => { v-if="!getIsLoading" class="flex justify-content-center" > -

There are no buckets associated with your account.

+

There are no buckets associated with your account.