-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (80 loc) · 4.12 KB
/
Copy pathstyle.css
File metadata and controls
80 lines (80 loc) · 4.12 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
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #121212; color: #e0e0e0; margin: 0;
}
.main-layout { display: flex; width: 100%; }
.watchlist-container {
width: 250px; background-color: #1e1e1e; padding: 20px;
height: 100vh; box-sizing: border-box; border-right: 1px solid #444;
}
.watchlist-container h3 { margin-top: 0; }
#watchlist-list { list-style: none; padding: 0; }
#watchlist-list li {
display: flex; justify-content: space-between; align-items: center;
padding: 10px; cursor: pointer; border-radius: 4px; margin-bottom: 5px;
}
#watchlist-list li:hover { background-color: #2e2e2e; }
.remove-watchlist { background: none; border: none; color: #dc3545; cursor: pointer; }
.container { flex-grow: 1; padding: 30px 50px; box-sizing: border-box; max-height: 100vh; overflow-y: auto; }
h1, h2, h3 { color: #ffffff; }
.search-container { display: flex; gap: 10px; margin-bottom: 20px; }
#ticker-input {
flex-grow: 1; padding: 10px; border-radius: 4px; border: 1px solid #444;
background-color: #2e2e2e; color: #e0e0e0; font-size: 16px;
}
#search-btn { padding: 10px 20px; border-radius: 4px; border: none; background-color: #007bff; color: white; font-size: 16px; cursor: pointer; }
.recommendations-container { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #444; }
.recommendations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.recommendation-btn {
padding: 10px; font-size: 14px; background-color: #2e2e2e; color: #e0e0e0;
border: 1px solid #444; border-radius: 4px; cursor: pointer; text-align: center;
transition: background-color 0.2s, border-color 0.2s;
}
.recommendation-btn:hover { background-color: #3e3e3e; border-color: #007bff; }
.header-section { display: flex; justify-content: space-between; align-items: center; }
#add-to-watchlist-btn { padding: 8px 12px; background-color: #28a745; color: white; border: none; border-radius: 4px; cursor: pointer; }
.main-content { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin: 20px 0; }
.score-card { background-color: #2e2e2e; border-radius: 8px; padding: 20px; text-align: center; }
.score-card p { margin: 0; font-size: 18px; color: #aaa; }
#credit-score { font-size: 60px; font-weight: bold; }
.headlines-container, .peer-container, .chart-container { margin-top: 30px; }
/* --- NEW: CHART HEADER STYLES --- */
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
#timeframe-controls button {
background-color: #2e2e2e; color: #e0e0e0; border: 1px solid #444;
padding: 5px 10px; border-radius: 4px; cursor: pointer; margin-left: 5px;
}
#timeframe-controls button.active { background-color: #007bff; border-color: #007bff; }
#headlines-list {
padding-left: 0;
list-style: none;
}
#headlines-list a {
color: #a0cfff; /* Corrected hex code */
text-decoration: none;
}
#headlines-list a:hover {
text-decoration: underline;
}
#headlines-list li {
margin-bottom: 10px;
background-color: #2e2e2e;
padding: 10px;
border-radius: 4px;
}
.hidden { display: none; }
#loader {
border: 5px solid #444; border-top: 5px solid #007bff; border-radius: 50%;
width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.error-message { text-align: center; color: #dc3545; background-color: rgba(220, 53, 69, 0.1); padding: 10px; border-radius: 4px; margin: 20px 0; }
.score-good { color: #28a745; }
.score-bad { color: #dc3545; }
.score-neutral { color: #ffc107; }
.explanation-card { background-color: #2e2e2e; border-radius: 8px; padding: 20px; }
.explanation-card p { margin: 5px 0; border-left: 3px solid #007bff; padding-left: 10px; }
#peer-scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.peer-card { background-color: #2e2e2e; border-radius: 8px; padding: 15px; text-align: center; }
.peer-card h4 { margin: 0 0 5px 0; }
.peer-card .peer-score { font-size: 24px; font-weight: bold; }