index.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @import '../../app.less';
  2. .module.qa-list {
  3. padding: 30px;
  4. .tabs {
  5. border-bottom: 1px solid #eee;
  6. }
  7. .qa-item {
  8. border-bottom: 1px solid rgba(239, 243, 247, 1);
  9. position: relative;
  10. .title {
  11. color: #303036;
  12. font-size: 16px;
  13. margin-bottom: 10px;
  14. }
  15. .small-tag {
  16. display: inline-block;
  17. background: rgb(172, 206, 251);
  18. padding: 0 5px;
  19. border-radius: 5px;
  20. color: #fff;
  21. margin-bottom: 5px;
  22. font-size: 10px;
  23. }
  24. .desc {
  25. color: #686872;
  26. font-size: 16px;
  27. margin-bottom: 20px;
  28. overflow: hidden;
  29. }
  30. .icon {
  31. position: absolute;
  32. bottom: -18px;
  33. left: 50%;
  34. transform: translateX(-50%);
  35. display: none;
  36. }
  37. }
  38. .other-answer.more.hide {
  39. .desc {
  40. height: 80px;
  41. background: linear-gradient(360deg, rgba(161, 161, 171, 0) 0%, rgba(104, 104, 114, 1) 100%);
  42. -webkit-background-clip: text;
  43. -webkit-text-fill-color: transparent;
  44. }
  45. }
  46. .other-answer.more:hover {
  47. .icon {
  48. display: block;
  49. }
  50. }
  51. }