-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
135 lines (115 loc) · 2.53 KB
/
style.css
File metadata and controls
135 lines (115 loc) · 2.53 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', system-ui, sans-serif;
background-color: #dee2e8; /* Background light gray */
color: #090909; /* Text color */
}
.controls-container {
display: flex;
gap: 15px; /* Adds space between the input and the dropdown */
margin-bottom: 30px;
}
select, input { /* Input */
padding: 12px 16px;
border: 1px solid #d8dee8;
border-radius: 8px;
font-size: 1rem;
outline: none;
}
.slider-wrapper {
padding: 20px;
max-width: 400px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.psi-slider-wrapper {
padding: 20px;
max-width: 400px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.slider-container {
display: flex;
/* Lil gap between sliders */
column-gap: 20px;
}
.slider-wrapper, .psi-slider-wrapper {
/* Makes them the same size */
flex: 1;
}
.noUi-connect {
background: #d32f2f; /* Match the red theme */
}
.loading-indicator {
text-align: center;
padding: 20px;
color: #475569;
font-weight: 600;
}
select:focus, input:focus {
border: 2px #d32f2f; /* Highlight when focused */
box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1); /* Subtle red glow */
}
.result-item { /* Load Item Results */
background: rgb(255, 255, 255);
margin-bottom: 1rem;
padding: 20px;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
}
/* Force the left side (Title + Badges) to stack vertically */
.load-main {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1; /* This lets the left side take up the most room */
}
.gauge-pill {
background: #2c3e50; /* Deep gunmetal */
color: white;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.8rem;
margin-right: 10px;
display: inline-block;
vertical-align: middle;
}
.badge-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.spec-badge {
background: #e2e8f0;
color: #475569;
padding: 4px 10px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
}
/* Side-by-side Velocity and Pressure boxes */
.load-stats {
display: flex;
gap: 20px;
text-align: right;
}
.stat-label {
display: block;
font-size: 0.7rem;
color: #94a3b8;
text-transform: uppercase;
}
.stat-value {
font-size: 1.2rem;
font-weight: 800;
color: #1e293b;
}
#loadCount {
color: #d32f2f; /* Red color for load count */
}