LLWiki正在建设中,欢迎加入我们!
“Widget:As-song”的版本间差异
跳转到导航
跳转到搜索
(使用页面/文本对比查看器快速编辑) |
(使用页面/文本对比查看器快速编辑) |
||
第2行: | 第2行: | ||
/* </includeonly>CSS样式表:<pre lang=css> */ |
/* </includeonly>CSS样式表:<pre lang=css> */ |
||
.as-song-container .oo-ui-comboBoxInputWidget { |
.as-song-container .oo-ui-comboBoxInputWidget { |
||
width: 500px; /* 完整显示现最长的歌曲名称 */ |
|||
max-width: 100%; |
|||
margin-right: 0; |
margin-right: 0; |
||
display: block; |
display: block; |
||
} |
} |
||
.as-song-container . |
.as-song-container .fa-backspace { |
||
position: absolute; |
position: absolute; |
||
top: 50%; |
top: 50%; |
||
transform: translateY(-50%); |
transform: translateY(-50%); |
||
right: 3em; |
right: 3em; |
||
cursor: pointer; |
|||
} |
} |
||
.as-song-container > div { |
.as-song-container > div { |
2021年1月28日 (四) 23:45的版本
JavaScript脚本:User:Bhsd/widget/as-song.js
CSS样式表:
*/
.as-song-container .oo-ui-comboBoxInputWidget {
width: 500px; /* 完整显示现最长的歌曲名称 */
max-width: 100%;
margin-right: 0;
display: block;
}
.as-song-container .fa-backspace {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 3em;
cursor: pointer;
}
.as-song-container > div {
display: inline-block; /* 居中 */
}
.as-song-container .as-song {
display: none;
}
/*