2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00

Merge pull request #8410 from cvrebert/buttons-nesting

more nesting in buttons.less
This commit is contained in:
Mark Otto
2013-07-08 06:54:39 -07:00
2 changed files with 28 additions and 29 deletions
+7 -7
View File
@@ -2074,6 +2074,13 @@ fieldset[disabled] .btn-info.active {
border-color: #5bc0de;
}
.btn-link {
font-weight: normal;
color: #428bca;
cursor: pointer;
border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled],
@@ -2091,13 +2098,6 @@ fieldset[disabled] .btn-link {
border-color: transparent;
}
.btn-link {
font-weight: normal;
color: #428bca;
cursor: pointer;
border-radius: 0;
}
.btn-link:hover,
.btn-link:focus {
color: #2a6496;
+21 -22
View File
@@ -81,33 +81,32 @@
// -------------------------
// Make a button look and behave like a link
.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
background-color: transparent;
background-image: none;
.box-shadow(none);
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
border-color: transparent;
}
.btn-link {
color: @link-color;
font-weight: normal;
cursor: pointer;
border-radius: 0;
}
.btn-link:hover,
.btn-link:focus {
color: @link-hover-color;
text-decoration: underline;
background-color: transparent;
}
.btn-link {
&,
&:active,
&[disabled],
fieldset[disabled] & {
background-color: transparent;
background-image: none;
.box-shadow(none);
}
&,
&:hover,
&:focus,
&:active {
border-color: transparent;
}
&:hover,
&:focus {
color: @link-hover-color;
text-decoration: underline;
background-color: transparent;
}
&[disabled],
fieldset[disabled] & {
&:hover,