Sha256: 5922784262840c9884c5335b488eb66ac5092ab5006ea19a05a61c1917dd10d8

Contents?: true

Size: 708 Bytes

Versions: 23

Compression:

Stored size: 708 Bytes

Contents

/*

        Creating a sprite from following images:
        
        test/images/custom/running.png (46x25)
        test/images/custom/stopped.png (46x25)

        Output files:
          test/images/custom.png
          test/images/custom.css

        Output size:
          92x25


*/
div.running img.button { cursor: pointer; width: 46px; height: 25px; background: url(custom.png) 0px 0px no-repeat }
div.stopped img.button { cursor: pointer; width: 46px; height: 25px; background: url(custom.png) -46px 0px no-repeat }
div.running span.running { display: inline; }
div.running span.stopped { display: none;   }
div.stopped span.running { display: none;   }
div.stopped span.stopped { display: inline; }

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
sprite-factory-1.3.0 test/images/reference/custom.css
sprite-factory-1.2.0 test/images/reference/custom.css
sprite-factory-1.0.0 test/images/reference/custom.css