<table><tr><td style="">subdiff created this revision.<br />subdiff added a project: Plasma.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4797" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The ToolButton has a rather odd looking style, which often conflicts with its placement and other lines in an applications: It shows the normal Button frame, when hovered. For example take a look at the calendar:</p>

<p><a href="https://phabricator.kde.org/F2611313" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2611313: video-alt.mp4</a><br />
It doesn't fit the overall design and coders often srew up the borders, which are in the upper example not aligned with the other lines and even overlap with the pin highlight. In comparision with the simplified background colors:<br />
<a href="https://phabricator.kde.org/F2611324" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2611324: video.mp4</a></p>

<p>The highlight color for the background fits together with the other elements much better and the misalignment is less noticeable because of the rounded edges. That there is no overlap anymore is only lucky though.</p>

<p>If you look closely the pin in the top right corner of the calendar is a (checkable) ToolButton as well and has a stronger checked color after the patch. I would say it's a matter of taste, but we could soften this by reducing the opacity also in pressed/checked mode (when hovered it's already at 0.25%) in any case or only if it is a checkable ToolButton .</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4797" rel="noreferrer">https://phabricator.kde.org/D4797</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/declarativeimports/plasmastyle/ToolButtonStyle.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>subdiff, Plasma<br /><strong>Cc: </strong>plasma-devel, Frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>