detached a85e2e5

cleanup: remove footer separator and fix whitespace

- Remove footer separator line for cleaner UI
- Fix trailing whitespace in Tailwind CSS
- Remove extra blank line in vite plugin
commit
a85e2e50a695be7f637505a40459ff3593136c0d
author
bamen · · 2025-09-25 04:26 UTC
parent
d84a0c8
signature
unsigned
3 files · +10 -17
M gui/src/components/Footer.svelte +1 -7
@@ -5,7 +5,6 @@
55 </script>
66
77 <footer class="footer">
8- <div class="footer-separator"></div>
98 <div class="footer-content">
109 <div class="footer-text">
1110 <span class="footer-name">Dumber Browser</span>
@@ -22,12 +21,7 @@
2221 margin-top: 1rem;
2322 width: 100%;
2423 }
25-
26- .footer-separator {
27- height: 2px;
28- background: #404040;
29- }
30-
24+
3125 .footer-content {
3226 display: flex;
3327 justify-content: center;
@@ -5,7 +5,6 @@
5 </script>5 </script>
6 6
7 <footer class="footer">7 <footer class="footer">
8- <div class="footer-separator"></div>
9 <div class="footer-content">8 <div class="footer-content">
10 <div class="footer-text">9 <div class="footer-text">
11 <span class="footer-name">Dumber Browser</span>10 <span class="footer-name">Dumber Browser</span>
@@ -22,12 +21,7 @@
22 margin-top: 1rem;21 margin-top: 1rem;
23 width: 100%;22 width: 100%;
24 }23 }
25-24+
26- .footer-separator {
27- height: 2px;
28- background: #404040;
29- }
30-
31 .footer-content {25 .footer-content {
32 display: flex;26 display: flex;
33 justify-content: center;27 justify-content: center;
M gui/src/styles/tailwind.css +9 -9
@@ -3,13 +3,13 @@
33 /* Define custom theme colors for v4 */
44 @theme {
55 /* Light theme colors (default) */
6- --color-browser-bg: rgb(253 252 250);
7- --color-browser-surface: rgb(245 245 240);
8- --color-browser-surface-variant: rgb(253 250 245);
9- --color-browser-text: rgb(17 24 39);
6+ --color-browser-bg: rgb(253 252 250);
7+ --color-browser-surface: rgb(245 245 240);
8+ --color-browser-surface-variant: rgb(253 250 245);
9+ --color-browser-text: rgb(17 24 39);
1010 --color-browser-muted: rgb(107 114 128);
11- --color-browser-accent: rgb(59 130 246);
12- --color-browser-border: rgb(229 231 235);
11+ --color-browser-accent: rgb(59 130 246);
12+ --color-browser-border: rgb(229 231 235);
1313 }
1414
1515 /* Dynamic theme switching via CSS variables */
@@ -26,9 +26,9 @@
2626 /* Dark theme colors (applied via .dark class from GTK) */
2727 .dark {
2828 --dynamic-bg: rgb(17 24 39);
29- --dynamic-surface-variant: rgb(21 30 50);
30- --dynamic-surface: rgb(31 41 55);
31- --dynamic-text: rgb(243 244 246);
29+ --dynamic-surface-variant: rgb(21 30 50);
30+ --dynamic-surface: rgb(31 41 55);
31+ --dynamic-text: rgb(243 244 246);
3232 --dynamic-muted: rgb(156 163 175);
3333 --dynamic-accent: rgb(96 165 250);
3434 --dynamic-border: rgb(55 65 81);
@@ -3,13 +3,13 @@
3 /* Define custom theme colors for v4 */3 /* Define custom theme colors for v4 */
4 @theme {4 @theme {
5 /* Light theme colors (default) */5 /* Light theme colors (default) */
6- --color-browser-bg: rgb(253 252 250); 6+ --color-browser-bg: rgb(253 252 250);
7- --color-browser-surface: rgb(245 245 240); 7+ --color-browser-surface: rgb(245 245 240);
8- --color-browser-surface-variant: rgb(253 250 245); 8+ --color-browser-surface-variant: rgb(253 250 245);
9- --color-browser-text: rgb(17 24 39); 9+ --color-browser-text: rgb(17 24 39);
10 --color-browser-muted: rgb(107 114 128);10 --color-browser-muted: rgb(107 114 128);
11- --color-browser-accent: rgb(59 130 246); 11+ --color-browser-accent: rgb(59 130 246);
12- --color-browser-border: rgb(229 231 235); 12+ --color-browser-border: rgb(229 231 235);
13 }13 }
14 14
15 /* Dynamic theme switching via CSS variables */15 /* Dynamic theme switching via CSS variables */
@@ -26,9 +26,9 @@
26 /* Dark theme colors (applied via .dark class from GTK) */26 /* Dark theme colors (applied via .dark class from GTK) */
27 .dark {27 .dark {
28 --dynamic-bg: rgb(17 24 39);28 --dynamic-bg: rgb(17 24 39);
29- --dynamic-surface-variant: rgb(21 30 50); 29+ --dynamic-surface-variant: rgb(21 30 50);
30- --dynamic-surface: rgb(31 41 55); 30+ --dynamic-surface: rgb(31 41 55);
31- --dynamic-text: rgb(243 244 246); 31+ --dynamic-text: rgb(243 244 246);
32 --dynamic-muted: rgb(156 163 175);32 --dynamic-muted: rgb(156 163 175);
33 --dynamic-accent: rgb(96 165 250);33 --dynamic-accent: rgb(96 165 250);
34 --dynamic-border: rgb(55 65 81);34 --dynamic-border: rgb(55 65 81);
M gui/vite-plugin-pages.ts +0 -1
@@ -21,7 +21,6 @@ function getFaviconSVG(): string {
2121 return readFileSync(logoPath, "utf-8");
2222 }
2323
24-
2524 // Generate HTML content for a page
2625 function generatePageHTML(config: PageConfig): string {
2726 const cssLink = config.css
@@ -21,7 +21,6 @@ function getFaviconSVG(): string {
21 return readFileSync(logoPath, "utf-8");21 return readFileSync(logoPath, "utf-8");
22 }22 }
23 23
24-
25 // Generate HTML content for a page24 // Generate HTML content for a page
26 function generatePageHTML(config: PageConfig): string {25 function generatePageHTML(config: PageConfig): string {
27 const cssLink = config.css26 const cssLink = config.css

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close