Files
console-dev/app/assets/styles/NotificationPreferences.DcH8Noxd.css
T

76 lines
1.8 KiB
CSS

/* 通知偏好:说明、渠道开关及保存反馈的排列。 */
/* 导入方:app/components/NotificationPreferences.vue、app/pages/messages/index.vue。 */
.notification-preferences[data-v-f4132ec8] {
border: 1px solid var(--console-panel-border);
background: var(--console-panel-bg);
border-radius: 8px;
padding: 16px 20px;
}
.preferences-heading[data-v-f4132ec8] {
justify-content: space-between;
align-items: flex-start;
gap: 16px;
display: flex;
}
.preferences-heading h3[data-v-f4132ec8] {
margin: 0;
font-size: 1.0625rem;
font-weight: 650;
line-height: 1.571rem;
}
.preferences-heading p[data-v-f4132ec8] {
color: var(--p-text-muted-color);
margin: 4px 0 0;
font-size: 0.875rem;
line-height: 1.6;
}
.preference-rows[data-v-f4132ec8] {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px 28px;
margin-top: 14px;
display: grid;
}
.preference-row[data-v-f4132ec8] {
justify-content: space-between;
align-items: center;
gap: 12px;
min-height: 40px;
padding: 8px 0;
display: flex;
}
.preference-copy[data-v-f4132ec8] {
flex-direction: column;
gap: 2px;
min-width: 0;
display: flex;
}
.preference-label[data-v-f4132ec8] {
color: var(--p-text-color);
font-size: 1rem;
font-weight: 550;
}
.preference-hint[data-v-f4132ec8] {
color: var(--p-text-muted-color);
font-size: 0.875rem;
line-height: 1.4;
}
.preferences-message[data-v-f4132ec8] {
margin-top: 12px;
}
.preferences-status[data-v-f4132ec8] {
color: var(--p-text-muted-color);
margin: 8px 0 0;
font-size: 0.875rem;
line-height: 1.4;
}
/* 视口条件 (width<=640px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=640px) {
.notification-preferences[data-v-f4132ec8] {
padding: 14px 16px;
}
.preference-rows[data-v-f4132ec8] {
grid-template-columns: 1fr;
gap: 0;
}
}