mirror of
https://github.com/Oreolek/elements.git
synced 2024-05-19 17:28:15 +03:00
Merge branch 'master' of git://github.com/collingo/elements
Conflicts: elements.less
This commit is contained in:
commit
f7505132d0
|
@ -1,3 +1,4 @@
|
||||||
|
<<<<<<< HEAD
|
||||||
/*! ---------------------------------------------------
|
/*! ---------------------------------------------------
|
||||||
LESS Elements 0.6.x
|
LESS Elements 0.6.x
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
@ -132,9 +133,18 @@
|
||||||
transform: translate(@x, @y);
|
transform: translate(@x, @y);
|
||||||
}
|
}
|
||||||
.opacity(@opacity: 0.5) {
|
.opacity(@opacity: 0.5) {
|
||||||
|
@percent: @opacity * 100;
|
||||||
|
/* IE 8 */
|
||||||
|
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=@{percent})";
|
||||||
|
/* IE 5-7 */
|
||||||
|
filter: ~"alpha(opacity=@{percent})";
|
||||||
|
/* Netscape */
|
||||||
-moz-opacity: @opacity;
|
-moz-opacity: @opacity;
|
||||||
|
/* Safari 1.x */
|
||||||
-khtml-opacity: @opacity;
|
-khtml-opacity: @opacity;
|
||||||
|
/* Webkit */
|
||||||
-webkit-opacity: @opacity;
|
-webkit-opacity: @opacity;
|
||||||
|
/* Good browsers */
|
||||||
opacity: @opacity;
|
opacity: @opacity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue