⚡ 修改日志默认样式.
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
`2024-05-` `release`
|
`2024-05-` `release`
|
||||||
|
|
||||||
* 🐞 修复
|
* 🐞 修复 查看计划任务日志时提示日志不存在
|
||||||
* 🩰 修改 命令执行日志 UI 修改
|
* 🩰 修改 命令执行日志 UI 修改
|
||||||
* 🌈 新增 文件传输列表添加快捷按钮
|
* 🌈 新增 文件传输列表添加操作栏
|
||||||
* 🔨 优化
|
* 🔨 优化
|
||||||
|
|
||||||
[如何升级](/update/v1.0.7.md)
|
[如何升级](/update/v1.0.7.md)
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ public class TerminalPreferenceStrategy implements IPreferenceStrategy<TerminalP
|
|||||||
String defaultDisplaySetting = TerminalPreferenceModel.DisplaySettingModel
|
String defaultDisplaySetting = TerminalPreferenceModel.DisplaySettingModel
|
||||||
.builder()
|
.builder()
|
||||||
.fontFamily("_")
|
.fontFamily("_")
|
||||||
.fontSize(14)
|
.fontSize(13)
|
||||||
.lineHeight(1.00)
|
.lineHeight(1.12)
|
||||||
.fontWeight("normal")
|
.fontWeight("normal")
|
||||||
.fontWeightBold("bold")
|
.fontWeightBold("bold")
|
||||||
.cursorStyle("bar")
|
.cursorStyle("bar")
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
:footer="false"
|
:footer="false"
|
||||||
@close="handleClose">
|
@close="handleClose">
|
||||||
<a-spin v-if="visible"
|
<a-spin v-if="visible"
|
||||||
class="modal-body"
|
class="panel-container"
|
||||||
:loading="loading">
|
:loading="loading">
|
||||||
<div class="panel-wrapper">
|
<div class="panel-wrapper">
|
||||||
<!-- 日志面板 -->
|
<!-- 日志面板 -->
|
||||||
@@ -92,11 +92,12 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.modal-body {
|
.panel-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
|
||||||
padding: 0 12px 12px 12px;
|
padding: 0 12px 12px 12px;
|
||||||
|
position: relative;
|
||||||
|
background: var(--color-bg-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-wrapper {
|
.panel-wrapper {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import type { WebglAddon } from 'xterm-addon-webgl';
|
|||||||
export const LogAppenderOptions: ITerminalOptions & ITerminalInitOnlyOptions = {
|
export const LogAppenderOptions: ITerminalOptions & ITerminalInitOnlyOptions = {
|
||||||
theme: {
|
theme: {
|
||||||
foreground: '#FFFFFF',
|
foreground: '#FFFFFF',
|
||||||
background: '#202020',
|
background: '#1C1C1C',
|
||||||
selectionBackground: '#B5D5FF',
|
selectionBackground: '#444444',
|
||||||
},
|
},
|
||||||
cols: 30,
|
cols: 30,
|
||||||
rows: 8,
|
rows: 8,
|
||||||
@@ -18,8 +18,8 @@ export const LogAppenderOptions: ITerminalOptions & ITerminalInitOnlyOptions = {
|
|||||||
cursorStyle: 'bar',
|
cursorStyle: 'bar',
|
||||||
cursorBlink: false,
|
cursorBlink: false,
|
||||||
fastScrollModifier: 'alt',
|
fastScrollModifier: 'alt',
|
||||||
fontSize: 14,
|
fontSize: 13,
|
||||||
lineHeight: 1.08,
|
lineHeight: 1.12,
|
||||||
convertEol: true,
|
convertEol: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -241,7 +241,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: var(--color-bg-1);
|
background: var(--color-bg-2);
|
||||||
color: var(--color-text-1);
|
color: var(--color-text-1);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - @header-height);
|
height: calc(100% - @header-height);
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #202020;
|
background: #1C1C1C;
|
||||||
padding: 4px 0 4px 4px;
|
padding: 4px 0 4px 4px;
|
||||||
|
|
||||||
.log-appender {
|
.log-appender {
|
||||||
|
|||||||
Reference in New Issue
Block a user