-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisual_trainer.css
More file actions
155 lines (136 loc) · 3.24 KB
/
visual_trainer.css
File metadata and controls
155 lines (136 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* Floating Button */
.geocoach-trainer-btn {
position: fixed;
bottom: 120px;
left: 20px; /* Spostato a sinistra */
z-index: 99999;
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
cursor: pointer;
border: 2px solid rgba(255,255,255,0.2);
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.2s ease;
}
.geocoach-trainer-btn:hover {
transform: scale(1.1);
}
.geocoach-trainer-btn svg {
width: 30px;
height: 30px;
fill: white;
}
/* Results Panel */
.geocoach-trainer-panel {
position: fixed;
bottom: 190px;
left: 20px; /* Spostato a sinistra per allinearsi col bottone */
width: 320px;
background: rgba(30, 30, 30, 0.95);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.1);
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
z-index: 99999;
/* display: none; <-- Rimosso perché gestito via JS con classe visible */
display: none; /* Default hidden */
overflow: hidden;
max-height: 80vh;
flex-direction: column;
opacity: 0.5;
transition: opacity 0.3s ease;
}
.geocoach-trainer-panel:hover {
opacity: 1;
}
.geocoach-trainer-panel.visible {
display: flex;
}
.geocoach-panel-header {
padding: 15px;
background: rgba(255,255,255,0.05);
border-bottom: 1px solid rgba(255,255,255,0.1);
display: flex;
justify-content: space-between;
align-items: center;
cursor: move; /* Indica che è spostabile */
user-select: none; /* Previene selezione testo durante drag */
}
.geocoach-panel-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.geocoach-reset-btn {
background: none;
border: none;
color: #aaa;
cursor: pointer;
font-size: 18px;
padding: 0;
}
.geocoach-reset-btn:hover {
color: white;
}
.geocoach-close-btn {
background: none;
border: none;
color: #aaa;
cursor: pointer;
font-size: 18px;
padding: 0;
}
.geocoach-close-btn:hover {
color: white;
}
.geocoach-panel-content {
padding: 15px;
overflow-y: auto;
}
.geocoach-clue-item {
background: rgba(255,255,255,0.05);
border-radius: 8px;
padding: 10px;
margin-bottom: 10px;
border-left: 3px solid #764ba2;
}
.geocoach-clue-category {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
color: #aaa;
margin-bottom: 4px;
}
.geocoach-clue-text {
font-size: 13px;
line-height: 1.4;
}
.geocoach-confidence-high { border-left-color: #4CAF50; }
.geocoach-confidence-medium { border-left-color: #FFC107; }
.geocoach-confidence-low { border-left-color: #F44336; }
.geocoach-loading {
text-align: center;
padding: 20px;
color: #aaa;
}
.geocoach-spinner {
width: 24px;
height: 24px;
border: 3px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
margin: 0 auto 10px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}