Commit ac9286a4 authored by alexpott's avatar alexpott

Issue #1929010 by mgifford: Fixed Improve Contrast for onfocus Menu Items.

parent 7a291c9a
......@@ -337,25 +337,30 @@
.toolbar .toolbar-toggle-orientation [value="vertical"]:before {
background-image: url("../../../misc/icons/bebebe/push-left.svg"); /* LTR */
}
.toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before {
.toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
.toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before
{
background-image: url("../../../misc/icons/787878/push-left.svg"); /* LTR */
}
.no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:before {
background-image: url("../../../misc/icons/bebebe/push-left.png"); /* LTR */
}
.no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before {
.no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
.no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before {
background-image: url("../../../misc/icons/787878/push-left.png"); /* LTR */
}
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:before {
background-image: url("../../../misc/icons/bebebe/push-right.svg");
}
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before {
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
[dir="rtl"] .toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before {
background-image: url("../../../misc/icons/787878/push-right.svg");
}
[dir="rtl"].no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:before {
background-image: url("../../../misc/icons/bebebe/push-right.png");
}
[dir="rtl"].no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before {
[dir="rtl"].no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:hover:before,
[dir="rtl"].no-svg .toolbar .toolbar-toggle-orientation [value="vertical"]:focus:before {
background-image: url("../../../misc/icons/787878/push-right.png");
}
.toolbar .toolbar-toggle-orientation [value="horizontal"]:before {
......@@ -367,7 +372,8 @@
.no-svg .toolbar .toolbar-toggle-orientation [value="horizontal"]:before {
background-image: url("../../../misc/icons/bebebe/push-up.png");
}
.no-svg .toolbar .toolbar-toggle-orientation [value="horizontal"]:hover:before {
.no-svg .toolbar .toolbar-toggle-orientation [value="horizontal"]:hover:before,
.no-svg .toolbar .toolbar-toggle-orientation [value="horizontal"]:focus:before {
background-image: url("../../../misc/icons/787878/push-up.png");
}
......@@ -20,7 +20,7 @@
line-height: 1em;
text-decoration: none;
}
.toolbar .toolbar-item:hover {
.toolbar .toolbar-item:hover, .toolbar .toolbar-item:focus {
text-decoration: underline;
}
......@@ -41,7 +41,8 @@
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item {
font-weight: bold;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item:hover {
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item:hover,
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item:focus {
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
text-decoration: none;
......@@ -92,7 +93,9 @@
}
.toolbar-tray a:hover,
.toolbar-tray a:active,
.toolbar-tray a.active {
.toolbar-tray a:focus,
.toolbar-tray a.active
{
color: #000;
text-decoration: underline;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment