summaryrefslogtreecommitdiff
path: root/common/modules/config.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-16 22:38:44 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-16 22:38:44 -0500
commited696fe5c420fecbf050dd87f34d0dafc8d917e8 (patch)
treeb1b7d714ad9b19366b18952415b420105997ee40 /common/modules/config.jsm
parentb52e78b92e3859edd3a46342366d17e34a72e6d8 (diff)
downloadpentadactyl-ed696fe5c420fecbf050dd87f34d0dafc8d917e8.tar.gz
Add an experimental prototype download manager replacement. Fix some bugs.
--HG-- extra : rebase_source : aea703414d4bd601bfdea779c5878a30d5b3d782
Diffstat (limited to 'common/modules/config.jsm')
-rw-r--r--common/modules/config.jsm37
1 files changed, 34 insertions, 3 deletions
diff --git a/common/modules/config.jsm b/common/modules/config.jsm
index 17378772..0c86d3d9 100644
--- a/common/modules/config.jsm
+++ b/common/modules/config.jsm
@@ -426,9 +426,16 @@ var ConfigBase = Class("ConfigBase", {
Keyword color: red;
Tag color: blue;
- Usage position: relative; padding-right: 2em;
- Usage>LineInfo position: absolute; left: 100%; padding: 1ex; margin: -1ex -1em; background: rgba(255, 255, 255, .8); border-radius: 1ex;
- Usage:not(:hover)>LineInfo opacity: 0; left: 0; width: 1px; height: 1px; overflow: hidden;
+ Link position: relative; padding-right: 2em;
+ Link:not(:hover)>LinkInfo opacity: 0; left: 0; width: 1px; height: 1px; overflow: hidden;
+ LinkInfo {
+ position: absolute;
+ left: 100%;
+ padding: 1ex;
+ margin: -1ex -1em;
+ background: rgba(255, 255, 255, .8);
+ border-radius: 1ex;
+ }
StatusLine;;;FontFixed {
-moz-appearance: none !important;
@@ -490,6 +497,30 @@ 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;
+ Button:hover text-decoration: underline;
+ Button[collapsed] visibility: collapse; width: 0;
+ Button::before content: "["; color: gray; text-decoration: none !important;
+ Button::after content: "]"; color: gray; text-decoration: none !important;
+ Button:not([collapsed]) ~ Button:not([collapsed])::before content: "/[";
+
+ Downloads display: table; margin: 0; padding: 0;
+ DownloadHead;;;CompTitle display: table-row;
+ DownloadHead>*;;;DownloadCell display: table-cell;
+
+ Download display: table-row;
+
+ DownloadCell display: table-cell; padding: 0 1ex;
+ DownloadButtons;;;DownloadCell
+ DownloadPercent;;;DownloadCell
+ DownloadProgress;;;DownloadCell
+ DownloadProgressHave
+ DownloadProgressTotal
+ DownloadSource;;;DownloadCell,URL
+ DownloadState;;;DownloadCell
+ DownloadTime;;;DownloadCell
+ DownloadTitle;;;DownloadCell,URL
+
// </css>
]]></>, /&#x0d;/g, "\n")),