LLWiki正在建设中,欢迎加入我们!
“Widget:Sif-song-table”的版本间差异
跳转到导航
跳转到搜索
(使用页面/文本对比查看器快速编辑) |
(//使用页面/文本对比查看器快速编辑) |
||
第7行: | 第7行: | ||
width: auto !important; |
width: auto !important; |
||
white-space: nowrap; |
white-space: nowrap; |
||
} |
|||
.sif-song-table .tabs-label { |
|||
transition-delay: 0.3s; |
|||
} |
|||
.sif-song-table .tabs-label:hover { |
|||
transition-delay: 0s; |
|||
} |
} |
||
.sif-song-table .tabs-content { |
.sif-song-table .tabs-content { |
||
第12行: | 第18行: | ||
width: auto; |
width: auto; |
||
min-width: 100%; |
min-width: 100%; |
||
left: 0; |
|||
transition: height linear 0.3s; |
|||
overflow: hidden; |
|||
} |
|||
.sif-song-table .tabs-dropdown:not(:hover) .tabs-content { |
|||
height: 0 !important; |
|||
border-bottom: none; |
|||
} |
} |
||
.sif-song-table .tabs-dropdown ul { |
.sif-song-table .tabs-dropdown ul { |
2021年2月10日 (三) 23:13的版本
JavaScript脚本:User:Bhsd/widget/sif-song-table.js
CSS样式表:
*/
.sif-song-table {
text-align: center;
}
.sif-song-table .tabs-dropdown {
width: auto !important;
white-space: nowrap;
}
.sif-song-table .tabs-label {
transition-delay: 0.3s;
}
.sif-song-table .tabs-label:hover {
transition-delay: 0s;
}
.sif-song-table .tabs-content {
border-radius: 0 0 8px 8px;
width: auto;
min-width: 100%;
left: 0;
transition: height linear 0.3s;
overflow: hidden;
}
.sif-song-table .tabs-dropdown:not(:hover) .tabs-content {
height: 0 !important;
border-bottom: none;
}
.sif-song-table .tabs-dropdown ul {
padding: 0;
}
.sif-song-table .tabs-dropdown li:last-child {
border-radius: 0 0 8px 8px;
}
/*