level 13
3702080120
楼主
我从文科那里偷来的悬浮签名档
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("tieba.baidu.com") {
/* 签名 */ /*Option:自动隐藏签名 Sy_Xial 提供 */
.d_sign_split {
background:none !important;
width:50px !important;
height:auto !important;
}
.d_sign_split::after {
content:"✎签名档";color:#989898;
}
.d_sign_split + img {
position:absolute !important;
z-index:300;max-height:0px !important;
height:auto !important;
width:auto !important;
box-shadow: 0px 0px 4px 0px #333 !important;
transition:0.2s linear all;
-webkit-transition:0.2s ease-in-out all;
}
.d_sign_split:hover + img,.d_sign_split + img:hover {
max-height:200px !important;
transition-delay:0.5s !important;/*触发延时,防止误触发,单位为秒*/
}
.editor_theme_2 #edit_parent {
position:relative !important;z-index:0;
}
.tb-editor-wrapper > .tb_layer_wrapper {
top:0px !important;
}
#thread_theme_7 {
height:160px !important;
}
}
但是有个问题,一般的贴吧样式,都是会调整签名档的,我一旦重新启用某贴吧样式,或者修改,上面的这个自动隐藏签名档的样式就会失效。
必须要停用这个自动隐藏签名档的样式,再启用才会正常。
这是为什么?有什么解决方法吗?

安心水帖,别BB多余的.
2014年06月10日 05点06分
1
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("tieba.baidu.com") {
/* 签名 */ /*Option:自动隐藏签名 Sy_Xial 提供 */
.d_sign_split {
background:none !important;
width:50px !important;
height:auto !important;
}
.d_sign_split::after {
content:"✎签名档";color:#989898;
}
.d_sign_split + img {
position:absolute !important;
z-index:300;max-height:0px !important;
height:auto !important;
width:auto !important;
box-shadow: 0px 0px 4px 0px #333 !important;
transition:0.2s linear all;
-webkit-transition:0.2s ease-in-out all;
}
.d_sign_split:hover + img,.d_sign_split + img:hover {
max-height:200px !important;
transition-delay:0.5s !important;/*触发延时,防止误触发,单位为秒*/
}
.editor_theme_2 #edit_parent {
position:relative !important;z-index:0;
}
.tb-editor-wrapper > .tb_layer_wrapper {
top:0px !important;
}
#thread_theme_7 {
height:160px !important;
}
}
但是有个问题,一般的贴吧样式,都是会调整签名档的,我一旦重新启用某贴吧样式,或者修改,上面的这个自动隐藏签名档的样式就会失效。
必须要停用这个自动隐藏签名档的样式,再启用才会正常。
这是为什么?有什么解决方法吗?

安心水帖,别BB多余的.

