vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,105 @@
.ae-border {
&-items {
width: 88px;
height: 88px;
flex-shrink: 0;
margin-right: 10px;
position: relative;
}
&-radius {
.ap-border-items {
height: 60px;
}
}
&-item {
position: absolute;
padding: 5px;
border-radius: 2px;
text-align: center;
cursor: pointer;
display: inline-block;
line-height: 1;
&.active {
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}
&.left {
left: 0;
top: 50%;
transform: translateY(-11px);
}
&.top-left {
left: 0;
top: 0;
}
&.right {
right: 0;
top: 50%;
transform: translateY(-11px);
}
&.top-right {
right: 0;
top: 0;
}
&.top {
left: 50%;
top: 0;
transform: translateX(-11px);
}
&.bottom {
left: 50%;
bottom: 0;
transform: translateX(-11px);
}
&.bottom-left {
left: 0;
bottom: 0;
}
&.bottom-right {
bottom: 0;
right: 0;
}
&.all {
left: 50%;
top: 50%;
transform: translateX(-11px) translateY(-11px);
}
}
&-settings {
label {
flex-shrink: 0;
margin-right: 8px;
color: var(--Form-item-color);
}
.flex {
margin-bottom: 6px;
}
.ae-border-input {
min-height: 28px;
width: 100%;
}
}
&-colorpicker > div {
padding-right: 3px;
font-size: 12px;
> span {
margin-left: -4px;
margin-right: 5px;
}
}
}

View File

@@ -0,0 +1,100 @@
.ae-BoxModel {
overflow: hidden;
background-color: #e0efff;
padding: 18px;
position: relative;
&-inner {
background-color: #fff;
width: 100%;
height: 100%;
padding: 2px;
min-height: 20px;
}
&-input {
position: absolute;
text-align: center;
padding: 0;
font-size: 12px;
border: none;
background: none;
transform: scale(0.8);
color: rgba(0, 0, 0, 0.85);
-webkit-appearance: none;
&:focus {
outline: none;
}
&.left {
left: -6px;
top: 0;
height: 100%;
width: 28px;
}
&.right {
right: -6px;
top: 0;
height: 100%;
width: 28px;
}
&.top {
top: 2px;
left: 0;
right: 0;
height: 14px;
width: 100%;
}
&.bottom {
bottom: 0;
left: 0;
right: 0;
height: 14px;
width: 100%;
}
}
&-title {
opacity: 0.6;
font-size: 8px;
color: #919eab;
transform: scale(0.7);
position: absolute;
left: 8px;
}
&-line {
width: 2px;
height: 50px;
background-color: #fff;
position: absolute;
&.lt {
transform: rotate(-45deg);
top: -24px;
left: 0;
}
&.lb {
transform: rotate(45deg);
bottom: -24px;
left: 0;
}
&.rt {
transform: rotate(45deg);
top: -24px;
right: 0;
}
&.rb {
transform: rotate(-45deg);
bottom: -24px;
right: 0;
}
}
}

View File

@@ -0,0 +1,12 @@
.ae-BoxShadow {
&-group {
> div {
align-items: center;
}
}
&-unit {
flex: 0.3;
padding-top: #{px2rem(16px)};
padding-bottom: #{px2rem(16px)};
}
}

View File

@@ -0,0 +1,30 @@
.ColCount {
display: flex;
background-color: #f7f7f9;
padding: 2px;
border-radius: 4px;
&-item {
text-align: center;
line-height: 30px;
flex: 1;
min-width: 0;
height: 30px;
cursor: pointer;
&:not(.is-disabled):hover {
background: #fff;
color: #2468f2;
}
}
.is-active {
background: #fff;
color: #2468f2;
border-radius: 4px;
}
.is-disabled {
cursor: not-allowed;
color: #ccc;
}
}
.LabelAlign {
width: 100%;
}

View File

@@ -0,0 +1,28 @@
.ColSize {
display: flex;
background-color: #f7f7f9;
padding: 2px;
border-radius: 4px;
&-item {
text-align: center;
line-height: 28px;
flex: 1;
min-width: 0;
width: 32px;
height: 28px;
cursor: pointer;
&:not(.is-disabled):hover {
background: #fff;
color: #2468f2;
}
}
.is-active {
background: #fff;
color: #2468f2;
border-radius: 4px;
}
.is-disabled {
cursor: not-allowed;
color: #ccc;
}
}

View File

@@ -0,0 +1,29 @@
.ae-FlexLayout {
&-wrap {
display: grid;
grid-row-gap: 10px;
grid-column-gap: 10px;
grid-template-columns: repeat(4, auto);
margin-bottom: 10px;
}
&-item {
display: flex;
flex-direction: row;
gap: 2px;
height: 36px;
border: 1px solid rgba(0, 0, 0, 0.2);
padding: 4px;
border-radius: 4px;
cursor: pointer;
&.active {
border-color: #528eff;
}
}
&-itemColumn {
height: 100%;
background-color: #ccc;
}
}

View File

