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