diff --git a/frontend/index.html b/frontend/index.html index b3c29836..7ce682c6 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -9,6 +9,7 @@ +
{formatCurrency(costBenefitResult.costPerReport)}
padding */ - border: 0.1rem solid var(--color-primary-900); - border-radius: 15px; - transition: border-color 0.3s ease; - overflow-y: auto; - resize: vertical; /* Allows resizing */ - box-sizing: border-box; /* Prevents width issues due to padding */ -} - - - \ No newline at end of file diff --git a/frontend/src/main-page/grants/styles/GrantItem.css b/frontend/src/main-page/grants/styles/GrantItem.css deleted file mode 100644 index 861a2e05..00000000 --- a/frontend/src/main-page/grants/styles/GrantItem.css +++ /dev/null @@ -1,73 +0,0 @@ -.grant-item-wrapper { - margin: 0.25rem 0rem; - transition: all 0.3s ease-in-out; - width: 100%; -} - -.grant-summary { - list-style-type: none; - /* justify-content: space-between; */ - border-radius: 15px; - - background-color: var(--color-grey-150); - /* margin: 0; Remove margin */ - transition: background-color 0.2s ease; - border: 0.1rem solid var(--color-primary-900); -} - -.grant-summary.expanded { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - width: 100%; -} - -.grant-summary li { - /* padding: 0 1rem; internal to the actual data */ - color: black; - /* margin: 0; Remove margin */ -} - -.grant-content { - display: flex; - gap: 2rem; /* Adds space between the two sections */ - width: 100%; - margin: 0; - align-items: stretch; -} - -.grant-content .grant-details { - flex: 1; /* this child takes up leftover horizontal space */ - min-width: 0; /* prevent overflow from long content */ -} - -.grant-body { - max-height: 0; /* Collapsed state */ - min-height: 0; - overflow: hidden; - transition: max-height 1s ease, background-color 0.2s ease; - border-bottom-right-radius: 15px; - border-bottom-left-radius: 15px; -} - -.grant-body.expanded { - max-height: 100%; - padding: 1rem; - border: 0.1rem solid var(--color-primary-900); - border-top-width: 0cap; -} - -.grant-item.expanded { - flex-direction: column; - max-height: 5rem; -} - -.bottom-buttons { - display: flex; /* Use flexbox to position the button */ - justify-content: flex-end; /* Align the button to the right */ - padding-top: 1rem; /* Optional: Add some space above the button */ -} - -.gray-label { - color: black; - background-color: var(--color-grey-400); -} diff --git a/frontend/src/main-page/grants/styles/GrantLabels.css b/frontend/src/main-page/grants/styles/GrantLabels.css deleted file mode 100644 index 78a2a5b1..00000000 --- a/frontend/src/main-page/grants/styles/GrantLabels.css +++ /dev/null @@ -1,10 +0,0 @@ -.grant-labels { - /* display: flex; */ - /* list-style-type: none; */ - /* justify-content: space-between; */ - color: black; -} - -.grant-labels button { - background-color: transparent; -} \ No newline at end of file diff --git a/frontend/src/main-page/grants/styles/GrantList.css b/frontend/src/main-page/grants/styles/GrantList.css deleted file mode 100644 index ddc90dd9..00000000 --- a/frontend/src/main-page/grants/styles/GrantList.css +++ /dev/null @@ -1,9 +0,0 @@ -.grant-list { - display: flex; - height: 100%; - flex-direction: column; - justify-content: space-around; - border-radius: 15px; - background: var(--color-primary-700); -/* padding: 0.5em; */ -} diff --git a/frontend/src/main-page/grants/styles/GrantPage.css b/frontend/src/main-page/grants/styles/GrantPage.css deleted file mode 100644 index b92f7146..00000000 --- a/frontend/src/main-page/grants/styles/GrantPage.css +++ /dev/null @@ -1,43 +0,0 @@ -html, body { - margin: 0; - padding: 0; - height: 100%; - overflow-x: hidden; -} - -/* Main container styling */ -.grant-page { - display: flex; - flex-direction: column; - justify-content: flex-start; - background-color: -var(--color-grey-150); - width: 100%; - height: 100%; - overflow-y: auto; - padding-bottom: 1em; -} - -.sortbar { - border-radius: 15px; -} - -/* Main actions on the grant list (SEARCH, FILTER, ADD) */ -.action-bar { - display: flex; - align-items: center; - justify-content: space-between; - width: 100%; - height: 125px; - padding: 1rem 2rem 1rem 2rem; -} - -.right-action-bar { - display: flex; - align-items: center; - justify-content: space-between; -} - -.bot-half { - display: flex; - flex-direction: column; -} diff --git a/frontend/src/main-page/grants/styles/GrantSearch.css b/frontend/src/main-page/grants/styles/GrantSearch.css deleted file mode 100644 index eaa7d3df..00000000 --- a/frontend/src/main-page/grants/styles/GrantSearch.css +++ /dev/null @@ -1,38 +0,0 @@ -.search-bar-main-container { - width: 100%; - min-width: 300px; -} - -.search-container { - position: relative; - display: flex; - align-items: center; - gap: 8px; - height: 42px; -} - -.search-input-container { - position: relative; - width: 100%; - border: 0px solid black; - border-radius: 15px; -} - -.search-input { - color: black; - padding: 8px; - border-radius: 15px; - border: 0.1rem solid var(--color-grey-500); - width: 100%; - background-color: var(--color-grey-100); -} - -.search-input:focus { - outline: none !important; - border:0.1rem solid var(--color-primary-800); -} - - -.filter-state { - color: whitesmoke; -} \ No newline at end of file diff --git a/frontend/src/main-page/navbar/Bell.tsx b/frontend/src/main-page/navbar/Bell.tsx index 81f2dc0b..93ec4228 100644 --- a/frontend/src/main-page/navbar/Bell.tsx +++ b/frontend/src/main-page/navbar/Bell.tsx @@ -45,14 +45,14 @@ const BellButton: React.FC = observer(({ setOpenModal, openModa return ( {notifications.length > 0 && ( { }; return ( -