Skip to content

Commit

Permalink
fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
antriksh-9 committed Dec 26, 2024
1 parent 9c399d7 commit 514035b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/Venues/VenueCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { Card, Button } from 'react-bootstrap';
import defaultImg from 'assets/images/defaultImg.png';
import PeopleIcon from 'assets/svgs/people.svg?react';
import styles from 'screens/OrganizationVenues/OrganizationVenues.module.css';
import styles from '../../style/app.module.css';
import { useTranslation } from 'react-i18next';
import type { InterfaceQueryVenueListItem } from 'utils/interfaces';

Expand Down
48 changes: 37 additions & 11 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,6 @@
font-weight: 600;
}

.cards {
width: 45%;
background: #fcfcfc;
margin: 10px 20px;
padding: 20px 30px;
border-radius: 5px;
border: 1px solid #e8e8e8;
box-shadow: 0 3px 5px #c9c9c9;
margin-right: 40px;
color: #737373;
}
.cards > h2 {
font-size: 19px;
}
Expand All @@ -61,6 +50,43 @@
margin-bottom: 7px;
}

.cards:hover {
filter: brightness(0.8);
}
.cards:hover::before {
opacity: 0.5;
}

.cards:hover::after {
opacity: 1;
mix-blend-mode: normal;
}

.cards:last-child:nth-last-child(odd) {
grid-column: auto / span 2;
}

.cards:first-child:nth-last-child(even),
.cards:first-child:nth-last-child(even) ~ .box {
grid-column: auto / span 1;
}

.capacityLabel {
background-color: #31bb6b !important;
color: white;
height: 22.19px;
font-size: 12px;
font-weight: bolder;
padding: 0.1rem 0.3rem;
border-radius: 0.5rem;
position: relative;
overflow: hidden;
}

.capacityLabel svg {
margin-bottom: 3px;
}

.sidebar {
z-index: 0;
padding-top: 5px;
Expand Down

0 comments on commit 514035b

Please sign in to comment.