diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-08 11:16:50 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-15 09:53:42 +0200 |
commit | a8224cfb6df7d0a1f60c3ca603171a152179e71d (patch) | |
tree | 462675ffaef580dc25bbcaea70221dd7d3573b73 | |
parent | Add font: Nunito regular (diff) | |
download | rekonq-a8224cfb6df7d0a1f60c3ca603171a152179e71d.tar.xz |
about:downloads grey links
-rw-r--r-- | src/data/home.html | 4 | ||||
-rw-r--r-- | src/newtabpage.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/data/home.html b/src/data/home.html index c46904dd..c7480810 100644 --- a/src/data/home.html +++ b/src/data/home.html @@ -199,6 +199,10 @@ float: left; margin-right: 5px; } +.download a.greylink{ +color:grey; +} + /* -------------------------------------------------------- */ /* Empty pages : in the end : need to overwrite */ #content.empty { diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index aadaf930..87d2ca5a 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -511,11 +511,14 @@ void NewTabPage::downloadsPage() if (QFile::exists(file)) { div.appendInside(markup(QL1S("a"))); + div.lastChild().setAttribute(QL1S("class"), QL1S("greylink")); div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + dir); div.lastChild().setPlainText(i18n("Open directory")); div.appendInside(QL1S(" - ")); + div.appendInside(markup(QL1S("a"))); + div.lastChild().setAttribute(QL1S("class"), QL1S("greylink")); div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + file); div.lastChild().setPlainText(i18n("Open file")); } |