LLWiki正在建设中,欢迎加入我们!
“Widget:As-song”的版本间差异
跳转到导航
跳转到搜索
(使用页面/文本对比查看器快速编辑) 标签:移动版网页编辑 移动版编辑 |
(使用GitHub上的稳定版本) 标签:移动版网页编辑 移动版编辑 |
||
第1行: | 第1行: | ||
<noinclude>{{doc|content=用於[[LoveLive!學園偶像祭ALL STARS歌曲列表]],請使用{{tl|AS song select}}調用。}}[[category:混合小部件]] |
<noinclude>{{doc|content=用於[[LoveLive!學園偶像祭ALL STARS歌曲列表]],請使用{{tl|AS song select}}調用。}}[[category:混合小部件]] |
||
<p>JavaScript脚本:[[User:Bhsd/widget/as-song.js]]</p></noinclude><includeonly><!--{if !isset($wgWidgetAsSong) || !$wgWidgetAsSong}--><!--{assign var="wgWidgetAsSong" value=true scope="global"}--><script defer src="//cdn.jsdelivr.net/gh/bhsd-harry/LLWiki@1.2/widget/as-song.min.js"></script><style> |
|||
/* </includeonly>CSS样式表:<pre lang=css> */ |
/* </includeonly>CSS样式表:<pre lang=css> */ |
||
.as-song-container .oo-ui-comboBoxInputWidget { |
.as-song-container .oo-ui-comboBoxInputWidget { |
2021年2月13日 (六) 21:48的版本
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;
line-height: 2; /* 更容易点击 */
}
.as-song-container > div {
display: inline-block; /* 居中 */
}
.as-song-container .as-song {
display: none;
}
/*