同步登录/注册页面样式

This commit is contained in:
lutinglt
2025-08-12 10:29:32 +08:00
parent 0df107a166
commit 56c284aec2
6 changed files with 58 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ import "./explore";
import "./filelist";
import "./heatmap";
import "./issue";
import "./signin";
import "./newrepo";
import "./release";
import "./repo";

View File

@@ -0,0 +1,49 @@
import { css } from "src/types/vars";
// 注册/登录界面
export const signIn = css`
.page-content.user.signin {
.ui.grid > .column {
width: 384px;
padding: 16px;
> .ui.container {
max-width: unset;
}
}
.ui.top.attached.header {
border: 0;
font-size: 20px;
font-weight: 600;
background-color: unset !important;
margin-bottom: 0.25rem;
}
.ui.attached.segment {
border: 0;
padding: 16px 0 0 0;
.field:not(.inline) {
label {
font-size: 14px;
font-weight: 600;
}
input {
background: unset;
padding: 5px 12px;
height: 40px;
font-size: 16px;
}
}
.button {
height: 40px;
}
}
.ui.top.attached.header.segment {
font-size: 14px;
font-weight: 400;
gap: 16px;
.signin-passkey {
font-weight: 500;
}
}
}
`;