-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
127 lines (116 loc) · 5.88 KB
/
styles.css
File metadata and controls
127 lines (116 loc) · 5.88 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
:root {
--ink: #102033;
--muted: #65758a;
--line: #d8e1ec;
--bg: #eef3f8;
--panel: #ffffff;
--nav: #062136;
--blue: #1769d2;
--green: #168a45;
--amber: #c77700;
--red: #d92d20;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
button, input, select { font: inherit; }
.sidebar {
position: fixed;
inset: 0 auto 0 0;
width: 250px;
display: flex;
flex-direction: column;
padding: 24px 18px;
background: linear-gradient(180deg, #062a46, #031927);
color: #fff;
}
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 30px; }
.brand-icon {
width: 50px; height: 50px; display: grid; place-items: center;
border: 2px solid #4ba1ff; border-radius: 50%; color: #75b7ff; font-weight: 900; font-size: 27px;
}
.brand strong { display: block; font-size: 23px; }
.brand span { color: #75b7ff; letter-spacing: .16em; text-transform: uppercase; }
nav { display: grid; gap: 8px; }
nav a { color: #d8ebff; text-decoration: none; padding: 14px 16px; border-radius: 8px; }
nav a.active, nav a:hover { background: #145d9c; }
.sidebar-note { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 6px; }
.sidebar-note span, .sidebar-note small { color: #abc3d8; }
main { margin-left: 250px; padding: 24px; }
.topbar {
display: grid; grid-template-columns: minmax(280px,1fr) 280px auto; gap: 18px; align-items: center; margin-bottom: 18px;
}
h1, h2, p { margin: 0; }
h1 { font-size: 32px; }
.topbar p { color: var(--muted); margin-top: 5px; }
.topbar label, .status {
min-height: 58px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line);
background: var(--panel); padding: 10px 14px; border-radius: 8px; color: var(--muted); font-weight: 700;
}
.topbar select { border: 0; background: transparent; color: var(--ink); flex: 1; font-weight: 800; }
.status { color: var(--green); }
.status span { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.grid {
display: grid;
grid-template-columns: minmax(420px, 1.15fr) minmax(340px, .9fr) minmax(380px, .95fr);
gap: 14px;
align-items: start;
}
.panel {
background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
box-shadow: 0 12px 30px rgba(24, 39, 55, .08);
}
.panel-title { min-height: 56px; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-title h2 { font-size: 18px; }
.panel-title button { border: 1px solid var(--line); background: #f7fbff; color: var(--blue); border-radius: 6px; padding: 8px 10px; font-weight: 800; cursor: pointer; }
.load-table { padding: 14px; }
.load-head, .load-row { display: grid; grid-template-columns: 1.4fr 58px 76px 76px 120px; gap: 8px; align-items: center; }
.load-head { color: var(--muted); font-size: 12px; font-weight: 800; padding: 0 0 8px; text-transform: uppercase; }
.load-row { padding: 8px 0; border-top: 1px solid #edf2f7; }
.load-row input, .load-row select {
width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 7px;
}
.load-name { font-weight: 800; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
label { display: grid; gap: 7px; color: #26384d; font-size: 14px; font-weight: 750; }
label span {
display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 6px;
background: #fff; color: var(--muted);
}
label span input { min-width: 0; border: 0; padding: 10px; }
label span::after { padding-right: 10px; }
.wide { grid-column: 1 / -1; }
output { justify-self: end; color: var(--blue); font-weight: 900; }
input[type="range"] { accent-color: var(--blue); }
#planBadge { padding: 7px 11px; background: #dcfce7; color: var(--green); border-radius: 999px; font-weight: 900; }
#planBadge.warning { background: #fff3cd; color: var(--amber); }
#planBadge.danger { background: #fee4e2; color: var(--red); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.metric-grid article { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfdff; }
.metric-grid span { color: var(--muted); }
.metric-grid strong { display: block; margin-top: 6px; color: var(--blue); font-size: 25px; }
.recommendation { display: flex; gap: 12px; align-items: center; margin: 0 14px 14px; padding: 14px; border: 1px solid #b9e7c9; background: #f4fff8; border-radius: 8px; }
.check { width: 38px; height: 38px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 50%; font-weight: 900; flex: none; }
.shed-box { margin: 0 14px 16px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.shed-box span { display: block; color: var(--muted); margin-bottom: 6px; }
.chart-panel { grid-column: span 1; }
canvas { width: 100%; display: block; padding: 12px 16px 18px; max-height: 330px; }
.timeline-panel { grid-column: span 3; }
#timeline { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; padding: 18px; }
.slot { min-height: 58px; border-radius: 6px; padding: 8px; background: #e8f2ff; color: #0b4d92; font-size: 12px; font-weight: 800; }
.slot.shed { background: #fff1d6; color: #9a5a00; }
@media (max-width: 1220px) {
.sidebar { position: static; width: auto; }
main { margin-left: 0; }
.topbar, .grid { grid-template-columns: 1fr; }
.timeline-panel { grid-column: auto; }
}
@media (max-width: 680px) {
main { padding: 12px; }
.sidebar { padding: 18px; }
nav { grid-template-columns: 1fr 1fr; }
h1 { font-size: 25px; }
.load-head { display: none; }
.load-row, .form-grid, .metric-grid { grid-template-columns: 1fr; }
#timeline { grid-template-columns: repeat(4, 1fr); }
}