|
@@ -7,13 +7,17 @@
|
|
|
}
|
|
|
// for white button
|
|
|
&.btn-white{
|
|
|
- background: white;
|
|
|
+ background-color: white;
|
|
|
color: $body-color;
|
|
|
&:hover,&:focus,&:active{
|
|
|
color: $body-color !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ &.btn-white.btn-primary {
|
|
|
+ background-color: $primary;
|
|
|
+ }
|
|
|
+
|
|
|
// box shadow for gradient colors
|
|
|
&[class*="bg-gradient-"]:hover{
|
|
|
box-shadow: $gradient-button-bs;
|
|
@@ -44,37 +48,6 @@
|
|
|
border: 1px solid;
|
|
|
}
|
|
|
|
|
|
- // Flat Secondary, Light and Dark
|
|
|
- &.btn-flat-secondary {
|
|
|
- &:hover {
|
|
|
- background-color: rgba($secondary, 0.1);
|
|
|
- }
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- background: $secondary
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.btn-flat-dark {
|
|
|
- &:hover {
|
|
|
- background-color: rgba($dark, 0.1);
|
|
|
- }
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- background: $dark;
|
|
|
- color: $white;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.btn-flat-light {
|
|
|
- &:hover {
|
|
|
- background-color: rgba($light, 0.1);
|
|
|
- }
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- background: $light;
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
// to remove extra spacing because of border in btn outline
|
|
|
&[class*="btn-outline-"]{
|
|
@@ -86,52 +59,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // Relief Buttons Secondary, Light and Dark
|
|
|
- &.btn-relief-secondary {
|
|
|
- background-color: $secondary;
|
|
|
- box-shadow: inset 0 -3px 0 0 rgba($pure-black, .2);
|
|
|
- color: $white;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $white;
|
|
|
- }
|
|
|
-
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- outline: none;
|
|
|
- transform: translateY(3px);
|
|
|
- }
|
|
|
- }
|
|
|
- &.btn-relief-light {
|
|
|
- box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, .2);
|
|
|
- color: $white;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $white;
|
|
|
- }
|
|
|
-
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- outline: none;
|
|
|
- transform: translateY(3px);
|
|
|
- }
|
|
|
- }
|
|
|
- &.btn-relief-dark {
|
|
|
- background-color: $dark;
|
|
|
- box-shadow: inset 0 -3px 0 0 rgba(255, 255, 255, .1);
|
|
|
- color: $white;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $white;
|
|
|
- }
|
|
|
-
|
|
|
- &:active,
|
|
|
- &:focus {
|
|
|
- outline: none;
|
|
|
- transform: translateY(3px);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
// For btn-icon
|
|
|
&.btn-icon {
|
|
|
padding: .715rem .736rem;
|
|
@@ -147,11 +74,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // Remove focus/active focus outline
|
|
|
- &.btn-square {
|
|
|
- @include button-square-variant(0);
|
|
|
- }
|
|
|
-
|
|
|
&.btn-round {
|
|
|
@include button-round-variant(2rem);
|
|
|
}
|