mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-25 13:38:44 +01:00
Hide URL if href attribute is empty (nudus skins) (#630)
Co-authored-by: akinokonomi <akinokonomi@example.com>
This commit is contained in:
parent
24b2b09f18
commit
f9d0607adf
@ -346,10 +346,10 @@ summary {
|
||||
}
|
||||
|
||||
// m* == message*
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl {
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a {
|
||||
|
||||
a,
|
||||
span {
|
||||
&,
|
||||
&:not([href=""]) + span { // NOTE: 'a[href="*"] + span' is never visible
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
@ -397,6 +397,14 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl {
|
||||
span {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
a[href=""] {
|
||||
|
||||
&,
|
||||
& + span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -293,8 +293,7 @@ summary:focus {
|
||||
outline: 1px solid #8291AD;
|
||||
}
|
||||
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a,
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a, body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a:not([href=""]) + span {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@ -328,6 +327,9 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
||||
visibility: hidden;
|
||||
}
|
||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl a[href=""], .rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl a[href=""] + span {
|
||||
display: none;
|
||||
}
|
||||
.rssguard-mwrapper .rssguard-mbody img {
|
||||
max-width: 450px !important;
|
||||
max-height: unset !important;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<skin version="0.1" base="nudus-base">
|
||||
<skin version="0.1.1" base="nudus-base">
|
||||
<author>
|
||||
<name>akinokonomi</name>
|
||||
</author>
|
||||
|
@ -293,8 +293,7 @@ summary:focus {
|
||||
outline: 1px solid #5D88D2;
|
||||
}
|
||||
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a,
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a, body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a:not([href=""]) + span {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@ -328,6 +327,9 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
||||
visibility: hidden;
|
||||
}
|
||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl a[href=""], .rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl a[href=""] + span {
|
||||
display: none;
|
||||
}
|
||||
.rssguard-mwrapper .rssguard-mbody img {
|
||||
max-width: 450px !important;
|
||||
max-height: unset !important;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<skin version="0.1" base="nudus-base">
|
||||
<skin version="0.1.1" base="nudus-base">
|
||||
<author>
|
||||
<name>akinokonomi</name>
|
||||
</author>
|
||||
|
Loading…
x
Reference in New Issue
Block a user