diff --git a/src/app/app.less b/src/app/app.less
index b32d939a..2cc6197e 100644
--- a/src/app/app.less
+++ b/src/app/app.less
@@ -7,10 +7,10 @@
html,
body {
overflow: hidden;
- font-family: var(--fixed-font);
- font-size: 12px;
- font-weight: 300;
- line-height: 1.5;
+ font-family: var(--base-font-family);
+ font-size: var(--base-font-size);
+ font-weight: var(--base-font-weight);
+ line-height: normal;
background-color: black;
color: var(--app-text-color);
}
@@ -25,13 +25,33 @@ body .sidebar {
background-color: var(--app-panel-bg-color);
}
-textarea {
+body textarea,
+body textarea.textarea {
overflow: hidden;
- font-family: var(--fixed-font);
- font-size: 12px;
- font-weight: 300;
+ font-family: var(--base-font-family);
+ font-size: var(--base-font-size);
+ font-weight: var(--base-font-weight);
line-height: 1.5;
color: var(--app-text-color);
+ background-color: var(--input-bg-color);
+
+ &::placeholder {
+ color: var(--input-placeholder-color);
+ }
+}
+
+body input,
+body input.input {
+ font-family: var(--base-font-family);
+ font-size: var(--base-font-size);
+ font-weight: var(--base-font-weight);
+ line-height: 1.5;
+ color: var(--app-text-color);
+ background-color: var(--input-bg-color);
+
+ &::placeholder {
+ color: var(--input-placeholder-color);
+ }
}
// typography
@@ -86,6 +106,10 @@ textarea {
height: 16px;
}
+.bold {
+ font-weight: bold;
+}
+
body a {
color: var(--app-accent-color);
cursor: pointer;
@@ -510,6 +534,75 @@ a.a-block {
}
}
+.tab-color-cur,
+.tab-icon-cur {
+ display: flex;
+ flex-direction: row;
+}
+
+.tabicon {
+ &.color-default,
+ &.color-green {
+ i {
+ color: var(--tab-green);
+ }
+ }
+
+ &.color-red {
+ i {
+ color: var(--tab-red);
+ }
+ }
+
+ &.color-orange {
+ i {
+ color: var(--tab-orange);
+ }
+ }
+
+ &.color-blue {
+ i {
+ color: var(--tab-blue);
+ }
+ }
+
+ &.color-yellow {
+ i {
+ color: var(--tab-yellow);
+ }
+ }
+
+ &.color-pink {
+ i {
+ color: var(--tab-pink);
+ }
+ }
+
+ &.color-mint {
+ i {
+ color: var(--tab-mint);
+ }
+ }
+
+ &.color-cyan {
+ i {
+ color: var(--tab-cyan);
+ }
+ }
+
+ &.color-violet {
+ i {
+ color: var(--tab-violet);
+ }
+ }
+
+ &.color-white {
+ i {
+ color: var(--tab-white);
+ }
+ }
+}
+
.icon.color-default,
.icon.color-green {
path,
@@ -670,6 +763,10 @@ a.a-block {
}
}
+.settings-field + .settings-field {
+ margin-top: 6px;
+}
+
.settings-field {
display: flex;
flex-direction: row;
@@ -678,7 +775,6 @@ a.a-block {
&.settings-field.sub-field {
.settings-label {
font-weight: normal;
-
text-align: right;
padding-right: 20px;
}
@@ -738,46 +834,10 @@ a.a-block {
.control {
.icon {
- width: 1.5em;
- height: 1.5em;
margin: 0;
}
}
- .tab-color-icon.color-default path {
- fill: var(--tab-green);
- }
- .tab-color-icon.color-green path {
- fill: var(--tab-green);
- }
- .tab-color-icon.color-orange path {
- fill: var(--tab-orange);
- }
- .tab-color-icon.color-red path {
- fill: var(--tab-red);
- }
- .tab-color-icon.color-yellow path {
- fill: var(--tab-yellow);
- }
- .tab-color-icon.color-blue path {
- fill: var(--tab-blue);
- }
- .tab-color-icon.color-mint path {
- fill: var(--tab-mint);
- }
- .tab-color-icon.color-cyan path {
- fill: var(--tab-cyan);
- }
- .tab-color-icon.color-white path {
- fill: var(--tab-white);
- }
- .tab-color-icon.color-violet path {
- fill: var(--tab-violet);
- }
- .tab-color-icon.color-pink path {
- fill: var(--tab-pink);
- }
-
.tab-colors,
.tab-icons {
display: flex;
@@ -801,7 +861,7 @@ a.a-block {
.tab-icon-name {
display: inline-block;
margin-left: 1em;
- min-width: 80px;
+ min-width: 70px;
}
.tab-color-select,
diff --git a/src/app/common/elements/button.less b/src/app/common/elements/button.less
index 2396feb9..e02c5384 100644
--- a/src/app/common/elements/button.less
+++ b/src/app/common/elements/button.less
@@ -12,6 +12,7 @@
gap: 4px;
border-radius: 6px;
height: auto;
+ line-height: 1.5;
&.primary {
background: none;
diff --git a/src/app/common/elements/cmdstrcode.less b/src/app/common/elements/cmdstrcode.less
index b1227758..f6a54243 100644
--- a/src/app/common/elements/cmdstrcode.less
+++ b/src/app/common/elements/cmdstrcode.less
@@ -50,8 +50,9 @@
white-space: pre;
padding: 2px 8px 2px 8px;
background-color: var(--cmdstrcode-bg-color);
- font-size: 1em;
+ font-size: var(--termfontsize);
font-family: var(--termfontfamily);
+ line-height: var(--termlineheight);
}
}
diff --git a/src/app/common/elements/mainview.less b/src/app/common/elements/mainview.less
index 09d22fb4..75902ca6 100644
--- a/src/app/common/elements/mainview.less
+++ b/src/app/common/elements/mainview.less
@@ -24,7 +24,7 @@
margin: 0;
.title {
- font-size: 1.5em;
+ font-size: var(--title-font-size);
padding: 0 10px;
vertical-align: middle;
line-height: var(--screentabs-height);
@@ -34,7 +34,7 @@
.close-div {
-webkit-app-region: no-drag;
- font-size: 1.5em;
+ font-size: var(--title-font-size);
}
}
diff --git a/src/app/common/elements/modal.less b/src/app/common/elements/modal.less
index 672df19b..6ae542cf 100644
--- a/src/app/common/elements/modal.less
+++ b/src/app/common/elements/modal.less
@@ -48,7 +48,7 @@
.wave-modal-title {
color: #eceeec;
- font-size: 15px;
+ font-size: var(--title-font-size);
}
button {
diff --git a/src/app/common/elements/tabicon.tsx b/src/app/common/elements/tabicon.tsx
index 156aa1af..96b0aaac 100644
--- a/src/app/common/elements/tabicon.tsx
+++ b/src/app/common/elements/tabicon.tsx
@@ -18,7 +18,7 @@ class TabIcon extends React.Component<{ icon: string; color: string }> {
color = "green";
}
return (
-
+
);
diff --git a/src/app/common/modals/linesettings.tsx b/src/app/common/modals/linesettings.tsx
index d9af09fb..95c02fa3 100644
--- a/src/app/common/modals/linesettings.tsx
+++ b/src/app/common/modals/linesettings.tsx
@@ -123,7 +123,7 @@ class LineSettingsModal extends React.Component<{}, {}> {
return (
-
+
Renderer
diff --git a/src/app/common/modals/screensettings.less b/src/app/common/modals/screensettings.less
index f6dbbb32..897c48d2 100644
--- a/src/app/common/modals/screensettings.less
+++ b/src/app/common/modals/screensettings.less
@@ -34,6 +34,10 @@
top: 8px;
}
}
+
+ .wave-dropdown-display {
+ bottom: 7px;
+ }
}
.archived-label,
diff --git a/src/app/common/modals/screensettings.tsx b/src/app/common/modals/screensettings.tsx
index 3524bf85..4d924901 100644
--- a/src/app/common/modals/screensettings.tsx
+++ b/src/app/common/modals/screensettings.tsx
@@ -61,10 +61,9 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
.filter((r) => !r.archived)
.map((remote) => ({
...remote,
- label:
- remote.remotealias && !util.isBlank(remote.remotealias)
- ? `${remote.remotecanonicalname}`
- : remote.remotecanonicalname,
+ label: !util.isBlank(remote.remotealias)
+ ? `${remote.remotealias} - ${remote.remotecanonicalname}`
+ : remote.remotecanonicalname,
value: remote.remotecanonicalname,
}))
.sort((a, b) => {
@@ -228,7 +227,7 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
return (
-
+
Tab Id
@@ -252,7 +251,6 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
{
-
{screen.getTabColor()}
+
{screen.getTabColor()}
|
@@ -296,7 +294,7 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
-
{screen.getTabIcon()}
+
{screen.getTabIcon()}
|
@@ -315,7 +313,7 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
Archived
}
className="screen-settings-tooltip"
>
@@ -330,7 +328,7 @@ class ScreenSettingsModal extends React.Component<{}, {}> {
Actions
}
className="screen-settings-tooltip"
>
diff --git a/src/app/common/modals/sessionsettings.tsx b/src/app/common/modals/sessionsettings.tsx
index c7590b8b..31448c34 100644
--- a/src/app/common/modals/sessionsettings.tsx
+++ b/src/app/common/modals/sessionsettings.tsx
@@ -90,7 +90,7 @@ class SessionSettingsModal extends React.Component<{}, {}> {
}
return (
-
+
Name
@@ -111,7 +111,7 @@ class SessionSettingsModal extends React.Component<{}, {}> {
}
>
{
}
@@ -126,7 +126,7 @@ class SessionSettingsModal extends React.Component<{}, {}> {
Actions
}
>
{
}
diff --git a/src/app/common/modals/viewremoteconndetail.less b/src/app/common/modals/viewremoteconndetail.less
index 10d8497b..f793a242 100644
--- a/src/app/common/modals/viewremoteconndetail.less
+++ b/src/app/common/modals/viewremoteconndetail.less
@@ -45,7 +45,6 @@
.wave-button {
padding: 4px 15px;
- font-size: 11px;
margin-right: 8px;
}
}
@@ -75,10 +74,6 @@
}
}
- .settings-field:not(:first-child) {
- margin-top: 4px;
- }
-
.status {
display: flex;
height: 30px;
diff --git a/src/app/history/history.less b/src/app/history/history.less
index 0fc74dfc..ced773cf 100644
--- a/src/app/history/history.less
+++ b/src/app/history/history.less
@@ -2,8 +2,8 @@
padding-bottom: 10px;
.icon {
- width: 2em !important;
- height: 1.3em !important;
+ width: 1.5em !important;
+ height: 1em !important;
padding-left: 5px;
fill: var(--app-text-color);
}
diff --git a/src/app/history/history.tsx b/src/app/history/history.tsx
index 257f9443..84e617f7 100644
--- a/src/app/history/history.tsx
+++ b/src/app/history/history.tsx
@@ -16,7 +16,6 @@ import { Line } from "@/app/line/linecomps";
import { checkKeyPressed, adaptFromReactOrNativeKeyEvent } from "@/util/keyutil";
import { TextField } from "@/elements";
-import { ReactComponent as XmarkIcon } from "@/assets/icons/line/xmark.svg";
import { ReactComponent as AngleDownIcon } from "@/assets/icons/history/angle-down.svg";
import { ReactComponent as ChevronLeftIcon } from "@/assets/icons/history/chevron-left.svg";
import { ReactComponent as ChevronRightIcon } from "@/assets/icons/history/chevron-right.svg";
diff --git a/src/app/line/linecomps.tsx b/src/app/line/linecomps.tsx
index 6fc113f2..b525fb39 100644
--- a/src/app/line/linecomps.tsx
+++ b/src/app/line/linecomps.tsx
@@ -126,21 +126,21 @@ class LineActions extends React.Component<{ screen: LineContainerType; line: Lin
const containerType = screen.getContainerType();
return (
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
let msgClassName = "chat-msg " + senderClassName;
let innerHTML: React.JSX.Element = (
-
-
-
You
+
{chatItem.userquery}
@@ -151,12 +151,9 @@ class AIChat extends React.Component<{}, {}> {
} else {
innerHTML = (
-
-
-
ChatGPT
+
diff --git a/src/app/workspace/cmdinput/cmdinput.less b/src/app/workspace/cmdinput/cmdinput.less
index b3781e5a..c0bfbd7e 100644
--- a/src/app/workspace/cmdinput/cmdinput.less
+++ b/src/app/workspace/cmdinput/cmdinput.less
@@ -7,7 +7,7 @@
width: 100%;
padding: calc(var(--termpad) * 2) calc(var(--termpad) * 2) calc(var(--termpad) * 2) calc(var(--termpad) * 3 - 1px);
z-index: 100;
- border-top: 1px solid var(--app-border-color);
+ border-top: 2px solid var(--app-border-color);
background-color: var(--app-bg-color);
&.active {
@@ -71,6 +71,9 @@
display: flex;
justify-content: space-between;
align-items: center;
+ font-family: var(--termfontfamily);
+ font-size: var(--termfontsize);
+ line-height: var(--termlineheight);
}
.cmd-input-filter {
@@ -250,8 +253,22 @@
}
.chat-msg {
- margin-top: 5px;
- margin-bottom: 5px;
+ margin-top: calc(var(--termpad) * 2);
+ margin-bottom: calc(var(--termpad) * 2);
+
+ .chat-msg-header {
+ display: flex;
+ margin-bottom: 2px;
+
+ i {
+ margin-right: 0.5em;
+ }
+
+ .chat-username {
+ font-weight: bold;
+ margin-right: 5px;
+ }
+ }
}
.chat-msg-assistant {
@@ -363,12 +380,16 @@
flex-shrink: 1;
overflow-y: auto;
margin-bottom: var(--termpad);
+ font-family: var(--termfontfamily);
+ font-size: var(--termfontsize);
+ line-height: var(--termlineheight);
.info-title {
position: absolute;
z-index: 102;
top: 5px;
left: 0;
+ font-size: calc(var(--termfontsize) + 2px);
background-color: var(--app-bg-color);
color: var(--cmdinput-title-color);
padding-bottom: 4px;
@@ -384,7 +405,7 @@
.info-title + .info-lines,
.info-title + .info-comps,
.info-title + .info-error {
- margin-top: 24px;
+ margin-top: 26px;
}
.info-msg {
diff --git a/src/app/workspace/screen/screenview.less b/src/app/workspace/screen/screenview.less
index 751025b0..8f56e2e7 100644
--- a/src/app/workspace/screen/screenview.less
+++ b/src/app/workspace/screen/screenview.less
@@ -230,6 +230,10 @@
top: 8px;
}
}
+
+ .wave-dropdown-display {
+ bottom: 7px;
+ }
}
&.conn-section {
diff --git a/src/app/workspace/screen/screenview.tsx b/src/app/workspace/screen/screenview.tsx
index 31ea2de0..8a7dd117 100644
--- a/src/app/workspace/screen/screenview.tsx
+++ b/src/app/workspace/screen/screenview.tsx
@@ -400,10 +400,9 @@ class NewTabSettings extends React.Component<{ screen: Screen }, {}> {
.filter((r) => !r.archived)
.map((remote) => ({
...remote,
- label:
- remote.remotealias && !util.isBlank(remote.remotealias)
- ? `${remote.remotecanonicalname}`
- : remote.remotecanonicalname,
+ label: !util.isBlank(remote.remotealias)
+ ? `${remote.remotealias} - ${remote.remotecanonicalname}`
+ : remote.remotecanonicalname,
value: remote.remotecanonicalname,
}))
.sort((a, b) => {
@@ -423,10 +422,10 @@ class NewTabSettings extends React.Component<{ screen: Screen }, {}> {
curIcon = "square";
}
let icon: string | null = null;
-
+ let curColor = screen.getTabColor();
return (
<>
-
Select the icon
+
Tab Icon:
{
title={icon || ""}
onClick={() => this.selectTabIcon(icon || "")}
>
-
+
@@ -453,7 +452,7 @@ class NewTabSettings extends React.Component<{ screen: Screen }, {}> {
return (
<>
-
Select the color
+
Tab Color:
{
-
+
You're connected to [{getRemoteStr(rptr)}]. Do you want to change it?
u.info != null || u.history != null);
} else {