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