oak-general-business/es/components/login/oauth/authorize/styles.module.less

213 lines
3.4 KiB
Plaintext

.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100%;
background-color: #f0f2f5;
padding: 10px;
}
.loadingBox,
.errorBox,
.authorizeBox {
background: white;
border-radius: 2px;
padding: 20px 24px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
max-width: 500px;
width: 100%;
border: 1px solid #e8e8e8;
}
.loadingBox {
text-align: center;
}
.spinner {
width: 48px;
height: 48px;
margin: 0 auto 20px;
border: 3px solid #f0f0f0;
border-top: 3px solid #1890ff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loadingText {
font-size: 14px;
color: #595959;
}
.errorBox {
border-top: 3px solid #f5222d;
}
.errorTitle {
font-size: 18px;
font-weight: 600;
color: #262626;
margin-bottom: 16px;
}
.errorMessage {
font-size: 14px;
color: #595959;
line-height: 1.8;
padding: 16px;
background: #fff1f0;
border: 1px solid #ffa39e;
border-radius: 2px;
}
.authorizeBox {
border-top: 3px solid #faad14;
}
.title {
font-size: 24px;
font-weight: 600;
color: #262626;
margin-bottom: 4px;
padding-bottom: 8px;
border-bottom: 1px solid #e8e8e8;
}
.description {
font-size: 14px;
color: #595959;
margin-top: 10px;
margin-bottom: 24px;
line-height: 1.8;
}
.appInfo {
background: #fafafa;
padding: 8px 12px;
border-radius: 2px;
margin-bottom: 12px;
border: 1px solid #e8e8e8;
}
.userInfo {
background: #fafafa;
padding: 8px 12px;
border-radius: 2px;
margin-bottom: 12px;
border: 1px solid #e8e8e8;
display: flex;
align-items: center;
gap: 12px;
}
.label {
font-size: 14px;
color: #262626;
font-weight: 500;
}
.infoLabel {
font-size: 12px;
color: #8c8c8c;
margin-bottom: 4px;
margin-top: 4px;
font-weight: 500;
}
.infoValue {
font-size: 15px;
color: #262626;
font-weight: 600;
}
.descValue {
font-size: 14px;
color: #595959;
line-height: 1.6;
}
.scopeSection {
margin-top: 12px;
margin-bottom: 12px;
background: #fffbe6;
padding: 8px 12px;
border-radius: 2px;
border-left: 4px solid #faad14;
}
.scopeTitle {
font-size: 14px;
font-weight: 600;
color: #262626;
margin-bottom: 6px;
}
.scopeItem {
display: flex;
align-items: flex-start;
padding: 8px 0;
font-size: 14px;
color: #262626;
line-height: 1.8;
}
.scopeIcon {
color: #faad14;
margin-right: 8px;
flex-shrink: 0;
margin-top: 2px;
}
.actions {
display: flex;
gap: 12px;
margin-top: 8px;
padding-top: 12px;
border-top: 1px solid #e8e8e8;
}
.denyButton,
.grantButton {
flex: 1;
height: 40px;
border-radius: 2px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s;
}
.denyButton {
background: #ff5e5e;
color: #ffffff;
border: 1px solid #d9d9d9;
}
.denyButton:hover {
color: #262626;
border-color: #40a9ff;
}
.denyButton:active {
background: #f5f5f5;
}
.grantButton {
background: #1890ff;
color: white;
border: 1px solid #1890ff;
}
.grantButton:hover {
background: #40a9ff;
border-color: #40a9ff;
}
.grantButton:active {
background: #096dd9;
border-color: #096dd9;
}