1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 03:45:49 +01:00

Use anchor tags for Buttons in :downloads rather than spans as the former are automatically hintable.

This commit is contained in:
Kris Maglione
2011-01-17 19:53:17 -05:00
parent a433478764
commit 41441f600c
2 changed files with 7 additions and 7 deletions

View File

@@ -492,7 +492,7 @@ var ConfigBase = Class("ConfigBase", {
HintActive;;* background-color: #88FF00 !important; color: black !important;
HintImage;;* opacity: .5 !important;
Button display: inline-block; font-weight: bold; cursor: pointer; color: black;
Button display: inline-block; font-weight: bold; cursor: pointer; color: black; text-decoration: none;
Button:hover text-decoration: underline;
Button[collapsed] visibility: collapse; width: 0;
Button::before content: "["; color: gray; text-decoration: none !important;

View File

@@ -37,12 +37,12 @@ var Download = Class("Download", {
</span>
<span highlight="DownloadState" key="state"/>
<span highlight="DownloadButtons">
<span highlight="Button" key="pause">Pause</span>
<span highlight="Button" key="remove">Remove</span>
<span highlight="Button" key="resume">Resume</span>
<span highlight="Button" key="retry">Retry</span>
<span highlight="Button" key="cancel">Cancel</span>
<span highlight="Button" key="delete">Delete</span>
<a highlight="Button" key="pause">Pause</a>
<a highlight="Button" key="remove">Remove</a>
<a highlight="Button" key="resume">Resume</a>
<a highlight="Button" key="retry">Retry</a>
<a highlight="Button" key="cancel">Cancel</a>
<a highlight="Button" key="delete">Delete</a>
</span>
<span highlight="DownloadProgress" key="progress">
<span highlight="DownloadProgressHave" key="progressHave"