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

fixed #3318 Figma: Refactor CSS files in src/components/OrganizationCard #3384

Closed
Show file tree
Hide file tree
Changes from 3 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
46 changes: 0 additions & 46 deletions src/components/OrganizationCard/OrganizationCard.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/OrganizationCard/OrganizationCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
import styles from './OrganizationCard.module.css';
import styles from '../../style/app.module.css';
import { Button } from 'react-bootstrap';
import { Tooltip } from '@mui/material';
import { useTranslation } from 'react-i18next';
Expand Down
45 changes: 45 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7251,3 +7251,48 @@ button[data-testid='createPostBtn'] {
flex-direction: row;
justify-content: center;
}

.alignimg {
border-radius: 50%;
background-color: var(--white-color);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use variable names that describe the function of the color and not the color itself. This will help with adding a Dark Mode feature.

  • For example --search-button-bg is much better than --light-blue

background-blend-mode: darken;
height: clamp(50px, 4vw, 65px);
width: clamp(50px, 4vw, 65px);
object-fit: cover;
}

.box {
color: var(--light-orange);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use variable names that describe the function of the color and not the color itself. This will help with adding a Dark Mode feature.

  • For example --search-button-bg is much better than --light-blue

}
gurramkarthiknetha marked this conversation as resolved.
Show resolved Hide resolved
.first_box {
display: flex;
flex-direction: row;
padding-bottom: 10px;
padding-top: 10px;
}

.second_box {
padding-left: 20px;
padding-top: 10px;
}

.second_box > h4 {
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: black;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use variable names that describe the function of the color and not the color itself. This will help with adding a Dark Mode feature.

  • For example --search-button-bg is much better than --light-blue

}
gurramkarthiknetha marked this conversation as resolved.
Show resolved Hide resolved

.second_box > h5 {
text-decoration: none;
font-size: 10px;
font-weight: 100;
color: #969696;
}

.deco {
border: 1px solid var(--grey-border);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use variable names that describe the function of the color and not the color itself. This will help with adding a Dark Mode feature.

  • For example --search-button-bg is much better than --light-blue

width: 100%;
max-width: 800px;
height: 0;
}
Loading