contact-selector.component.scss 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .contact-selector { padding: 8px 0; }
  2. .loading { padding: 8px; color: #666; }
  3. .card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
  4. .row { display:flex; align-items:center; gap:12px; }
  5. .avatar { width:48px; height:48px; border-radius:50%; overflow:hidden; background:#f2f2f2; display:flex; align-items:center; justify-content:center; }
  6. .avatar img { width:100%; height:100%; object-fit:cover; }
  7. .info { flex:1; min-width:0; }
  8. .name { font-weight:600; font-size:15px; }
  9. .meta { margin-top:4px; color:#666; display:flex; gap:6px; flex-wrap:wrap; }
  10. .chip { background:#f3f6ff; color:#2b4eff; border-radius:10px; padding:2px 8px; font-size:12px; }
  11. .actions { display:flex; gap:8px; }
  12. .btn { padding:6px 10px; border:1px solid #ccc; border-radius:6px; cursor:pointer; background:#fff; }
  13. .btn.primary { background:#2b4eff; color:#fff; border-color:#2b4eff; }
  14. .btn.outline { background:#fff; }
  15. .toolbar { margin:8px 0; }
  16. .search { width:100%; padding:8px; border:1px solid #ddd; border-radius:6px; }
  17. .section { margin-top:12px; }
  18. .section-title { font-size:13px; color:#555; margin-bottom:6px; }
  19. .list { display:flex; flex-direction:column; gap:8px; }
  20. .item { display:flex; align-items:center; padding:8px; border:1px solid #eee; border-radius:8px; background:#fff; }
  21. .item:hover { background:#fafafa; }
  22. .thumb { width:36px; height:36px; border-radius:50%; overflow:hidden; background:#f2f2f2; display:flex; align-items:center; justify-content:center; }
  23. .thumb img { width:100%; height:100%; object-fit:cover; }
  24. .detail { flex:1; min-width:0; margin-left:10px; }
  25. .title { font-size:14px; font-weight:500; }
  26. .sub { font-size:12px; color:#777; }
  27. .ops { display:flex; align-items:center; }
  28. .overlay { position:fixed; inset:0; background:rgba(0,0,0,0.2); }
  29. @media (max-width: 768px) {
  30. .customer-panel {
  31. width:100vw!important;
  32. height:100vh!important;
  33. top:0px!important;
  34. left:0px;
  35. position: absolute;
  36. }
  37. }
  38. .customer-panel {
  39. z-index:100;position:fixed;
  40. right:20px;
  41. top:60px;
  42. width:480px;
  43. height:90vh;
  44. background:#fff;
  45. border:1px solid #ddd;
  46. border-radius:8px;
  47. box-shadow:0 8px 24px rgba(0,0,0,0.1);
  48. overflow:auto;
  49. padding:8px;
  50. }
  51. .customer-panel .close {
  52. position:absolute; right:12px; top:10px; padding:6px 10px; }