Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions src/app/pages/matrix/matrix.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
margin-bottom: 1em;
position: relative;
}

.mat-cell-activity a.activity-title {
text-decoration: unset;
margin: 0;
}

.mat-cell-activity a::after {
content: "";
position: absolute;
Expand All @@ -49,6 +51,7 @@
width: 100%;
height: 100%;
}

.mat-cell-activity a.activity-title:link {
color: inherit;
}
Expand All @@ -57,8 +60,9 @@
display: flex;
align-items: center;
gap: 8px;

}

.mat-cell .dim-icon mat-icon {
font-size: 45px;
width: 45px;
Expand All @@ -75,6 +79,7 @@
font-style: italic;
font-size: 12px;
}

/*tag activity - light */
:host-context(body.light-theme) .tags-activity,
:host-context(body.light-theme) .tags-activity span {
Expand All @@ -89,11 +94,23 @@

.reset-button {
background-color: #66bb6a;
color: rgb(28, 28, 28);
display: block;
margin: 0 20px;
padding: 7px 12px;
border-radius: 16px;
font: 500 14px / 20px Roboto, 'Helvetica Neue', sans-serif;
cursor: pointer;
border: none;
transition: background-color 0.3s ease;
}

.reset-button:hover {
background-color: #4caf50;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a number of "green colours" scattered around the CSS, but let's try to reduce the numbers. Please base the colours on the var()s defined in custom-theme.scss, whenever possible.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vbakke Done thate

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Biswas-Samrat: You have created a new variable that is prefixed heatmap and used it on the Matrix page.
What was wrong with `--primary-color'? I don't see any benefits with #4caf50 over #43a047. Why two?
Please try to grasp the overall context in the app as well before adding local improvements.

}

.mat-chip {
cursor: pointer;
}

.mat-mdc-row .mat-mdc-cell {
Expand Down Expand Up @@ -126,4 +143,4 @@
font-size: 16px;
color: rgba(0, 0, 0, 0.54);
padding: 24px;
}
}