Bug 1299281 - Style the cert_domain_link in the certificate error page to look like normal text when it does not link to anything. r?johannh draft
authorPrathiksha <prathikshaprasadsuman@gmail.com>
Wed, 15 Mar 2017 18:30:44 +0530
changeset 499308 47a95558f3165f69e50f4036fe5ed1fb40cc19d8
parent 498360 2baef2ffbaedb7354286726660ebd36e84b432f0
child 549304 627fb9df33e8edd38743628fd15d84fd6282553a
push id49361
push userbmo:prathikshaprasadsuman@gmail.com
push dateWed, 15 Mar 2017 15:26:00 +0000
reviewersjohannh
bugs1299281
milestone55.0a1
Bug 1299281 - Style the cert_domain_link in the certificate error page to look like normal text when it does not link to anything. r?johannh MozReview-Commit-ID: J515XWhwozK
browser/themes/shared/aboutNetError.css
--- a/browser/themes/shared/aboutNetError.css
+++ b/browser/themes/shared/aboutNetError.css
@@ -158,8 +158,13 @@ span#hostname {
   padding: 1em 17.5%;
 }
 
 #certificateErrorText {
   font-family: monospace;
   white-space: pre-wrap;
   padding: 1em 0;
 }
+
+#cert_domain_link:not([href]) {
+  color: var(--in-content-page-color);
+  text-decoration: none;
+}
\ No newline at end of file