insight.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .ins-section-container {
  2. position: relative;
  3. background: #f7f7f7;
  4. }
  5. .ins-section {
  6. font-size: 14px;
  7. line-height: 16px;
  8. }
  9. .ins-section .ins-section-header, .ins-section .ins-search-item {
  10. padding: 8px 15px;
  11. }
  12. .ins-section .ins-section-header {
  13. color: #9a9a9a;
  14. border-bottom: 1px solid #e2e2e2;
  15. }
  16. .ins-section .ins-slug {
  17. margin-left: 5px;
  18. color: #9a9a9a;
  19. }
  20. .ins-section .ins-slug:before {
  21. content: '(';
  22. }
  23. .ins-section .ins-slug:after {
  24. content: ')';
  25. }
  26. .ins-section .ins-search-item header, .ins-section .ins-search-item .ins-search-preview {
  27. overflow: hidden;
  28. white-space: nowrap;
  29. text-overflow: ellipsis;
  30. }
  31. .ins-section .ins-search-item header .ins-title {
  32. margin-left: 8px;
  33. }
  34. .ins-section .ins-search-item .ins-search-preview {
  35. height: 15px;
  36. font-size: 12px;
  37. color: #9a9a9a;
  38. margin: 5px 0 0 20px;
  39. }
  40. .ins-section .ins-search-item:hover, .ins-section .ins-search-item.active {
  41. color: #fff;
  42. background: #3273dc;
  43. }
  44. .ins-section .ins-search-item:hover .ins-slug, .ins-section .ins-search-item.active .ins-slug, .ins-section .ins-search-item:hover .ins-search-preview, .ins-section .ins-search-item.active .ins-search-preview {
  45. color: #fff;
  46. }