related to #1490 fixed dark mode line albums

This commit is contained in:
Matthieu Leproux
2021-09-29 11:29:41 +02:00
parent 4fbd9c07bd
commit c4ad86ba57
2 changed files with 16 additions and 4 deletions
+3 -3
View File
@@ -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",
+13 -1
View File
@@ -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;
}