summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2013-11-21 10:11:38 (GMT)
committerNathaniel Catchpole2013-11-21 10:11:38 (GMT)
commitc465f9667f8f23089beff80bbffb21a021fabe8c (patch)
treedc1a5f8d13d3bc836e5cd59b16f7301cdd3cc165
parent390d04eef792f7f0ac6c3a03986b8eacf9c07d32 (diff)
Issue #2054055 by seanr: Bartik inappropriately styles all links in the footer, rather than links inside blocks in the footer, breaking contextual links in the process.
-rw-r--r--core/modules/contextual/css/contextual.theme.css4
-rw-r--r--core/themes/bartik/css/style.css8
2 files changed, 5 insertions, 7 deletions
diff --git a/core/modules/contextual/css/contextual.theme.css b/core/modules/contextual/css/contextual.theme.css
index be6d44a..7475a1d 100644
--- a/core/modules/contextual/css/contextual.theme.css
+++ b/core/modules/contextual/css/contextual.theme.css
@@ -91,9 +91,7 @@
}
.contextual-region .contextual .contextual-links a {
background-color: #fff;
- /* This is an unfortunately necessary use of !important to prevent white
- * links on a white background or some similar illegible combination. */
- color: #333 !important;
+ color: #333;
display: block;
font-family: sans-serif;
font-size: small;
diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css
index 5dad110..6314e93 100644
--- a/core/themes/bartik/css/style.css
+++ b/core/themes/bartik/css/style.css
@@ -953,17 +953,17 @@ ul.links {
/* ------------------ Footer ------------------ */
-#footer-wrapper {
+#footer-wrapper .block .content {
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
font-size: 0.857em;
}
-#footer-wrapper a {
+#footer-wrapper .block .content a {
color: #fcfcfc;
color: rgba(255, 255, 255, 0.8);
}
-#footer-wrapper a:hover,
-#footer-wrapper a:focus {
+#footer-wrapper .block .content a:hover,
+#footer-wrapper .block .content a:focus {
color: #fefefe;
color: rgba(255, 255, 255, 0.95);
text-decoration: underline;