Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7376 from crh0716/827702

Bug 827702 - Change the highlight color of the space key
  • Loading branch information...
commit 7d9709c30d92e3de6a37385b2ad5b0e7e72961c8 2 parents 9a6950b + d76f8d2
@vingtetun vingtetun authored
Showing with 12 additions and 22 deletions.
  1. +12 −22 apps/keyboard/style/keyboard.css
View
34 apps/keyboard/style/keyboard.css
@@ -243,35 +243,25 @@ button::-moz-focus-inner {
}
/* Spacebar exceptions */
-.keyboard-key[data-keycode="32"] > .visual-wrapper {
-background-position: center 2.2rem;
-}
-
.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper {
- border: solid 1px #000;
+ background: #4AB6CB;
border-radius: 0.3rem;
- background: #252220 url(images/key-bg.png) no-repeat center 2.2rem;
- background-size: 100% 100%;
- opacity: 0.5;
- margin: 0;
+ border: solid 1px #3f5459;
height: 4rem;
}
-
-.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper > span {
- border: none;
- border-top: solid 1px #514e4d;
- background: none;
+.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper:after {
+ content: "";
position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1;
- height: 100%;
+ left: -0.2rem;
+ right: -0.2rem;
+ top: -0.2rem;
+ bottom: -0.25rem;
+ z-index: -1;
+ background: #4495A8;
+ border-radius: 0.3rem;
}
-
-.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper:after,
.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper:before,
+.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper > span,
.keyboard-key.highlighted[data-keycode="32"] > .visual-wrapper > span:after {
display: none;
}
Please sign in to comment.
Something went wrong with that request. Please try again.