-#command-button-paintflashing {
- list-style-image: url("chrome://browser/skin/devtools/command-paintflashing.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-
-#command-button-paintflashing:hover,
-#command-button-paintflashing:hover:active,
-#command-button-paintflashing[checked=true] {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
-}
-
-#command-button-responsive {
- list-style-image: url("chrome://browser/skin/devtools/command-responsivemode.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-
-#command-button-responsive:hover,
-#command-button-responsive:hover:active,
-#command-button-responsive[checked=true] {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+.command-button > image {
+ width: 16px;
+ height: 16px;
+ background-size: 32px 16px;
+ background-position: 0 center;
+ background-repeat: no-repeat;