From e55505fe94fd1790f109c9677e3eb35b405f4e2f Mon Sep 17 00:00:00 2001 From: czoczo Date: Sat, 17 May 2025 13:49:49 +0200 Subject: [PATCH] wip on preview --- webpage/BetterBash/src/App.vue | 86 ++++++++++++++++++++++++++-------- 1 file changed, 67 insertions(+), 19 deletions(-) diff --git a/webpage/BetterBash/src/App.vue b/webpage/BetterBash/src/App.vue index 5e1cd92..9c7f96e 100644 --- a/webpage/BetterBash/src/App.vue +++ b/webpage/BetterBash/src/App.vue @@ -22,8 +22,7 @@ :key="name" :value="color.code" > - {{ name }} ({{ color.code }}) - + {{ name }} @@ -35,12 +34,17 @@ :class="getColorClass(colors.SECONDARY_COLOR)" >user@hostname:pts/5)hostname:pts/5)──(◢▼◢◆◆◣▼◣▶▬▲◀▶▲▬◀)──(1 ↻)───────────────────────└─(~)─(~)($)-> + >)-> + +
 
+ +
+ ┌─(user@hostname:pts/5)──(▶▬▲◀▶▲▬◀)──(1 ↻)───────────────────────(Wed May 14)───(00:40:00)──── +
+ + +
+ └─(~)($)-> +
+
@@ -128,7 +182,6 @@ const colorLabels = { ERR_COLOR: 'Error Color', WHITEB: 'White Bold', RST: 'Reset', - BOLD: 'Bold', BORDCOL: 'Border Color', PATH_COLOR: 'Path Color', }; @@ -142,7 +195,6 @@ const colors = ref({ ERR_COLOR: '\\[\\033[00;31;1m\\]', WHITEB: '\\[\\033[00;97;1m\\]', RST: '\\[\\033[0m\\]', - BOLD: '\\[\\033[1m\\]', BORDCOL: '\\[\\033[00;90;1m\\]', PATH_COLOR: '\\[\\033[00;97;1m\\]', }); @@ -213,7 +265,7 @@ h1 { background-color: #2d2d2d; padding: 15px; border-radius: 8px; - font-family: Consolas, Monaco, 'Lucida Console', monospace; /* Apply terminal font */ + font-family: Consolas, Monaco, 'Lucida Console', monospace; } label { margin-bottom: 8px; @@ -225,14 +277,14 @@ select { color: #fff; border: 1px solid #555; border-radius: 4px; - font-family: Consolas, Monaco, 'Lucida Console', monospace; /* Apply terminal font */ + font-family: Consolas, Monaco, 'Lucida Console', monospace; } .terminal { background-color: #000; padding: 20px; border-radius: 8px; min-height: 180px; - font-family: Consolas, Monaco, 'Lucida Console', monospace; /* Apply terminal font */ + font-family: Consolas, Monaco, 'Lucida Console', monospace; overflow-x: auto; margin-top: 20px; white-space: pre-wrap; @@ -351,10 +403,6 @@ select { } .text-red-on-white { color: #ffffff; - background-color: #cc0000; - font-weight: bold; -} -.text-reset { - color: inherit; + background-color: #cc0; }