2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #3845: add .btn-link for transparent buttons styled as links

This commit is contained in:
Mark Otto
2012-07-17 23:32:52 -07:00
parent cb1a59caa0
commit aac3736eea
5 changed files with 64 additions and 8 deletions
+24
View File
@@ -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;
}