mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
347 lines
8.8 KiB
CSS
347 lines
8.8 KiB
CSS
.fjs-editor-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form-editor {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form-container,
|
|
.fjs-editor-container .fjs-palette-container,
|
|
.fjs-editor-container .fjs-properties-container {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form-container,
|
|
.fjs-editor-container .fjs-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form > .fjs-element {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-children {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
min-width: 300px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-children .fjs-children {
|
|
border: dashed 2px var(--color-silver-darken-80);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-element {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-element + .fjs-element {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form-field:not(.fjs-powered-by) {
|
|
margin: 1px 16px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-form > .fjs-element {
|
|
margin: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-children > .fjs-element {
|
|
position: relative;
|
|
border: dashed 2px transparent;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-children > .fjs-element:hover,
|
|
.fjs-editor-container .fjs-children > .fjs-element.fjs-editor-selected {
|
|
border-color: var(--color-blue-darken-62);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/**
|
|
* Context Pad
|
|
*/
|
|
.fjs-editor-container .fjs-context-pad {
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
background-color: white;
|
|
border-radius: 3px;
|
|
box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 10%);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-context-pad-item {
|
|
border: none;
|
|
background-color: var(--color-white);
|
|
padding: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: var(--color-grey-base-40);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-context-pad-item:hover {
|
|
fill: var(--color-black);
|
|
}
|
|
|
|
/**
|
|
* Palette
|
|
*/
|
|
.fjs-editor-container .fjs-palette-container {
|
|
width: 200px;
|
|
background-color: var(--color-silver-base-97);
|
|
border-right: solid 1px var(--color-silver-darken-80);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-palette-header {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
padding: 10px;
|
|
border-bottom: solid 1px var(--color-silver-darken-80);
|
|
background-color: var(--color-silver-darken-94);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-palette-field {
|
|
padding: 10px;
|
|
display: flex;
|
|
white-space: pre;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
border-bottom: solid 1px var(--color-silver-darken-80);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-palette-field-icon {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-palette-field:hover {
|
|
background-color: var(--color-silver-darken-94);
|
|
cursor: default;
|
|
}
|
|
|
|
/**
|
|
* Properties Panel
|
|
*/
|
|
.fjs-editor-container .fjs-properties-container {
|
|
width: 300px;
|
|
background-color: var(--color-silver-base-97);
|
|
border-left: solid 1px var(--color-silver-darken-80);
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
background-color: var(--color-silver-darken-94);
|
|
border-bottom: solid 1px var(--color-silver-darken-80);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-header-icon {
|
|
margin-right: 10px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-header-type {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
border-bottom: solid 1px var(--color-silver-darken-80);
|
|
background-color: var(--color-silver-darken-94);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group-header-buttons .fjs-properties-panel-group-header-button {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 10px;
|
|
padding: 0;
|
|
fill: var(--color-grey-base-40);
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group-header-buttons .fjs-properties-panel-group-header-button:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group-header-buttons .fjs-properties-panel-group-header-button:hover {
|
|
fill: var(--color-black);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group-entries {
|
|
border-bottom: solid 1px var(--color-silver-darken-80);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-group:last-child .fjs-properties-panel-group-entries {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-arrow-down {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-entry {
|
|
padding: 10px 10px 0 10px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-entry:last-child {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 10px 10px 10px;
|
|
cursor: default;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry:first-child .fjs-properties-panel-collapsible-entry-header {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-header-label {
|
|
font-size: 14px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-header-remove-entry {
|
|
border: none;
|
|
background: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 22px;
|
|
width: 22px;
|
|
padding: 0;
|
|
fill: var(--color-grey-base-40);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-header-remove-entry:hover {
|
|
fill: var(--color-black);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-entries {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-collapsible-entry-entries .fjs-properties-panel-entry:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-label,
|
|
.fjs-editor-container .fjs-properties-panel-description {
|
|
display: block;
|
|
margin: 4px 0;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
font-weight: 400;
|
|
color: var(--color-grey-base-40);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-description {
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-input {
|
|
background-color: var(--color-white);
|
|
border: solid 1px var(--color-silver-darken-80);
|
|
border-radius: 3px;
|
|
padding: 4px 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-input[type=number],
|
|
.fjs-editor-container select.fjs-properties-panel-input,
|
|
.fjs-editor-container .fjs-properties-panel-input[type=text],
|
|
.fjs-editor-container textarea.fjs-properties-panel-input {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-input:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 4px var(--color-blue-lighten-82), 0 0 0 1px var(--color-silver-darken-80) inset;
|
|
border: solid 1px var(--color-blue-darken-55);
|
|
}
|
|
|
|
.fjs-editor-container .fjs-properties-panel-placeholder {
|
|
padding: 10px;
|
|
color: var(--color-silver-darken-80);
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.fjs-editor-container textarea.fjs-properties-panel-input {
|
|
resize: vertical;
|
|
}
|
|
|
|
/**
|
|
* Custom Dragula Styles
|
|
*/
|
|
.gu-transit {
|
|
background: var(--color-blue-darken-62) !important;
|
|
border: solid 2px var(--color-blue-darken-62) !important;
|
|
border-radius: 3px !important;
|
|
filter: none !important;
|
|
height: 0 !important;
|
|
opacity: 1 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.gu-transit * {
|
|
display: none !important;
|
|
}
|
|
|
|
.gu-mirror {
|
|
background-color: white !important;
|
|
border: solid 1px var(--color-silver-darken-80) !important;
|
|
border-radius: 3px !important;
|
|
box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 10%) !important;
|
|
display: flex !important;
|
|
filter: none !important;
|
|
flex-direction: row !important;
|
|
justify-content: center !important;
|
|
align-items: center !important;
|
|
opacity: 0.5 !important;
|
|
padding: 0 !important;
|
|
pointer-events: none !important;
|
|
height: 54px !important;
|
|
} |