index.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. body {
  2. background-color: #fff;
  3. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  4. }
  5. .nav-bar {
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 2.75rem;
  11. padding-top: var(--status-bar-height);
  12. background-color: #fff;
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. padding: 0 0.9375rem;
  17. padding-top: var(--status-bar-height); /* Ensure padding top includes status bar */
  18. box-sizing: border-box;
  19. z-index: 100;
  20. border-bottom: 0.03125rem solid #f5f5f5;
  21. }
  22. .nav-placeholder {
  23. height: calc(2.75rem + var(--status-bar-height));
  24. }
  25. .back-icon {
  26. width: 1.25rem;
  27. height: 1.25rem;
  28. }
  29. .nav-title {
  30. font-size: 1.0625rem;
  31. font-weight: bold;
  32. color: #333;
  33. }
  34. .nav-right {
  35. width: 1.25rem;
  36. display: flex;
  37. justify-content: flex-end;
  38. }
  39. .more-dots {
  40. display: flex;
  41. gap: 0.125rem;
  42. }
  43. .dot {
  44. width: 0.1875rem;
  45. height: 0.1875rem;
  46. background-color: #333;
  47. border-radius: 50%;
  48. }
  49. .message-list {
  50. padding: 0 0.9375rem;
  51. }
  52. .message-item {
  53. display: flex;
  54. align-items: center;
  55. padding: 0.9375rem 0;
  56. border-bottom: 0.03125rem solid #f5f5f5;
  57. }
  58. .icon-wrapper {
  59. position: relative;
  60. margin-right: 0.9375rem;
  61. }
  62. .msg-icon {
  63. width: 3rem;
  64. height: 3rem;
  65. border-radius: 50%;
  66. }
  67. .red-dot-badge {
  68. position: absolute;
  69. top: 0;
  70. right: 0;
  71. width: 0.5rem;
  72. height: 0.5rem;
  73. background-color: #FF3B30;
  74. border-radius: 50%;
  75. border: 0.0625rem solid #fff;
  76. }
  77. .content-wrapper {
  78. flex: 1;
  79. display: flex;
  80. flex-direction: column;
  81. }
  82. .top-row {
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. margin-bottom: 0.3125rem;
  87. }
  88. .msg-title {
  89. font-size: 0.875rem;
  90. font-weight: bold;
  91. color: #333;
  92. }
  93. .msg-time {
  94. font-size: 0.75rem;
  95. color: #999;
  96. }
  97. .msg-preview {
  98. font-size: 0.8125rem;
  99. color: #666;
  100. overflow: hidden;
  101. white-space: nowrap;
  102. text-overflow: ellipsis;
  103. width: 15.625rem;
  104. }