@mixin textfield-placeholder($color: #a3a9b5) { &::-webkit-input-placeholder { color: $color; } &::-moz-placeholder { color: $color; } &:-ms-input-placeholder { color: $color; } &:-moz-placeholder { color: $color; } } @mixin gradient-container() { background-color: $primary; background-image: linear-gradient(to bottom, $dashboard-banner-gradient-start, $dashboard-banner-gradient-end); box-shadow: 0 5px 40px -5px rgba(#000, 0.25); margin-top: -3rem; } @mixin stats-item() { &-item { color: #fff; padding-left: calc(1rem + 4px); padding-right: 1rem; position: relative; &::before { background-color: rgba(#fff, 0.5); border-radius: 2px; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 4px; } } &-label { display: block; white-space: nowrap; } &-value { display: block; font-size: 1.5rem; font-weight: 200; white-space: nowrap; @media (max-width: $breakpoint-lg) { font-size: 1.25rem; } } } @mixin btn-full($bg-color: $primary, $text-color: #fff) { align-items: center; background-color: $bg-color; border-radius: 2px; cursor: pointer; display: flex; height: 36px; justify-content: space-between; padding: 0 15px; transition: all 0.25s; width: fit-content; &:hover { background-color: darken($bg-color, 10%); } &-text { color: $text-color; font-size: 12px; font-weight: 600; margin-left: 12px; text-align: left; } path { fill: $text-color; } } @mixin btn-line($bg-color: #fff, $text-color: $secondary) { align-items: center; background-color: $bg-color; border-radius: 2px; border: 1px solid $text-color; cursor: pointer; display: flex; height: 36px; justify-content: space-between; padding: 0 15px; transition: all 0.25s; width: fit-content; &:hover { background-color: darken($bg-color, 10%); } &-text { color: $text-color; font-size: 12px; font-weight: 600; margin-left: 12px; text-align: left; } path { fill: $text-color; } }