FarisaRahmaSari_E31222327/public/assets/scss/_bootstrap-custom.scss

169 lines
2.2 KiB
SCSS

/* ==============
Bootstrap-custom
===================*/
//Dropdown
.dropdown-menu {
padding: 4px 0;
font-size: $base-font;
box-shadow: $shadow;
background-color: $white;
border-color: $gray-200;
margin: 0;
}
.dropdown-item {
background-color: $white;
padding: .55rem 1.5rem;
&:active,&:hover {
background-color: $gray-100;
color: $dark;
}
}
.dropdown-item.active, .dropdown-item:active {
background-color: $gray-100;
color: $dark;
}
.breadcrumb>li+li:before {
padding: 0 5px;
color: $muted;
content: "\f105" !important;
font-family: 'Font Awesome 5 Free';
font-weight: 900;
}
// blockquote
.blockquote {
padding: 10px 20px;
margin-bottom: 20px;
border-left: 4px solid $gray-200;
}
.blockquote-reverse {
border-left: 0;
border-right: 4px solid $gray-200;
text-align: right;
}
//Background color
.bg-primary {
background-color: $primary !important;
}
.bg-success {
background-color: $success !important;
}
.bg-info {
background-color: $info !important;
}
.bg-warning {
background-color: $warning !important;
}
.bg-danger {
background-color: $danger !important;
}
.bg-muted {
background-color: $muted !important;
}
.bg-white {
background-color: $white !important;
}
//Text Color
.text-white {
color: $white !important;
}
.text-danger {
color: $danger !important;
}
.text-muted {
color: $muted !important;
}
.text-primary {
color: $primary !important;
}
.text-warning {
color: $warning !important;
}
.text-success {
color: $success !important;
}
.text-info {
color: $info !important;
}
.text-dark {
color: $dark !important;
}
//Badge
.badge {
font-weight: 500;
}
.badge-primary {
background-color: $primary;
}
.badge-success {
background-color: $success;
}
.badge-info {
background-color: $info;
}
.badge-warning {
background-color: $warning;
color: $white;
}
.badge-danger {
background-color: $danger;
}
.badge-dark {
background-color: $dark;
}
// typography
dt {
font-weight: 500;
}
// spinner
.spinner-border, .spinner-grow {
margin-right: 10px;
margin-top: 10px;
}
// checkbox
.custom-control-input{
&:checked~.custom-control-label{
&:before {
border-color: $primary;
background-color: $primary;
}
}
}