//Custom button styles .btn { &.btn-primary { position: relative; background: $blue-700; background: linear-gradient(270deg, rgba(21,116,161,1) 0%, rgba(18,91,126,1) 100%); border: none; border-radius: $border-radius-lg; height: 48px; color: $white; transition: all 150ms linear; &:hover { background: linear-gradient(270deg, rgba(6,87,124,1) 0%, rgba(6,87,124,1) 100%); } &:focus { outline: none; box-shadow: 0 0 0 3px, 0 0 0 5.5px $blue-700; background-color: #da291c; border-color: #da291c; } &.button-loader { padding: 0 40px 0 12px; &:after { content: url(../../assets/img/icons/button-spinner-white.svg); position: absolute; right: 14px; width: 16px; height: 16px; margin-left: 12px; animation: rotation 1s infinite linear; @keyframes rotation { 100% { transform:rotate(360deg); } } } } } &:disabled { background: $gray-100 !important; background: linear-gradient(270deg, $gray-100 0%, $gray-100 100%) !important; color: $gray-400 !important; height: 48px; border: none; border-radius: $border-radius-lg; } &.list-button { position: relative; background: $white; height: 48px; transition: all 150ms linear; border-radius: $border-radius-lg; border: 1px solid rgba($gray-300,.3); width: 100%; &.button-loader { padding: 0 40px 0 12px; &:after { content: url(../../assets/img/icons/button-spinner-green.svg); position: absolute; right: 14px; width: 16px; height: 16px; margin-left: 12px; animation: rotation 1s infinite linear; @keyframes rotation { 100% { transform:rotate(360deg); } } } } } } // Non-Bootstrap button // Intended to be used without .btn class .btn-damage { width: 100%; background-color: $white; border: 1px solid #b3b4b5; &:focus { background-color: #e7f1f6; border: 1px solid $blue; } &:focus-visible { // For keyboard/screenreader background-color: #e7f1f6; outline: none; box-shadow: 0 0 0 2px $blue; } } // Non-Bootstrap button // Intended to be used without .btn class .btn-damage { width: 100%; background-color: $white; border: 1px solid #b3b4b5; &:focus { background-color: #e7f1f6; border: 1px solid $blue; } &:focus-visible { // For keyboard/screenreader background-color: #e7f1f6; outline: none; box-shadow: 0 0 0 2px $blue; } }