@@ -0,0 +1,28 @@
.ae-Font {
&-group-lhs {
border-radius: #{px2rem(5px)} 0 0 #{px2rem(5px)};
}
&-group-rhs {
border-radius: 0 #{px2rem(5px)} #{px2rem(5px)} 0;
}
&-group-middle {
border-radius: 0;
}
&-relative-left {
position: relative;
left: 1px;
}
&-relative-right {
position: relative;
right: 1px;
}
&-relative-right-2 {
position: relative;
right: 2px;
}
}

View File

@@ -0,0 +1,83 @@
.ae-SingleThemeCssCode {
position: relative;
border: 1px solid #e8e9eb;
border-radius: var(--input-default-default-top-left-border-radius)
var(--input-default-default-top-right-border-radius)
var(--input-default-default-bottom-right-border-radius)
var(--input-default-default-bottom-left-border-radius);
&-label {
margin-bottom: px2rem(10px);
color: #5c5f66;
font-size: 12px;
}
&-header,
&-footer {
padding: 0 4px;
}
&-content {
height: 120px;
}
&-button {
position: absolute;
top: 4px;
right: 12px;
z-index: 100;
}
&-icon {
cursor: pointer;
color: #5c5f66;
&:hover {
color: #151b26;
}
}
}
.ae-SingleThemeCssCode-custom-editor {
.suggest-widget {
width: auto !important;
left: 16px !important;
right: 0 !important;
.monaco-sash:first-child {
display: none;
}
}
}
.ae-SingleThemeCssCode-panel {
height: auto;
width: px2rem(460px);
padding: px2rem(16px);
position: relative;
&-title {
font-size: 14px;
margin-bottom: px2rem(16px);
}
&-close {
position: absolute;
top: px2rem(14px);
right: px2rem(16px);
button {
height: px2rem(16px);
padding: 0;
margin: 0;
}
}
&-content {
height: px2rem(500px);
width: 100%;
border: 1px solid #e8e9eb;
.ae-SingleThemeCssCode-content {
height: px2rem(454px);
}
}
}

View File

@@ -0,0 +1,40 @@
.ae-style-size {
&-wrapper {
@include flexBox();
}
&-slider {
flex: 5;
}
&-text {
flex: 3;
height: #{px2rem(32px)};
border-top-left-radius: #{$Editor-borderRadius} !important;
border-bottom-left-radius: #{$Editor-borderRadius} !important;
}
&-unit {
flex: 1.3;
& > div {
text-align: center;
padding: #{px2rem(5px)};
background: #f5f5f5 !important;
&:first-child {
font-weight: bold;
}
span {
margin-right: 0;
position: relative;
top: 1px;
> svg {
width: #{px2rem(8px)};
}
}
}
}
}

View File

@@ -0,0 +1,22 @@
/**
* @file 样式控件通用属性
*/
.ae-selection-code {
width: 100%;
> span {
@include flexBox();
display: flex !important;
}
code {
display: inline-block;
}
}
.ae-Display {
&-group {
@include panel-group-bg();
}
}

View File

@@ -0,0 +1,113 @@
.ThemeCssCode {
position: relative;
&-button {
position: absolute;
top: 4px;
right: 12px;
z-index: 100;
}
&-icon {
cursor: pointer;
color: #5c5f66;
&:hover {
color: #151b26;
}
}
.is-group {
overflow: auto;
}
}
.icon-theme-css {
margin-right: 10px;
}
.ThemeCssCode-editor {
height: auto;
width: px2rem(460px);
padding: px2rem(16px);
position: relative;
&-title {
font-size: 14px;
margin-bottom: px2rem(16px);
}
&-close {
position: absolute;
top: px2rem(14px);
right: px2rem(16px);
button {
height: px2rem(16px);
padding: 0;
margin: 0;
}
}
&-content {
height: px2rem(500px);
width: 100%;
&-header {
display: flex;
margin-bottom: px2rem(10px);
border-bottom: 1px solid #e8e9eb;
&-title {
margin-right: px2rem(30px);
cursor: pointer;
padding-bottom: px2rem(10px);
}
&-title--active {
color: #2468f2;
border-bottom: 2px solid #2468f2;
}
}
&-main {
overflow: auto;
height: px2rem(460px);
}
&-body--hidden {
display: none;
}
&-body {
margin-bottom: px2rem(10px);
&-title {
margin-bottom: px2rem(10px);
margin-left: px2rem(16px);
font-size: 12px;
}
&-editor {
height: 200px;
margin-bottom: px2rem(10px);
border-bottom: 1px solid #e8e9eb;
}
}
}
&-wrap {
border: 1px solid #e8e9eb;
.cxd-MonacoEditor-placeholder {
left: 1rem;
}
}
}
.editorPanel-inner {
.Theme-FontEditor {
.Theme-Wrapper-header-left {
font-weight: 400;
color: #5c5f66;
}
}
.Theme-ShadowEditor {
.Theme-Wrapper-header-left {
font-weight: 400;
color: #5c5f66;
}
}
}
.cxd-ThemeCssCode-custom-editor {
.suggest-widget {
width: auto !important;
left: 16px !important;
right: 0 !important;
.monaco-sash:first-child {
display: none;
}
}
}