1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
bitwarden-browser/apps/web/src/scss/plugins.scss

132 lines
2.2 KiB
SCSS

#duo-frame {
height: 330px;
@include themify($themes) {
background: themed("imgLoading") 0 0 no-repeat;
}
iframe {
border: none;
height: 100%;
width: 100%;
}
}
#web-authn-frame {
height: 290px;
@include themify($themes) {
background: themed("imgLoading") 0 0 no-repeat;
}
iframe {
border: none;
height: 100%;
width: 100%;
}
}
#hcaptcha_iframe {
border: none;
transition: height 0.25s linear;
width: 100%;
}
.list-group-2fa {
.logo-2fa {
min-width: 100px;
}
}
@each $mfaType in $mfaTypes {
.mfaType#{$mfaType} {
content: url("../images/two-factor/" + $mfaType + ".png");
max-width: 100px;
}
}
.mfaType1 {
@include themify($themes) {
content: url("../images/two-factor/1" + themed("mfaLogoSuffix"));
max-width: 100px;
max-height: 45px;
}
}
.mfaType7 {
@include themify($themes) {
content: url("../images/two-factor/7" + themed("mfaLogoSuffix"));
max-width: 100px;
}
}
.recovery-code-img {
@include themify($themes) {
content: url("../images/two-factor/rc" + themed("mfaLogoSuffix"));
max-width: 100px;
max-height: 45px;
}
}
.progress {
@include themify($themes) {
background-color: themed("pwStrengthBackground");
}
}
// Braintree
#bt-dropin-container {
min-height: 50px;
@include themify($themes) {
background: themed("loadingSvg") center center no-repeat;
}
}
.braintree-placeholder,
.braintree-sheet__header {
display: none;
}
.braintree-sheet__content--button {
min-height: 0;
padding: 0;
text-align: left;
}
.braintree-sheet__container {
margin-bottom: 0;
}
.braintree-sheet {
border: none;
}
[data-braintree-id="upper-container"]::before {
@include themify($themes) {
background-color: themed("backgroundColor");
}
}
.card [data-braintree-id="upper-container"]::before {
@include themify($themes) {
background-color: themed("foregroundColor");
}
}
[data-braintree-id="paypal-button"] {
@include themify($themes) {
background-color: themed("backgroundColor");
}
}
.card [data-braintree-id="paypal-button"] {
@include themify($themes) {
background-color: themed("foregroundColor");
}
}
.paypal-button-text {
@include themify($themes) {
color: themed("textColor");
}
}