Skip to content

Commit

Permalink
Merge pull request #157 from nextcloud/bugfix/noid/a11y
Browse files Browse the repository at this point in the history
Fix accessibility issues
  • Loading branch information
nickvergessen authored Aug 27, 2018
2 parents 43661d3 + e8eea16 commit bb219a1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

.dismiss-all {
display: flex;
opacity: 0.5;
color: var(--color-text-maxcontrast);
padding: 10px;
margin-left: auto;
margin-right: auto;
Expand All @@ -66,6 +66,7 @@
}

.icon-close {
opacity: .5;
margin-right: 5px;
}
}
Expand All @@ -81,27 +82,31 @@
padding-bottom: 12px;

&:not(:last-child) {
border-bottom: 1px solid rgb(238, 238, 238);
border-bottom: 1px solid var(--color-border);
}

.notification-heading {
display: flex;

.notification-time {
opacity: 0.5;
color: var(--color-text-maxcontrast);
margin: 13px 0 13px auto;
}

.notification-delete {
display: flex;
opacity: 0.5;
color: var(--color-text-maxcontrast);
padding: 14px;

&:hover,
.icon-close {
opacity: 1;
cursor: pointer;
}

.icon-close {
opacity: .5;
}
}
}

Expand Down Expand Up @@ -160,7 +165,7 @@

.notification-actions {
.action-button.primary {
color: $color-primary-text;
color: var(--color-primary-text);
}

&:first-child {
Expand Down

0 comments on commit bb219a1

Please sign in to comment.