-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
inputNumber输入输入框 组件css变量 #5874
Merged
Merged
inputNumber输入输入框 组件css变量 #5874
Conversation
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
qkiroc
reviewed
Dec 5, 2022
@@ -79,19 +152,20 @@ | |||
} | |||
|
|||
&-handler { | |||
background: var(--Number-handler-bg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种变量能不能尽可能兼容?
@@ -585,7 +585,7 @@ $remFactor: 16px; | |||
--Form-input-password-icon-size: var(--sizes-size-9); | |||
--Form-input-password-icon-color: var(--colors-neutral-text-5); | |||
|
|||
--Form-inputNumber-paddingX: #{px2rem(12px)}; | |||
--Form-inputNumber-paddingX: var(--sizes-size-7); | |||
--Form-inputNumber-base-width: #{px2rem(24px)}; | |||
--Form-inputNumber-base-height: #{px2rem(32px)}; | |||
--Form-inputNumber-strong-disabled-color: #b4b6ba; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没用的变量是不是应该删掉了
lurunze1226
pushed a commit
that referenced
this pull request
Jan 6, 2023
* style: button主题适配 (#5780) * feat: button增加font-weight (#5781) * feat: button增加font-weight * fix: button-fix * fix: button-fix Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: font * feat: input输入框变量样式&切换图标方案 (#5847) * feat: input输入框变量样式&切换图标方案 * fix: 去掉多余代码 * fix: 去掉多余代码 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: input外观 * fix: 修复选择图标没选中 (#5858) * fix: 修复选择图标没选中 * fix: 代码格式 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: link组件 * style: form * inputNumber输入输入框 组件css变量 (#5874) * inputNumber输入输入框 组件css变量 * inputNumber组件 兼容变量 * inputNumber组件 css变量文件迁移 * inputNumber组件 删除变量 * 去除无用变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: form * style: form * InputNumber组件 变量修改 (#5879) * inputNumber输入输入框 组件css变量 * inputNumber组件 兼容变量 * inputNumber组件 css变量文件迁移 * inputNumber组件 删除变量 * 去除无用变量 * InputNumber组件 变量修改 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: form * style: input * inputNumber组件 加强版分别配置 (#5887) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: input-range * inputNumber组件 加强版图标 (#5888) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: rating * checkbox组件变量 (#5902) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 * checkbox组件变量 * 修改checkbox-size * 修改checkbox-size变量 * 优化 * 优化 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * checkbox边框 背景分别配置变量 (#5904) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 * checkbox组件变量 * 修改checkbox-size * 修改checkbox-size变量 * 优化 * 优化 * checkbox边框 背景分别配置变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * listSelect组件变量 (#5917) * listSelect组件变量 * 优化 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * feat: radio&switch样式变量适配 (#5924) * feat: radio&switch样式变量适配 * fix:修复变量 * fix: 变量修复 * fix: 变量修复 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: 兼容style * feat: Collapse变量适配 (#5934) Co-authored-by: hongyang03 <hongyang03@baidu.com> * 组件自定义变量补充 (#5947) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * inputNumber加强版背景覆盖普通版 (#5951) * 组件自定义变量补充 * inputNumber加强版背景覆盖普通版 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * pref: 已修改组件变量迁移到components (#5952) * pref: 将变量冲properties迁移到components * pref: 已修改组件变量迁移到components Co-authored-by: hongyang03 <hongyang03@baidu.com> * pref: 优化变量位置 (#5953) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 面板\分割线\选项卡 * theme: 选项卡 * theme: link * feat: inputFile&inputImage组件变量 (#5982) Co-authored-by: hongyang03 <hongyang03@baidu.com> * fix: 图标选择修复和兼容处理 (#5984) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: bugfix * theme: bugfix * fix: 去掉input的size&修复collapse样式 (#5985) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 样式调整 * theme: 样式调整 * pref: 折叠器样式变量修改 (#5991) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 样式调整 * theme: 样式调整 * theme: 样式调整 * theme: 样式调整 * styles: 主题变量bugfix * checkbox&number组件变量修复 (#6019) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * fix: 输入框图标样式修复 (#6021) Co-authored-by: hongyang03 <hongyang03@baidu.com> * 回滚注释 * 更新快照 * fix: 修复评分组件报错问题 Co-authored-by: HongYang <33488114+hy993658052@users.noreply.github.com> Co-authored-by: hongyang03 <hongyang03@baidu.com> Co-authored-by: 徐佳豪 <1440054388@qq.com> Co-authored-by: xujiahao01 <xujiahao01@baidu.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.