summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/home.html4
-rw-r--r--src/newtabpage.cpp3
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"));
}