diff options
author | Jebbs <qjebbs@gmail.com> | 2019-10-07 11:55:15 +0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-10-06 20:55:15 -0700 |
commit | bf357a0e2dee24d80dc17082b1f685e8ee1ed9aa (patch) | |
tree | 0702a4f163dbe591d983eb3a57dfecf26f6f5e4d /ui/static/css/common.css | |
parent | 02dbe3ef2edaa40658862c1c92e73730c8e75ee1 (diff) |
Add toast message for some keyboard shortcuts
Add notification message when using keyboard shortcuts: f, s, and m.
Diffstat (limited to 'ui/static/css/common.css')
-rw-r--r-- | ui/static/css/common.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/static/css/common.css b/ui/static/css/common.css index 66026f5..a17a48f 100644 --- a/ui/static/css/common.css +++ b/ui/static/css/common.css @@ -151,6 +151,35 @@ a:hover { display: none; } +.toast-wrap { + visibility: hidden; + opacity: 0; + position: fixed; + left: 0; + bottom: 10%; + color: #fff; + width: 100%; + text-align: center; + } + + .toast-msg { + background-color: rgba(0,0,0,0.7); + padding: 2px 5px; + border-radius: 5px; + } + +.toastAnimate { + animation: toastKeyFrames 2s; +} + +@keyframes toastKeyFrames { + 0% {visibility: hidden; opacity: 0;} + 25% {visibility: visible; opacity: 1; z-index: 9999} + 50% {visibility: visible; opacity: 1; z-index: 9999} + 75% {visibility: visible; opacity: 1; z-index: 9999} + 100% {visibility: hidden; opacity: 0; z-index: 0} +} + @media (min-width: 600px) { body { margin: auto; |