From 97237470af00ebb851ffb441d8ed852f35c6143e Mon Sep 17 00:00:00 2001 From: yanas Date: Tue, 14 Jun 2016 14:10:24 -0500 Subject: [PATCH] Visual improvements of keyboard shortcut popup --- css/keyboard-shortcuts.css | 51 ++++++-------------------------------- index.html | 38 ++++++++++++++-------------- 2 files changed, 27 insertions(+), 62 deletions(-) diff --git a/css/keyboard-shortcuts.css b/css/keyboard-shortcuts.css index 4d53ed4c5..1bf69391d 100644 --- a/css/keyboard-shortcuts.css +++ b/css/keyboard-shortcuts.css @@ -4,51 +4,16 @@ bottom: 20px; left: 20px; overflow: hidden; + padding: 20px; z-index: 1; - opacity: .85; - border-top-left-radius: 15px; - border-top-right-radius: 15px; - border-bottom-right-radius: 15px; - border-bottom-left-radius: 15px; - background-color: rgb(0, 0, 0); - background-image: none; - background-repeat: repeat; + border-radius: 15px; background-attachment: scroll; - background-position: 0px center; - background-clip: border-box; - background-origin: padding-box; background-size: auto auto; + color: rgba(255, 255, 255, .8); + background-color: rgba(0, 0, 0, .8); } -#keyboard-shortcuts.header { - font-size: 15pt; -} - -#keyboard-shortcuts.content { - font-size: 10pt; - color: #ffffff; -} - -#keyboard-shortcuts.item { - color: #ffffff; - font-size: 10pt; -} -#keyboard-shortcuts.item-details { - color: #ffffff; - font-size: 10pt; -} - -#keyboard-shortcuts.item-action { - color: #ffffff; - font-size: 10pt; -} - -#keyboard-shortcuts.item-description { - color: #ffffff; - font-size: 10pt; -} - -#keyboard-shortcuts.regular-key { - color: #ffffff; - font-size: 10pt; -} +#keyboard-shortcuts .item-action { + color: #209EFF; + font-size: 14pt; +} \ No newline at end of file diff --git a/index.html b/index.html index 62c6ebdec..469b1e2cb 100644 --- a/index.html +++ b/index.html @@ -283,65 +283,65 @@