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 Structure for EventVolunteers: Improved Maintainability and UI Consistency #2668

Closed
Show file tree
Hide file tree
Changes from 2 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
101 changes: 0 additions & 101 deletions src/components/EventManagement/Dashboard/EventDashboard.module.css
Original file line number Diff line number Diff line change
@@ -1,101 +0,0 @@
.eventContainer {
display: flex;
align-items: start;
}

.eventDetailsBox {
position: relative;
box-sizing: border-box;
background: #ffffff;
width: 66%;
padding: 0.3rem;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
border-radius: 20px;
margin-bottom: 0;
margin-top: 20px;
}
.ctacards {
padding: 20px;
width: 100%;
display: flex;
background-color: #ffffff;
margin: 0 4px;
justify-content: space-between;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
align-items: center;
border-radius: 20px;
}
.ctacards span {
color: rgb(181, 181, 181);
font-size: small;
}
/* .eventDetailsBox::before {
content: '';
position: absolute;
top: 0;
height: 100%;
width: 6px;
background-color: #31bb6b;
border-radius: 20px;
} */

.time {
display: flex;
justify-content: space-between;
padding: 15px;
padding-bottom: 0px;
width: 33%;

box-sizing: border-box;
background: #ffffff;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
border-radius: 20px;
margin-bottom: 0;
margin-top: 20px;
margin-left: 10px;
}

.startTime,
.endTime {
display: flex;
font-size: 20px;
}

.to {
padding-right: 10px;
}

.startDate,
.endDate {
color: #808080;
font-size: 14px;
}

.titlename {
font-weight: 600;
font-size: 25px;
padding: 15px;
padding-bottom: 0px;
width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.description {
color: #737373;
font-weight: 300;
font-size: 14px;
word-wrap: break-word;
padding: 15px;
padding-bottom: 0px;
}

.toporgloc {
font-size: 16px;
padding: 0.5rem;
}

.toporgloc span {
color: #737373;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Col, Row } from 'react-bootstrap';
import styles from './EventDashboard.module.css';
import styles from '../../../style/app.module.css';
import { useTranslation } from 'react-i18next';
import { EVENT_DETAILS } from 'GraphQl/Queries/Queries';
import { useQuery } from '@apollo/client';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +0,0 @@
.eventAgendaItemContainer h2 {
margin: 0.6rem 0;
}

.btnsContainer {
display: flex;
gap: 10px;
}

@media (max-width: 768px) {
.btnsContainer {
margin-bottom: 0;
display: flex;
flex-direction: column;
}

.createAgendaItemButton {
position: absolute;
top: 1rem;
right: 2rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type {
import AgendaItemsContainer from 'components/AgendaItems/AgendaItemsContainer';
import AgendaItemsCreateModal from 'components/AgendaItems/AgendaItemsCreateModal';

import styles from './EventAgendaItems.module.css';
import styles from '../../../style/app.module.css';
import Loader from 'components/Loader/Loader';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Table,
FormControl,
} from 'react-bootstrap';
import styles from './EventsAttendance.module.css';
import styles from '../../../style/app.module.css';
import { useLazyQuery } from '@apollo/client';
import { EVENT_ATTENDEES } from 'GraphQl/Queries/Queries';
import { useParams, Link } from 'react-router-dom';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +0,0 @@
.input {
display: flex;
width: 100%;
position: relative;
}
.customcell {
background-color: #31bb6b !important;
color: white !important;
font-size: medium !important;
font-weight: 500 !important;
padding-top: 10px !important;
padding-bottom: 10px !important;
}

.eventsAttended,
.membername {
color: blue;
}
.actionBtn {
/* color:#39a440 !important; */
background-color: #ffffff !important;
}
.actionBtn:hover,
.actionBtn:focus,
.actionBtn:active {
color: #39a440 !important;
}

.table-body > .table-row {
background-color: #fff !important;
}

.table-body > .table-row:nth-child(2n) {
background: #afffe8 !important;
}
Loading
Loading