From 2e387749d55fe6a39e9c77c7272faf9c8d71591b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 24 Nov 2013 12:05:28 +0100 Subject: Suite de icon() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284 --- public/themes/default/freshrss.css | 13 ++++++------- public/themes/flat-design/freshrss.css | 13 ++++++------- 2 files changed, 12 insertions(+), 14 deletions(-) (limited to 'public') diff --git a/public/themes/default/freshrss.css b/public/themes/default/freshrss.css index 04b6c2e93..62dccc334 100644 --- a/public/themes/default/freshrss.css +++ b/public/themes/default/freshrss.css @@ -173,17 +173,16 @@ .categories .feeds .dropdown-menu:after { left: 2px; } - .categories .feeds .item .dropdown-toggle i { - background-image: none; + .categories .feeds .item .dropdown-toggle > .icon { + visibility: hidden; cursor: pointer; } - .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i, - .categories .feeds .item:hover .dropdown-toggle i, - .categories .feeds .item.active .dropdown-toggle i { - background-image: url("../icons/configure.png"); - background-image: url("../icons/configure.svg"); + .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon, + .categories .feeds .item:hover .dropdown-toggle > .icon, + .categories .feeds .item.active .dropdown-toggle > .icon { background-color: #fff; border-radius: 3px; + visibility: visible; } .post { diff --git a/public/themes/flat-design/freshrss.css b/public/themes/flat-design/freshrss.css index 4c15ca138..8c3205e76 100644 --- a/public/themes/flat-design/freshrss.css +++ b/public/themes/flat-design/freshrss.css @@ -162,17 +162,16 @@ body { .categories .feeds .dropdown-menu:after { left: 2px; } - .categories .feeds .item .dropdown-toggle i { - background-image: none; + .categories .feeds .item .dropdown-toggle > .icon { + visibility: hidden; cursor: pointer; } - .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i, - .categories .feeds .item:hover .dropdown-toggle i, - .categories .feeds .item.active .dropdown-toggle i { - background-image: url("icons/configure.png"); - background-image: url("icons/configure.svg"); + .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon, + .categories .feeds .item:hover .dropdown-toggle > .icon, + .categories .feeds .item.active .dropdown-toggle > .icon { background-color: #95a5a6; border-radius: 3px; + visibility: visible; } .categories .btn:hover .notRead, .categories .btn.active .notRead { -- cgit v1.2.3