antd.scss 858 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // 对 ant design vue 的默认样式覆盖
  2. // popover
  3. .ant-popover {
  4. padding-top: 5px !important;
  5. }
  6. .ant-popover-arrow {
  7. display: none;
  8. }
  9. .ant-popover-inner {
  10. box-shadow: $boxShadow;
  11. border: 1px solid $borderColor;
  12. }
  13. .ant-popover-inner-content {
  14. padding: 12px !important;
  15. }
  16. // dropdown
  17. .ant-dropdown {
  18. min-width: 120px;
  19. }
  20. .ant-dropdown-menu {
  21. box-shadow: $boxShadow;
  22. border: 1px solid $borderColor;
  23. }
  24. .ant-dropdown-menu-item {
  25. transition: none;
  26. &:hover {
  27. background-color: #e1e1e1;
  28. }
  29. }
  30. // button
  31. .ant-btn {
  32. &.no-padding {
  33. padding: 0;
  34. }
  35. }
  36. // radio
  37. .ant-radio-button-wrapper {
  38. text-align: center;
  39. }
  40. // slider
  41. .ant-slider-track {
  42. background-color: $themeColor;
  43. }
  44. .ant-slider-handle {
  45. border-color: $themeColor;
  46. }
  47. // select
  48. .ant-select {
  49. user-select: none;
  50. }
  51. // tooltip
  52. .ant-tooltip-inner {
  53. font-size: 12px;
  54. }