mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
[help-sidebar] Add help sidebar
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
.red-ui-panel {
|
||||
overflow: auto;
|
||||
height: calc(50% - 4px);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.red-ui-panels.red-ui-panels-horizontal {
|
||||
|
@@ -42,6 +42,7 @@
|
||||
@import "tab-config";
|
||||
@import "tab-context";
|
||||
@import "tab-info";
|
||||
@import "tab-help";
|
||||
@import "popover";
|
||||
@import "flow";
|
||||
@import "palette-editor";
|
||||
|
27
packages/node_modules/@node-red/editor-client/src/sass/tab-help.scss
vendored
Normal file
27
packages/node_modules/@node-red/editor-client/src/sass/tab-help.scss
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
.red-ui-sidebar-help-stack {
|
||||
// height: calc(100% - 39px);
|
||||
}
|
||||
.red-ui-help-search {
|
||||
border-bottom: 1px solid $secondary-border-color;
|
||||
}
|
||||
|
||||
.red-ui-sidebar-help-toc {
|
||||
.red-ui-treeList-label {
|
||||
font-size: 13px;
|
||||
padding: 2px 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
}
|
||||
#red-ui-sidebar-help-show-toc {
|
||||
i.fa-angle-right {
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
&.selected {
|
||||
i.fa-angle-right {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -39,9 +39,7 @@ table.red-ui-info-table {
|
||||
width: 100%;
|
||||
}
|
||||
table.red-ui-info-table tr:not(.blank) {
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid $secondary-border-color;
|
||||
}
|
||||
border-top: 1px solid $secondary-border-color;
|
||||
border-bottom: 1px solid $secondary-border-color;
|
||||
}
|
||||
.red-ui-help-property-expand {
|
||||
@@ -143,6 +141,9 @@ div.red-ui-info-table {
|
||||
font-size: 1.296em;
|
||||
line-height: 1.3em;
|
||||
margin: 8px auto;
|
||||
&.red-ui-help-title {
|
||||
border-bottom: 1px solid $tertiary-border-color;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
font-weight: 500;
|
||||
@@ -299,12 +300,7 @@ div.red-ui-info-table {
|
||||
padding: 2px 4px 2px;
|
||||
}
|
||||
|
||||
.red-ui-help-search {
|
||||
border-bottom: 1px solid $secondary-border-color;
|
||||
}
|
||||
|
||||
|
||||
.red-ui-info-outline {
|
||||
.red-ui-info-outline,.red-ui-sidebar-help-toc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -478,9 +474,11 @@ div.red-ui-info-table {
|
||||
filter: brightness(2.5);
|
||||
}
|
||||
|
||||
.red-ui-info-outline-toolbar {
|
||||
.red-ui-info-toolbar {
|
||||
min-height: 39px;
|
||||
height: 39px;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
// padding-left: 9px;
|
||||
// box-sizing: border-box;
|
||||
// background: $palette-header-background;
|
||||
|
Reference in New Issue
Block a user