|
8 | 8 | box-sizing: border-box; |
9 | 9 | } |
10 | 10 | body { |
11 | | - font-family: Helvetica, Arial, sans-serif; |
| 11 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; |
12 | 12 | margin: 0; |
13 | 13 | overflow: hidden; |
14 | 14 | display: flex; |
15 | 15 | height: 100vh; |
16 | 16 | width: 100vw; |
| 17 | + font-size: 13px; |
| 18 | + color: #374151; |
17 | 19 | } |
18 | 20 | #controls { |
19 | | - width: 320px; |
| 21 | + width: 260px; |
20 | 22 | flex-shrink: 0; |
21 | | - background: #fff; |
22 | | - box-shadow: 2px 0 4px rgba(0,0,0,0.1); |
| 23 | + background: #f9fafb; |
| 24 | + border-right: 1px solid #e5e7eb; |
23 | 25 | overflow-y: auto; |
24 | 26 | } |
25 | 27 | #control-panel { |
26 | | - padding: 12px 24px; |
27 | | - font-size: 13px; |
28 | | - line-height: 2; |
29 | | - color: #6b6b76; |
| 28 | + padding: 12px 16px; |
| 29 | + line-height: 1.4; |
| 30 | + } |
| 31 | + #control-panel > h3:first-of-type { |
| 32 | + margin: 0 0 8px 0; |
| 33 | + font-size: 15px; |
| 34 | + font-weight: 600; |
| 35 | + color: #111827; |
| 36 | + letter-spacing: -0.01em; |
| 37 | + } |
| 38 | + #control-panel h3 { |
| 39 | + margin: 12px 0 6px 0; |
| 40 | + font-size: 11px; |
| 41 | + font-weight: 600; |
| 42 | + color: #6b7280; |
30 | 43 | text-transform: uppercase; |
31 | | - outline: none; |
| 44 | + letter-spacing: 0.05em; |
| 45 | + } |
| 46 | + #control-panel h4 { |
| 47 | + margin: 0 0 4px 0; |
| 48 | + font-size: 11px; |
| 49 | + font-weight: 600; |
| 50 | + color: #6b7280; |
| 51 | + text-transform: uppercase; |
| 52 | + letter-spacing: 0.05em; |
32 | 53 | } |
33 | 54 | #control-panel label { |
34 | | - display: inline-block; |
| 55 | + display: flex; |
| 56 | + align-items: center; |
| 57 | + gap: 8px; |
| 58 | + cursor: pointer; |
| 59 | + font-size: 13px; |
35 | 60 | } |
36 | 61 | #control-panel input[type="checkbox"] { |
37 | | - margin-left: 10px; |
| 62 | + width: 16px; |
| 63 | + height: 16px; |
| 64 | + margin: 0; |
| 65 | + cursor: pointer; |
| 66 | + accent-color: #3b82f6; |
38 | 67 | } |
39 | 68 | #control-panel select { |
40 | | - margin-left: 10px; |
41 | 69 | width: 100%; |
42 | | - max-width: 250px; |
| 70 | + padding: 6px 8px; |
| 71 | + border: 1px solid #d1d5db; |
| 72 | + border-radius: 4px; |
| 73 | + background: #fff; |
| 74 | + font-size: 13px; |
| 75 | + color: #374151; |
| 76 | + cursor: pointer; |
| 77 | + } |
| 78 | + #control-panel select:focus { |
| 79 | + outline: none; |
| 80 | + border-color: #3b82f6; |
| 81 | + box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); |
43 | 82 | } |
44 | 83 | .section { |
45 | | - border-top: 1px solid #ddd; |
46 | | - padding-top: 10px; |
47 | | - margin-top: 10px; |
| 84 | + padding: 8px 0; |
| 85 | + border-bottom: 1px solid #e5e7eb; |
48 | 86 | } |
49 | | - .example-name { |
50 | | - font-weight: bold; |
51 | | - color: #333; |
52 | | - margin-bottom: 5px; |
| 87 | + .section:last-child { |
| 88 | + border-bottom: none; |
53 | 89 | } |
54 | | - h3 { |
55 | | - margin: 10px 0 5px; |
56 | | - color: #333; |
| 90 | + .label { |
| 91 | + font-size: 11px; |
| 92 | + font-weight: 500; |
| 93 | + color: #6b7280; |
| 94 | + margin-bottom: 4px; |
| 95 | + text-transform: uppercase; |
| 96 | + letter-spacing: 0.03em; |
| 97 | + } |
| 98 | + .fps-meter { |
| 99 | + text-align: center; |
| 100 | + padding: 12px 0 !important; |
| 101 | + background: #fff; |
| 102 | + margin: 0 -16px; |
| 103 | + padding-left: 16px !important; |
| 104 | + padding-right: 16px !important; |
| 105 | + border-bottom: 1px solid #e5e7eb; |
57 | 106 | } |
58 | 107 | #map { |
59 | 108 | flex: 1; |
60 | 109 | position: relative; |
61 | 110 | overflow: hidden; |
62 | 111 | } |
| 112 | + /* Debug info styling */ |
| 113 | + #control-panel .section div { |
| 114 | + font-size: 12px; |
| 115 | + line-height: 1.6; |
| 116 | + } |
| 117 | + #control-panel .section div b { |
| 118 | + font-weight: 500; |
| 119 | + color: #6b7280; |
| 120 | + } |
| 121 | + /* Testing instructions */ |
| 122 | + #control-panel .section p { |
| 123 | + margin: 0 0 6px 0; |
| 124 | + font-size: 11px; |
| 125 | + line-height: 1.5; |
| 126 | + color: #6b7280; |
| 127 | + } |
| 128 | + #control-panel .section p b { |
| 129 | + color: #374151; |
| 130 | + } |
63 | 131 | </style> |
64 | 132 | </head> |
65 | 133 | <body> |
|
0 commit comments