[tor-commits] [metrics-web/master] Disable Applications category on start page.
karsten at torproject.org
karsten at torproject.org
Mon Jan 9 17:03:42 UTC 2017
commit 336f353c6074e9cdc587b9de2600652720623784
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Fri Dec 23 12:35:37 2016 +0100
Disable Applications category on start page.
---
website/etc/categories.json | 2 +-
website/web/css/style.css | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/website/etc/categories.json b/website/etc/categories.json
index 832f3c0..8b4ea77 100644
--- a/website/etc/categories.json
+++ b/website/etc/categories.json
@@ -77,7 +77,7 @@
"id": "applications",
"icon": "fa-download",
"header": "Applications",
- "summary": "How many Tor applications, like Tor Browser, have been downloaded or updated (coming soon).",
+ "summary": "How many Tor applications, like Tor Browser, have been downloaded or updated.",
"metrics": []
}
]
diff --git a/website/web/css/style.css b/website/web/css/style.css
index 2b97b34..b1d390d 100644
--- a/website/web/css/style.css
+++ b/website/web/css/style.css
@@ -386,18 +386,22 @@ body .topButton {
border:1px solid #ccc;
border-radius:5px;
padding:2em 2em 1em 2em;
+ color:#999;
+}
+.dashboard h2, .dashboard p {
+ color:#999;
}
-.dashboard a:hover {
+.dashboard a[href], .dashboard a[href]:hover, .dashboard a[href]:focus, .dashboard a[href]:active, .dashboard a[href] h2 {
+ color:#68b030;
+}
+.dashboard a[href]:hover {
background-color: #F8f8f8;
}
/* fixed box height by screen size: */
@media (min-width: 1200px) { .dashboard a, .dashboard a:hover, .dashboard a:focus, .dashboard a:active { min-height:260px; } }
@media (min-width: 992px) and (max-width: 1199.99999px) { .dashboard a, .dashboard a:hover, .dashboard a:focus, .dashboard a:active { min-height:290px; } }
@media (min-width: 768px) and (max-width: 991.99999px) { .dashboard a, .dashboard a:hover, .dashboard a:focus, .dashboard a:active { min-height:280px; } }
-.dashboard h2 {
- color:#68b030;
-}
-.dashboard p {
+.dashboard a[href] p {
color:black;
}
@media (max-width: 767.99999px) {
More information about the tor-commits
mailing list