From 57964282ee52d5689dbb9a53a62d6681fdabb2a8 Mon Sep 17 00:00:00 2001 From: Emma Alexia Triphora Date: Thu, 24 Aug 2023 15:21:12 -0400 Subject: [PATCH] Miscellaneous CSS cleanup (and make the report modal look better) (#1334) --- assets/styles/components.scss | 54 +------------------------ components/ui/ModalConfirm.vue | 5 --- components/ui/ModalReport.vue | 35 ++++++---------- components/ui/ModalTransfer.vue | 5 --- pages/[type]/[id]/gallery.vue | 5 --- pages/[type]/[id]/settings/index.vue | 4 ++ pages/[type]/[id]/settings/links.vue | 4 ++ pages/[type]/[id]/version/[version].vue | 5 --- pages/user/[id].vue | 4 -- 9 files changed, 22 insertions(+), 99 deletions(-) diff --git a/assets/styles/components.scss b/assets/styles/components.scss index b497578bb..4482acae7 100644 --- a/assets/styles/components.scss +++ b/assets/styles/components.scss @@ -974,6 +974,8 @@ tr.button-transparent { display: flex; grid-gap: var(--spacing-card-sm); flex-wrap: wrap; + margin-top: var(--spacing-card-md); + justify-content: right; } .multiselect--above .multiselect__content-wrapper { @@ -1339,58 +1341,6 @@ button { } } -.legacy-label-styles { - label { - display: flex; - flex-direction: column; - margin-bottom: 0.5rem; - - &.no-margin { - margin-bottom: 0; - } - - @media screen and (min-width: 1024px) { - flex-direction: row; - align-items: center; - } - - > span { - flex: 2; - padding-right: var(--spacing-card-lg); - - &.no-padding { - padding-right: 0; - } - } - - > input, - > .multiselect, - > .input-group { - flex: 3; - height: fit-content; - } - - > input[type='button'] { - height: fit-content; - flex: 1; - } - - > input[type='button']:hover { - cursor: pointer; - } - - > div, - > a { - height: fit-content; - flex: 1; - } - - > div:hover { - cursor: pointer; - } - } -} - .input-group { display: flex; flex-direction: row; diff --git a/components/ui/ModalConfirm.vue b/components/ui/ModalConfirm.vue index d9c2a88b9..e796c9d25 100644 --- a/components/ui/ModalConfirm.vue +++ b/components/ui/ModalConfirm.vue @@ -123,10 +123,5 @@ export default { max-width: 100%; } } - - .button-group { - margin-left: auto; - margin-top: 1.5rem; - } } diff --git a/components/ui/ModalReport.vue b/components/ui/ModalReport.vue index 8af756686..a5c71f811 100644 --- a/components/ui/ModalReport.vue +++ b/components/ui/ModalReport.vue @@ -1,6 +1,6 @@