index.less 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @import "../styles/mixins/index.less";
  2. @import "../styles/themes/index.less";
  3. .@{wux-prefix}-cell-group {
  4. &--card {
  5. margin: @cell-group-margin;
  6. }
  7. &__hd {
  8. padding: @cell-group-hd-padding;
  9. font-size: @font-size-base;
  10. color: @text-color-secondary;
  11. width: 100%;
  12. box-sizing: border-box;
  13. }
  14. &__bd {
  15. position: relative;
  16. background-color: @cell-bg;
  17. overflow: hidden;
  18. }
  19. &--has-line > &__bd::after {
  20. .hairline(@border-color-split);
  21. border-top-width: @border-width-base;
  22. border-bottom-width: @border-width-base;
  23. }
  24. &__ft {
  25. padding: @cell-group-ft-padding;
  26. font-size: @font-size-base;
  27. color: @text-color-secondary;
  28. }
  29. &--card > &__hd {
  30. padding-left: 0;
  31. padding-right: 0;
  32. }
  33. &--card > &__bd,
  34. &--card > &__ft {
  35. border-radius: @cell-group-bd-radius;
  36. &::after {
  37. display: none !important;
  38. }
  39. }
  40. }