好多梨留言 | 贡献
无编辑摘要
Admin留言 | 贡献
Remove legacy Common.css rule that hides NovaSkin top navigation
 
(未显示1个用户的7个中间版本)
第6行: 第6行:
}
}


 
/* 常用功能性class */
/* 导航栏 */
/* 禁止鼠标选中文字 */
#p-navigation {
.no-select {
display: none;
    user-select: none; /* 标准属性 */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10及以下 */
}
}
#p-navigation .mw-portlet-body ul li:nth-last-of-type(2) {
/* 禁止鼠标事件,一般用于禁止图片拖拽等操作 */
display: none;
.no-drag {
    pointer-events: none; /* 阻止所有鼠标事件 */
}
}
#p-navigation .mw-portlet-body ul span:nth-last-of-type(2) {
/* 绝对定位居中 */
display: none;
.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
}






 
/* 顶部导航已由 NovaSkin 管理 */


/* 目录相关 */
/* 目录相关 */
第130行: 第138行:


/* 筛选项 */
/* 筛选项 */
.filter-options {
.filter-container .filter-options {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
第136行: 第144行:
}
}


.filter-option {
.filter-container .filter-option {
     padding: 6px 12px;
     padding: 6px 12px;
     background: #f0f0f0;
     background: #f0f0f0;
第148行: 第156行:
}
}


.filter-option:hover {
.filter-container .filter-option:hover {
     background: #e0e0e0;
     background: #e0e0e0;
     border-color: #a2a9b1;
     border-color: #a2a9b1;
}
}


.filter-option:focus {
.filter-container .filter-option:focus {
     box-shadow: 0 0 0 2px rgba(42,75,141,0.3);
     box-shadow: 0 0 0 2px rgba(42,75,141,0.3);
     border-color: #2a4b8d;
     border-color: #2a4b8d;
}
}


.filter-option.filter-selected {
.filter-container .filter-option.filter-selected {
     background: #2a4b8d;
     background: #2a4b8d;
     color: white;
     color: white;
第164行: 第172行:
}
}


.filter-option.filter-option-all {
.filter-container .filter-option.filter-option-all {
     background: #eaf3ff;
     background: #eaf3ff;
     border-color: #36c;
     border-color: #36c;
第170行: 第178行:
}
}


.filter-option.filter-option-all.filter-selected {
.filter-container .filter-option.filter-option-all.filter-selected {
     background: #36c;
     background: #36c;
     color: white;
     color: white;
}
}


.filter-option-label {
.filter-container .filter-option-label {
     display: inline-block;
     display: inline-block;
}
}
第310行: 第318行:
     overflow: hidden;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
}


第315行: 第324行:
     transform: translateY(-5px);
     transform: translateY(-5px);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
   
.gift-character-card + .gift-character-card {
margin-top: 7px;
}
}


第381行: 第394行:
.invitation-block {
.invitation-block {
     padding: 25px 0 25px 25px;
     padding: 25px 0 25px 25px;
     background: #f8f9fa;
     position: relative;
}
}


第459行: 第472行:
.gift-block {
.gift-block {
     padding: 25px;
     padding: 25px;
    background: #f8f9fa;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    gap: 10px;
    position: relative;
}
}


第481行: 第495行:
     background-color: #7e83b2;
     background-color: #7e83b2;
     justify-content: center;
     justify-content: center;
     padding: 0 10px 0;
     padding: 0 10px 0 0;
     height: 36px;
     height: 36px;
     border-radius: 4px;
     border-radius: 4px;

2026年6月4日 (四) 09:56的最新版本

/* 这里放置的CSS将应用于所有皮肤 */
.gallery-details-tabs {
	display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 常用功能性class */
/* 禁止鼠标选中文字 */
.no-select {
    user-select: none; /* 标准属性 */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10及以下 */
}
/* 禁止鼠标事件,一般用于禁止图片拖拽等操作 */
.no-drag {
    pointer-events: none; /* 阻止所有鼠标事件 */
}
/* 绝对定位居中 */
.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}



/* 顶部导航已由 NovaSkin 管理 */

/* 目录相关 */
#toc {
	display: none;
}






/* 筛选相关 */
/* 筛选器容器 */
.filter-container {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 筛选器头部 */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eaecf0;
    padding-bottom: 12px;
}

