[web] Override jQueryUI's colors on links (closes #4564046)
authorRémi Cardona <remi.cardona@logilab.fr>
Fri, 07 Nov 2014 10:33:40 +0100
changeset 10036 16f550b48d57
parent 10035 c5bcdece77fb
child 10037 6b83ceda8323
[web] Override jQueryUI's colors on links (closes #4564046)
web/data/cubicweb.css
web/data/cubicweb.old.css
--- a/web/data/cubicweb.css	Wed Oct 29 16:39:36 2014 +0100
+++ b/web/data/cubicweb.css	Fri Nov 07 10:33:40 2014 +0100
@@ -52,6 +52,11 @@
   background: %(pageBgColor)s;
 }
 
+/* more specific selectors to override jQueryUI's braindamaged CSS rules */
+#pageContent .ui-widget-content a,
+#pageContent .ui-widget-content a:active,
+#pageContent .ui-widget-content a:visited,
+#pageContent .ui-widget-content a:link,
 a, a:active, a:visited, a:link {
   color: %(aColor)s;
   text-decoration: none;
--- a/web/data/cubicweb.old.css	Wed Oct 29 16:39:36 2014 +0100
+++ b/web/data/cubicweb.old.css	Fri Nov 07 10:33:40 2014 +0100
@@ -55,6 +55,11 @@
   font-size:105%;
 }
 
+/* more specific selectors to override jQueryUI's braindamaged CSS rules */
+#pageContent .ui-widget-content a,
+#pageContent .ui-widget-content a:active,
+#pageContent .ui-widget-content a:visited,
+#pageContent .ui-widget-content a:link,
 a, a:active, a:visited, a:link {
   color: %(aColor)s;
   text-decoration: none;