}
}
-function colorMininifier(_, value, compatibility) {
+function colorMininifier(name, value, compatibility) {
if (value.indexOf('#') === -1 && value.indexOf('rgb') == -1 && value.indexOf('hsl') == -1)
return HexNameShortener.shorten(value);
return colorFunction + '(' + tokens.join(',') + ')';
});
- if (compatibility.colors.opacity) {
+ if (compatibility.colors.opacity && name.indexOf('background') == -1) {
value = value.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g, function (match) {
if (split(value, ',').pop().indexOf('gradient(') > -1)
return match;
.carousel-control .icon-prev:before{content:'\2039'}
.carousel-control .icon-next:before{content:'\203a'}
.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}
-.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:transparent;border:1px solid #fff;border-radius:10px}
+.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}
.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}
.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.carousel-caption .btn,.text-hide{text-shadow:none}
'a{color:hsla(0.0,0.0,0.0,0)}',
'a{color:transparent}'
],
+ 'keeps rgba(0,0,0,0) for background': [
+ 'a{background:rgba(0,0,0,0)}',
+ 'a{background:rgba(0,0,0,0)}'
+ ],
+ 'keeps rgba(0,0,0,0) for background-color': [
+ 'a{background-color:rgba(0,0,0,0)}',
+ 'a{background-color:rgba(0,0,0,0)}'
+ ],
'keeps rgba(255,255,255,0)': [
'a{color:rgba(255,255,255,0)}',
'a{color:rgba(255,255,255,0)}'
],
'removes only right transparent colors': [
'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}',
- 'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),transparent}'
+ 'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}'
]
})
)