-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0ae0a0
commit 5ce7f61
Showing
7 changed files
with
25 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/app/shared/components/breadcrumb/breadcrumb.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<nav aria-label="breadcrumb" class="toggle-button-offset"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-items" *ngFor="let breadcrumb of breadcrumbs"> | ||
<li class="breadcrumb-item" *ngFor="let breadcrumb of breadcrumbs"> | ||
<a class="btn-link" (click)="onNavigate(breadcrumb.url)">{{ | ||
breadcrumb.label | ||
}}</a> | ||
}}</a> | ||
</li> | ||
<li class="breadcrumb-items"> | ||
<li class="breadcrumb-item"> | ||
<span>{{ lastBreadcrumb?.label }}</span> | ||
</li> | ||
</ol> | ||
</nav> | ||
</nav> |
23 changes: 6 additions & 17 deletions
23
src/app/shared/components/breadcrumb/breadcrumb.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,21 @@ | ||
@import "src/assets/themes/variables"; | ||
|
||
.toggle-button-offset { | ||
padding-left: 1rem; | ||
padding-left: 0rem; | ||
background-color: #FAF9F8; | ||
} | ||
|
||
@media (min-width: 992px) { | ||
.toggle-button-offset { | ||
padding-left: 3rem; | ||
padding-left: 2.188rem; | ||
} | ||
} | ||
|
||
nav { | ||
padding-top: 1.25rem; | ||
padding-bottom: 0.2rem; | ||
background: $light; | ||
.breadcrumb { | ||
margin: 0; | ||
padding: 1.3rem; | ||
} | ||
|
||
a:hover { | ||
cursor: pointer; | ||
} | ||
|
||
.breadcrumb .breadcrumb-items::before { | ||
content: "/"; | ||
padding-left: 0.3rem; | ||
padding-right: 0.3rem; | ||
} | ||
|
||
.breadcrumb .breadcrumb-items:nth-child(1)::before { | ||
content: ""; | ||
padding-left: 0rem; | ||
} |
23 changes: 8 additions & 15 deletions
23
src/app/shared/components/ds-forms/radio-buttons/radio-buttons.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,25 @@ | ||
<label | ||
*ngIf="label" | ||
for="{{ id }}" | ||
class="fw-bold mb-2 small d-flex justify-content-center" | ||
>{{ label | ||
}}<span *ngIf="isRequired()" class="text-danger"> *</span></label | ||
> | ||
class="fw-bold mb-2 small d-flex justify-content-center">{{ label | ||
}}<span *ngIf="isRequired()" class="text-danger"> *</span></label> | ||
<div | ||
class="d-flex flex-row" | ||
[ngClass]="{ 'invalid-field': isInvalid(), 'btn-group': group }" | ||
> | ||
[ngClass]="{ 'invalid-field': isInvalid(), 'btn-group': group }"> | ||
<div | ||
class="col" | ||
[ngClass]="{ 'btn-group': group, 'me-2': !group && option !== options }" | ||
*ngFor="let option of options" | ||
> | ||
*ngFor="let option of options"> | ||
<input | ||
type="radio" | ||
[formControl]="control" | ||
class="btn-check" | ||
name="{{ id }}" | ||
id="{{ id }}-{{ option }}" | ||
(change)="changeValue(option)" | ||
/> | ||
(change)="changeValue(option)" /> | ||
<label | ||
class="d-block" | ||
class="d-block radio-button" | ||
[ngClass]="setClass(option)" | ||
for="{{ id }}-{{ option }}" | ||
>{{ optionsLabels[options.indexOf(option)] }}</label | ||
> | ||
for="{{ id }}-{{ option }}">{{ optionsLabels[options.indexOf(option)] }}</label> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.radio-button { | ||
font-size: medium !important; | ||
} |
2 changes: 1 addition & 1 deletion
2
src/app/shared/components/ds-forms/wysiwyg-input/wysiwyg-input.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters