diff options
| author | Mark Otto <[email protected]> | 2012-07-17 23:32:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-17 23:32:52 -0700 |
| commit | aac3736eeaa1ff1eaf3a6a04502efd6d5b9e7e49 (patch) | |
| tree | fd4a67d6ce3c93bad32076d8b90ddabb29ad8903 /less | |
| parent | cb1a59caa013e0fbe992bb305502f37bc7141c92 (diff) | |
| download | bootstrap-aac3736eeaa1ff1eaf3a6a04502efd6d5b9e7e49.tar.xz bootstrap-aac3736eeaa1ff1eaf3a6a04502efd6d5b9e7e49.zip | |
fixes #3845: add .btn-link for transparent buttons styled as links
Diffstat (limited to 'less')
| -rw-r--r-- | less/buttons.less | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/less/buttons.less b/less/buttons.less index b25d97180..8bdf34b20 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -173,3 +173,27 @@ input[type="submit"].btn { *padding-bottom: 1px; } } + + +// Link buttons +// -------------------------------------------------- + +// Make a button look and behave like a link +.btn-link { + background-color: transparent; + background-image: none; + border-color: transparent; + cursor: pointer; + color: @linkColor; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.btn-link:hover { + color: @linkColorHover; + text-decoration: underline; + background-color: transparent; +} |
