mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-01 23:21:59 +01:00
Pe 195 12 oct (#35)
* history and imports fixed * history and favourites are ready * font size / font family
This commit is contained in:
parent
3a96f2970a
commit
a8700f25eb
@ -174,6 +174,7 @@ a.a-block {
|
|||||||
&.is-hidden {
|
&.is-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.bookmarks-view {
|
.bookmarks-view {
|
||||||
background-color: @background-session;
|
background-color: @background-session;
|
||||||
@ -18,6 +18,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
margin: 1.5em 1.5em 0.5em;
|
||||||
|
|
||||||
|
.bookmarks-title {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
@ -79,9 +89,10 @@
|
|||||||
.bookmark-id-div {
|
.bookmark-id-div {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
color: #666;
|
color: @disabled-color;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
|
font-size: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .bookmark-id-div {
|
&:hover .bookmark-id-div {
|
||||||
@ -114,4 +125,7 @@
|
|||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.help-entry {
|
||||||
|
margin: 1em 2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -191,12 +191,11 @@ class BookmarksView extends React.Component<{}, {}> {
|
|||||||
let bookmark: BookmarkType = null;
|
let bookmark: BookmarkType = null;
|
||||||
return (
|
return (
|
||||||
<div className={cn("bookmarks-view", { "is-hidden": isHidden })}>
|
<div className={cn("bookmarks-view", { "is-hidden": isHidden })}>
|
||||||
|
<div className="header">
|
||||||
|
<div className="bookmarks-title">Favourites</div>
|
||||||
<div className="close-button hoverEffect" title="Close (Escape)" onClick={this.closeView}>
|
<div className="close-button hoverEffect" title="Close (Escape)" onClick={this.closeView}>
|
||||||
<XmarkIcon className={"icon"} />
|
<XmarkIcon className={"icon"} />
|
||||||
</div>
|
</div>
|
||||||
<div className="alt-title">
|
|
||||||
<FavouritesIcon className={"icon"} style={{ marginRight: 10 }} />
|
|
||||||
Favourites
|
|
||||||
</div>
|
</div>
|
||||||
<div className="bookmarks-list">
|
<div className="bookmarks-list">
|
||||||
<For index="idx" each="bookmark" of={bookmarks}>
|
<For index="idx" each="bookmark" of={bookmarks}>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.info-message {
|
.info-message {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -91,6 +91,8 @@
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
padding: 2px 8px 2px 8px;
|
padding: 2px 8px 2px 8px;
|
||||||
background-color: @term-black;
|
background-color: @term-black;
|
||||||
|
font-size: 1em;
|
||||||
|
font-family: @fixed-font;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../../app/app.less";
|
@import "../../../app/common/themes/themes.less";
|
||||||
|
|
||||||
// modal css (also includes settings-field)
|
// modal css (also includes settings-field)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../../app/app.less";
|
@import "../../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.term-prompt {
|
.term-prompt {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.modal.prompt-modal.remotes-modal {
|
.modal.prompt-modal.remotes-modal {
|
||||||
.modal-content {
|
.modal-content {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.history-view {
|
.history-view {
|
||||||
background-color: @background-session;
|
background-color: @background-session;
|
||||||
@ -31,10 +31,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
margin: 10px;
|
margin: 1.5em 1.5em 0.5em;
|
||||||
|
|
||||||
.history-title {
|
.history-title {
|
||||||
margin-top: 0.3em;
|
margin-bottom: 0.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
@ -347,7 +347,7 @@ class HistoryView extends React.Component<{}, {}> {
|
|||||||
return (
|
return (
|
||||||
<div className={cn("history-view", { "is-hidden": isHidden })}>
|
<div className={cn("history-view", { "is-hidden": isHidden })}>
|
||||||
<div className="header">
|
<div className="header">
|
||||||
<div className="history-title">HISTORY</div>
|
<div className="history-title">History</div>
|
||||||
<div className="history-search">
|
<div className="history-search">
|
||||||
<div className="main-search field">
|
<div className="main-search field">
|
||||||
<p className="control has-icons-left">
|
<p className="control has-icons-left">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.line.line-text {
|
.line.line-text {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.main-sidebar {
|
.main-sidebar {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 20rem;
|
min-width: 20rem;
|
||||||
|
max-width: 20rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../../app/app.less";
|
@import "../../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.cmd-input {
|
.cmd-input {
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../../app/app.less";
|
@import "../../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
.screen-view {
|
.screen-view {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../../app/app.less";
|
@import "../../../app/common/themes/themes.less";
|
||||||
|
|
||||||
#main .screen-tabs .screen-tab {
|
#main .screen-tabs .screen-tab {
|
||||||
border-radius: 12px 0px 0px 0px;
|
border-radius: 12px 0px 0px 0px;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.session-view {
|
.session-view {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.code-renderer {
|
.code-renderer {
|
||||||
.monaco-editor {
|
.monaco-editor {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.csv-renderer {
|
.csv-renderer {
|
||||||
.cursor-pointer {
|
.cursor-pointer {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.image-renderer {
|
.image-renderer {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.markdown-renderer {
|
.markdown-renderer {
|
||||||
color: @term-white;
|
color: @term-white;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.mustache-renderer {
|
.mustache-renderer {
|
||||||
color: @term-white;
|
color: @term-white;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
|
|
||||||
.openai-renderer {
|
.openai-renderer {
|
||||||
.openai-message {
|
.openai-message {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../../app/app.less";
|
@import "../../app/common/themes/themes.less";
|
||||||
@import "./xterm.less";
|
@import "./xterm.less";
|
||||||
|
|
||||||
.terminal-wrapper {
|
.terminal-wrapper {
|
||||||
|
Loading…
Reference in New Issue
Block a user