Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions frontend/src/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
--ed-border-radius-base: 6px !important;
--ed-border-color: #d9dcdf !important;
}

:root:root {
--ed-color-primary-light-7: #d2f1e9 !important;
--ed-border-color: #d9dcdf !important;
--ed-disabled-border-color: #d9dcdf !important;
--ed-border-color-light: #dee0e3 !important;
--ed-border-color-lighter: #dee0e3 !important;
--ed-border-radius-base: 6px !important;
}

a {
Expand Down Expand Up @@ -430,20 +434,19 @@ strong {
border-radius: 6px;
}


.login-content {
/* 针对 Webkit 浏览器的自动填充样式重置 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
/* 1. 使用足够大的内阴影来覆盖背景色,把 #ffffff 替换成你输入框原本的背景色 */
-webkit-box-shadow: 0 0 0px 1000px #f5f7fa inset !important;
-webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;

/* 2. 由于常规的 color 属性也会失效,需要用这个属性修改文字颜色 */
-webkit-text-fill-color: #333333 !important;

/* 3. 保留光标的正常颜色 */
caret-color: #333333;
}
}
}
4 changes: 1 addition & 3 deletions frontend/src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ const switchTab = (name: string) => {
.hide-login-container {
display: none;
}
:deep(.ed-input__wrapper) {
background-color: #f5f7fa;
}

.xpack-login-handler-mask {
position: fixed;
width: 100vw;
Expand Down
Loading