diff options
author | Marin Treselj <marin@pixelipo.com> | 2017-07-28 10:42:08 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2017-09-09 19:07:15 +0300 |
commit | e95ac21eb80b6b2dc72a0e1b4183d22246d81cf2 (patch) | |
tree | e0991e2694acede28d7fec5e1a3bd77286c1a3f3 /css | |
parent | d3c26549e202d9c21cd4afe464c6f834cccacc07 (diff) |
Generate SVG sprite file inside the img folder
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/sprite.css | 30 | ||||
-rw-r--r-- | css/style.css | 2 |
2 files changed, 7 insertions, 25 deletions
diff --git a/css/sprite.css b/css/sprite.css index 6bbddc89..0725adfe 100644 --- a/css/sprite.css +++ b/css/sprite.css @@ -1,5 +1,5 @@ .icon { - background: url("svg/sprite.css.svg") no-repeat; + background: url("../img/sprites.svg") no-repeat; } .svg-add { @@ -12,7 +12,7 @@ } .svg-all { - background-position: 80% 0; + background-position: 60% 60%; } .svg-all-dims { @@ -138,7 +138,7 @@ } .svg-menu { - background-position: 60% 60%; + background-position: 0 0; } .svg-menu-dims { @@ -147,7 +147,7 @@ } .svg-note { - background-position: 0 0; + background-position: 80% 0; } .svg-note-dims { @@ -164,11 +164,11 @@ height: 16px; } -.svg-percent1 { +.svg-random { background-position: 80% 40%; } -.svg-percent1-dims { +.svg-random-dims { width: 16px; height: 16px; } @@ -281,21 +281,3 @@ height: 16px; } -.svg-update { - background-position: 20% 100%; -} - -.svg-update-dims { - width: 16px; - height: 16px; -} - -.svg-update1 { - background-position: 40% 100%; -} - -.svg-update1-dims { - width: 16px; - height: 16px; -} - diff --git a/css/style.css b/css/style.css index 644d09d9..c5e802e2 100644 --- a/css/style.css +++ b/css/style.css @@ -1429,7 +1429,7 @@ div.percentbar { min-height: 22px; } .detail-categories .select2-container-multi .select2-choices .select2-search-choice a.select2-search-choice-close { - background: url("svg/sprite.css.svg") no-repeat; + background: url("../img/sprites.svg") no-repeat; background-position: 60% 40%; opacity: 0.4; display: initial; |