.btn { cursor: pointer; font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: bold; line-height: 1.71; border: 1px solid transparent; padding: 0.25rem 1rem; border-radius: 2px; box-shadow: 0 1px 3px 0 rgba($black, 0.12), 0 1px 2px 0 rgba($black, 0.24); color: $white; &:hover, &:focus { box-shadow: 0 3px 6px 0 rgba($black, 0.16), 0 3px 6px 0 rgba($black, 0.24); &:disabled, &.disabled, &.btn-flat { box-shadow: none; } } &:focus { border-color: $purple-400; } &:active, &.active:not(.btn-flat), &:disabled, &.disabled { box-shadow: none; } &:disabled, &.disabled { cursor: default; opacity: 0.75; } } .btn-front { font-size: 16px; line-height: 1.5; padding: 7.5px 15.5px; } .btn-primary { background: $purple-200; border: 1px solid transparent; &:hover:not(:disabled):not(.disabled) { background: #5d3b9c; border: 1px solid transparent; } &:focus { background: $purple-200; border-color: $purple-400; } &:not(:disabled):not(.disabled):active:focus, &:not(:disabled):not(.disabled).active:focus { box-shadow: none; border-color: $purple-400; } &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled).active { background: $purple-200; border: 1px solid transparent; } &:disabled, &.disabled { background: $purple-200; border: 1px solid transparent; cursor: default; opacity: 0.75; } } .btn-secondary, .dropdown > .btn-secondary.dropdown-toggle:not(.btn-success), .show > .btn-secondary.dropdown-toggle:not(.btn-success) { background: $white; border: 1px solid transparent; color: $gray-50; &:focus, &:active { color: $gray-50; background: $white; border-color: $purple-400; } &:not(:disabled):not(.disabled) { &:active:focus, &.active:focus { color: $purple-300; box-shadow: none; border-color: $purple-400; } &:active, &.active { color: $purple-300; &.dropdown-toggle { color: $gray-50; } background: $white; border: 1px solid transparent; } &:hover { color: $purple-300; &.dropdown-toggle { color: $gray-50; } background: $white !important; border: 1px solid transparent; } } &:disabled, &.disabled { color: $gray-50; background: $white; border: 1px solid transparent; cursor: default; opacity: 0.75; } } .btn-danger { background: $maroon-100; border: 1px solid transparent; &:hover:not(:disabled):not(.disabled) { background: #e14e4e; border: 1px solid transparent; } &:focus { background: $maroon-100; border-color: $purple-400; } &:not(:disabled):not(.disabled):active:focus, &:not(:disabled):not(.disabled).active:focus { box-shadow: none; border-color: $purple-400; } &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled).active { background: $maroon-100; border: 1px solid transparent; } &:disabled, &.disabled { background: $maroon-100; border: 1px solid transparent; cursor: default; opacity: 0.75; } } .btn-success { background: $green-50; border: 1px solid transparent; &:hover:not(:disabled):not(.disabled) { background: #32bd8a; border: 1px solid transparent; } &:focus { background: $green-50; border-color: $purple-400; } &:not(:disabled):not(.disabled):active:focus, &:not(:disabled):not(.disabled).active:focus { box-shadow: none; border-color: $purple-400; } &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled).active { background: $green-50; border: 1px solid transparent; } &:disabled, &.disabled { background: $green-50; border: 1px solid transparent; cursor: default; opacity: 0.75; } } .btn-info { background: $blue-50; &:disabled { background: $blue-50; } &:hover:not(:disabled):not(.disabled) { background-color: $blue-100; } &:active:not(:disabled):not(.disabled), &.active:not(:disabled):not(.disabled) { background: $blue-50; } } .btn-show-more { display: block; width: 50%; max-width: 448px; margin: 0 auto; margin-top: 12px; padding: 8px; font-size: 14px; line-height: 1.43; font-weight: bold; text-align: center; background: $gray-600; color: $gray-200 !important; // Otherwise it gets ignored when used on an A element box-shadow: none; &:hover { box-shadow: none; color: inherit !important; } } .btn-flat { border: 0; box-shadow: none; } .btn-small { font-size: 12px; line-height: 1.33; padding: 4px 8px; }