summaryrefslogtreecommitdiff
path: root/searx/static/oscar/less/bootstrap/mixins/opacity.less
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-29 10:00:24 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:47 +0200
commit841f1eedfc8b2c49f0395d5f0ea2bfa269c19df2 (patch)
treebf56c830fbed336796c7586f84b46df82d5c2d81 /searx/static/oscar/less/bootstrap/mixins/opacity.less
parent14b0604bc0a14a110c92457f43b3828fc22e7fc7 (diff)
oscar template: generate bootstrap.min.css from source
Diffstat (limited to 'searx/static/oscar/less/bootstrap/mixins/opacity.less')
-rw-r--r--searx/static/oscar/less/bootstrap/mixins/opacity.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/static/oscar/less/bootstrap/mixins/opacity.less b/searx/static/oscar/less/bootstrap/mixins/opacity.less
new file mode 100644
index 000000000..33ed25ce6
--- /dev/null
+++ b/searx/static/oscar/less/bootstrap/mixins/opacity.less
@@ -0,0 +1,8 @@
+// Opacity
+
+.opacity(@opacity) {
+ opacity: @opacity;
+ // IE8 filter
+ @opacity-ie: (@opacity * 100);
+ filter: ~"alpha(opacity=@{opacity-ie})";
+}