From 0d6d623d1e34cdbff2d46229165b49289a9a0619 Mon Sep 17 00:00:00 2001 From: Bennett Date: Sun, 21 Jun 2020 09:19:59 +0200 Subject: Add FAB to service dashboard (#824) * Implement #387 * Fix lint * Upgrade to Electron 9 * Remove dependency on electron-spellchecker * Allow multiple languages to be selected * Fix lint * Don't show spellchecker language chooser for macOS * Fix _requireAuthenticatedUser throwing error on startup * Add FAB --- src/styles/button.scss | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'src/styles/button.scss') diff --git a/src/styles/button.scss b/src/styles/button.scss index 38f8fd26d..cf2568fc4 100644 --- a/src/styles/button.scss +++ b/src/styles/button.scss @@ -110,3 +110,32 @@ z-index: 9999; } } + +.ferdi__fab { + box-sizing: border-box; + + width: 50px; + height: 50px; + + border-radius: 25px; + white-space: nowrap; + z-index: 9998; + list-style: none; + background: $theme-brand-primary; + + position: absolute; + bottom: 20px; + right: 20px; + + cursor: pointer; + + display: flex; + justify-content: center; + align-items: center; + + a { + font-size: 30px; + color: #FFFFFF; + cursor: pointer; + } +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf