mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 11:20:50 +08:00
117 lines
1.8 KiB
SCSS
117 lines
1.8 KiB
SCSS
@use '../styles/mixins' as *;
|
|
|
|
.container {
|
|
width: 100%;
|
|
}
|
|
|
|
.cardTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $spacing-sm;
|
|
}
|
|
|
|
.cardTitleIcon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.pageTitle {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin: 0 0 $spacing-xl 0;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-xl;
|
|
}
|
|
|
|
.oauthSection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-lg;
|
|
}
|
|
|
|
.oauthGrid {
|
|
display: grid;
|
|
gap: $spacing-lg;
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
|
|
|
@include mobile {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.oauthCard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-md;
|
|
}
|
|
|
|
.oauthStatus {
|
|
padding: $spacing-md;
|
|
border-radius: $radius-md;
|
|
font-size: 14px;
|
|
|
|
&.success {
|
|
background-color: rgba(34, 197, 94, 0.1);
|
|
color: #16a34a;
|
|
}
|
|
|
|
&.error {
|
|
background-color: rgba(239, 68, 68, 0.1);
|
|
color: #dc2626;
|
|
}
|
|
|
|
&.waiting {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
color: #3b82f6;
|
|
}
|
|
}
|
|
|
|
.callbackSection {
|
|
margin-top: $spacing-md;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-xs;
|
|
}
|
|
|
|
.callbackActions {
|
|
display: flex;
|
|
gap: $spacing-md;
|
|
}
|
|
|
|
.authUrlBox {
|
|
background: var(--bg-secondary);
|
|
border: 1px dashed var(--border-color);
|
|
border-radius: $radius-md;
|
|
padding: $spacing-md;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-xs;
|
|
}
|
|
|
|
.authUrlLabel {
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.authUrlValue {
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
word-break: break-all;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.5;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.authUrlActions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: $spacing-sm;
|
|
margin-top: $spacing-sm;
|
|
}
|