diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-10 14:00:20 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-10 14:00:20 +0200 |
commit | 3fef5f4b0653c80ac9d36569a8af6359ebbb0906 (patch) | |
tree | 816a6e97304ab6b6abde04a2aad5ebf1a4adee36 /public/css/bootstrapless/close.less | |
parent | added less (diff) | |
download | Divid-3fef5f4b0653c80ac9d36569a8af6359ebbb0906.tar.gz |
added less-version of bootstrap
Diffstat (limited to '')
-rw-r--r-- | public/css/bootstrapless/close.less | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/public/css/bootstrapless/close.less b/public/css/bootstrapless/close.less new file mode 100644 index 0000000..4c626bd --- /dev/null +++ b/public/css/bootstrapless/close.less @@ -0,0 +1,32 @@ +// +// 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, + &:focus { + 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 |