Some checks are pending
Security Checks / security (push) Waiting to run
调整 IMAP、POP3、SMTP 协议名称与服务名称的两行显示,并优化右上角加密标签和单行参数布局。
388 lines
6.7 KiB
CSS
388 lines
6.7 KiB
CSS
.third-party-authorization {
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.authorization-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* 通用板块卡片容器 */
|
|
.panel-card {
|
|
background: var(--pm-bg-secondary);
|
|
border: 1px solid var(--pm-border-color);
|
|
border-radius: var(--pm-radius-md);
|
|
padding: 16px 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
/* 顶部标题栏 */
|
|
.card-header-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.main-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--pm-text-primary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sub-title {
|
|
font-size: 13px;
|
|
color: var(--pm-text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* 核心主要操作按钮:高对比度实心显色,杜绝半透明或虚化 */
|
|
.btn-primary-action,
|
|
.btn-primary-action.el-button--primary {
|
|
background-color: var(--pm-primary-color) !important;
|
|
border-color: var(--pm-primary-color) !important;
|
|
color: #ffffff !important;
|
|
font-weight: 600 !important;
|
|
opacity: 1 !important;
|
|
box-shadow: 0 2px 6px rgba(0, 113, 227, 0.25);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-primary-action.el-button--primary:hover {
|
|
background-color: var(--pm-primary-hover, #0077ed) !important;
|
|
border-color: var(--pm-primary-hover, #0077ed) !important;
|
|
color: #ffffff !important;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
|
|
}
|
|
|
|
.btn-primary-action.el-button--primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* 卡片内容区域 */
|
|
.card-content-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.client-op-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.op-left-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.item-label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--pm-text-primary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.client-select-input {
|
|
width: 240px;
|
|
}
|
|
|
|
.client-option-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.op-right-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* 授权码展示横条 */
|
|
.code-banner {
|
|
padding: 14px 16px;
|
|
background: var(--pm-bg-primary);
|
|
border: 1px dashed var(--pm-border-color);
|
|
border-radius: var(--pm-radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.banner-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.banner-label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--pm-text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.banner-code-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.masked-code {
|
|
letter-spacing: 2px;
|
|
font-family: monospace;
|
|
font-size: 15px;
|
|
color: var(--pm-text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.revealed-code {
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
background: color-mix(in srgb, var(--pm-primary-color) 12%, var(--pm-bg-secondary));
|
|
color: var(--pm-primary-color);
|
|
font-family: monospace;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.btn-copy-code {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.countdown-tag {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-verify-reveal {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.text-hint {
|
|
font-size: 13px;
|
|
color: var(--pm-text-placeholder, #909399);
|
|
}
|
|
|
|
.banner-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
font-size: 12px;
|
|
color: var(--pm-text-secondary);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.meta-tag {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 空状态占位 */
|
|
.empty-client-placeholder {
|
|
padding: 24px 16px;
|
|
text-align: center;
|
|
background: var(--pm-bg-primary);
|
|
border: 1px dashed var(--pm-border-color);
|
|
border-radius: var(--pm-radius-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.placeholder-text {
|
|
font-size: 14px;
|
|
color: var(--pm-text-placeholder, #909399);
|
|
}
|
|
|
|
/* 通用协议指引网格 */
|
|
.proto-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.proto-card {
|
|
min-width: 0;
|
|
padding: 12px 14px;
|
|
background: var(--pm-bg-primary);
|
|
border: 1px solid var(--pm-border-color);
|
|
border-radius: var(--pm-radius-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.proto-card:hover {
|
|
border-color: var(--pm-primary-color);
|
|
}
|
|
|
|
.proto-header {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: start;
|
|
gap: 6px 8px;
|
|
padding-bottom: 9px;
|
|
border-bottom: 1px solid var(--pm-border-color);
|
|
}
|
|
|
|
.proto-name-badge {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.proto-name-badge > .el-tag {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding-inline: 4px;
|
|
font-size: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.proto-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
gap: 2px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.proto-name {
|
|
min-width: 0;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--pm-text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.proto-service {
|
|
min-width: 0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--pm-text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.btn-card-copy {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
justify-self: end;
|
|
flex-shrink: 0;
|
|
padding-inline: 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.proto-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding-top: 1px;
|
|
}
|
|
|
|
.field-item {
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
align-items: baseline;
|
|
min-width: 0;
|
|
font-size: 13px;
|
|
gap: 6px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.field-k {
|
|
color: var(--pm-text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.field-v {
|
|
min-width: 0;
|
|
color: var(--pm-text-primary);
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.font-mono {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.field-v.highlight {
|
|
color: var(--pm-primary-color);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* 弹窗通用紧凑样式 */
|
|
.compact-dialog .dialog-tip {
|
|
margin: 0 0 14px;
|
|
color: var(--pm-text-secondary);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.dialog-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.card-header-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.client-op-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.code-banner {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.banner-right {
|
|
margin-left: 0;
|
|
}
|
|
|
|
}
|