generated from 8iq/nodejs-hackathon-boilerplate-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(condo): DOMA-8515 new meter section design review fixes (#4845)
* fix(condo): DOMA-8515 removed default date filter in readings * fix(condo): DOMA-8515 added complete createMeter modal translations * fix(condo): DOMA-8515 design review fixes * fix(condo): DOMA-8515 design review fixes * fix(condo): DOMA-8515 design review fixes
- Loading branch information
Showing
10 changed files
with
187 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import styled from '@emotion/styled' | ||
|
||
import { colors } from '@open-condo/ui/dist/colors' | ||
|
||
import Select from '@condo/domains/common/components/antd/Select' | ||
import { transitions } from '@condo/domains/common/constants/style' | ||
|
||
interface IStatusSelect { | ||
color: string | ||
backgroundColor: string | ||
minWidth?: number | ||
} | ||
|
||
export const StatusSelect = styled(Select)<IStatusSelect>` | ||
min-width: ${({ minWidth }) => minWidth ? `${minWidth}px` : '175px'}; | ||
font-weight: 700; | ||
border-radius: 8px; | ||
color: ${({ color }) => color}; | ||
background-color: ${({ backgroundColor }) => backgroundColor}; | ||
transition: ${transitions.easeInOut}; | ||
&.ant-select-disabled .ant-select-selector .ant-select-selection-item { | ||
color: ${({ color }) => color}; | ||
} | ||
&.ant-select-open .ant-select-selector .ant-select-selection-item { | ||
color: ${({ color }) => color}; | ||
} | ||
.ant-select-selector .ant-select-selection-item { | ||
font-weight: 600; | ||
color: ${colors.white}; | ||
transition: ${transitions.easeInOut}; | ||
} | ||
.ant-select-arrow svg { | ||
fill: ${({ color }) => color}; | ||
transition: ${transitions.easeInOut}; | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.