mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Merge pull request #8410 from cvrebert/buttons-nesting
more nesting in buttons.less
This commit is contained in:
commit
b13417525c
14
docs/assets/css/bootstrap.css
vendored
14
docs/assets/css/bootstrap.css
vendored
@ -2074,6 +2074,13 @@ fieldset[disabled] .btn-info.active {
|
|||||||
border-color: #5bc0de;
|
border-color: #5bc0de;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-link {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #428bca;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-link,
|
.btn-link,
|
||||||
.btn-link:active,
|
.btn-link:active,
|
||||||
.btn-link[disabled],
|
.btn-link[disabled],
|
||||||
@ -2091,13 +2098,6 @@ fieldset[disabled] .btn-link {
|
|||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-link {
|
|
||||||
font-weight: normal;
|
|
||||||
color: #428bca;
|
|
||||||
cursor: pointer;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-link:hover,
|
.btn-link:hover,
|
||||||
.btn-link:focus {
|
.btn-link:focus {
|
||||||
color: #2a6496;
|
color: #2a6496;
|
||||||
|
@ -81,33 +81,32 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
// Make a button look and behave like a link
|
// 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 {
|
.btn-link {
|
||||||
color: @link-color;
|
color: @link-color;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
|
||||||
.btn-link:hover,
|
&,
|
||||||
.btn-link:focus {
|
&:active,
|
||||||
color: @link-hover-color;
|
&[disabled],
|
||||||
text-decoration: underline;
|
fieldset[disabled] & {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
background-image: none;
|
||||||
.btn-link {
|
.box-shadow(none);
|
||||||
|
}
|
||||||
|
&,
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @link-hover-color;
|
||||||
|
text-decoration: underline;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
&[disabled],
|
&[disabled],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
&:hover,
|
&:hover,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user