Smail/frontend/src/views/components/PluginSettings/PluginSettings.css
smail 6a17af13ed
Some checks are pending
Security Checks / security (push) Waiting to run
整合插件配置入口并保留权限与未保存保护
2026-09-08 14:17:14 +08:00

83 lines
1.6 KiB
CSS

.plugin-settings {
min-width: 0;
}
.plugin-list-error {
display: grid;
justify-items: start;
gap: 8px;
padding: 8px;
color: var(--el-color-danger);
font-size: 12px;
overflow-wrap: anywhere;
}
.plugin-settings :deep(.telegram-settings) {
padding: 0;
}
.plugin-section {
min-width: 0;
overflow: hidden;
border: 1px solid var(--pm-border-color);
border-radius: var(--pm-radius-md);
background: var(--pm-bg-secondary);
box-shadow: 0 2px 8px rgb(15 23 42 / 4%);
}
.plugin-section:hover:not(.is-disabled) {
border-color: color-mix(in srgb, var(--pm-primary-color) 28%, var(--pm-border-color));
}
.plugin-section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 58px;
padding: 10px 16px;
border-bottom: 1px solid var(--pm-border-color);
background: var(--pm-bg-primary);
}
.plugin-section-header h3 {
overflow: hidden;
margin: 0 0 2px;
color: var(--pm-text-primary);
font-size: 15px;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.plugin-section :deep(button:focus-visible),
.plugin-section :deep(input:focus-visible),
.plugin-section :deep(textarea:focus-visible),
.plugin-section :deep(select:focus-visible) {
outline: 2px solid var(--pm-primary-color);
outline-offset: 2px;
}
.iframe-wrapper {
height: 320px;
min-height: 240px;
background: var(--pm-bg-secondary);
}
iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
}
@media (max-width: 768px) {
.plugin-section-header {
padding: 10px 12px;
}
.iframe-wrapper {
height: 280px;
}
}