index.less 566 B

12345678910111213141516171819202122232425262728
  1. @import "../styles/mixins/index.less";
  2. @import "../styles/themes/index.less";
  3. .@{wux-prefix}-sticky-item {
  4. position: relative;
  5. font-size: @sticky-font-size;
  6. &__hd {
  7. background: @sticky-item-bg;
  8. width: 100%;
  9. height: @sticky-item-size;
  10. line-height: @sticky-item-size;
  11. }
  12. &__title {
  13. width: 100%;
  14. padding: 0 15px;
  15. box-sizing: border-box;
  16. background: @sticky-item-bg;
  17. }
  18. &--fixed &__title {
  19. position: fixed;
  20. left: 0;
  21. top: 0;
  22. z-index: 2;
  23. }
  24. }