-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresults-panel.css
More file actions
140 lines (122 loc) · 2.9 KB
/
Copy pathresults-panel.css
File metadata and controls
140 lines (122 loc) · 2.9 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
/* EULER - Results Panel CSS */
/* ========== Results Panel ========== */
#result {
padding: var(--spacing-4);
border-left: var(--section-border-width) solid var(--primary-color);
background-color: var(--dark-color-3);
margin-bottom: 0;
width: 100%;
}
#result.error {
border-left-color: var(--error-color);
background-color: rgba(var(--error-color-rgb), 0.08);
}
#result-title {
margin-bottom: var(--spacing-2);
color: var(--text-color);
}
#result-summary {
margin-bottom: var(--spacing-2);
white-space: normal;
overflow: visible;
}
/* Path display styling */
#result-path {
font-family: var(--font-family-mono);
font-size: var(--font-size-base);
/* color: var(--primary-color); */
margin-bottom: var(--spacing-3);
/* padding: var(--spacing-2) var(--spacing-3); */
/* background-color: var(--dark-color-4); */
border-radius: var(--border-radius-sm);
white-space: normal;
overflow-wrap: break-word;
word-break: break-all;
letter-spacing: -0.15em;
/* truncate to two lines max (with an elipsis) */
position: relative;
cursor: help;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.path-title {
font-family: var(--font-family-base);
font-weight: semibold;
letter-spacing: 0;
}
#explanation {
margin-top: 0;
padding: var(--spacing-4);
background-color: var(--dark-color-4);
border-left: var(--section-border-width) solid var(--primary-color);
max-height: none;
overflow: visible;
width: 100%;
}
#explanation h3 {
margin-bottom: 15px;
color: var(--text-color);
font-size: 18px;
}
#explanation p {
margin-bottom: 12px;
line-height: 1.5;
}
#explanation ul {
margin: 0 0 15px 20px;
}
#explanation li {
margin-bottom: 8px;
}
#controls {
width: 100%;
margin-top: 0;
}
/* Animation counter display */
#animation-counter {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 20px;
background-color: var(--accent-primary);
color: var(--text-primary);
padding: 8px 20px;
border-radius: 0;
font-family: var(--font-family-mono);
font-size: 1.1em;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 5;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#animation-counter::before {
content: "\f04b";
font-family: "Font Awesome 6 Free";
font-weight: 900;
margin-right: 8px;
color: var(--accent-primary);
}
/* No-results hint box specific styles */
#no-results-hint {
display: block; /* Always visible by default */
}
/* Hide the hint when results are shown */
#result:not(.hidden) ~ #no-results-hint {
display: none;
}
/* Responsive adjustments */
@media (max-width: 992px) {
#animation-counter {
font-size: 14px;
}
}
@media (max-width: 576px) {
h1 { font-size: calc(var(--font-size-2xl)); }
h2 { font-size: calc(var(--font-size-lg)); }
h3 { font-size: calc(var(--font-size-base)); }
p { line-height: 1.6; }
}