Skip to content
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

Improve database select field color and layout #13263

Closed
TCOTC opened this issue Nov 25, 2024 · 11 comments
Closed

Improve database select field color and layout #13263

TCOTC opened this issue Nov 25, 2024 · 11 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 25, 2024

改进单选字段颜色和布局

颜色竖着排列太浪费空间了:

image

比较方便的是参考外观菜单和 FlowUs,把颜色改成横排,然后给正在使用的背景色按钮添加灰色背景:

image

image

@Vanessa219 Vanessa219 added this to the 3.1.16 milestone Dec 10, 2024
@Vanessa219
Copy link
Member

相似的颜色有点多,同时更新一下

image

image

Vanessa219 added a commit that referenced this issue Dec 10, 2024
@Vanessa219 Vanessa219 changed the title 改进数据库单选多选字段的选项编辑菜单 改进单选字段颜色和布局 Dec 10, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 10, 2024

这个颜色的排序有什么讲究吗?

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 10, 2024

感觉还是挺像的:

IMG_20241210_135144.png

@88250 88250 changed the title 改进单选字段颜色和布局 Improve database select field color and layout Dec 10, 2024
Vanessa219 added a commit that referenced this issue Dec 10, 2024
Vanessa219 added a commit that referenced this issue Dec 10, 2024
@Vanessa219
Copy link
Member

按照以下顺序外加4个高亮色

    --b3-font-color1: var(--b3-card-error-color);
    --b3-font-color2: var(--b3-card-warning-color);
    --b3-font-color3: var(--b3-card-info-color);
    --b3-font-color4: var(--b3-card-success-color);
    --b3-font-color5: var(--b3-theme-on-surface);
    --b3-font-color6: var(--b3-theme-primary);
    --b3-font-color7: var(--b3-theme-secondary);
    --b3-font-color8: var(--b3-theme-error);

Vanessa219 added a commit that referenced this issue Dec 11, 2024
Vanessa219 added a commit that referenced this issue Dec 11, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 11, 2024

@Vanessa219 选项的颜色有点问题,没有在 1~13 循环,会出现不存在的颜色:

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 11, 2024

@Vanessa219 会有一个不存在的 14:

image

@Vanessa219
Copy link
Member

这个是跟随系统的样式,就没有填充了

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 12, 2024

这里应该是 1 的

@Vanessa219
Copy link
Member

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 12, 2024

这个 14 就留给手动选吧,选项自动循环到 14 就没背景色了用起来会很奇怪

@Vanessa219
Copy link
Member

先这样吧,不选到的话就没有必要存在了。选项循环的情况少,而且到了循环的时候一般都会再手动设置一下吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants