summaryrefslogtreecommitdiff
path: root/searx/static/oscar/less/bootstrap/close.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/close.less
parent14b0604bc0a14a110c92457f43b3828fc22e7fc7 (diff)
oscar template: generate bootstrap.min.css from source
Diffstat (limited to 'searx/static/oscar/less/bootstrap/close.less')
-rw-r--r--searx/static/oscar/less/bootstrap/close.less33
1 files changed, 33 insertions, 0 deletions
diff --git a/searx/static/oscar/less/bootstrap/close.less b/searx/static/oscar/less/bootstrap/close.less
new file mode 100644
index 000000000..9b4e74f2b
--- /dev/null
+++ b/searx/static/oscar/less/bootstrap/close.less
@@ -0,0 +1,33 @@
+//
+// Close icons
+// --------------------------------------------------
+
+
+.close {
+ float: right;
+ font-size: (@font-size-base * 1.5);
+ font-weight: @close-font-weight;
+ line-height: 1;
+ color: @close-color;
+ text-shadow: @close-text-shadow;
+ .opacity(.2);
+
+ &:hover,
+ &:focus {
+ color: @close-color;
+ text-decoration: none;
+ cursor: pointer;
+ .opacity(.5);
+ }
+
+ // Additional properties for button version
+ // iOS requires the button element instead of an anchor tag.
+ // If you want the anchor version, it requires `href="#"`.
+ button& {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+ }
+}