index.scss 591 B

1234567891011121314151617181920212223242526272829303132333435
  1. @import "./../common/abstracts/_mixin.scss";
  2. @import "./../common/abstracts/variable.scss";
  3. .wot-theme-dark {
  4. @include b(index-anchor) {
  5. background-color: $-color-gray-8;
  6. color: $-color-white;
  7. }
  8. }
  9. // #ifdef MP-DINGTALK
  10. @include b(index-anchor-ding) {
  11. @include when(sticky){
  12. position: sticky;
  13. top: 0;
  14. left: 0;
  15. z-index: 1;
  16. }
  17. }
  18. // #endif
  19. @include b(index-anchor) {
  20. background-color: $-color-gray-2;
  21. padding: 10px;
  22. font-size: 14px;
  23. color: $-color-title;
  24. @include when(sticky){
  25. position: sticky;
  26. top: 0;
  27. left: 0;
  28. z-index: 1;
  29. }
  30. }