Skip to content

Instantly share code, notes, and snippets.

@asuna
Created October 13, 2012 12:22
Show Gist options
  • Save asuna/3884431 to your computer and use it in GitHub Desktop.
Save asuna/3884431 to your computer and use it in GitHub Desktop.
附加组件栏悬停
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#browser-bottombox{
-moz-transition: 0.3s ease all !important;
background:-moz-repeating-linear-gradient(45deg,#EEE 0px,#EEE 1.8px,#FFF 1.8px,#FFF 3.6px)!important;
border: 1px solid gray !important;
border-bottom: none !important;
border-radius:4px 4px 0 0 !important;
bottom: -30px !important;
box-shadow: 0 0 3px #999 !important;
right: 30px !important;
padding: 5px 5px 2px 5px !important;
position: fixed !important;
}
#browser-bottombox::before{
-moz-transition: 0.3s ease all 0.1s;
background:rgba(0,0,0,0);
content:"";
height:5px;
width:150px;
bottom: 0;
right: 30px;
position: fixed;
}
#browser-bottombox:hover::before{
bottom:-5px;
}
#browser-bottombox:hover{
bottom: 0 !Important;
box-shadow: 0 0 5px 1px #888 !important;
padding: 2px 5px 2px 5px !important;
}
#addon-bar{
background: none !important;
border: none !important;
visibility:visible !important;
}
#addonbar-closebutton{
display: none !important;
}
#inspector-toolbar{
position:fixed !important;
bottom:0 !important;
right:0 !important;
width:100% !important;
}
#inspector-breadcrumbs{
right:0 !important;
width:-moz-calc(100% - 290px) !important;
}
#inspector-tools{
vertical-align:3px !Important;
margin-right:4px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment