// // _buttons.scss // .btn-round { border-radius: 30px; } .btn-circle{ width: 36px; height: 36px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; } .btn-square{ border-radius: 0; } .btn-skew{ transform: skew(-15deg); span{ display: inline-block; transform: skew(15deg); } } .accordion{ .btn:focus{ box-shadow: none; } } .btn.btn-outline-dashed { outline: 1px dashed $white !important; outline-offset: -5px; -moz-outline-radius: 25px; } .button-list, .button-items { margin-bottom: -8px; .btn{ margin: 0 5px 8px 0; } } .btn{ transition: .3s ease-out; box-shadow: 0 7px 14px 0 rgba($gray-300,.5); &:hover{ box-shadow: 0 1px 2px 0 rgba($gray-300, 0.5); } } .btn-primary{ box-shadow: 0 7px 14px 0 rgba($primary,.5); &:hover{ box-shadow: none; } } .btn-secondary{ box-shadow: 0 7px 14px 0 rgba($secondary,.5); &:hover{ box-shadow: none; } } .btn-success{ box-shadow: 0 7px 14px 0 rgba($success,.5); &:hover{ box-shadow: none; } } .btn-warning{ box-shadow: 0 7px 14px 0 rgba($warning,.5); &:hover{ box-shadow: none; } } .btn-info{ box-shadow: 0 7px 14px 0 rgba($info,.5); &:hover{ box-shadow: none; } } .btn-danger{ box-shadow: 0 7px 14px 0 rgba($danger,.5); &:hover{ box-shadow: none; } } .btn-pink{ box-shadow: 0 7px 14px 0 rgba($pink,.5); &:hover{ box-shadow: none; } } .btn-purple{ box-shadow: 0 7px 14px 0 rgba($purple,.5); &:hover{ box-shadow: none; } } .btn-blue{ box-shadow: 0 7px 14px 0 rgba($blue,.5); &:hover{ box-shadow: none; } } .btn-dark{ color: $gray-100; box-shadow: 0 7px 14px 0 rgba($dark,.5); &:hover{ box-shadow: none; color: $gray-100; } } .btn-gray{ box-shadow: 0 7px 14px 0 rgba($gray,.5); &:hover{ box-shadow: none; } } .btn-light{ box-shadow: 0 7px 14px 0 rgba($gray-400,.6); &:hover{ box-shadow: none; } } .btn-outline-light { color: $gray-600; background-image: none; background-color: transparent; border-color: $gray-300; } .btn-outline-dark { color: $gray-900; &:hover{ box-shadow: none; color: $gray-100; } } /*soft buttons*/ .btn-soft-primary{ background-color: rgba($primary,0.1); color: $primary; &:hover{ background-color: $primary; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($primary,0.2); background-color: rgba($primary,0.8); color: $white; } } .btn-soft-secondary{ background-color: rgba($secondary,0.15); color: $secondary; &:hover{ background-color: $secondary; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($secondary,0.2); background-color: rgba($secondary,0.8); color: $white; } } .btn-soft-success{ background-color: rgba($success,0.1); color: $success; &:hover{ background-color: $success; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($success,0.2); background-color: rgba($success,0.8); color: $white; } } .btn-soft-warning{ background-color: rgba($warning,0.18); color: $warning; &:hover{ background-color: $warning; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($warning,0.2); background-color: rgba($warning,0.8); color: $white; } } .btn-soft-danger{ background-color: rgba($danger,0.1); color: $danger; &:hover{ background-color: $danger; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($danger,0.2); background-color: rgba($danger,0.8); color: $white; } } .btn-soft-info{ background-color: rgba($info,0.1); color: $info; &:hover{ background-color: $info; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($info,0.2); background-color: rgba($info,0.8); color: $white; } } .btn-soft-dark{ background-color: rgba($dark,0.1); color: $dark; &:hover{ background-color: $dark; color: $gray-100; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($dark,0.2); background-color: rgba($dark,0.8); color: $gray-100; } } .btn-soft-pink{ background-color: rgba($pink,0.1); color: $pink; &:hover{ background-color: $pink; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($pink,0.2); background-color: rgba($pink,0.8); color: $white; } } .btn-soft-purple{ background-color: rgba($purple,0.1); color: $purple; &:hover{ background-color: $purple; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($purple,0.2); background-color: rgba($purple,0.8); color: $white; } } .btn-soft-blue{ background-color: rgba($blue,0.1); color: $blue; &:hover{ background-color: $blue; color: $white; } &:focus{ box-shadow: 0 0 0 0.1rem rgba($blue,0.2); background-color: rgba($blue,0.8); color: $white; } } /*btn-gradient-primary*/ .btn-gradient-primary{ background: linear-gradient(14deg, $primary 0%, rgba($primary, .6)); color:$white; box-shadow: 0 7px 14px 0 rgba($primary,.5); border: none; } .btn-gradient-primary:hover, .btn-gradient-primary:focus, .btn-gradient-primary:active, .btn-gradient-primary.active, .btn-gradient-primary.focus, .btn-gradient-primary:active, .btn-gradient-primary:focus, .btn-gradient-primary:hover, .open > .dropdown-toggle.btn-gradient-primary,.btn-gradient-primary.active, .btn-gradient-primary:active, .show>.btn-gradient-primary.dropdown-toggle { background: linear-gradient(14deg, $primary 0%, rgba($primary, .6)); color: $white; } .btn-gradient-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-primary.dropdown-toggle:focus, .btn-gradient-primary.focus, .btn-gradient-primary:focus{ -webkit-box-shadow: 0 0 0 2px rgba($primary,.3); box-shadow: 0 0 0 2px rgba($primary,.3); } /*btn-gradient-success*/ .btn-gradient-success{ background: linear-gradient(14deg, $success 0%, rgba($success, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($success,.5); border: none; } .btn-gradient-success:hover, .btn-gradient-success:focus, .btn-gradient-success:active, .btn-gradient-success.active, .btn-gradient-success.focus, .btn-gradient-success:active, .btn-gradient-success:focus, .btn-gradient-success:hover, .open > .dropdown-toggle.btn-gradient-success,.btn-gradient-success.active, .btn-gradient-success:active, .show>.btn-gradient-success.dropdown-toggle { background: linear-gradient(14deg, $success 0%, rgba($success, .7)); color: $white; } .btn-gradient-success:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-success.dropdown-toggle:focus, .btn-gradient-success.focus, .btn-gradient-success:focus{ -webkit-box-shadow: 0 0 0 2px rgba($success,.3); box-shadow: 0 0 0 2px rgba($success,.3); } /*btn-gradient-secondary*/ .btn-gradient-secondary{ background: linear-gradient(14deg, $secondary 0%, rgba($secondary, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($secondary,.5); border: none; } .btn-gradient-secondary:hover, .btn-gradient-secondary:focus, .btn-gradient-secondary:active, .btn-gradient-secondary.active, .btn-gradient-secondary.focus, .btn-gradient-secondary:active, .btn-gradient-secondary:focus, .btn-gradient-secondary:hover, .open > .dropdown-toggle.btn-gradient-secondary,.btn-gradient-secondary.active, .btn-gradient-secondary:active, .show>.btn-gradient-secondary.dropdown-toggle { background: linear-gradient(14deg, $secondary 0%, rgba($secondary, .7)); color: $white; } .btn-gradient-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-secondary.dropdown-toggle:focus, .btn-gradient-secondary.focus, .btn-gradient-secondary:focus{ -webkit-box-shadow: 0 0 0 2px rgba($secondary,.3); box-shadow: 0 0 0 2px rgba($secondary,.3); } /*btn-gradient-danger*/ .btn-gradient-danger{ background: linear-gradient(14deg, $danger 0%, rgba($danger, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($danger,.5); border:none; } .btn-gradient-danger:hover, .btn-gradient-danger:focus, .btn-gradient-danger:active, .btn-gradient-danger.active, .btn-gradient-danger.focus, .btn-gradient-danger:active, .btn-gradient-danger:focus, .btn-gradient-danger:hover, .open > .dropdown-toggle.btn-gradient-danger,.btn-gradient-danger.active, .btn-gradient-danger:active, .show>.btn-gradient-danger.dropdown-toggle { background: linear-gradient(14deg, $danger 0%, rgba($danger, .7)); color: $white; } .btn-gradient-danger:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-danger.dropdown-toggle:focus, .btn-gradient-danger.focus, .btn-gradient-danger:focus{ -webkit-box-shadow: 0 0 0 2px rgba($danger,.3); box-shadow: 0 0 0 2px rgba($danger,.3); } /*btn-gradient-warning*/ .btn-gradient-warning{ background: linear-gradient(14deg, $warning 0%, rgba($warning, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($warning,.5); border: none; } .btn-gradient-warning:hover, .btn-gradient-warning:focus, .btn-gradient-warning:active, .btn-gradient-warning.active, .btn-gradient-warning.focus, .btn-gradient-warning:active, .btn-gradient-warning:focus, .btn-gradient-warning:hover, .open > .dropdown-toggle.btn-gradient-warning,.btn-gradient-warning.active, .btn-gradient-warning:active, .show>.btn-gradient-warning.dropdown-toggle { background: linear-gradient(14deg, $warning 0%, rgba($warning, .7)); color: $white; } .btn-gradient-warning:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-warning.dropdown-toggle:focus, .btn-gradient-warning.focus, .btn-gradient-warning:focus{ -webkit-box-shadow: 0 0 0 2px rgba($warning,.3); box-shadow: 0 0 0 2px rgba($warning,.3); } /*btn-gradient-info*/ .btn-gradient-info{ background: linear-gradient(14deg, $info 0%, rgba($info, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($info,.5); border: none; } .btn-gradient-info:hover, .btn-gradient-info:focus, .btn-gradient-info:active, .btn-gradient-info.active, .btn-gradient-info.focus, .btn-gradient-info:active, .btn-gradient-info:focus, .btn-gradient-info:hover, .open > .dropdown-toggle.btn-gradient-info,.btn-gradient-info.active, .btn-gradient-info:active, .show>.btn-gradient-info.dropdown-toggle { background: linear-gradient(14deg, $info 0%, rgba($info, .7)); color: $white; } .btn-gradient-info:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-info.dropdown-toggle:focus, .btn-gradient-info.focus, .btn-gradient-info:focus{ -webkit-box-shadow: 0 0 0 2px rgba($info,.3); box-shadow: 0 0 0 2px rgba($info,.3); } /*btn-gradient-dark*/ .btn-gradient-dark{ background: linear-gradient(14deg, $dark 0%, rgba($dark, .7)); color:$gray-100; box-shadow: 0 7px 14px 0 rgba($dark,.5); border: none; } .btn-gradient-dark:hover, .btn-gradient-dark:focus, .btn-gradient-dark:active, .btn-gradient-dark.active, .btn-gradient-dark.focus, .btn-gradient-dark:active, .btn-gradient-dark:focus, .btn-gradient-dark:hover, .open > .dropdown-toggle.btn-gradient-dark,.btn-gradient-dark.active, .btn-gradient-dark:active, .show>.btn-gradient-dark.dropdown-toggle { background: linear-gradient(14deg, $dark 0%, rgba($dark, .7)); color: $gray-100; } .btn-gradient-dark:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-dark.dropdown-toggle:focus, .btn-gradient-dark.focus, .btn-gradient-dark:focus{ -webkit-box-shadow: 0 0 0 2px rgba($dark,.3); box-shadow: 0 0 0 2px rgba($dark,.3); } /*btn-gradient-pink*/ .btn-gradient-pink{ background: linear-gradient(14deg, $pink 0%, rgba($pink, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($pink,.5); border: none; } .btn-gradient-pink:hover, .btn-gradient-pink:focus, .btn-gradient-pink:active, .btn-gradient-pink.active, .btn-gradient-pink.focus, .btn-gradient-pink:active, .btn-gradient-pink:focus, .btn-gradient-pink:hover, .open > .dropdown-toggle.btn-gradient-pink,.btn-gradient-pink.active, .btn-gradient-pink:active, .show>.btn-gradient-pink.dropdown-toggle { background: linear-gradient(14deg, $pink 0%, rgba($pink, .7)); color: $white; } .btn-gradient-pink:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-pink.dropdown-toggle:focus, .btn-gradient-pink.focus, .btn-gradient-pink:focus{ -webkit-box-shadow: 0 0 0 2px rgba($pink,.3); box-shadow: 0 0 0 2px rgba($pink,.3); } /*btn-gradient-purple*/ .btn-gradient-purple{ background: linear-gradient(14deg, $purple 0%, rgba($purple, .7)); color:$white; box-shadow: 0 7px 14px 0 rgba($purple,.5); border: none; } .btn-gradient-purple:hover, .btn-gradient-purple:focus, .btn-gradient-purple:active, .btn-gradient-purple.active, .btn-gradient-purple.focus, .btn-gradient-purple:active, .btn-gradient-purple:focus, .btn-gradient-purple:hover, .open > .dropdown-toggle.btn-gradient-purple,.btn-gradient-purple.active, .btn-gradient-purple:active, .show>.btn-gradient-purple.dropdown-toggle { background: linear-gradient(14deg, $purple 0%, rgba($purple, .7)); color: $white; } .btn-gradient-purple:not(:disabled):not(.disabled):active:focus, .show>.btn-gradient-purple.dropdown-toggle:focus, .btn-gradient-purple.focus, .btn-gradient-purple:focus{ -webkit-box-shadow: 0 0 0 2px rgba($purple,.3); box-shadow: 0 0 0 2px rgba($purple,.3); }