summaryrefslogtreecommitdiffstats
path: root/app/common/styles/elements
diff options
context:
space:
mode:
authorMichael Davis <michael.s.davis@ibm.com>2017-08-14 14:59:46 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-10-09 14:00:43 -0500
commitb8a41c180f66e7d586962b0876fccd7c2fdc353d (patch)
treebecdaa61e99379a247aaa4cf2dae70b7a1b8721d /app/common/styles/elements
parent2c5e7beb3c5160135e014d296c49939fce158b10 (diff)
downloadphosphor-webui-b8a41c180f66e7d586962b0876fccd7c2fdc353d.tar.gz
phosphor-webui-b8a41c180f66e7d586962b0876fccd7c2fdc353d.zip
Accessibility fixes:
- changed buttons to spans since not being used in forms - added aria roles to html elements - changed low contrast colors Change-Id: I56e784b226baa7f9b24346446a0a023fcea633d4 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/common/styles/elements')
-rw-r--r--app/common/styles/elements/inline-confirm.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/common/styles/elements/inline-confirm.scss b/app/common/styles/elements/inline-confirm.scss
index b01c576..c65e5de 100644
--- a/app/common/styles/elements/inline-confirm.scss
+++ b/app/common/styles/elements/inline-confirm.scss
@@ -28,10 +28,14 @@
margin: 0 10px;
border-radius: 4px;
&:focus,
- &:hover {
+ &.default {
background: $primebtn__bg;
border: 2px solid $primebtn__bg;
}
+ &:hover {
+ background: darken($primebtn__bg, 10%);
+ border: 2px solid $primebtn__bg;
+ }
}
@media (min-width: 900px) {
position: absolute;
OpenPOWER on IntegriCloud