summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-01 17:48:12 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-01 17:48:12 +0100
commit9f12605f7ebc9ca5575fc4ee9900e0e821366c4d (patch)
treecbb1e9c475134ebbc22edefa4128b0a48f1e5770 /searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less
parente3957d6adf5298dbc009a0892f5c088c397c586b (diff)
[enh] themes static content refactor
Diffstat (limited to 'searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less')
-rw-r--r--searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less b/searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less
new file mode 100644
index 000000000..c11ad2fb7
--- /dev/null
+++ b/searx/static/themes/oscar/less/bootstrap/mixins/text-overflow.less
@@ -0,0 +1,8 @@
+// Text overflow
+// Requires inline-block or block for proper styling
+
+.text-overflow() {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}