Skip to content

Commit

Permalink
Issue5408- Increase text contrast for improved web accessibility (arg…
Browse files Browse the repository at this point in the history
…oproj#5700)

* fix: increase contrast for text color

Signed-off-by: Regina Scott <[email protected]>

* aligned spacing in application status panel

Signed-off-by: Regina Scott <[email protected]>

* boldened and darkened headers

Signed-off-by: Regina Scott <[email protected]>
  • Loading branch information
reginapizza authored Mar 11, 2021
1 parent 1b7441d commit 73af758
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
&__item {
cursor: pointer;
position: relative;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
border-radius: $border-radius;
box-shadow: 1px 1px 3px $argo-color-gray-5;
margin-top: 1em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $header: 120px;
top: 10px;
width: 60px;
line-height: 1;
color: $argo-color-gray-5;
color: $argo-color-gray-7;
font-size: 0.8em;
}

Expand All @@ -102,15 +102,15 @@ $header: 120px;
white-space: nowrap;
i {
cursor: pointer;
color: $argo-color-gray-4;
color: $argo-color-gray-5;
margin: 0 0.5em;
&::before {
font-size: 1.5em;
}
}
i.selected {
cursor: default;
color: $argo-color-gray-5;
color: $argo-color-gray-7;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
top: 8px;
width: 60px;
line-height: 1;
color: $argo-color-gray-5;
color: $argo-color-gray-7;

&--big {
background: $argo-color-gray-5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
padding: 5px 20px;
font-size: 0.8em;
line-height: 1.2;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
display: flex;
flex-direction: column;
flex-shrink: 0;
Expand Down Expand Up @@ -106,7 +106,7 @@

label {
display: block;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
font-size: 13px;
margin-right: 10px;
}
Expand Down Expand Up @@ -173,7 +173,6 @@
}
&__item-name,
&__item-value {
margin-top: auto;
overflow: hidden;
text-overflow: ellipsis;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
line-height: 1.15;
}

.white-box__details p {
font-weight: 500;
color: $argo-color-gray-7;
}

.white-box__details-row .row {
padding-left: 1em;
padding-right: 1em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
padding-left: 1em;
border-left: 5px solid $argo-color-gray-4;
padding-right: 1em;
color: $argo-color-gray-7;

// healthy statuses

Expand Down Expand Up @@ -157,7 +158,7 @@

&__filter-title {
margin: 0.5em 0 0 0;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
text-transform: uppercase;
}

Expand Down Expand Up @@ -192,13 +193,13 @@
left: -1.5em;
cursor: pointer;
&:hover {
color: $argo-color-gray-6;
color: $argo-color-gray-7;
}
}
i.fa-times {
cursor: pointer;
position: absolute;
color: $argo-color-gray-5;
color: $argo-color-gray-7;
bottom: 0.6em;
right: 0;
z-index: 1;
Expand Down
6 changes: 3 additions & 3 deletions ui/src/app/login/components/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $logoNegativePath: 'assets/images/argo.png';
a {
font-size: 13px;
text-transform: uppercase;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
font-weight: 300;
}

Expand All @@ -120,7 +120,7 @@ $logoNegativePath: 'assets/images/argo.png';

&__saml-separator {
margin-top: 15px;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
border-bottom: 1px solid $argo-color-gray-4;
text-align: center;
& > span {
Expand Down Expand Up @@ -182,7 +182,7 @@ $logoNegativePath: 'assets/images/argo.png';

.ver {
font-size:12px;
color: $argo-color-gray-5;
color: $argo-color-gray-7;
}

&__link {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

&__description {
font-size: .8125em;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
}

&__arrow {
Expand All @@ -50,7 +50,7 @@
right: 30px;
transform: translateY(-50%);
font-size: 1.4em;
color: $argo-color-gray-6;
color: $argo-color-gray-7;
}
}
}
2 changes: 1 addition & 1 deletion ui/src/app/shared/components/paginate/paginate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
li.disabled {
a {
cursor: default;
color: $argo-color-gray-4;
color: $argo-color-gray-5;
}
}

Expand Down

0 comments on commit 73af758

Please sign in to comment.