CSS to avoid style clash with link color on map labels

Map labels are shown as blue when the ULS is integrated with MediaWiki.
This commit:
* Changes the hidding label strategy to be based on modifying the opacity (not the color of links).
* Specifis the label color explicitly to avoid CSS conflicts.
This commit is contained in:
pginer
2012-11-15 10:35:40 +01:00
parent 641218f624
commit c684953fe2

View File

@@ -118,14 +118,19 @@ div.uls-region {
padding-right: 0;
float: right;
overflow: hidden;
color: rgba(0,0,0,0);
opacity: 0.7;
transition: color 0.15s linear;
-moz-transition: color 0.15s linear;
-webkit-transition: color 0.15s linear;
transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
-webkit-transition: opacity 0.2s linear;
}
#map-block:hover {
#map-block a{
opacity:0;
transition: opacity 0.15s linear;
-moz-transition: opacity 0.15s linear;
-webkit-transition: opacity 0.15s linear;
}
#map-block:hover, #map-block:hover a {
opacity: 1;
color: #333;
}