index.less 669 B

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