@import '~antd/es/style/themes/default.less'; @pandaXform: ~'@{ant-prefix}-pandaXform'; .@{pandaXform} { .inputAddon { .iconBox { width: 100%; height: 100%; display: flex; flex-wrap: wrap; .iconItem { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; font-size: 50px; &:hover { cursor: pointer; } &[active='true'] { transition: all 0.3s ease; background: #4096ff; border-radius: 5px; color: white; transform: scale(1.2); } } } } }