Skip to content

Instantly share code, notes, and snippets.

@wenketel
Created April 6, 2014 16:15
Show Gist options
  • Save wenketel/10008181 to your computer and use it in GitHub Desktop.
Save wenketel/10008181 to your computer and use it in GitHub Desktop.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*进度条背景样式*/
.downloadProgress {
-moz-appearance: none !important;
min-height: 6px !important;
max-height: 6px !important;
border: 0px !important;
}
.downloadContainer{
border-right:1px solid #ccc!important;
}
#downloads-indicator-progress > .progress-remainder {
background: #E1EDFA !important;
border-radius: 0!important;
}
#downloads-indicator-progress > spacer,
.progress-remainder {
background-color: #000 !important;
}
/*进度条样式*/
.progress-bar {
-moz-appearance: none !important;
background-color: #fff !important;
background-size: 10px 10px;
background-image: linear-gradient(45deg, #000 25%, transparent 26%,
transparent 50%, #000 51%, #000 75%,
transparent 76%, transparent);
-moz-animation: animate-stripes 3s linear infinite;
}
@-moz-keyframes animate-stripes {
0% {
background-position: 0 0;
}
100% {
background-position: 60px 0;
}
}
/*高度调整*/
#downloadsFooter {
box-shadow: none !important;
}
richlistitem[class="download-state"][state] {
min-height: 56px !important;
max-height: 56px !important;
box-shadow: none !important;
}
.download-state:hover {
background: #eee !important;
border-radius: 0 !important;
border: 1px solid #aaa!important;
}
.download-state:not(:hover) {
border-bottom: 1px solid #eee!important;
}
#downloadsFooter {
max-height: 22px !important;
min-height: 22px !important;
background-color: #fff !important;
border-radius: 0 !important;
}
#downloadsHistory > hbox {
margin-top: 2px !important;
color: #000 !important;
}
.panel-arrowcontent {
border: 1px #aaa!important;
border-radius: 0 !important;
box-shadow: 0 2px 2px #aaa!important;
background-color: #fff !important;
}
.downloadContainer {
width: 240px!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment