Skip to content

Commit 5babbcd

Browse files
Material Icons checkbox inline styles removed
1 parent d186d8e commit 5babbcd

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

angular/src/app/tenants/tenants.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,14 @@ <h2>{{ "Tenants" | localize }}</h2>
7575
<td>{{ tenant.name }}</td>
7676
<td align="center">
7777
<i
78-
class="material-icons"
78+
class="material-icons check_box"
7979
*ngIf="tenant.isActive"
80-
style="color:green;"
8180
>
8281
check_box
8382
</i>
8483
<i
85-
class="material-icons"
84+
class="material-icons indeterminate_check_box"
8685
*ngIf="!tenant.isActive"
87-
style="color:red;"
8886
>
8987
indeterminate_check_box
9088
</i>

angular/src/app/users/users.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ <h2>{{ "Users" | localize }}</h2>
7070
<td>{{ user.fullName }}</td>
7171
<td>{{ user.emailAddress }}</td>
7272
<td align="center">
73-
<i class="material-icons" *ngIf="user.isActive" style="color:green;">
73+
<i class="material-icons check_box" *ngIf="user.isActive">
7474
check_box
7575
</i>
76-
<i class="material-icons" *ngIf="!user.isActive" style="color:red;">
76+
<i class="material-icons indeterminate_check_box" *ngIf="!user.isActive">
7777
indeterminate_check_box
7878
</i>
7979
</td>

angular/src/bsb-theme/css/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3493,6 +3493,13 @@ section.content {
34933493
border-radius: 0 !important;
34943494
padding: 5px 20px !important; }
34953495

3496+
/* material-icons check_box ==================== */
3497+
i.material-icons.check_box {
3498+
color: green; }
3499+
3500+
i.material-icons.indeterminate_check_box {
3501+
color: red; }
3502+
34963503
/* Checkbox & Radio ============================ */
34973504
[type="checkbox"] + label {
34983505
padding-left: 26px;

0 commit comments

Comments
 (0)