diff --git a/src/components/energy/Energy.module.sass b/src/components/energy/Energy.module.sass index 5bb70fbd4..ff6b2edf6 100644 --- a/src/components/energy/Energy.module.sass +++ b/src/components/energy/Energy.module.sass @@ -242,59 +242,3 @@ width: 100% margin-bottom: 0 line-height: 26px - -.DropdownOverlay - background-color: #fff - width: 250px - box-shadow: $shadow - -.DropdownOverlayContent - padding: $space_normal $space_big 0 $space_big - -.OverlayCollapse - padding-bottom: $space_normal - - \:global .ant-collapse-header - padding: 0 !important - padding-left: 3rem !important - - \:global .ant-collapse-arrow - left: $space_big !important - font-size: $font_normal !important - - \:global .ant-collapse-content-box - padding: $space_small $space_big 0 $space_big !important - -.QuestionCircle - color: $color_primary - -.OnlyProgress - cursor: pointer - -.CallsValue - font-size: 19px -.CallsLowValue - color: $color_gold -.CallsZeroValue - color: $color_error - -.Warning - background-color: #FFFBE6 - padding: $space_normal $space_big $space_small $space_big - -.Error - background-color: #F9D8D8 - -.EnergyIndicator - display: flex - -.Faq - \:global .ant-card-body - padding: 12px - -.FontSmall - font-size: $font_small - -.EnergyIcon - path - stroke-width: 36px diff --git a/src/components/energy/index.tsx b/src/components/energy/index.tsx deleted file mode 100644 index 990160edb..000000000 --- a/src/components/energy/index.tsx +++ /dev/null @@ -1,107 +0,0 @@ -import { Collapse, Divider, Dropdown } from 'antd' -import clsx from 'clsx' -import { IoFlashOutline } from 'react-icons/io5' -import { useAuth } from '../auth/AuthContext' -import { ButtonLink } from '../utils/CustomLinks' -import { MutedDiv } from '../utils/MutedText' -import { BareProps } from '../utils/types' -import styles from './Energy.module.sass' -import { EnergyStatus } from './utils' - -export type CommonEnergyProps = { - status: EnergyStatus -} - -const energyColors: { [key in EnergyStatus]: string } = { - low: '#E89C29', - normal: '#94A3B8', - zero: '#F5222D', -} - -export const EnergyIndicator = ({ status }: CommonEnergyProps & BareProps) => ( -