@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($border-color: #fff, $text-color: #fff, $value-color: #fff) { &-item { display: flex; flex-direction: column; justify-content: center; padding-left: calc(1rem + 4px); padding-right: 1rem; position: relative; &::before { background-color: $border-color; border-radius: 2px; content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 4px; } } &-label { color: $text-color; display: block; white-space: nowrap; } &-label-item { margin-right: 20px; &:last-child { margin-right: 0; } } &-value { color: $value-color; 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; border: 1px solid $bg-color; color: $text-color; cursor: pointer; display: flex; font-size: 12px; font-weight: 600; height: 36px; justify-content: center; outline: none; padding: 0 15px; text-decoration: none; transition: all 0.15s; width: fit-content; &:hover { background-color: darken($bg-color, 10%); border-color: darken($bg-color, 10%); text-decoration: none; } svg { margin-right: 12px; } path { fill: $text-color; } &.full-width { width: 100%; } &[disabled] { &, &:hover { background-color: $bg-color; border-color: $bg-color; cursor: default; opacity: 0.5; } } } @mixin btn-line($bg-color: #fff, $text-color: $secondary) { align-items: center; background-color: $bg-color; border-radius: 2px; border: 1px solid $text-color; color: $text-color; cursor: pointer; display: flex; font-size: 12px; font-weight: 600; height: 36px; justify-content: center; outline: none; padding: 0 15px; text-decoration: none; transition: all 0.15s; width: fit-content; &:hover { background-color: $text-color; color: $bg-color; text-decoration: none; path { fill: $bg-color; } } svg { margin-right: 12px; } path { fill: $text-color; } &.full-width { width: 100%; } &[disabled] { &, &:hover { background-color: $bg-color; border-color: $text-color; cursor: default; opacity: 0.5; } } } @mixin square-icon-button($color, $dimensions) { align-items: center; border: 1px solid $color; border-radius: 2px; cursor: pointer; display: flex; height: $dimensions; justify-content: center; transition: all 0.15s; width: $dimensions; svg { display: block; height: 100%; width: 100%; } path { fill: $color; } &:hover { background-color: $color; path { fill: #fff; } } }