MediaWiki:Gadget-Filterable.css
跳到导航
跳到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 历史(Mac为Opera → Preferences),或按Ctrl-Shift-Del,然后清除浏览数据 → 勾选“已缓存的图片和文件” → 清除数据。
.filterable-button {
float:right;
color:black;
padding:0 2px 0 0.5em;
text-shadow:none;
transition:all 1250ms cubic-bezier(0.19,1,0.22,1);
cursor:pointer;
}
.filterable-button:hover {
text-shadow:1px 1px 2px #888;
}
.filterable-button-active {
color:black;
}
.filterable-input-group {
position:absolute;
width:200px;
display:none;
}
.filterable-input-group .list-group-item input {
vertical-align:text-bottom;
margin:0 5px 0 0;
}
.filterable-input-group .dropdown-content {
padding:0 10px;
}
.filterable-input-group .dropdown-content .list-group-item {
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.filterable-input-group .list-group {
margin-bottom:10px;
max-height:206px;
overflow-y:auto;
}
/*强行扒代码,新增部分*/
.dropdown-menu{
padding:7px;
position:absolute;
top:100%;
left:0;
z-index:95;
display:none;
float:left;
min-width:160px;
padding:5px 0;
margin:2px 0 0;
list-style:none;
font-size:14px;
text-align:left;
background-color:#ffffff;
border:1px solid #cccccc;border:
1px solid rgba(0,0,0,0.15);
border-radius:0;
-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);
box-shadow:0 6px 12px rgba(0,0,0,0.175);
background-clip:padding-box;
}
.dropdown-menu.pull-right{
right:0;
left:auto;
}
.dropdown-menu .divider{
height:1px;margin:9px 0;
overflow:hidden;
background-color:#e5e5e5;
}
.dropdown-menu > li > a{
display:block;
padding:3px 20px;
clear:both;
font-weight:normal;
line-height:1.42857143;
color:#333333;
white-space:nowrap;
}
.dropdown-menu > li > a:hover,.dropdown-menu > li > a:focus{
text-decoration:none;
color:#262626;
background-color:#f5f5f5;
}
.dropdown-menu > .active > a,.dropdown-menu > .active > a:hover,.dropdown-menu > .active > a:focus{
color:#ffffff;
text-decoration:none;
outline:0;
background-color:#337ab7;
}
.dropdown-menu > .disabled > a,.dropdown-menu > .disabled > a:hover,.dropdown-menu > .disabled > a:focus{
color:#777777;
}
.dropdown-menu > .disabled > a:hover,.dropdown-menu > .disabled > a:focus{
text-decoration:none;
background-color:transparent;
background-image:none;
filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);
cursor:not-allowed;
}
/*结束*/
.btn-group-sm{
display:inline-block;
}
/*下拉菜单*//*
.dropdown-menu{
background-color:#B0E0E6;
border:2px solid rgba(30,30,30,0.85);
color:rgba(30,30,30,0.85);
}*/