mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
* Bug fix: "vaule" -> "value" * Bug fix: "aria-descibedby" -> "aria-describedby" * Bug fix: "chararacter" -> "character" * Fix typos in comments * Fix typos in documentation * Fix typo in test description * Fix typos in sample data: "childen" -> "children" * Fix typos in sample data: "pargraphs" -> "paragraphs" * Fixes to test data: "Additinoal", "Informaion" -> "Additional", "Information" * Fix typo in test data: "dolhpin" -> "dolphin" * Fix typo in local variable: "attachement" -> "attachment" * Fix typo in method name: "detachOrganizastion" -> "detachOrganization" * Fix typo in method name: "getNewlyAddedDomians" -> "getNewlyAddedDomains" * Fix typo: "EncyptedMessageResponse" -> "EncryptedMessageResponse" * Fix typo: "miliseconds" -> "milliseconds" * Fix typo: "authResponsePushNotifiction" -> "authResponsePushNotification" * Fix typo: "getPushNotifcationObs" -> "getPushNotificationObs" * Fix typo: "ExpriationDate" -> "ExpirationDate" * Fix typo: "OrganizationUserResetPasswordDetailsReponse" -> "OrganizationUserResetPasswordDetailsResponse" * Fix typo: "DISPLAY_TITLE_ATTRIBUE" -> "DISPLAY_TITLE_ATTRIBUTE" * Fix typo: "credentialretreivalCommandHandler" -> "credentialRetrievalCommandHandler" * Fix typo: "buildLoginCredntials" -> "buildLoginCredentials" * Fix typo: "_mappedCredentialsColums" -> "_mappedCredentialsColumns" * Fix typo: "_mappedPersonalInfoAsIdentiyColumns" -> "_mappedPersonalInfoAsIdentityColumns" * Fix typo in input name: "StroageGbAdjustment" -> "StorageGbAdjustment" * Fix typo in const: "encryptionAlogrithm" -> "encryptionAlgorithm" --------- Co-authored-by: Daniel James Smith <djsmith@web.de>
47 lines
1.5 KiB
SCSS
47 lines
1.5 KiB
SCSS
$card-icons-base: "~@bitwarden/angular/src/billing/images/cards/" !default;
|
|
$card-icons: (
|
|
"visa": $card-icons-base + "visa-light.png",
|
|
"amex": $card-icons-base + "amex-light.png",
|
|
"diners-club": $card-icons-base + "diners_club-light.png",
|
|
"discover": $card-icons-base + "discover-light.png",
|
|
"jcb": $card-icons-base + "jcb-light.png",
|
|
"maestro": $card-icons-base + "maestro-light.png",
|
|
"mastercard": $card-icons-base + "mastercard-light.png",
|
|
"union-pay": $card-icons-base + "union_pay-light.png",
|
|
"ru-pay": $card-icons-base + "ru_pay-light.png",
|
|
);
|
|
|
|
$card-icons-dark: (
|
|
"visa": $card-icons-base + "visa-dark.png",
|
|
"amex": $card-icons-base + "amex-dark.png",
|
|
"diners-club": $card-icons-base + "diners_club-dark.png",
|
|
"discover": $card-icons-base + "discover-dark.png",
|
|
"jcb": $card-icons-base + "jcb-dark.png",
|
|
"maestro": $card-icons-base + "maestro-dark.png",
|
|
"mastercard": $card-icons-base + "mastercard-dark.png",
|
|
"union-pay": $card-icons-base + "union_pay-dark.png",
|
|
"ru-pay": $card-icons-base + "ru_pay-dark.png",
|
|
);
|
|
|
|
.credit-card-icon {
|
|
display: block; // Resolves the parent container being slightly to big
|
|
height: 19px;
|
|
width: 24px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
@each $name, $url in $card-icons {
|
|
.card-#{$name} {
|
|
background-image: url("#{$url}");
|
|
}
|
|
}
|
|
|
|
@each $theme in $dark-icon-themes {
|
|
@each $name, $url in $card-icons-dark {
|
|
.#{$theme} .card-#{$name} {
|
|
background-image: url("#{$url}");
|
|
}
|
|
}
|
|
}
|