web.scss 552 B

123456789101112131415161718192021222324252627282930313233
  1. .words {
  2. z-index: 5;
  3. width: 315px;
  4. padding: 12px;
  5. display: flex;
  6. flex-direction: column;
  7. width: 19.13rem;
  8. height: 12.44rem;
  9. overflow-y: auto;
  10. &-header {
  11. display: flex;
  12. justify-content: space-between;
  13. font-size: 14px;
  14. font-weight: 500;
  15. }
  16. &-list {
  17. flex: 1;
  18. display: flex;
  19. flex-direction: column;
  20. cursor: pointer;
  21. &-item {
  22. cursor: pointer;
  23. padding: 4px 0;
  24. font-size: 14px;
  25. color: #50545c;
  26. line-height: 18px;
  27. }
  28. &-item:hover {
  29. color: #006eff;
  30. }
  31. }
  32. }