mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
rename btn bg variables so that they are consistent with the other variables
This commit is contained in:
parent
c4d8aa2b0f
commit
a05ff7e507
@ -117,19 +117,19 @@ input[type="button"] {
|
||||
}
|
||||
// Warning appears as orange
|
||||
.btn-warning {
|
||||
.btn-pseudo-states(@btn-bg-warning, @btn-warning-border);
|
||||
.btn-pseudo-states(@btn-warning-bg, @btn-warning-border);
|
||||
}
|
||||
// Danger and error appear as red
|
||||
.btn-danger {
|
||||
.btn-pseudo-states(@btn-bg-danger, @btn-danger-border);
|
||||
.btn-pseudo-states(@btn-danger-bg, @btn-danger-border);
|
||||
}
|
||||
// Success appears as green
|
||||
.btn-success {
|
||||
.btn-pseudo-states(@btn-bg-success, @btn-success-border);
|
||||
.btn-pseudo-states(@btn-success-bg, @btn-success-border);
|
||||
}
|
||||
// Info appears as blue-green
|
||||
.btn-info {
|
||||
.btn-pseudo-states(@btn-bg-info, @btn-info-border);
|
||||
.btn-pseudo-states(@btn-info-bg, @btn-info-border);
|
||||
}
|
||||
|
||||
|
||||
|
@ -91,17 +91,17 @@
|
||||
@btn-primary-bg: @brand-primary;
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
|
||||
@btn-bg-success: @brand-success;
|
||||
@btn-success-border: @btn-bg-success;
|
||||
@btn-success-bg: @brand-success;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
|
||||
@btn-bg-warning: @brand-warning;
|
||||
@btn-warning-border: @btn-bg-warning;
|
||||
@btn-warning-bg: @brand-warning;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
|
||||
@btn-bg-danger: @brand-danger;
|
||||
@btn-danger-border: @btn-bg-danger;
|
||||
@btn-danger-bg: @brand-danger;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
@btn-bg-info: @brand-info;
|
||||
@btn-info-border: @btn-bg-info;
|
||||
@btn-info-bg: @brand-info;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user