透明下拉框

1755
0

xiaocesen 初学数据Lv2

发表于2021-12-8 17:59

楼主
       给大家分享一个透明维下拉组件的样式~

       重点重点: 此样式枚举组件也会生效,属于全局修改统一样式。


实现效果:


附上CSS代码,写在报表自定义样式
  1. /* 展示样式透明 */
  2. div.eui-form-select {
  3.     background: transparent !important;
  4. }
  5. /* 输入框字体白色以及边框样式 */
  6. input.eui-input {
  7.     color: #fff !important;
  8.     border: 0px !important;
  9. }
  10. /* 选择框透明,去边框 */
  11. div.eui-panel-selectlist-check.eui-clear {
  12.     background: transparent !important;
  13.     border: 0px !important;
  14. }
  15. /* 选择框透明与上行代码同时使用 */
  16. div.eui-panel {
  17.     background: transparent !important;
  18. }
  19. /* “过滤”标签字体白色 */
  20. div.eui-panel-selectlist-check-right label{
  21.     color: #fff !important;
  22. }
  23. /* 下拉按钮去边框,按钮标志白色 */
  24. i.eui-icon.eui-form-select-icon {
  25.         border: 0px !important;
  26.         color: #fff !important;
  27. }
  28. /* 下拉区域去边框 */
  29. div.eui-panel.eui-anim.eui-panel-selectlist.eui-anim-upbit {
  30.         border: 0px !important;
  31. }
  32. /* 下拉区域搜索框透明,去边框 */
  33. div.eui-form-search input {
  34.     background: transparent !important;
  35.     border: 0px !important;
  36. }
  37. /* 下拉区域定位按钮透明,去边框 */
  38. div.eui-form-search i.eui-icon {
  39.     background: transparent !important;
  40.     border: 0px !important;
  41. }
  42. /* 下拉区域维内容字体白色 */
  43. div.eui-panel-selectlist-content {
  44.         color: #fff;
  45. }
  46. /* 下拉区域维内容悬停颜色去除 */
  47. div.eui-tree-node:hover {
  48.         background: transparent !important;
  49. }
复制代码
              想要自行修改颜色边框等的可根据注释来对应修改!!!

最近看过此主题的会员

zhouxm

liulei6511

杨国签

ajsdhkjfhdasf

shqx

fenglan

ViolaQ

0个回答

只看楼主

登录后可回答问题,请登录注册

快速回复 返回顶部 返回列表

小时

全天响应

分钟

快速处理问题

工程师强势助力

明星产品
解决方案
联系合作

渠道咨询电话:137-0120-6790

技术支持QQ:400-0011-866(工作日9:00-18:00)

产品建议邮箱yixin@esensoft.com

关注我们

扫TA学习更多干货

一对一专家交流

版权所有© 2006-2024 北京亿信华辰软件有限责任公司 京ICP备07017321号 京公网安备11010802016281号