224 lines
3.7 KiB
Plaintext
224 lines
3.7 KiB
Plaintext
// OAuth 回调页面样式
|
|
.oauthContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
.oauthCard {
|
|
background: white;
|
|
border-radius: 16px;
|
|
padding: 48px 40px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
text-align: center;
|
|
max-width: 480px;
|
|
width: 100%;
|
|
animation: slideUp 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.iconWrapper {
|
|
margin-bottom: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.successIcon {
|
|
width: 80px;
|
|
height: 80px;
|
|
color: #52c41a;
|
|
animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.errorIcon {
|
|
width: 80px;
|
|
height: 80px;
|
|
color: #ff4d4f;
|
|
animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.successButton {
|
|
background-color: #52c41a;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #73d13d;
|
|
}
|
|
}
|
|
|
|
.loadingIcon {
|
|
width: 80px;
|
|
height: 80px;
|
|
color: #1890ff;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes scaleIn {
|
|
from {
|
|
transform: scale(0);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.title {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
margin: 0 0 16px 0;
|
|
animation: fadeIn 0.8s ease-out 0.2s both;
|
|
}
|
|
|
|
.successMessage {
|
|
font-size: 16px;
|
|
color: #52c41a;
|
|
margin: 0 0 12px 0;
|
|
line-height: 1.6;
|
|
font-weight: 500;
|
|
animation: fadeIn 0.8s ease-out 0.3s both;
|
|
}
|
|
|
|
.errorMessage {
|
|
font-size: 16px;
|
|
color: #ff4d4f;
|
|
margin: 0 0 24px 0;
|
|
line-height: 1.6;
|
|
font-weight: 500;
|
|
animation: fadeIn 0.8s ease-out 0.3s both;
|
|
}
|
|
|
|
.description {
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
margin: 0;
|
|
animation: fadeIn 0.8s ease-out 0.4s both;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.button {
|
|
margin-top: 24px;
|
|
padding: 12px 32px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
animation: fadeIn 0.8s ease-out 0.5s both;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
&:active {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.errorButton {
|
|
background-color: #ff4d4f;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #ff7875;
|
|
}
|
|
}
|
|
|
|
.buttonGroup {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
justify-content: center;
|
|
animation: fadeIn 0.8s ease-out 0.5s both;
|
|
}
|
|
|
|
.confirmButton {
|
|
background-color: #1890ff;
|
|
color: white;
|
|
flex: 1;
|
|
max-width: 140px;
|
|
|
|
&:hover {
|
|
background-color: #40a9ff;
|
|
}
|
|
}
|
|
|
|
.cancelButton {
|
|
background-color: #fff;
|
|
color: #595959;
|
|
border: 1px solid #d9d9d9;
|
|
flex: 1;
|
|
max-width: 140px;
|
|
|
|
&:hover {
|
|
color: #1890ff;
|
|
border-color: #1890ff;
|
|
}
|
|
}
|
|
|
|
// 响应式设计
|
|
@media (max-width: 640px) {
|
|
.oauthCard {
|
|
padding: 36px 24px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.successIcon,
|
|
.errorIcon {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
|
|
.successMessage,
|
|
.errorMessage {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
// 保留原有的样式以防其他地方使用
|
|
.id {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.item {
|
|
font-size: 18px;
|
|
}
|
|
|