summaryrefslogtreecommitdiff
path: root/searx/static/less/bootstrap/close.less
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-12 14:54:16 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-12 14:54:16 +0100
commit410dbc573bbb873a447710e122faefd11075b6df (patch)
treecc4af9e6f213579ad92a27aeaef52d8d2e0158b6 /searx/static/less/bootstrap/close.less
parent12425618caacec90ac90332f580fb628ef32e213 (diff)
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/close.less')
-rw-r--r--searx/static/less/bootstrap/close.less33
1 files changed, 33 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/close.less b/searx/static/less/bootstrap/close.less
new file mode 100644
index 000000000..9b4e74f2b
--- /dev/null
+++ b/searx/static/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;
+ }
+}