Skip to content

Commit abc4521

Browse files
committed
Further style tweaks.
1 parent 26977f9 commit abc4521

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

src/app/shared/dso-page/dso-edit-menu/dso-edit-expandable-menu-section/dso-edit-menu-expandable-section.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<div class="dso-button-menu mb-1" ngbDropdown container="body" placement="bottom-right">
22
<div class="d-flex flex-row flex-nowrap"
33
[ngbTooltip]="itemModel.text | translate" container="body">
4-
<button [attr.aria-label]="itemModel.text | translate" [title]="itemModel.text | translate" class="btn btn-dark btn-sm" ngbDropdownToggle [dsBtnDisabled]="section.model?.disabled">
4+
<!-- DATASHARE - start -->
5+
<!-- btn-dark changed to btn-secondary -->
6+
<button [attr.aria-label]="itemModel.text | translate" [title]="itemModel.text | translate" class="btn btn-secondary btn-sm" ngbDropdownToggle [dsBtnDisabled]="section.model?.disabled">
57
<i class="fas fa-{{section.icon}} fa-fw"></i>
68
</button>
9+
<!-- DATASHARE - end -->
710
<ul ngbDropdownMenu class="dso-edit-menu-dropdown">
811
<li class="nav-item nav-link d-flex flex-row" *ngFor="let subSection of (subSections$ | async)">
912
<div *ngIf="renderIcons$ | async" class="mr-2">

src/app/shared/dso-page/dso-edit-menu/dso-edit-menu-section/dso-edit-menu-section.component.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
<div *ngIf="!canActivate" class="dso-button-menu mb-1"
22
[ngbTooltip]="itemModel.text | translate">
3-
<a *ngIf="!section.model.disabled" class="btn btn-dark btn-sm"
3+
<!-- DATASHARE - start -->
4+
<!-- btn-dark changed to btn-secondary -->
5+
<a *ngIf="!section.model.disabled" class="btn btn-secondary btn-sm"
46
[routerLink]="itemModel.link">
7+
<!-- DATASHARE - end -->
58
<i class="fas fa-{{section.icon}} fa-fw" aria-hidden="true"></i>
69
<span class="sr-only">{{itemModel.text | translate}}</span>
710
</a>
8-
<button *ngIf="section.model.disabled" class="btn btn-dark btn-sm" [dsBtnDisabled]="true">
11+
<!-- DATASHARE - start -->
12+
<!-- btn-dark changed to btn-secondary -->
13+
<button *ngIf="section.model.disabled" class="btn btn-seondary btn-sm" [dsBtnDisabled]="true">
14+
<!-- DATASHARE - end -->
915
<i class="fas fa-{{section.icon}} fa-fw" aria-hidden="true"></i>
1016
<span class="sr-only">{{itemModel.text | translate}}</span>
1117
</button>
1218
</div>
1319

1420
<div *ngIf="canActivate" class="dso-button-menu mb-1"
1521
[ngbTooltip]="itemModel.text | translate">
16-
<button class="btn btn-dark btn-sm" [dsBtnDisabled]="section.model.disabled"
22+
<!-- DATASHARE - start -->
23+
<!-- btn-dark changed to btn-secondary -->
24+
<button class="btn btn-secondary btn-sm" [dsBtnDisabled]="section.model.disabled"
1725
(click)="activate($event)">
26+
<!-- DATASHARE - end -->
1827
<i class="fas fa-{{section.icon}} fa-fw" aria-hidden="true"></i>
1928
<span class="sr-only">{{itemModel.text | translate}}</span>
2029
</button>

src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
{{object.value}}
77
</span>
88
<!-- DATASHARE - start -->
9+
<!-- Added my-2 -->
910
<span class="my-2 pr-2">&nbsp;</span>
10-
<!-- DATASHARE - end S-->
11+
<!-- badge-pill change to badge-info -->
1112
<span class="badge badge-info badge-secondary align-self-center">{{object.count}}</span>
13+
<!-- DATASHARE - end -->
1214
</div>

0 commit comments

Comments
 (0)