UX: fix topic map link expansion hover (#25822)

This commit is contained in:
Kris 2024-02-22 15:47:38 -05:00 committed by GitHub
parent 725561cf4b
commit 9005a14508
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 15 deletions

View File

@ -34,7 +34,7 @@ createWidget("topic-map-show-links", {
title: "topic_map.links_shown",
icon: "chevron-down",
action: "showLinks",
className: "btn",
className: "btn btn-flat",
})
);
},

View File

@ -759,6 +759,18 @@ aside.quote {
}
}
.link-summary .btn {
width: 100%;
.d-icon {
color: var(--primary-high);
}
.discourse-no-touch & {
&:hover {
background: var(--primary-low);
}
}
}
.controls {
display: flex;
align-items: center;

View File

@ -316,15 +316,6 @@ pre.codeblock-buttons:hover {
}
}
}
.link-summary .btn {
color: var(--primary-med-or-secondary-high);
background: var(--blend-primary-secondary-5);
width: 100%;
&:hover {
color: var(--primary);
background: var(--primary-low);
}
}
.toggle-summary .summarization-buttons .top-replies {
margin-left: 10px;

View File

@ -194,11 +194,6 @@ a.reply-to-tab {
}
}
}
.link-summary .btn {
color: var(--primary-med-or-secondary-high);
background: var(--blend-primary-secondary-5);
width: 100%;
}
.toggle-summary {
.summarization-buttons {