BlueGit

timfa bluegit

Files

bluegit / internal / server / static / style.css

style.css

feat: koppel commits aan wie ze pushte
timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa · 3 weeks ago
Failed 6c3f521b History
style.css 12.5 KiB Download Raw
1:root {
2 --ink: #142033;
3 --blue: #1f6feb;
4 --blue-deep: #0c3f86;
5 --paper: #f3f6fb;
6 --card: #ffffff;
7 --line: #d5e0ee;
8 --muted: #5c6b80;
9 --bad: #9f2d2d;
10 --ok: #146c43;
11 --shadow: 0 10px 30px rgba(20, 32, 51, 0.06);
12 font-family: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
13}
14* { box-sizing: border-box; }
15body { margin: 0; background: var(--paper); color: var(--ink); }
16a { color: var(--blue-deep); }
17.top {
18 display: flex; justify-content: space-between; align-items: center;
19 padding: 0.8rem 1.4rem; background: var(--ink); color: white;
20}
21.top a { color: white; text-decoration: none; }
22.brand { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; letter-spacing: 0.02em; }
23.brand img { width: 32px; height: 32px; }
24.top nav { display: flex; gap: 1rem; align-items: center; }
25.top button, .btn, button {
26 background: var(--blue); color: white; border: 0; border-radius: 999px;
27 padding: 0.45rem 0.9rem; cursor: pointer; font: inherit;
28}
29.btn.ghost, button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
30.top button { background: transparent; border: 1px solid rgba(255,255,255,.35); }
31main { max-width: 980px; margin: 0 auto; padding: 1.4rem; }
32.hero { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; }
33.hero img { width: 120px; }
34.card, .panel {
35 background: var(--card); border: 1px solid var(--line); border-radius: 16px;
36 padding: 1rem 1.1rem; box-shadow: var(--shadow); margin: 0.8rem 0;
37}
38.flash { padding: 0.7rem 0.9rem; border-radius: 12px; background: #e5f6ec; color: var(--ok); }
39.flash.bad { background: #fde8e8; color: var(--bad); }
40.tabs, .sub { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0.4rem 0 1rem; }
41.sub a { text-decoration: none; padding-bottom: 0.2rem; }
42.muted { color: var(--muted); }
43.preview { margin: 0.15rem 0 0.7rem; color: var(--muted); word-break: break-all; }
44.preview:empty { display: none; }
45label { display: block; margin: 0.55rem 0; }
46input[type="checkbox"] { width: auto; }
47input, textarea, select {
48 width: 100%; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 10px;
49 font: inherit; background: white;
50}
51textarea { min-height: 7rem; }
52.row { display: flex; gap: 0.6rem; align-items: center; }
53.row input, .row select { width: auto; flex: 1; }
54code, pre { font-family: "IBM Plex Mono", "ui-monospace", monospace; }
55pre, .code {
56 background: #0f1b2d; color: #e7eef8; padding: 0.8rem 1rem; border-radius: 12px; overflow: auto;
57}
58ul.clean { list-style: none; padding: 0; }
59ul.clean li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
60.pill { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.45rem; }
61table { width: 100%; border-collapse: collapse; }
62td, th { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
63.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
64@media (max-width: 720px) {
65 .hero, .grid-2 { grid-template-columns: 1fr; }
66 main { padding: 0.8rem; }
67}
68main.wide { max-width: 1180px; }
69.sub a.on { border-bottom: 2px solid var(--blue); color: var(--ink); }
70.crumbs { color: var(--muted); margin: 0 0 0.4rem; }
71.crumbs a { color: var(--muted); text-decoration: none; }
72.projhead { display: flex; align-items: center; gap: 0.7rem; }
73.projhead h1 { margin: 0; font-size: 1.6rem; }
74.tile {
75 width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
76 background: #e56a93; color: white; font-weight: 700; font-size: 1.2rem;
77}
78.vis { width: 18px; height: 18px; color: var(--muted); }
79.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }
80.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }
81.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }
82.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
83.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }
84.pathnow { color: var(--ink); }
85.pathnow a { color: inherit; text-decoration: none; }
86.menu { position: relative; }
87.menu summary { list-style: none; cursor: pointer; }
88.menu summary::-webkit-details-marker { display: none; }
89.menu-panel {
90 position: absolute; right: 0; top: 2.3rem; z-index: 4; width: min(420px, 80vw);
91 background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem;
92 box-shadow: var(--shadow);
93}
94.copyline { display: flex; gap: 0.4rem; }
95.copyline input { font-family: ui-monospace, monospace; font-size: 0.85rem; }
96.commitbar {
97 display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa;
98 border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;
99}
100.commitbar .grow { flex: 1; min-width: 0; }
101.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
102.avatar {
103 width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);
104 display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;
105}
106img.avatar { object-fit: cover; display: block; }
107.avatar.lg { width: 64px; height: 64px; font-size: 1.35rem; }
108.commitwho a { color: var(--ink); font-weight: 650; text-decoration: none; }
109.commitwho a:hover { text-decoration: underline; }
110ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }
111.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }
112.iconbtn, .copyline button {
113 background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
114 padding: 0.3rem 0.55rem; cursor: pointer; font: inherit;
115}
116table.files { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
117table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
118table.files td.msg { max-width: 280px; }
119table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
120.readme, .codebox, .side {
121 background: white; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem;
122}
123.readme header, .codebox header { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; }
124.mdbody { padding: 0.2rem 1.1rem 1rem; }
125.mdbody h1, .mdbody h2, .mdbody h3 { margin: 1rem 0 0.4rem; }
126table.md { margin: 0.6rem 0 1rem; }
127table.md th, table.md td { border: 1px solid var(--line); padding: 0.4rem 0.6rem; }
128.side { margin-top: 0.2rem; padding: 0.9rem 1rem; }
129.side h2 { margin: 0 0 0.5rem; font-size: 1rem; }
130.counts { list-style: none; padding: 0; margin: 0.6rem 0; }
131.counts li { padding: 0.28rem 0; }
132.counts a { text-decoration: none; }
133.fileview { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: start; }
134.treebox h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
135.treelist { list-style: none; padding: 0; margin: 0.5rem 0 0; }
136.treelist li { padding: 0.18rem 0.3rem; border-radius: 6px; white-space: nowrap; }
137.treelist li a { color: inherit; text-decoration: none; }
138.treelist li.active { background: #ddf4ff; }
139.treelist li.depth-1 { padding-left: 0.9rem; }
140.treelist li.depth-2 { padding-left: 1.6rem; }
141.treelist li.depth-3 { padding-left: 2.3rem; }
142.treelist li.depth-4 { padding-left: 3rem; }
143.treelist li.depth-5 { padding-left: 3.7rem; }
144.treelist li.depth-6, .treelist li.depth-7, .treelist li.depth-8 { padding-left: 4.4rem; }
145.filename { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.6rem; }
146.codebox { margin-top: 0.8rem; overflow: auto; }
147table.code { border-collapse: collapse; width: 100%; }
148table.code td { border: 0; padding: 0 0.7rem; vertical-align: top; font-family: ui-monospace, monospace; font-size: 0.86rem; line-height: 1.45; }
149table.code td.ln { color: #8c959f; text-align: right; width: 1%; user-select: none; background: #f6f8fa; }
150table.code td.src { white-space: pre; }
151.hl-k { color: #8250df; }
152.hl-s { color: #cf222e; }
153.hl-c { color: #6e7781; }
154.hl-n { color: #0550ae; }
155.heat {
156 background: white; border: 1px solid var(--line); border-radius: 16px;
157 padding: 1rem 1.1rem 0.8rem; box-shadow: var(--shadow); margin: 0.4rem 0 1.1rem;
158}
159.heat h2 { margin: 0 0 0.55rem; font-size: 1.05rem; }
160.heat-scroll { overflow-x: auto; padding: 1.7rem 0.2rem 0.15rem; }
161.heat-months, .heat-cols {
162 display: grid; grid-auto-flow: column; grid-auto-columns: 11px; column-gap: 3px;
163}
164.heat-months { margin: 0 0 0.25rem 20px; height: 1rem; font-size: 0.68rem; color: var(--muted); }
165.heat-months span { white-space: nowrap; line-height: 1rem; }
166.heat-body { display: flex; gap: 4px; }
167.heat-dow {
168 display: grid; grid-template-rows: repeat(7, 11px); row-gap: 3px;
169 width: 16px; font-size: 0.65rem; color: var(--muted); line-height: 11px;
170}
171.heat-col { display: grid; grid-auto-rows: 11px; row-gap: 3px; }
172.sq { width: 11px; height: 11px; border-radius: 2px; display: block; position: relative; }
173.sq[title]:hover::after, .sq[title]:focus::after {
174 content: attr(title);
175 position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
176 background: #142033; color: white; padding: 0.28rem 0.5rem; border-radius: 6px;
177 font-size: 0.78rem; line-height: 1.2; white-space: nowrap; z-index: 5; pointer-events: none;
178}
179.sq.off { background: transparent; }
180.sq.lv0 { background: #e6edf5; }
181.sq.lv1 { background: #b9d4f6; }
182.sq.lv2 { background: #6eacf0; }
183.sq.lv3 { background: #1f6feb; }
184.sq.lv4 { background: #0c3f86; }
185.heat-foot {
186 display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
187 margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem;
188}
189.heat-total, .heat-legend, .heat-foot .muted { margin: 0; }
190.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
191.heat-foot .muted { text-align: right; margin-top: 0.2rem; }
192.chooser { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; transition: opacity .28s ease, transform .28s ease; }
193.chooser.away { opacity: 0; transform: translateY(-10px) scale(.97); pointer-events: none; }
194.pick { min-width: 11rem; padding: 1rem 1.3rem; font-size: 1.05rem; }
195.sheet { transform-origin: top center; }
196.sheet.open { animation: unfold .32s ease; }
197.sheet.closing { animation: fold .28s ease forwards; }
198@keyframes unfold {
199 from { opacity: 0; transform: scaleY(.55); }
200 to { opacity: 1; transform: scaleY(1); }
201}
202@keyframes fold {
203 from { opacity: 1; transform: scaleY(1); }
204 to { opacity: 0; transform: scaleY(.45); }
205}
206.preview { min-height: 1.2rem; display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
207.flag.ok { color: var(--ok); font-weight: 600; }
208.flag.bad { color: var(--bad); font-weight: 600; }
209.form-err:empty { display: none; }
210.form-err { color: var(--bad); margin: 0.2rem 0; }
211.bar { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .2rem; }
212.bar input[type="search"] { flex: 1; }
213.sortlabel { color: var(--muted); }
214.iconbtn { text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .55rem; background: white; color: var(--ink); }
215.repolist { list-style: none; padding: 0; margin: .4rem 0 1rem; }
216.repolist > li { display: flex; align-items: center; gap: .7rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }
217.reponame { font-weight: 600; text-decoration: none; }
218.stars { color: #9a6700; white-space: nowrap; }
219.grown { flex: 1; }
220.rowmenu { position: relative; }
221.rowmenu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .55rem; background: white; }
222.rowmenu > summary::-webkit-details-marker { display: none; }
223.rowmenu .menu-panel { position: absolute; right: 0; z-index: 3; min-width: 9rem; }
224.rowmenu .menu-panel button, .rowmenu .menu-panel form { width: 100%; }
225.rowmenu .menu-panel button { text-align: left; border-radius: 8px; }
226img.tile { object-fit: cover; background: #fff; }
227@font-face {
228 font-family: "Noto Sans Cuneiform";
229 src: url("/assets/NotoSansCuneiform-Regular.ttf") format("truetype");
230 font-display: swap;
231}
232html.cunei, html.cunei body, html.cunei button, html.cunei input, html.cunei select, html.cunei textarea {
233 font-family: "Noto Sans Cuneiform", "Segoe UI", sans-serif;
234}
235@media (max-width: 800px) {
236 .proj, .fileview { grid-template-columns: 1fr; }
237 .heat-foot { flex-direction: column; align-items: flex-start; }
238 .heat-legend, .heat-foot .muted { justify-content: flex-start; text-align: left; }
239 .repolist > li { flex-wrap: wrap; }
240}