diff --git a/core/core-frontend/src/style/index.less b/core/core-frontend/src/style/index.less index 86a252a2f6..51bca72721 100644 --- a/core/core-frontend/src/style/index.less +++ b/core/core-frontend/src/style/index.less @@ -271,6 +271,66 @@ body { min-width: auto !important; } +.circle-button_icon { + position: relative; + display: flex; + align-items: center; + justify-content: center; + .ed-icon { + font-size: 14px; + position: relative; + z-index: 5; + } + + &:disabled { + color: #5f5f5f; + cursor: not-allowed; + &::after { + display: none !important; + } + } + + width: 14px; + height: 14px; + + &::after { + content: ''; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + display: none; + width: 22px; + height: 22px; + border-radius: 4px; + } + + &:hover { + &::after { + display: block; + background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1)); + } + } + + &:active { + &::after { + display: block; + background: var(--ed-color-primary-33, rgba(51, 112, 255, 0.2)); + } + } + + cursor: pointer; + box-sizing: border-box; + transition: 0.1s; + user-select: none; + outline: 0; + color: var(--ed-color-primary); + border: 0 solid transparent; + background-color: transparent; + font-size: 14px; + font-weight: 400; +} + .ed-table-v2__empty { padding-top: 40px; } diff --git a/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue b/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue index 5adcda0927..3124831095 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-senior/Senior.vue @@ -333,38 +333,29 @@ const removeJumpSenior = () => { 已设置 - - - + + + + - - - + + + + @@ -383,38 +374,29 @@ const removeJumpSenior = () => { 已设置 - - - + + + + - - - + + + + @@ -495,18 +477,6 @@ span { font-weight: 400; line-height: 20px; color: #a6a6a6 !important; - &.ed-button { - color: var(--ed-color-primary) !important; - } - &.is-disabled { - color: #5f5f5f !important; - } -} - -.font14 { - :deep(.ed-icon) { - font-size: 14px; - } } .inner-container { diff --git a/core/core-frontend/src/views/chart/components/editor/editor-senior/components/AssistLine.vue b/core/core-frontend/src/views/chart/components/editor/editor-senior/components/AssistLine.vue index e54ab47fef..815235f7fb 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-senior/components/AssistLine.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-senior/components/AssistLine.vue @@ -156,21 +156,17 @@ onMounted(() => { > 已设置 - - - + + + +