UNPKG

gulp-css-spritesmith_3x

Version:

A plugin to help front engineer creating css sprite.

81 lines (66 loc) 3.06 kB
/* * icons * content:'"' */ .icon{display:inline-block;zoom:1; } a[href*='}{']::after{ content:'}{';} .icon_switch-off{background-position: 0 0;width:71px;height:29px} a[href*='}{']::after{ content:'}{';} .icon_switch-off{background-position: 0 0;width:71px;height:29px} .icon_switch-on{background-position: 0 -49px;width:71px;height:29px} .icon_tip-error{background-position: -91px 0;width:24px;height:24px} .icon_tip-ok{background-position: 0 -98px;width:24px;height:24px} .icon_tip-warn{background-position: -91px -44px;width:24px;height:24px} .icon_wait{background-position: -44px -98px;width:14px;height:14px} /* comments test */ /*.icon_switch-off{background-image:url("../slice/icon_switch-off.png");width:71px;height:29px} .icon_switch-on{background-image:url("../slice/icon_switch-on.png");width:71px;height:29px} .icon_tip-error{background-image:url("../slice/icon_tip-error.png");width:24px;height:24px} .icon_tip-ok{background-image:url("../slice/icon_tip-ok.png");width:24px;height:24px} .icon_tip-warn{background-image:url("../slice/icon_tip-warn.png");width:24px;height:24px} .icon_wait{background-image:url("../slice/icon_wait.png") !important;width:14px;height:14px}*/ .iocn_ext1{ background-position: -44px -98px;} .iocn_ext1{ background-position: -44px -98px; /* repeat test */} /* miss semicolon test */ .iocn_ext2{ height:14px; width:14px; background-position: -44px -98px;} .iocn_ext3{ background-image:url(../slice/icon_wait_nofile.png); /* no file test */} .iocn_ext4{ background: no-repeat;background-position: -44px -98px;} .iocn_ext5{ background:#fff no-repeat;background-position: -44px -98px;} /* path test */ .iocn_ext7{ background-image:url(/slice/icon_wait.png);} .iocn_ext8{ background-image:url(/w/grunt-css-sprite/test/slice/icon_wait.png);} .iocn_ext9{ /* multi-line test */ background:url(/slice/icon_wait.png) no-repeat; background-image: no-repeat;background-position: -44px -98px; } .iocn_ext10{ /* content test */ content: '}'; background: no-repeat;background-position: -91px -44px; _background-image:url(../slice/icon_tip-warn.png); } #iocn_ext11{ background: no-repeat;background-position: -44px -98px; background-position: -91px -44px; content: '}'; } span{ background: no-repeat;background-position: -44px -98px; } /* ../images/icon.png?20150421232306 */ .icon_switch-off, .icon_switch-on, .icon_tip-error, .icon_tip-ok, .icon_tip-warn, .icon_wait, .iocn_ext1, .iocn_ext2, .iocn_ext4, .iocn_ext5, .iocn_ext9, .iocn_ext10, #iocn_ext11, span{ background-image: url(../images/icon.png?20150421232306); background-image: -webkit-image-set(url(../images/icon.png?20150421232306) 1x, url(../images/icon@2x.png?20150421232306) 2x); background-image: -moz-image-set(url(../images/icon.png?20150421232306) 1x, url(../images/icon@2x.png?20150421232306) 2x); background-image: -ms-image-set(url(../images/icon.png?20150421232306) 1x, url(../images/icon@2x.png?20150421232306) 2x); background-image: image-set(url(../images/icon.png?20150421232306) 1x, url(../images/icon@2x.png?20150421232306) 2x); }