summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-10-01 02:28:52 +0200
committerTrueDoctor <d-kobert@web.de>2018-10-01 02:28:52 +0200
commit4ddde4c2e793c7d4cc240c90d5fcb0bc1ddf7a4b (patch)
treead9e45b40bfdb2175e6edca26541e3ea68984616 /WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss
parent6285967d1cf6e9322f584de761eea31ade32b3e5 (diff)
parent71783b20dbddd018d2ea140bced59048c7baf0a4 (diff)
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss')
-rw-r--r--WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss b/WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss
new file mode 100644
index 0000000..26833d5
--- /dev/null
+++ b/WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss
@@ -0,0 +1,43 @@
+@import '../colors';
+
+.backdrop {
+ .menu-actions {
+ box-sizing: border-box;
+ transition: max-height 200ms ease, color 200ms ease, background-color 100ms ease;;
+ position: relative;
+ max-height: 16rem;
+ margin: 0 1rem;
+
+ .menu-option {
+ color: $primary-text;
+ text-decoration: none;
+ box-sizing: border-box;
+ display: inline-block;
+ font-size: 1.5rem;
+ width: 100%;
+ text-align: center;
+ padding: 1rem;
+ border: none;
+ border-radius: 8px;
+ cursor: pointer;
+
+ &:hover {
+ background-color: $secondary-half-dark;
+ }
+
+ &.active {
+ background-color: $secondary-dark;
+ }
+ }
+
+ &.hidden {
+ max-height: 0;
+ color: rgba(0,0,0,0);
+
+ .menu-option {
+ color: rgba(0,0,0,0);
+ background-color: rgba(0,0,0,0) !important;
+ }
+ }
+ }
+}