Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor CSS src/components/EventRegistrantsModal #3383

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

16 changes: 5 additions & 11 deletions src/components/EventRegistrantsModal/EventRegistrantsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ADD_EVENT_ATTENDEE,
REMOVE_EVENT_ATTENDEE,
} from 'GraphQl/Mutations/mutations';
import styles from 'components/EventRegistrantsModal/EventRegistrantsModal.module.css';
import styles from '../../style/app.module.css';
import Avatar from '@mui/material/Avatar';
import Chip from '@mui/material/Chip';
import Stack from '@mui/material/Stack';
Expand Down Expand Up @@ -129,16 +129,10 @@
<Modal show={show} onHide={handleClose} backdrop="static" centered>
<AddOnSpotAttendee
show={open}
handleClose={
/*istanbul ignore next */
() => setOpen(false)
}
reloadMembers={
/*istanbul ignore next */
() => {
attendeesRefetch();
}
}
handleClose={() => setOpen(false)}

Check warning on line 132 in src/components/EventRegistrantsModal/EventRegistrantsModal.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/EventRegistrantsModal/EventRegistrantsModal.tsx#L132

Added line #L132 was not covered by tests
reloadMembers={() => {
attendeesRefetch();

Check warning on line 134 in src/components/EventRegistrantsModal/EventRegistrantsModal.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/EventRegistrantsModal/EventRegistrantsModal.tsx#L134

Added line #L134 was not covered by tests
}}
/>
<Modal.Header closeButton className="bg-primary">
<Modal.Title className="text-white">Event Registrants</Modal.Title>
Expand Down
21 changes: 17 additions & 4 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@
--background-color: #fff;
--dropdown-shadow: #0000004c;
--dropdown-color: #555555;
--loader-border: #ffffff33;
--loader-border-left: #febc59;

--dropdown-button-bg: #555555;
--dropdown-button-fill: #555555;
Expand Down Expand Up @@ -3605,16 +3607,26 @@ button[data-testid='createPostBtn'] {
font-size: 10px;
position: relative;
text-indent: -9999em;
border-top: 1.1em solid var(--white-shadow-color);
border-right: 1.1em solid var(--white-shadow-color);
border-bottom: 1.1em solid var(--white-shadow-color);
border-left: 1.1em solid var(--light-orange);
border-top: 1.1em solid var(--loader-border);
border-right: 1.1em solid var(--loader-border);
border-bottom: 1.1em solid var(--loader-border);
border-left: 1.1em solid var(--loader-border-left);
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation: load8 1.1s infinite linear;
animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
Expand All @@ -3625,6 +3637,7 @@ button[data-testid='createPostBtn'] {
transform: rotate(360deg);
}
}

.list_box {
height: 70vh;
overflow-y: auto;
Expand Down
Loading