1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-18 20:41:31 +01:00

[Icons] FF - requested icon changes (#1435)

* [Icons] Removed FA

* Icon changes // Webpack correction // Padding updates
This commit is contained in:
Vincent Salucci 2022-02-03 10:20:31 -06:00 committed by GitHub
parent 5c764a95f4
commit 868d235faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 14 additions and 29 deletions

14
package-lock.json generated
View File

@ -26,7 +26,6 @@
"browser-hrtime": "^1.1.8", "browser-hrtime": "^1.1.8",
"core-js": "^3.11.0", "core-js": "^3.11.0",
"date-input-polyfill": "^2.14.0", "date-input-polyfill": "^2.14.0",
"font-awesome": "4.7.0",
"jquery": "3.6.0", "jquery": "3.6.0",
"ngx-infinite-scroll": "^10.0.1", "ngx-infinite-scroll": "^10.0.1",
"ngx-toastr": "14.1.4", "ngx-toastr": "14.1.4",
@ -3251,14 +3250,6 @@
} }
} }
}, },
"node_modules/font-awesome": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=",
"engines": {
"node": ">=0.10.3"
}
},
"node_modules/foreach": { "node_modules/foreach": {
"version": "2.0.5", "version": "2.0.5",
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
@ -10260,11 +10251,6 @@
"integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==", "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==",
"dev": true "dev": true
}, },
"font-awesome": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
},
"foreach": { "foreach": {
"version": "2.0.5", "version": "2.0.5",
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",

View File

@ -85,7 +85,6 @@
"browser-hrtime": "^1.1.8", "browser-hrtime": "^1.1.8",
"core-js": "^3.11.0", "core-js": "^3.11.0",
"date-input-polyfill": "^2.14.0", "date-input-polyfill": "^2.14.0",
"font-awesome": "4.7.0",
"jquery": "3.6.0", "jquery": "3.6.0",
"ngx-infinite-scroll": "^10.0.1", "ngx-infinite-scroll": "^10.0.1",
"ngx-toastr": "14.1.4", "ngx-toastr": "14.1.4",

View File

@ -37,7 +37,7 @@
</app-vault-bulk-actions> </app-vault-bulk-actions>
<button <button
type="button" type="button"
class="btn btn-outline-primary btn-sm ml-auto" class="btn btn-outline-primary btn-sm ml-3"
(click)="addCipher()" (click)="addCipher()"
*ngIf="!deleted" *ngIf="!deleted"
> >

View File

@ -60,7 +60,7 @@
<div class="ml-auto d-flex"> <div class="ml-auto d-flex">
<button <button
type="button" type="button"
class="btn btn-outline-primary btn-sm" class="btn btn-outline-primary btn-sm ml-3"
(click)="addSend()" (click)="addSend()"
[disabled]="disableSend" [disabled]="disableSend"
> >
@ -177,7 +177,7 @@
</ng-container> </ng-container>
<ng-container *ngIf="loaded"> <ng-container *ngIf="loaded">
<p>{{ "noSendsInList" | i18n }}</p> <p>{{ "noSendsInList" | i18n }}</p>
<button (click)="addSend()" class="btn btn-outline-primary" [disabled]="disableSend"> <button (click)="addSend()" class="btn btn-outline-primary ml-3" [disabled]="disableSend">
<i class="bwi bwi-plus bwi-fw"></i>{{ "createSend" | i18n }} <i class="bwi bwi-plus bwi-fw"></i>{{ "createSend" | i18n }}
</button> </button>
</ng-container> </ng-container>

View File

@ -103,7 +103,7 @@
(click)="generatePassword()" (click)="generatePassword()"
*ngIf="cipher.viewPassword" *ngIf="cipher.viewPassword"
> >
<i class="bwi bwi-lg bwi-fw bwi-refresh" aria-hidden="true"></i> <i class="bwi bwi-lg bwi-fw bwi-generate" aria-hidden="true"></i>
</a> </a>
<a <a
href="#" href="#"
@ -268,7 +268,7 @@
(click)="launch(u)" (click)="launch(u)"
[disabled]="!u.canLaunch" [disabled]="!u.canLaunch"
> >
<i class="bwi bwi-lg bwi-share" aria-hidden="true"></i> <i class="bwi bwi-lg bwi-share-square" aria-hidden="true"></i>
</button> </button>
<button <button
type="button" type="button"

View File

@ -17,7 +17,7 @@
(click)="bulkMove()" (click)="bulkMove()"
*ngIf="!deleted && !organization" *ngIf="!deleted && !organization"
> >
<i class="bwi bwi-fw bwi-share" aria-hidden="true"></i> <i class="bwi bwi-fw bwi-folder" aria-hidden="true"></i>
{{ "moveSelected" | i18n }} {{ "moveSelected" | i18n }}
</button> </button>
<button <button

View File

@ -184,7 +184,7 @@
</ng-container> </ng-container>
<ng-container *ngIf="loaded"> <ng-container *ngIf="loaded">
<p>{{ "noItemsInList" | i18n }}</p> <p>{{ "noItemsInList" | i18n }}</p>
<button (click)="addCipher()" class="btn btn-outline-primary" *ngIf="showAddNew"> <button (click)="addCipher()" class="btn btn-outline-primary ml-3" *ngIf="showAddNew">
<i class="bwi bwi-plus bwi-fw"></i>{{ "addItem" | i18n }} <i class="bwi bwi-plus bwi-fw"></i>{{ "addItem" | i18n }}
</button> </button>
</ng-container> </ng-container>

View File

@ -30,7 +30,7 @@
</li> </li>
<li [ngClass]="{ active: selectedFavorites }" *ngIf="showFavorites"> <li [ngClass]="{ active: selectedFavorites }" *ngIf="showFavorites">
<a href="#" appStopClick (click)="selectFavorites()"> <a href="#" appStopClick (click)="selectFavorites()">
<i class="bwi bwi-li bwi-fw bwi-star-f"></i>{{ "favorites" | i18n }} <i class="bwi bwi-li bwi-fw bwi-star"></i>{{ "favorites" | i18n }}
</a> </a>
</li> </li>
<li [ngClass]="{ active: selectedTrash }" *ngIf="showTrash"> <li [ngClass]="{ active: selectedTrash }" *ngIf="showTrash">
@ -92,8 +92,8 @@
class="bwi-li bwi" class="bwi-li bwi"
title="{{ 'toggleCollapse' | i18n }}" title="{{ 'toggleCollapse' | i18n }}"
[ngClass]="{ [ngClass]="{
'bwi-caret-right': isCollapsed(f.node), 'bwi-angle-right': isCollapsed(f.node),
'bwi-caret-down': !isCollapsed(f.node) 'bwi-angle-down': !isCollapsed(f.node)
}" }"
(click)="collapse(f.node)" (click)="collapse(f.node)"
></i> ></i>
@ -141,8 +141,8 @@
class="bwi-li bwi" class="bwi-li bwi"
title="{{ 'toggleCollapse' | i18n }}" title="{{ 'toggleCollapse' | i18n }}"
[ngClass]="{ [ngClass]="{
'bwi-caret-right': isCollapsed(c.node), 'bwi-angle-right': isCollapsed(c.node),
'bwi-caret-down': !isCollapsed(c.node) 'bwi-angle-down': !isCollapsed(c.node)
}" }"
(click)="collapse(c.node)" (click)="collapse(c.node)"
></i> ></i>

View File

@ -34,7 +34,7 @@
</app-vault-bulk-actions> </app-vault-bulk-actions>
<button <button
type="button" type="button"
class="btn btn-outline-primary btn-sm" class="btn btn-outline-primary btn-sm ml-3"
(click)="addCipher()" (click)="addCipher()"
*ngIf="!deleted" *ngIf="!deleted"
> >

View File

@ -37,7 +37,7 @@ const moduleRules = [
}, },
{ {
test: /\.(jpe?g|png|gif|svg|webp|avif)$/i, test: /\.(jpe?g|png|gif|svg|webp|avif)$/i,
exclude: /.*(fontawesome-webfont)\.svg/, exclude: /.*(bwi-font)\.svg/,
generator: { generator: {
filename: "images/[name][ext]", filename: "images/[name][ext]",
}, },