Skip to content

Commit

Permalink
#85 #114 Fixing broken icons an missleading color codes
Browse files Browse the repository at this point in the history
  • Loading branch information
rseedorff committed Jun 16, 2022
1 parent ab95a96 commit a1bf037
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
31 changes: 24 additions & 7 deletions src/main/webapp/app/custom/teams/skills/teams-skills.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,21 @@
font-size: 35px;
margin-right: 5px;
}
.skill-info {
&.skill-status-irrelevant {
filter: brightness(95%) opacity(0.3);
}
}
.skill-status {
padding: 10px;
width: 35px;
cursor: default;
&.skill-status-irrelevant {
font: var(--fa-font-regular);
&:before {
content: '\f165'; // thumbs-down
}
background-color: transparent;
color: $dojo-text-secondary;
background-color: $gray-400;
}
&.skill-status-achieved {
background-color: $success;
Expand All @@ -73,20 +78,23 @@
}
&.skill-status-expired {
background-color: $danger;
font: var(--fa-font-regular);
&:before {
content: '\f057'; // times-circle
content: '\f057'; // circle-xmark
}
}
&.skill-status-expiring {
background-color: $warning;
font: var(--fa-font-regular);
&:before {
content: '\f071'; // exclamation-triangle
}
}
&.skill-status-open {
color: black;
background-color: #edb90029;
font: var(--fa-font-regular);
&:before {
content: '\f057'; // times-circle
content: '\f111'; // times-circle
}
}
&.completed {
Expand All @@ -110,6 +118,7 @@
&-item {
font-size: 18px;
color: $dojo-text-primary;
text-decoration: none;
&.disabled {
opacity: 0.3;
cursor: default;
Expand Down Expand Up @@ -149,22 +158,30 @@
}
&.skill-status-action-achieved {
&:before {
content: '\f00c'; // checkmark
font: var(--fa-font-regular);
text-rendering: auto;
-webkit-font-smoothing: antialiased;
content: '\f057'; // circle-xmark
}
}
&.skill-status-action-expired {
font: var(--fa-font-regular);
&:before {
content: '\f057'; // times-circle
}
}
&.skill-status-action-expiring {
font: var(--fa-font-regular);
&:before {
content: '\f071'; // exclamation-triangle
}
}
&.skill-status-action-open {
&:before {
content: '\f057'; // times-circle
font: var(--fa-font-regular);
text-rendering: auto;
-webkit-font-smoothing: antialiased;
content: '\f058'; // checkmark
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/content/custom/scss/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

::ng-deep .accordion-button {
background-color: $dojo-bg-gradient-from;
padding: 1rem 1rem 1rem 0rem;
}
}
::ng-deep .accordion-item {
Expand Down

0 comments on commit a1bf037

Please sign in to comment.