LLWiki正在建设中,欢迎加入我们!
“Widget:Sif-song-table”的版本间差异
跳转到导航
跳转到搜索
(//使用页面/文本对比查看器快速编辑) |
小 标签:移动版网页编辑 移动版编辑 |
||
第34行: | 第34行: | ||
height: 0 !important; |
height: 0 !important; |
||
border-bottom: none; |
border-bottom: none; |
||
} |
|||
.sif-song-table .tabs-dropdown ul { |
|||
padding: 0; |
|||
} |
} |
||
.sif-song-table .tabs-dropdown li:last-child { |
.sif-song-table .tabs-dropdown li:last-child { |
2021年6月1日 (二) 05:26的版本
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;
}
/* 涉及JS的高度计算,提前加载tabs扩展的部分样式 */
.sif-song-table.tsticky .tabs-dropdown {
margin-top: 10px;
margin-bottom: 10px;
}
.sif-song-table.tsticky .tabs-container {
z-index: 1;
}
.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 li:last-child {
border-radius: 0 0 8px 8px;
}
.attrib-s {
background-color: #ffc1c1;
}
.attrib-p {
background-color: #c0ffbb;
}
.attrib-c {
background-color: #b0e2ff;
}
.swing {
display: inline-block;
width: 1.25em;
height: 1.25em;
background-image: url(/mediawiki/img_auth.php/6/65/SIF_Swing_Key.png);
background-size: 1.25em;
vertical-align: text-bottom;
}
/*