Skip to content

Commit

Permalink
[#1584] Create custom antd input styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ifirmawan committed Sep 1, 2023
1 parent f813e99 commit 3247c19
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions frontend/src/styles/inputs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#root,
.ant-modal-root {
.ant-input,
.ant-input-number-input,
.ant-input-affix-wrapper {
background-color: $primaryGrey;
color: $primaryDarkBlue;
font-size: $fzXS;
line-height: $lhXS;
&::placeholder {
color: $primaryDarkBlue4;
}
}
.ant-select:not(.ant-select-customize-input),
.ant-select-selector,
.ant-input-affix-wrapper {
min-height: 42px;
border: none;
}
.ant-select-single.ant-select-show-arrow .ant-select-selection-item,
.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
padding-top: 4px;
}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
border-width: 2px;
border-color: $systemError3;
background-color: $primaryGrey;
}
}

0 comments on commit 3247c19

Please # to comment.