mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Remove bootstrap classes from shared code (#12906)
Migrates the following components to not use bootstrap. - apps/web/src/app/components/environment-selector/environment-selector.component.html - apps/web/src/app/layouts/frontend-layout.component.html - apps/web/src/app/layouts/org-switcher/org-switcher.component.html - apps/web/src/app/settings/domain-rules.component.html - bitwarden_license/bit-web/src/app/secrets-manager/projects/project/project-secrets.component.html - bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-import.component.html
This commit is contained in:
@@ -6,10 +6,9 @@
|
||||
[attr.href]="
|
||||
region == currentRegion ? 'javascript:void(0)' : region.urls.webVault + routeAndParams
|
||||
"
|
||||
class="pr-4"
|
||||
>
|
||||
<i
|
||||
class="bwi bwi-fw bwi-sm bwi-check pb-1"
|
||||
class="bwi bwi-fw bwi-sm bwi-check"
|
||||
aria-hidden="true"
|
||||
[style.visibility]="region == currentRegion ? 'visible' : 'hidden'"
|
||||
></i>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<router-outlet></router-outlet>
|
||||
<div class="container my-5 text-muted text-center">
|
||||
|
||||
<footer class="tw-text-center tw-my-12">
|
||||
<environment-selector></environment-selector>
|
||||
© {{ year }} Bitwarden Inc. <br />
|
||||
{{ "versionNumber" | i18n: version }}
|
||||
</div>
|
||||
|
||||
<div bitTypography="body2">© {{ year }} Bitwarden Inc.</div>
|
||||
<div bitTypography="body2">{{ version }}</div>
|
||||
</footer>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<i
|
||||
slot="end"
|
||||
*ngIf="!activeOrganization.enabled"
|
||||
class="bwi bwi-exclamation-triangle tw-my-auto !text-alt-2"
|
||||
class="bwi bwi-exclamation-triangle tw-my-auto"
|
||||
[attr.aria-label]="'organizationIsDisabled' | i18n"
|
||||
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
||||
></i>
|
||||
@@ -27,7 +27,7 @@
|
||||
<i
|
||||
slot="end"
|
||||
*ngIf="org.enabled == false"
|
||||
class="bwi bwi-exclamation-triangle !text-alt-2"
|
||||
class="bwi bwi-exclamation-triangle"
|
||||
[attr.aria-label]="'organizationIsDisabled' | i18n"
|
||||
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
||||
></i>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<button type="submit" bitButton bitFormButton buttonType="primary">
|
||||
{{ "save" | i18n }}
|
||||
</button>
|
||||
<h2 bitTypography="h2" class="spaced-header">{{ "globalEqDomains" | i18n }}</h2>
|
||||
<h2 bitTypography="h2" class="tw-mt-16">{{ "globalEqDomains" | i18n }}</h2>
|
||||
<p bitTypography="body1" *ngIf="loading">
|
||||
<i
|
||||
class="bwi bwi-spinner bwi-spin tw-text-muted"
|
||||
|
||||
Reference in New Issue
Block a user