.filter-header h3 {
    margin: 0;
    font-size: 18px;
    color: #202122;
    font-weight: bold;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-action {
    padding: 6px 16px;
    background: #3366cc;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: background-color 0.2s;
    border: none;
    outline: none;
}

.filter-action.filter-reset {
    background: #72777d;
}

.filter-action:hover {
    background: #2a4b8d;
}

.filter-action.filter-reset:hover {
    background: #54595d;
}

.filter-action:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选组 */
.filter-group {
    margin-bottom: 20px;
    background: white;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    padding: 12px;
    position: relative;
}

.filter-group h4 {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #54595d;
    padding-right: 60px;
}

.filter-group-clear {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #36c;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 2px;
    user-select: none;
}

.filter-group-clear:hover {
    background: #eaf3ff;
}

/* 筛选项 */
.filter-container .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-container .filter-option {
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: all 0.2s;
    outline: none;
}

.filter-container .filter-option:hover {
    background: #e0e0e0;
    border-color: #a2a9b1;
}

.filter-container .filter-option:focus {
    box-shadow: 0 0 0 2px rgba(42,75,141,0.3);
    border-color: #2a4b8d;
}

.filter-container .filter-option.filter-selected {
    background: #2a4b8d;
    color: white;
    border-color: #2a4b8d;
}

.filter-container .filter-option.filter-option-all {
    background: #eaf3ff;
    border-color: #36c;
    color: #36c;
}

.filter-container .filter-option.filter-option-all.filter-selected {
    background: #36c;
    color: white;
}

.filter-container .filter-option-label {
    display: inline-block;
}

/* 活动筛选标签 */
.active-filters {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eaecf0;
    display: none;
}

.active-filters-label {
    display: block;
    font-weight: 600;
    color: #54595d;
    margin-bottom: 8px;
    font-size: 14px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eaf3ff;
    border: 1px solid #36c;
    border-radius: 16px;
    font-size: 13px;
    max-width: 300px;
}

.active-filter-text {
    margin-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-filter-remove {
    color: #36c;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 2px;
    flex-shrink: 0;
    user-select: none;
    outline: none;
}

.active-filter-remove:hover {
    background: #36c;
    color: white;
}

.active-filter-remove:focus {
    box-shadow: 0 0 0 2px rgba(51,102,204,0.3);
}

/* 筛选统计 */
.filter-stats {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
    color: #54595d;
    font-size: 14px;
    display: none;
}

/* 被筛选元素的样式 */
.filtered-out {
    display: none !important;
}

.filtered-in {
    animation: filterFadeIn 0.3s;
}

@keyframes filterFadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .filter-actions {
        align-self: stretch;
    }
    
    .filter-action {
        flex: 1;
        text-align: center;
    }
    
    .filter-group h4 {
        padding-right: 0;
    }
    
    .filter-group-clear {
        position: static;
        display: inline-block;
        margin-left: 8px;
    }
}




/* 
邀约礼物角色卡片
*/
/* 角色卡片 */
.gift-character-card {
    display: grid;
    grid-template-columns: 200px 550px 1fr;
    /*gap: 20px;*/
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gift-character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
    
.gift-character-card + .gift-character-card {
	margin-top: 7px;
}

/* 角色块 */
.gift-character-block {
    position: relative;
    padding: 0;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
}

.gift-character-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
    position: relative;
}

.gift-character-image {
    position: absolute;
    top: 0;
    left: 0;
}

.gift-character-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);*/
    /*padding: 20px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.element-icon {
    font-size: 16px;
}

.gift-character-info {
    text-align: center;
    color: #4c5080;
    flex: 1;
    position: relative;
}

.gift-character-info-bg {
	position: absolute;
	left: 0;
    top: 50%;
    transform: translate(0, -50%);
    padding-bottom: 5px;
}

.gift-character-name {
	margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);*/
    position: relative;
}

/* 邀约位置块 */
.invitation-block {
    padding: 25px 0 25px 25px;
    position: relative;
}

.invitation-block-title {
    font-size: 22px;
    /*font-weight: 600;*/
    color: #fff4dc;
    /*margin-bottom: 20px;*/
    padding-bottom: 2px;
    /*border-bottom: 2px solid #eaeaea;*/
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.invitation-block-title-bg {
	position: absolute;
}

.invitation-block-title-text {
	width: 86px;
    height: 44px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invitation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invitation-card {
    display: flex;
    background: #f7f7f7;
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    position: relative;
}

.invitation-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.invitation-card-bg {
	position: absolute;
}

.location-details {
    flex: 1;
    padding: 12px;
    position: relative;
    margin-left: 160px;
    height: 122px;
}

.location-name {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.location-choice {
    font-size: 20px;
    color: #5983b1;
    line-height: 1.5;
}

/* 礼物喜好块 */
.gift-block {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.gift-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gift-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff4dc;
    background-color: #7e83b2;
    justify-content: center;
    padding: 0 10px 0 0;
    height: 36px;
    border-radius: 4px;
}

.gift-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gift-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 8px;
    min-width: 90px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    position: relative;
}

.gift-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gift-item-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gift-icon {
    font-size: 28px;
    margin-bottom: 8px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-name {
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 44px;
    height: 21px;
    background-color: #4c5080;
    color: #fff4dc;
    font-size: 18px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
    background: white;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

/* 加载状态 */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a6fa5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    color: #6c757d;
}

/* 错误状态 */
.error-container {
    text-align: center;
    padding: 60px 20px;
    color: #dc3545;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-message {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .invitation-gift-system {
        flex-direction: column;
    }

    .filter-panel {
        flex: none;
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .gift-character-card {
        grid-template-columns: 1fr;
    }

    .gift-character-block {
        height: 250px;
    }

    .gift-character-image,
    .gift-character-image-placeholder {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .invitation-gift-system {
        padding: 10px;
    }

    .characters-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .invitation-card {
        flex-direction: column;
    }

    .location-icon {
        flex: 0 0 60px;
        width: 100%;
    }

    .gift-item {
        min-width: 80px;
        padding: 10px;
    }

    .gift-icon {
        font-size: 24px;
        height: 35px;
    }
}

/* 元素颜色 */
.fire {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.water {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    color: white;
}

.wind {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.thunder {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
}

.earth {
    background: linear-gradient(135deg, #da8c1d 0%, #8b4513 100%);
    color: white;
}

.light {
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    color: #333;
}

.dark {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
}