LLWiki正在建设中,欢迎加入我们!
“Widget:歌曲数据库”的版本间差异
跳转到导航
跳转到搜索
(//使用页面/文本对比查看器快速编辑) |
(//使用页面/文本对比查看器快速编辑) |
||
(未显示同一用户的8个中间版本) | |||
第1行: | 第1行: | ||
<noinclude>{{doc|content=仅用于[[User:Bhsd/歌曲数据库]]这一个页面。}} |
<noinclude>{{doc|content=仅用于[[User:Bhsd/歌曲数据库]]这一个页面。}}[[category:混合小部件]] |
||
<p>JavaScript脚本:[[User:Bhsd/widget/list.js]]</p></noinclude><includeonly><!--{if !isset($wgWidgetBhsdList) || !$wgWidgetBhsdList}--><!--{assign var="wgWidgetBhsdList" value=true scope="global"}--><script defer src='/zh?title=user:bhsd/widget/list.js&action=raw&ctype=text/javascript'></script><style> |
|||
/* </includeonly>CSS样式表:<pre lang=css> */ |
|||
#mw-content-text .oo-ui-comboBoxInputWidget { |
|||
width: 500px; |
|||
max-width: 100%; |
|||
margin-right: 0; |
|||
text-align: center; |
|||
} |
|||
#mw-content-text .oo-ui-comboBoxInputWidget > .fa-backspace { |
|||
position: absolute; |
|||
top: 50%; |
|||
transform: translateY(-50%); |
|||
right: 3em; |
|||
cursor: pointer; |
|||
line-height: 2; /* 更容易点击 */ |
|||
} |
|||
#mw-content-text .oo-ui-comboBoxInputWidget > .oo-ui-menuSelectWidget { |
|||
z-index: 60; |
|||
} |
|||
#mw-content-text .oo-ui-comboBoxInputWidget .oo-ui-menuOptionWidget { |
|||
padding-left: 0.85714286em; |
|||
} |
|||
#mw-content-text pre:empty { |
|||
display: none; |
|||
} |
|||
/* </pre><includeonly> */ |
|||
</style><!--{/if}--></includeonly> |
2022年4月15日 (五) 11:47的最新版本
JavaScript脚本:User:Bhsd/widget/list.js
CSS样式表:
*/
#mw-content-text .oo-ui-comboBoxInputWidget {
width: 500px;
max-width: 100%;
margin-right: 0;
text-align: center;
}
#mw-content-text .oo-ui-comboBoxInputWidget > .fa-backspace {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 3em;
cursor: pointer;
line-height: 2; /* 更容易点击 */
}
#mw-content-text .oo-ui-comboBoxInputWidget > .oo-ui-menuSelectWidget {
z-index: 60;
}
#mw-content-text .oo-ui-comboBoxInputWidget .oo-ui-menuOptionWidget {
padding-left: 0.85714286em;
}
#mw-content-text pre:empty {
display: none;
}
/*