diff --git a/admin/themes/default/js/cat_list.js b/admin/themes/default/js/cat_list.js index db38063a2..ab25aa9aa 100644 --- a/admin/themes/default/js/cat_list.js +++ b/admin/themes/default/js/cat_list.js @@ -15,7 +15,7 @@ function setDisplayCompact() { color : "#848484", }); }); - + $(".categoryBox").removeClass("line_cat"); $(".categoryBox").css({ minWidth: "230px", maxWidth: "350px", @@ -163,7 +163,7 @@ function setDisplayLine() { }); /************************************/ - + $(".categoryBox").addClass("line_cat"); $(".categoryBox").css({ minWidth: "90%", maxWidth: "100%", @@ -287,7 +287,7 @@ function setDisplayTile() { $(".addAlbum.input-mode form").css({ transitionDelay: "0s", }); - + $(".categoryBox").removeClass("line_cat"); $(".categoryBox").css({ minWidth: "220px", maxWidth: "280px", diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 5bf4bbba6..46a09c362 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -829,7 +829,19 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; .addFilesButtonChanged {background-color: #888;} .addFilesButtonChanged:hover {background-color: #777;} .categoryBox, .addAlbum {background-color: #333 !important; box-shadow: -1px 1px 2px #1a1a1a;} - +.categoryBox.line_cat:hover { + background: #ffa500 !important; + color: #333 !important; + transition: 0.2s linear; +} +.categoryBox.line_cat:hover .albumInfos { + color: #333 !important; + transition: 0.2s linear; +} +.categoryBox.line_cat:hover .albumActions a span { + color: #333; + transition: 0.2s linear; +} .albumActions a:hover span { color: #fff !important; }