Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Created January 24, 2014 16:35
Show Gist options
  • Save lindwurm/8600898 to your computer and use it in GitHub Desktop.
Save lindwurm/8600898 to your computer and use it in GitHub Desktop.
Bootstrap 3で廃止された .btn-inverse を復活させるためのCSS(適当)
.btn-inverse {
color: #ffffff;
background-color: #292929;
border-color: #1F1F1F;
}
.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active,
.open .dropdown-toggle.btn-inverse {
color: #ffffff;
background-color: #414141;
border-color: #171717;
}
.btn-inverse:active,
.btn-inverse.active,
.open .dropdown-toggle.btn-inverse {
background-image: none;
}
.btn-inverse.disabled,
.btn-inverse[disabled],
fieldset[disabled] .btn-inverse,
.btn-inverse.disabled:hover,
.btn-inverse[disabled]:hover,
fieldset[disabled] .btn-inverse:hover,
.btn-inverse.disabled:focus,
.btn-inverse[disabled]:focus,
fieldset[disabled] .btn-inverse:focus,
.btn-inverse.disabled:active,
.btn-inverse[disabled]:active,
fieldset[disabled] .btn-inverse:active,
.btn-inverse.disabled.active,
.btn-inverse[disabled].active,
fieldset[disabled] .btn-inverse.active {
background-color: #292929;
border-color: #1F1F1F;
}
.btn-inverse .badge {
color: #292929;
background-color: #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment