index.less 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @import "../styles/mixins/index.less";
  2. @import "../styles/themes/index.less";
  3. @active-icon-size: 16px;
  4. .@{wux-prefix}-cascader-view {
  5. position: relative;
  6. font-size: @cascader-font-size;
  7. line-height: @line-height-base;
  8. color: @cascader-color;
  9. background-color: @cascader-inner-bg;
  10. overflow: hidden;
  11. &__hd {
  12. position: relative;
  13. width: 100%;
  14. &::after {
  15. .setBottomLine(@border-color-split);
  16. }
  17. }
  18. &__bd {
  19. width: 100%;
  20. display: flex;
  21. background-color: @cascader-bg;
  22. }
  23. &__inner-scroll {
  24. display: block;
  25. height: inherit;
  26. width: 50%;
  27. flex: 0 0 50%;
  28. background-color: @cascader-inner-bg;
  29. &--full {
  30. width: 100%;
  31. flex: 0 0 100%;
  32. background-color: @cascader-inner-bg !important;
  33. }
  34. &:nth-child(2n) {
  35. background-color: @cascader-bg;
  36. }
  37. }
  38. &__scroll-view {
  39. max-height: @scroll-view-size;
  40. }
  41. }