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
5 changed files with 21 additions and 9 deletions
|
@ -346,10 +346,10 @@ summary {
|
||||||
}
|
}
|
||||||
|
|
||||||
// m* == message*
|
// 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;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -397,6 +397,14 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl {
|
||||||
span {
|
span {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a[href=""] {
|
||||||
|
|
||||||
|
&,
|
||||||
|
& + span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -293,8 +293,7 @@ summary:focus {
|
||||||
outline: 1px solid #8291AD;
|
outline: 1px solid #8291AD;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a,
|
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a, body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a:not([href=""]) + span {
|
||||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -328,6 +327,9 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
||||||
visibility: hidden;
|
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 {
|
.rssguard-mwrapper .rssguard-mbody img {
|
||||||
max-width: 450px !important;
|
max-width: 450px !important;
|
||||||
max-height: unset !important;
|
max-height: unset !important;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<skin version="0.1" base="nudus-base">
|
<skin version="0.1.1" base="nudus-base">
|
||||||
<author>
|
<author>
|
||||||
<name>akinokonomi</name>
|
<name>akinokonomi</name>
|
||||||
</author>
|
</author>
|
||||||
|
|
|
@ -293,8 +293,7 @@ summary:focus {
|
||||||
outline: 1px solid #5D88D2;
|
outline: 1px solid #5D88D2;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a,
|
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a, body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a:not([href=""]) + span {
|
||||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -328,6 +327,9 @@ body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl span {
|
||||||
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
.rssguard-mwrapper .rssguard-mhead .mlinks .mwrapurl span {
|
||||||
visibility: hidden;
|
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 {
|
.rssguard-mwrapper .rssguard-mbody img {
|
||||||
max-width: 450px !important;
|
max-width: 450px !important;
|
||||||
max-height: unset !important;
|
max-height: unset !important;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<skin version="0.1" base="nudus-base">
|
<skin version="0.1.1" base="nudus-base">
|
||||||
<author>
|
<author>
|
||||||
<name>akinokonomi</name>
|
<name>akinokonomi</name>
|
||||||
</author>
|
</author>
|
||||||
|
|
Loading…
Add table
Reference in a new issue