summaryrefslogtreecommitdiffstats
path: root/css/bootstrap/close.less
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-10-05 21:34:54 -0700
committerArun Persaud <arun@nubati.net>2012-10-05 21:38:18 -0700
commit494ee831e66d59afbf02d42ba59b7ba21f61c011 (patch)
tree6fd12684f7486c841ea0d246bafc6bdca6bc7afb /css/bootstrap/close.less
parent197cea7c7d2c60f7ca0e8c40b4413ae331cd432c (diff)
downloade-DoKo-494ee831e66d59afbf02d42ba59b7ba21f61c011.tar.gz
e-DoKo-494ee831e66d59afbf02d42ba59b7ba21f61c011.tar.bz2
e-DoKo-494ee831e66d59afbf02d42ba59b7ba21f61c011.zip
added less, moved bootstrap to less components
Diffstat (limited to 'css/bootstrap/close.less')
-rw-r--r--css/bootstrap/close.less31
1 files changed, 31 insertions, 0 deletions
diff --git a/css/bootstrap/close.less b/css/bootstrap/close.less
new file mode 100644
index 0000000..c71a508
--- /dev/null
+++ b/css/bootstrap/close.less
@@ -0,0 +1,31 @@
+//
+// Close icons
+// --------------------------------------------------
+
+
+.close {
+ float: right;
+ font-size: 20px;
+ font-weight: bold;
+ line-height: @baseLineHeight;
+ color: @black;
+ text-shadow: 0 1px 0 rgba(255,255,255,1);
+ .opacity(20);
+ &:hover {
+ color: @black;
+ text-decoration: none;
+ cursor: pointer;
+ .opacity(40);
+ }
+}
+
+// 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.close {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+} \ No newline at end of file