Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
starting with changes for accessibility :active (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzinello committed Jul 29, 2020
1 parent 5999d5c commit 0905ff7
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 30 deletions.
2 changes: 1 addition & 1 deletion dist/mailgo.dark.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mailgo.dark.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mailgo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mailgo.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/mailgo.chrome.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/mailgo.chrome.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/mailgo.firefox.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/mailgo.firefox.min.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions lib/mailgo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/mailgo.js.map

Large diffs are not rendered by default.

70 changes: 51 additions & 19 deletions src/mailgo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ $default-border-radius: 20px;
padding: 24px;
transition: 0.5s box-shadow;

&:hover {
&:hover,
&:focus,
&:active {
opacity: 1;
}

Expand Down Expand Up @@ -108,39 +110,49 @@ $default-border-radius: 20px;

&.m-gmail {
color: $gmail-color;
&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(212, 70, 56, 0.08);
color: $gmail-color;
}
}

&.m-outlook {
color: $outlook-color;
&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 114, 198, 0.08);
color: $outlook-color;
}
}

&.m-tg {
color: $telegram-color;
&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 136, 204, 0.08);
color: $telegram-color;
}
}

&.m-wa {
color: $wa-color;
&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 191, 165, 0.08);
color: $wa-color;
}
}

&.m-skype {
color: $skype-color;
&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 175, 240, 0.08);
color: $skype-color;
}
Expand All @@ -151,10 +163,14 @@ $default-border-radius: 20px;
font-size: 16px;
}

&.m-default:hover,
&.m-copy:hover {
background-color: rgba(0, 0, 0, 0.08);
color: $default-color;
&.m-default,
&.m-copy {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 0, 0, 0.08);
color: $default-color;
}
}

&.m-by {
Expand All @@ -163,7 +179,9 @@ $default-border-radius: 20px;
padding: 5px;
color: $default-color;
opacity: 0.55;
&:hover {
&:hover,
&:focus,
&:active {
opacity: 1;
}
}
Expand All @@ -186,15 +204,21 @@ $default-border-radius: 20px;
a {
color: $default-dark-color;

&:not(.m-by):hover {
background-color: rgba(134, 134, 134, 0.08);
color: $default-dark-color;
&:not(.m-by) {
&:hover,
&:focus,
&:active {
background-color: rgba(134, 134, 134, 0.08);
color: $default-dark-color;
}
}

&.m-gmail {
color: $gmail-dark-color;

&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(212, 70, 56, 0.08);
color: $gmail-dark-color;
}
Expand All @@ -203,7 +227,9 @@ $default-border-radius: 20px;
&.m-outlook {
color: $outlook-dark-color;

&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 114, 198, 0.08);
color: $outlook-dark-color;
}
Expand All @@ -212,7 +238,9 @@ $default-border-radius: 20px;
&.m-tg {
color: $telegram-dark-color;

&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 136, 204, 0.08);
color: $telegram-dark-color;
}
Expand All @@ -221,7 +249,9 @@ $default-border-radius: 20px;
&.m-wa {
color: $wa-dark-color;

&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 191, 165, 0.08);
color: $wa-dark-color;
}
Expand All @@ -230,7 +260,9 @@ $default-border-radius: 20px;
&.m-skype {
color: $skype-dark-color;

&:hover {
&:hover,
&:focus,
&:active {
background-color: rgba(0, 175, 240, 0.08);
color: $skype-dark-color;
}
Expand Down

0 comments on commit 0905ff7

Please sign in to comment.