From aac3b21a8b4fd1a2f351a63fdb70d39ac2851921 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Thu, 25 Apr 2024 08:45:59 +0200 Subject: Fix: overflow expanding title in entry header (#6373) * change HTML structure * CSS --- p/themes/Swage/swage.css | 12 ++++++------ p/themes/Swage/swage.rtl.css | 12 ++++++------ p/themes/Swage/swage.scss | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) (limited to 'p/themes/Swage') diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 092cbd1ca..74ce77f0d 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -751,20 +751,20 @@ form th { .flux .current { background-color: var(--color-background-hover); } -.flux .flux_header:hover:not(.current):hover .item.title, -.flux .current:not(.current):hover .item.title { +.flux .flux_header:hover:not(.current):hover .item .title, +.flux .current:not(.current):hover .item .title { background-color: var(--color-background-hover); } .flux.favorite:not(.current) { background-color: var(--color-background-stared); } -.flux.favorite:not(.current):hover .item.title { +.flux.favorite:not(.current):hover .item .title { background-color: var(--color-background-stared); } .flux.not_read:not(.current) { background-color: var(--color-background-unread); } -.flux.not_read:not(.current):hover .item.title { +.flux.not_read:not(.current):hover .item .title { background-color: var(--color-background-unread); } .flux .item.date { @@ -909,7 +909,7 @@ a.signin { } @media (max-width: 840px) { - body:not(.formLogin, .register) .header .item.title { + body:not(.formLogin, .register) .header .item .title { display: none; } .form-group .group-name { @@ -948,7 +948,7 @@ a.signin { width: 35px; text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } .aside { diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 4a97b6375..8fb7b36dd 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -751,20 +751,20 @@ form th { .flux .current { background-color: var(--color-background-hover); } -.flux .flux_header:hover:not(.current):hover .item.title, -.flux .current:not(.current):hover .item.title { +.flux .flux_header:hover:not(.current):hover .item .title, +.flux .current:not(.current):hover .item .title { background-color: var(--color-background-hover); } .flux.favorite:not(.current) { background-color: var(--color-background-stared); } -.flux.favorite:not(.current):hover .item.title { +.flux.favorite:not(.current):hover .item .title { background-color: var(--color-background-stared); } .flux.not_read:not(.current) { background-color: var(--color-background-unread); } -.flux.not_read:not(.current):hover .item.title { +.flux.not_read:not(.current):hover .item .title { background-color: var(--color-background-unread); } .flux .item.date { @@ -909,7 +909,7 @@ a.signin { } @media (max-width: 840px) { - body:not(.formLogin, .register) .header .item.title { + body:not(.formLogin, .register) .header .item .title { display: none; } .form-group .group-name { @@ -948,7 +948,7 @@ a.signin { width: 35px; text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } .aside { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 33f3db81c..d23183445 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -969,7 +969,7 @@ form { .current { background-color: var(--color-background-hover); - &:not(.current):hover .item.title { + &:not(.current):hover .item .title { background-color: var(--color-background-hover); } } @@ -977,7 +977,7 @@ form { &.favorite:not(.current) { background-color: var(--color-background-stared); - &:hover .item.title { + &:hover .item .title { background-color: var(--color-background-stared); } } @@ -985,7 +985,7 @@ form { &.not_read:not(.current) { background-color: var(--color-background-unread); - &:hover .item.title { + &:hover .item .title { background-color: var(--color-background-unread); } } @@ -1166,7 +1166,7 @@ a.signin { @media (max-width: 840px) { body:not(.formLogin, .register) { .header { - .item.title { + .item .title { display: none; } } @@ -1218,7 +1218,7 @@ a.signin { text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } -- cgit v1.2.3