mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Replace Boostrap styles in subcomponents with Tailwind
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
{{ "twoStepAuthenticatorInstructionSuffix" | i18n }}
|
{{ "twoStepAuthenticatorInstructionSuffix" | i18n }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="text-center">
|
<p class="tw-text-center">
|
||||||
<a
|
<a
|
||||||
href="https://apps.apple.com/ca/app/bitwarden-authenticator/id6497335175"
|
href="https://apps.apple.com/ca/app/bitwarden-authenticator/id6497335175"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<app-callout type="success" title="{{ 'enabled' | i18n }}" icon="bwi bwi-check-circle">
|
<app-callout type="success" title="{{ 'enabled' | i18n }}" icon="bwi bwi-check-circle">
|
||||||
{{ "twoStepLoginProviderEnabled" | i18n }}
|
{{ "twoStepLoginProviderEnabled" | i18n }}
|
||||||
</app-callout>
|
</app-callout>
|
||||||
<img class="tw-float-right tw-ml-3 mfaType2" alt="Duo logo" />
|
<img class="tw-float-right tw-ml-3" alt="Duo logo" />
|
||||||
<strong>{{ "twoFactorDuoClientId" | i18n }}:</strong> {{ clientId }}
|
<strong>{{ "twoFactorDuoClientId" | i18n }}:</strong> {{ clientId }}
|
||||||
<br />
|
<br />
|
||||||
<strong>{{ "twoFactorDuoClientSecret" | i18n }}:</strong> {{ clientSecret }}
|
<strong>{{ "twoFactorDuoClientSecret" | i18n }}:</strong> {{ clientSecret }}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<strong>{{ "twoFactorDuoApiHostname" | i18n }}:</strong> {{ host }}
|
<strong>{{ "twoFactorDuoApiHostname" | i18n }}:</strong> {{ host }}
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="!enabled">
|
<ng-container *ngIf="!enabled">
|
||||||
<img class="tw-float-right tw-ml-3 mfaType2" alt="Duo logo" />
|
<img class="tw-float-right tw-ml-3" alt="Duo logo" />
|
||||||
<p bitTypography="body1">{{ "twoFactorDuoDesc" | i18n }}</p>
|
<p bitTypography="body1">{{ "twoFactorDuoDesc" | i18n }}</p>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>{{ "twoFactorDuoClientId" | i18n }}</bit-label>
|
<bit-label>{{ "twoFactorDuoClientId" | i18n }}</bit-label>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<ng-container *ngIf="!enabled">
|
<ng-container *ngIf="!enabled">
|
||||||
<p class="tw-flex">
|
<p class="tw-flex">
|
||||||
<span class="tw-mr-3">{{ "twoFactorEmailDesc" | i18n }}</span>
|
<span class="tw-mr-3">{{ "twoFactorEmailDesc" | i18n }}</span>
|
||||||
<img class="tw-float-right tw-ml-auto mfaType1" alt="Email logo" />
|
<img class="tw-float-right tw-ml-auto" alt="Email logo" />
|
||||||
</p>
|
</p>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>1. {{ "twoFactorEmailEnterEmail" | i18n }}</bit-label>
|
<bit-label>1. {{ "twoFactorEmailEnterEmail" | i18n }}</bit-label>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<app-callout type="warning">
|
<app-callout type="warning">
|
||||||
<p bitTypography="body1">{{ "twoFactorWebAuthnWarning1" | i18n }}</p>
|
<p bitTypography="body1">{{ "twoFactorWebAuthnWarning1" | i18n }}</p>
|
||||||
</app-callout>
|
</app-callout>
|
||||||
<img class="tw-float-right tw-ml-5 mfaType7" alt="FIDO2 WebAuthn logo" />
|
<img class="tw-float-right tw-ml-5" alt="FIDO2 WebAuthn logo" />
|
||||||
<ul class="bwi-ul">
|
<ul class="bwi-ul">
|
||||||
<li *ngFor="let k of keys; let i = index" #removeKeyBtn [appApiAction]="k.removePromise">
|
<li *ngFor="let k of keys; let i = index" #removeKeyBtn [appApiAction]="k.removePromise">
|
||||||
<i class="bwi bwi-li bwi-key"></i>
|
<i class="bwi bwi-li bwi-key"></i>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<li>{{ "twoFactorYubikeySupportMobile" | i18n }}</li>
|
<li>{{ "twoFactorYubikeySupportMobile" | i18n }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</app-callout>
|
</app-callout>
|
||||||
<img class="tw-float-right mfaType3" alt="YubiKey OTP security key logo" />
|
<img class="tw-float-right" alt="YubiKey OTP security key logo" />
|
||||||
<p bitTypography="body1">{{ "twoFactorYubikeyAdd" | i18n }}:</p>
|
<p bitTypography="body1">{{ "twoFactorYubikeyAdd" | i18n }}:</p>
|
||||||
<ol bitTypography="body1">
|
<ol bitTypography="body1">
|
||||||
<li>{{ "twoFactorYubikeyPlugIn" | i18n }}</li>
|
<li>{{ "twoFactorYubikeyPlugIn" | i18n }}</li>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<app-header *ngIf="organizationId != null"></app-header>
|
<app-header *ngIf="organizationId != null"></app-header>
|
||||||
|
|
||||||
<bit-container>
|
<bit-container>
|
||||||
<div class="tabbed-header" *ngIf="organizationId == null">
|
<div class="tw-mt-6 tw-mb-2 tw-pb-2" *ngIf="organizationId == null">
|
||||||
<h1 *ngIf="!organizationId || !isEnterpriseOrg">{{ "twoStepLogin" | i18n }}</h1>
|
<h1 *ngIf="!organizationId || !isEnterpriseOrg">{{ "twoStepLogin" | i18n }}</h1>
|
||||||
<h1 *ngIf="organizationId && isEnterpriseOrg">{{ "twoStepLoginEnforcement" | i18n }}</h1>
|
<h1 *ngIf="organizationId && isEnterpriseOrg">{{ "twoStepLoginEnforcement" | i18n }}</h1>
|
||||||
</div>
|
</div>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
{{ "providers" | i18n }}
|
{{ "providers" | i18n }}
|
||||||
<small *ngIf="loading">
|
<small *ngIf="loading">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-spinner bwi-spin bwi-fw text-muted"
|
class="bwi bwi-spinner bwi-spin bwi-fw tw-text-muted"
|
||||||
title="{{ 'loading' | i18n }}"
|
title="{{ 'loading' | i18n }}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i>
|
></i>
|
||||||
@@ -45,22 +45,22 @@
|
|||||||
<bit-callout type="warning" *ngIf="showPolicyWarning">
|
<bit-callout type="warning" *ngIf="showPolicyWarning">
|
||||||
{{ "twoStepLoginPolicyUserWarning" | i18n }}
|
{{ "twoStepLoginPolicyUserWarning" | i18n }}
|
||||||
</bit-callout>
|
</bit-callout>
|
||||||
<ul class="list-group list-group-2fa">
|
<ul class="tw-divide-y">
|
||||||
<li *ngFor="let p of providers" class="list-group-item d-flex align-items-center">
|
<li *ngFor="let p of providers" class="tw-flex tw-items-center tw-p-4">
|
||||||
<div class="logo-2fa d-flex justify-content-center">
|
<div class="tw-flex tw-justify-center">
|
||||||
<auth-two-factor-icon [provider]="p.type" [name]="p.name" />
|
<auth-two-factor-icon [provider]="p.type" [name]="p.name" />
|
||||||
</div>
|
</div>
|
||||||
<div class="mx-4">
|
<div class="tw-mx-4">
|
||||||
<h3 class="mb-0">
|
<h3 class="tw-mb-0">
|
||||||
<div
|
<div
|
||||||
class="font-weight-semibold tw-text-base"
|
class="tw-font-semibold tw-text-base"
|
||||||
[style]="p.enabled || p.premium ? 'display:inline-block' : ''"
|
[style]="p.enabled || p.premium ? 'display:inline-block' : ''"
|
||||||
>
|
>
|
||||||
{{ p.name }}
|
{{ p.name }}
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="p.enabled">
|
<ng-container *ngIf="p.enabled">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-check text-success bwi-fw"
|
class="bwi bwi-check tw-text-success bwi-fw"
|
||||||
title="{{ 'enabled' | i18n }}"
|
title="{{ 'enabled' | i18n }}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i>
|
></i>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
{{ p.description }}
|
{{ p.description }}
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-auto">
|
<div class="tw-ml-auto">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
bitButton
|
bitButton
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
<iframe id="webauthn_iframe" sandbox="allow-scripts allow-same-origin"></iframe>
|
<iframe id="webauthn_iframe" sandbox="allow-scripts allow-same-origin"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="webAuthnNewTab">
|
<ng-container *ngIf="webAuthnNewTab">
|
||||||
<div class="content text-center" *ngIf="webAuthnNewTab">
|
<div class="tw-text-center" *ngIf="webAuthnNewTab">
|
||||||
<p class="text-center">{{ "webAuthnNewTab" | i18n }}</p>
|
<p class="tw-text-center">{{ "webAuthnNewTab" | i18n }}</p>
|
||||||
<button type="button" class="btn primary block" (click)="authWebAuthn()" appStopClick>
|
<button type="button" (click)="authWebAuthn()" appStopClick>
|
||||||
{{ "webAuthnNewTabOpen" | i18n }}
|
{{ "webAuthnNewTabOpen" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<picture>
|
<picture>
|
||||||
<source srcset="../../images/yubikey.avif" type="image/avif" />
|
<source srcset="../../images/yubikey.avif" type="image/avif" />
|
||||||
<source srcset="../../images/yubikey.webp" type="image/webp" />
|
<source srcset="../../images/yubikey.webp" type="image/webp" />
|
||||||
<img src="../../images/yubikey.jpg" class="tw-rounded img-fluid tw-mb-3" alt="" />
|
<img src="../../images/yubikey.jpg" class="tw-rounded tw-max-w-full tw-h-auto tw-mb-3" alt="" />
|
||||||
</picture>
|
</picture>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
|
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
{{ "cancel" | i18n }}
|
{{ "cancel" | i18n }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="tw-text-center">
|
||||||
<a bitLink href="#" appStopClick (click)="selectOtherTwoFactorMethod()">{{
|
<a bitLink href="#" appStopClick (click)="selectOtherTwoFactorMethod()">{{
|
||||||
"useAnotherTwoStepMethod" | i18n
|
"useAnotherTwoStepMethod" | i18n
|
||||||
}}</a>
|
}}</a>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
class="tw-flex tw-items-center tw-justify-center tw-min-w-[100px]"
|
class="tw-flex tw-items-center tw-justify-center tw-min-w-[100px]"
|
||||||
*ngIf="!areIconsDisabled"
|
*ngIf="!areIconsDisabled"
|
||||||
>
|
>
|
||||||
<img class="recovery-code-img" alt="rc logo" />
|
<img class="tw-max-w-24 tw-max-h-12 tw-size-auto" alt="rc logo" />
|
||||||
</div>
|
</div>
|
||||||
<div class="tw-flex-1">
|
<div class="tw-flex-1">
|
||||||
<h3 bitTypography="h3">{{ "recoveryCodeTitle" | i18n }}</h3>
|
<h3 bitTypography="h3">{{ "recoveryCodeTitle" | i18n }}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user