Activity.css 969 B

123456789101112131415161718
  1. .activity-list { margin-bottom: 30px }
  2. .activity-list .items a { color: #555; font-weight: bold }
  3. .activity-list .items { position: relative; margin-left: -6px; margin-bottom: -10px }
  4. .activity-list .bg-line {
  5. height: calc(100% - 40px); width: 2px; position: absolute; background-color: #c7c7c8;
  6. margin-left: 12px; margin-top: 5px; box-sizing: border-box; z-index: 0;
  7. }
  8. .activity-list .circle {
  9. width: 8px; height: 8px; border: 2px solid #c5c5c5; position: absolute; pointer-events: none;
  10. margin-left: -28px; border-radius: 15px; background-color: #f6f7f8
  11. }
  12. .activity { padding-left: 35px; padding-bottom: 19px; font-family: Roboto, Helvetica, Arial; font-size: 15px; line-height: 1.5em; color: #888 }
  13. .activity .body { top: -5px; position: relative; max-height: 67px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -webkit-box; }
  14. .activity:last-child { background-color: #F6F7F8 }
  15. .activity.latest .circle { border-color: #666 }