summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/src/style/partials/backdrop/_base.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/_base.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/_base.scss')
-rw-r--r--WebInterface/NodeJSServer/src/style/partials/backdrop/_base.scss58
1 files changed, 58 insertions, 0 deletions
diff --git a/WebInterface/NodeJSServer/src/style/partials/backdrop/_base.scss b/WebInterface/NodeJSServer/src/style/partials/backdrop/_base.scss
new file mode 100644
index 0000000..1b7a924
--- /dev/null
+++ b/WebInterface/NodeJSServer/src/style/partials/backdrop/_base.scss
@@ -0,0 +1,58 @@
+@import '../colors';
+
+.backdrop {
+ background-color: $secondary;
+ color: $secondary-text;
+ font-size: 1rem;
+
+ .header-bar {
+ display: flex;
+ align-items: center;
+
+ @media (max-height: 550px) {
+ margin-top: 0.125rem;
+ }
+
+ .menu-icon {
+ background-image: url("../ressources/menu.png");
+ background-position: center;
+ background-repeat: no-repeat;
+ width: 36px;
+ height: 36px;
+ padding: 4px;
+ margin: 1rem;
+ display: inline-block;
+ border: none;
+ border-radius: 32px;
+ transition: background-color 100ms ease;
+
+ @media (max-height: 550px) {
+ padding: 0;
+ margin: 0.125rem;
+ }
+
+ &:hover {
+ background-color: $secondary-dark;
+ }
+
+ &.open {
+ background-image: url("../ressources/menu_close.png");
+ }
+ }
+
+ .header {
+ margin: 0;
+ padding: 16px;
+ text-align: center;
+ flex-grow: 1;
+
+ @media (min-width: 450px) {
+ margin-right: 56px;
+ }
+
+ @media (max-height: 550px) {
+ padding: 0;
+ }
+ }
+ }
+}