square.ui.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #featureBar .text {
  2. max-width: 6em;
  3. white-space: nowrap;
  4. overflow: hidden;
  5. text-overflow: ellipsis;
  6. }
  7. .miniprogram-container {
  8. display: grid;
  9. grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  10. gap: 8px;
  11. background: #FCFDFE;
  12. padding: 8px;
  13. }
  14. .miniprogram-card {
  15. position: relative;
  16. border-radius: 2px;
  17. border: 1px solid #EEE;
  18. background-color: #FCFDFE;
  19. height: 140px;
  20. padding: 16px;
  21. display: flex;
  22. flex-direction: column;
  23. overflow: hidden;
  24. gap: 6px;
  25. }
  26. .program-content {
  27. display: flex;
  28. flex-wrap: nowrap;
  29. flex: auto;
  30. overflow: hidden;
  31. gap: 16px;
  32. padding-right: 2px;
  33. }
  34. .program-text {
  35. height: 100%;
  36. overflow: hidden;
  37. flex: auto;
  38. }
  39. .program-text .title {
  40. margin-bottom: 16px;
  41. font-size: 13px;
  42. font-weight: 400;
  43. color: var(--color-slate-800);
  44. white-space: nowrap;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. }
  48. .program-text .desc {
  49. font-size: 12px;
  50. color: #838A9D;
  51. display: -webkit-box;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. -webkit-line-clamp: 2;
  55. -webkit-box-orient: vertical;
  56. }
  57. .program-avatar {
  58. display: flex;
  59. align-items: center;
  60. flex: none;
  61. }
  62. .program-actions {
  63. display: flex;
  64. justify-content: space-between;
  65. align-items: center;
  66. flex: none;
  67. }
  68. .program-actions .badge {
  69. font-size: 12px;
  70. color: #313C52;
  71. border: 1px solid #DEDEDE;
  72. padding: 4px;
  73. border-radius: 3px;
  74. display: flex;
  75. justify-content: center;
  76. align-items: center;
  77. height: 20px;
  78. max-width: 120px;
  79. overflow: hidden;
  80. text-overflow: ellipsis;
  81. white-space: nowrap;
  82. }
  83. .pager-container {
  84. margin-top: 8px;
  85. display: flex;
  86. justify-content: flex-end;
  87. background: #fff;
  88. padding: 12px;
  89. }
  90. .btn-star {
  91. display: flex;
  92. align-items: center;
  93. gap: 2px;
  94. }