index.less 745 B

12345678910111213141516171819202122232425
  1. // el-button 按钮点击后focus状态不变问题处理
  2. .cip-button{
  3. // 支持方形按钮 【注:优先级低于于circle, 与round一起使用将导致按钮变为circle】
  4. &&--square{
  5. width: var(~'--@{elNamespace}-button-size', var(~'--@{elNamespace}-component-size'));
  6. padding: 0;
  7. }
  8. // 地图模式的按钮
  9. &&--map{
  10. box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  11. border-color: transparent !important; // map按钮不允许存在边框颜色
  12. &.is-disabled{
  13. background: #fff;
  14. }
  15. &:not(.is-disabled){
  16. &:hover{
  17. color: var(~'--@{elNamespace}-text-color-primary');
  18. }
  19. &:active{
  20. background: #fff;
  21. color: var(~'--@{elNamespace}-color-primary');
  22. }
  23. }
  24. }
  25. }