Skip to content

Commit

Permalink
global css
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmesh703 committed Jan 19, 2025
1 parent dff319a commit 8d87af3
Show file tree
Hide file tree
Showing 15 changed files with 642 additions and 993 deletions.
52 changes: 26 additions & 26 deletions src/components/LeftDrawer/LeftDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,24 @@ const leftDrawer = ({
{({ isActive }) => (
<Button

Check warning on line 71 in src/components/LeftDrawer/LeftDrawer.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/LeftDrawer/LeftDrawer.tsx#L71

Added line #L71 was not covered by tests
variant={isActive === true ? 'success' : ''}
className={` ${
isActive === true
? 'text-black font-weight-bold'
: 'text-secondary'
}`}
style={{
backgroundColor: isActive === true ? '#EAEBEF' : '',
backgroundColor:
isActive === true ? 'var(--sidebar-option-bg)' : '',
fontWeight: isActive ? 'bold' : 'normal',
color: isActive
? 'var(--sidebar-option-text-active)'
: 'var(--sidebar-option-text-inactive)',
}}
data-testid="orgsBtn"
>
<div className={styles.iconWrapper}>
<OrganizationsIcon
fill="none"
stroke={
stroke={`${
isActive === true
? 'var(--bs-black)'
: 'var(--bs-secondary)'
}
? 'var(--sidebar-icon-stroke-active)'
: 'var(--sidebar-icon-stroke-inactive)'
}`}
/>
</div>
{t('my organizations')}
Expand All @@ -100,13 +100,13 @@ const leftDrawer = ({
{({ isActive }) => (
<Button

Check warning on line 101 in src/components/LeftDrawer/LeftDrawer.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/LeftDrawer/LeftDrawer.tsx#L101

Added line #L101 was not covered by tests
variant={isActive === true ? 'success' : ''}
className={` ${
isActive === true
? 'text-black font-weight-bold'
: 'text-secondary'
}`}
style={{
backgroundColor: isActive === true ? '#EAEBEF' : '',
backgroundColor:
isActive === true ? 'var(--sidebar-option-bg)' : '',
fontWeight: isActive ? 'bold' : 'normal',
color: isActive
? 'var(--sidebar-option-text-active)'
: 'var(--sidebar-option-text-inactive)',
}}
data-testid="rolesBtn"
>
Expand All @@ -115,8 +115,8 @@ const leftDrawer = ({
fill="none"
stroke={`${
isActive === true
? 'var(--black)'
: 'var(--bs-secondary)'
? 'var(--sidebar-icon-stroke-active)'
: 'var(--sidebar-icon-stroke-inactive)'
}`}
/>
</div>
Expand All @@ -128,13 +128,13 @@ const leftDrawer = ({
{({ isActive }) => (
<Button

Check warning on line 129 in src/components/LeftDrawer/LeftDrawer.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/LeftDrawer/LeftDrawer.tsx#L129

Added line #L129 was not covered by tests
variant={isActive === true ? 'success' : ''}
className={` ${
isActive === true
? 'text-black font-weight-bold'
: 'text-secondary'
}`}
style={{
backgroundColor: isActive === true ? '#EAEBEF' : '',
backgroundColor:
isActive === true ? 'var(--sidebar-option-bg)' : '',
fontWeight: isActive ? 'bold' : 'normal',
color: isActive
? 'var(--sidebar-option-text-active)'
: 'var(--sidebar-option-text-inactive)',
}}
data-testid="communityProfileBtn"
>
Expand All @@ -143,8 +143,8 @@ const leftDrawer = ({
fill="none"
stroke={`${
isActive === true
? 'var(--black)'
: 'var(--bs-secondary)'
? 'var(--sidebar-icon-stroke-active)'
: 'var(--sidebar-icon-stroke-inactive)'
}`}
/>
</div>
Expand Down
150 changes: 0 additions & 150 deletions src/components/OrgListCard/OrgListCard.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/OrgListCard/OrgListCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import TruncatedText from './TruncatedText';
import FlaskIcon from 'assets/svgs/flask.svg?react';
import Button from 'react-bootstrap/Button';
import { useTranslation } from 'react-i18next';
import styles from './OrgListCard.module.css';
import styles from '../../style/app.module.css';
import { useNavigate } from 'react-router-dom';
import type {
InterfaceOrgConnectionInfoType,
Expand Down
76 changes: 0 additions & 76 deletions src/components/ProfileDropdown/ProfileDropdown.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/ProfileDropdown/ProfileDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { ButtonGroup, Dropdown } from 'react-bootstrap';
import { useNavigate, useParams } from 'react-router-dom';
import useLocalStorage from 'utils/useLocalstorage';
import styles from './ProfileDropdown.module.css';
import styles from '../../style/app.module.css';
import { REVOKE_REFRESH_TOKEN } from 'GraphQl/Mutations/mutations';
import { useMutation } from '@apollo/client';
import { useTranslation } from 'react-i18next';
Expand Down
Loading

0 comments on commit 8d87af3

Please sign in to comment.