Skip to content

Commit

Permalink
Merge pull request #568 from DigitalExcellence/bug/566-Settings-modal…
Browse files Browse the repository at this point in the history
…-not-styled-on-project-info

Added styling to the PopOver and Cogwheel.  Fixed typo in highlight
  • Loading branch information
DaveBouman authored Sep 14, 2021
2 parents c34d428 + ddfa4a4 commit 56b438f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<em [outsideClick]="true" [popover]="cogPopOver" class="fas fa-cog cog" placement="bottom" triggers="click"> </em>
<ng-template #cogPopOver class="cog-tooltip">
<ng-container *ngIf="displayHighlightButton">
<a (click)="onClickEditHighlightButton()" class="cog-tooltip-item"><em class="fas fa-highlighter"></em>Hightlight settings</a>
<a (click)="onClickEditHighlightButton()" class="cog-tooltip-item"><em class="fas fa-highlighter"></em>Highlight settings</a>
</ng-container>
<ng-container *ngIf="displayEditButton">
<a (click)="closeModalAndRedirect('project/edit/' + project?.id)" class="cog-tooltip-item"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,31 @@
padding: 0;
}
}

.cog {
cursor: pointer;
color: #323232;

&:hover {
color: #F7755A;
}
}

.cog-tooltip-item {
display: flex;
align-items: center;
justify-content: flex-start;
cursor: pointer;
color: #323232;

em {
width: 20px;
}

&:hover {
text-decoration: none;
color: #E85B3F;
transition: ease 0.2s;
}
}

0 comments on commit 56b438f

Please sign in to comment.