|
1 | 1 | /* Work Page */ |
2 | 2 | .back-button { |
| 3 | + margin-left: 10px; |
3 | 4 | z-index: 10; |
4 | 5 | } |
5 | 6 |
|
| 7 | +/* Widget Styles */ |
| 8 | +.widget { |
| 9 | + background: var(--bg-glass); |
| 10 | + backdrop-filter: blur(10px); |
| 11 | + -webkit-backdrop-filter: blur(10px); /* Safari specific prefix */ |
| 12 | + border-radius: 1rem; |
| 13 | + width: 100%; |
| 14 | + height: 70px; |
| 15 | + display: flex; |
| 16 | + margin-top: -30px; |
| 17 | + flex-direction: column; |
| 18 | + align-items: center; |
| 19 | + justify-content: center; |
| 20 | + overflow: hidden; |
| 21 | + box-shadow: var(--icon-boxshadow) |
| 22 | +} |
| 23 | + |
| 24 | +.widget a { |
| 25 | + padding: 0; |
| 26 | +} |
| 27 | + |
| 28 | +.widget h2 { |
| 29 | + font-size: 1.2rem; |
| 30 | + color: var(--text-dark); |
| 31 | + margin: 1rem 0 0 20px; |
| 32 | + font-weight: bold; |
| 33 | + word-break: break-word; |
| 34 | +} |
| 35 | + |
| 36 | +.widget p { |
| 37 | + font-size: 0.8rem; |
| 38 | + color: var(--text-secondary); |
| 39 | + margin-left: 1.5rem; |
| 40 | +} |
| 41 | + |
6 | 42 | /* Map Marker Design */ |
7 | 43 | .map-marker { |
8 | 44 | position: absolute; |
|
21 | 57 | color: var(--text-dark); |
22 | 58 | background: var(--bg-glass); |
23 | 59 | backdrop-filter: blur(2px); |
| 60 | + -webkit-backdrop-filter: blur(2px); /* Safari specific prefix */ |
24 | 61 | border-radius: 0.5rem; |
25 | 62 | padding: 5px 12px; |
26 | 63 | font-size: 0.9rem; |
27 | 64 | margin-bottom: 5px; |
28 | | - white-space: nowrap; |
| 65 | + white-space: nowrap; |
| 66 | + box-shadow: var(--icon-boxshadow) |
29 | 67 | } |
30 | 68 |
|
31 | 69 | /* Marker Pin */ |
32 | 70 | .map-marker .marker-pin { |
33 | | - width: 14px; |
34 | | - height: 14px; |
| 71 | + width: 15px; |
| 72 | + height: 15px; |
35 | 73 | background-color: var(--error); |
36 | 74 | border-radius: 50%; |
37 | 75 | position: relative; |
38 | 76 | transition: transform 0.2s ease; |
| 77 | + box-shadow: var(--icon-boxshadow) |
| 78 | + |
39 | 79 | } |
40 | 80 |
|
41 | 81 | /* Hover Effect */ |
|
44 | 84 | border: 1px solid var(--error); |
45 | 85 | } |
46 | 86 |
|
47 | | -/* Widget Styles */ |
48 | | -.widget { |
49 | | - background: var(--bg-glass); |
50 | | - backdrop-filter: blur(2px); |
51 | | - border-radius: 1rem; |
52 | | - width: 100%; |
53 | | - height: 70px; |
54 | | - display: flex; |
55 | | - flex-direction: column; |
56 | | - align-items: center; |
57 | | - justify-content: center; |
58 | | - overflow: hidden; |
59 | | -} |
60 | | - |
61 | | -.widget a { |
62 | | - padding: 0; |
63 | | -} |
64 | | - |
65 | | -.widget h2 { |
66 | | - font-size: 1.2rem; |
67 | | - color: var(--text-dark); |
68 | | - margin: 1rem 0 0 20px; |
69 | | - font-weight: bold; |
70 | | - word-break: break-word; |
71 | | -} |
72 | | - |
73 | | -.widget p { |
74 | | - font-size: 0.8rem; |
75 | | - color: var(--text-secondary); |
76 | | - margin-left: 1.5rem; |
77 | | -} |
78 | | - |
79 | 87 | /* Popup covering 80% of the screen */ |
80 | 88 | .popup { |
81 | 89 | position: absolute; |
|
85 | 93 | height: 80%; |
86 | 94 | background: var(--bg-glass); |
87 | 95 | backdrop-filter: blur(10px); |
| 96 | + -webkit-backdrop-filter: blur(10px); /* Safari specific prefix */ |
88 | 97 | padding: 10px 10px 0 10px; |
89 | 98 | overflow-y: auto; |
90 | 99 | border-radius: 20px 20px 0 0; |
|
0 commit comments