summaryrefslogtreecommitdiffstats
path: root/less/bootstrap/close.less
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-01-27 18:15:12 +0100
committerSimo Sorce <simo@redhat.com>2014-02-17 09:45:15 -0500
commitfa5bb8dca04e2876d9def529a77b5273b5243169 (patch)
tree398cd64ee3d78fcbd9876ca73b3443be9726ccce /less/bootstrap/close.less
parent630b85e06018fb3d9f8c34685a406b3770d58b54 (diff)
downloadipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.tar.gz
ipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.tar.xz
ipsilon.git-fa5bb8dca04e2876d9def529a77b5273b5243169.zip
Add Boostrap files
Signed-off-by: Petr Vobornik <pvoborni@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'less/bootstrap/close.less')
-rw-r--r--less/bootstrap/close.less33
1 files changed, 33 insertions, 0 deletions
diff --git a/less/bootstrap/close.less b/less/bootstrap/close.less
new file mode 100644
index 0000000..9b4e74f
--- /dev/null
+++ b/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;
+ }
+}