Mercurial > p > roundup > code
diff 3rdparty/bootstrap/less/close.less @ 4854:c109f7c1e477
Add local copy of Bootstrap v2.2.2 (for packaging on Debian)
| author | Pradip Caulagi <caulagi@gmail.com> |
|---|---|
| date | Thu, 30 Jan 2014 14:50:57 +0530 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/bootstrap/less/close.less Thu Jan 30 14:50:57 2014 +0530 @@ -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
