Skip to content

Commit

Permalink
Refactored CSS in src/screens/OrganizationEvents/OrganizationEvents.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhil2k4 committed Dec 28, 2024
1 parent 6b62392 commit 018f741
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/screens/OrganizationEvents/OrganizationEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function organizationEvents(): JSX.Element {
<Button
variant="danger"
onClick={hideCreateEventModal}
className={styles.closeButtonOrganizationEvents}
className={styles.closeButton}
data-testid="createEventModalCloseBtn"
>
<i className="fa fa-times"></i>
Expand Down
27 changes: 6 additions & 21 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,6 @@
outline: none !important;
}

.closeButtonOrganizationEvents {
margin-bottom: 10px;
color: var(--delete-button-color);
margin-right: 5px;
background-color: var(--delete-button-bg);
border: white;
}

.closeButtonOrganizationEvents:hover {
color: var(--delete-button-bg) !important;
background-color: var(--delete-button-color) !important;
border: white;
}

.modalContent {
width: var(--modal-width);
max-width: var(--modal-max-width);
Expand Down Expand Up @@ -954,10 +940,9 @@ hr {
}

.createButtonOrganizationEvents {
background-color: #a8c7fa !important;
background-color: var(--search-button-bg) !important;
color: black !important;
margin: 1rem 0 0;
margin-top: 15px;
margin: 15px 0 0;
padding: 10px 10px;
border-radius: 5px;
font-size: 16px;
Expand All @@ -968,13 +953,13 @@ hr {
transform 0.2s,
box-shadow 0.2s;
width: 100%;
border: 1px solid var(--dropdown-border-color);
border: 1px solid var(--search-button-border);
}

.createButtonOrganizationEvents:hover {
background-color: #286fe0 !important;
color: black !important;
border: 1px solid var(--dropdown-border-color) !important;
background-color: var(--bs-primary) !important;
color: white !important;
border: 1px solid var(--search-button-border) !important;
}

.time {
Expand Down

0 comments on commit 018f741

Please sign in to comment.