_tool_group.less 466 B

123456789101112131415161718192021222324
  1. .tool-group {
  2. padding: 0;
  3. &[disabled] {
  4. opacity: 0.5;
  5. }
  6. .tool-group-item {
  7. display: inline-block;
  8. border-radius: 4px;
  9. .tool-group-icon {
  10. width: 20px;
  11. height: 20px;
  12. padding: 2px;
  13. margin: 1px;
  14. }
  15. &:hover {background-color: @button-hover;}
  16. &:active {background-color: @button-active;}
  17. &.active {background-color: @button-active;}
  18. }
  19. }