#ankpixiv-statusbar-text {
  list-style-image: url("statusbar-button.ico");
}
#ankpixiv-statusbar-text[dark="true"] {
  list-style-image: url("statusbar-button-disabled.ico");
}

#ankpixiv-toolbar-button-image {
  list-style-image: url("toolbar-button.png");
  -moz-image-region: rect(0px 24px 24px 0px);
}
#ankpixiv-toolbar-button-image[dark="true"] {
  -moz-image-region: rect(24px 24px 48px 0px);
}
#ankpixiv-toolbar-button-image[lost="true"] {
  -moz-image-region: rect(48px 24px 72px 0px);
}
#ankpixiv-toolbar-button-image[notready="true"] {
  -moz-image-region: rect(72px 24px 96px 0px);
}
#ankpixiv-toolbar-button:hover {
}

[iconsize="small"] #ankpixiv-toolbar-button-image {
  list-style-image: url("toolbar-button.png");
  padding-left: 8px !important;  
  padding-right: 8px !important;
  -moz-image-region: rect(0px 40px 16px 24px);
}
[iconsize="small"] #ankpixiv-toolbar-button-image[dark="true"] {
  -moz-image-region: rect(24px 40px 40px 24px);
}
[iconsize="small"] #ankpixiv-toolbar-button-image[lost="true"] {
  -moz-image-region: rect(48px 40px 64px 24px);
}
[iconsize="small"] #ankpixiv-toolbar-button-image[notready="true"] {
  -moz-image-region: rect(72px 40px 88px 24px);
}
[iconsize="small"] #ankpixiv-toolbar-button-image:hover {
}

#ankpixiv-menu-download {
  list-style-image: url("toolbar-button.png");
  -moz-image-region: rect(0px 40px 16px 24px);
}
#ankpixiv-menu-download[dark="true"] {
  -moz-image-region: rect(24px 40px 40px 24px);
}
#ankpixiv-menu-download[lost="true"] {
  -moz-image-region: rect(48px 40px 64px 24px);
}
