mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00

* refactor: remove ModelProviderIdType and update related types (#5549) * perf: model provider * fix eval create split (#5570) * git rebase --continuedoc * add more variable types (#5540) * variable types * password * time picker * internal var * file * fix-test * time select default value & range * password & type render * fix * fix build * fix * move method * split date select * icon * perf: variable code * prompt editor add markdown plugin (#5556) * editor markdown * fix build * pnpm lock * add props * update code * fix list * editor ui * fix variable reset (#5586) * perf: variables type code * customize lexical indent (#5588) * perf: multiple selector * perf: tab plugin * doc * refactor: update workflow constants to use ToolTypeEnum (#5491) * refactor: replace FlowNodeTemplateTypeEnum with string literals in workflow templates * perf: tool type --------- Co-authored-by: archer <545436317@qq.com> * update doc * fix: make table's row more natural while dragging it (#5596) * feat: add APIGetTemplate function and refactor template fetching logic (#5498) * feat: add APIGetTemplate function and refactor template fetching logic * chore: adjust the code * chore: update sdk --------- Co-authored-by: FinleyGe <m13203533462@163.com> * perf init system * doc * remove log * remove i18n * perf: variables render --------- Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com> Co-authored-by: heheer <heheer@sealos.io> Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com> Co-authored-by: FinleyGe <m13203533462@163.com>
90 lines
1.9 KiB
SCSS
90 lines
1.9 KiB
SCSS
.contentEditable {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
border: 1px solid rgb(232, 235, 240);
|
|
border-radius: var(--chakra-radii-sm);
|
|
padding: 8px 12px;
|
|
// background: #fff;
|
|
|
|
font-size: var(--chakra-fontSizes-sm);
|
|
overflow-y: auto;
|
|
|
|
transition:
|
|
border-color 0.1s ease-in-out,
|
|
box-shadow 0.1s ease-in-out;
|
|
|
|
&:hover {
|
|
border-color: var(--chakra-colors-primary-300);
|
|
}
|
|
&::-webkit-scrollbar {
|
|
color: var(--chakra-colors-myGray-100);
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: var(--chakra-colors-myGray-200) !important;
|
|
cursor: pointer;
|
|
}
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--chakra-colors-myGray-250) !important;
|
|
}
|
|
}
|
|
|
|
.contentEditable:focus {
|
|
outline: none;
|
|
border: 1px solid;
|
|
border-color: var(--chakra-colors-primary-600);
|
|
box-shadow: 0px 0px 0px 2.4px rgba(51, 112, 255, 0.15);
|
|
}
|
|
|
|
.contentEditable_invalid {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
border: 1px solid rgb(232, 235, 240);
|
|
border-radius: var(--chakra-radii-sm);
|
|
padding: 8px 12px;
|
|
|
|
font-size: var(--chakra-fontSizes-sm);
|
|
overflow-y: auto;
|
|
|
|
transition:
|
|
border-color 0.1s ease-in-out,
|
|
box-shadow 0.1s ease-in-out;
|
|
|
|
&::-webkit-scrollbar {
|
|
color: var(--chakra-colors-myGray-100);
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: var(--chakra-colors-myGray-200) !important;
|
|
cursor: pointer;
|
|
}
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--chakra-colors-myGray-250) !important;
|
|
}
|
|
|
|
border-color: var(--chakra-colors-red-500);
|
|
}
|
|
|
|
.contentEditable_invalid:focus {
|
|
outline: none;
|
|
border: 1px solid;
|
|
border-color: var(--chakra-colors-red-600);
|
|
box-shadow: 0px 0px 0px 2.4px rgba(244, 69, 46, 0.15);
|
|
}
|
|
|
|
.variable {
|
|
color: var(--chakra-colors-primary-600);
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.richText {
|
|
ul,
|
|
ol {
|
|
padding-left: 16px;
|
|
|
|
li::marker {
|
|
color: var(--chakra-colors-primary-600);
|
|
}
|
|
}
|
|
}
|