about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/modal.scss
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2018-01-14 17:48:02 -0500
committerGitHub <noreply@github.com>2018-01-14 17:48:02 -0500
commitcd6674606fe07dbecdfb0c49a6968ff58188bfd8 (patch)
tree0183edc9d55bbd8870618bcb8c334ccfb1574473 /app/javascript/flavours/glitch/styles/modal.scss
parent39f231f3da1ffe7e8a75df924790005fde5fe7fa (diff)
parentf9b08e2142f552ed2873a014b78869df04c614e3 (diff)
Merge pull request #329 from KnzkDev/scss-refactor
SCSS Refactor
Diffstat (limited to 'app/javascript/flavours/glitch/styles/modal.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/modal.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/modal.scss b/app/javascript/flavours/glitch/styles/modal.scss
new file mode 100644
index 000000000..a17476ccb
--- /dev/null
+++ b/app/javascript/flavours/glitch/styles/modal.scss
@@ -0,0 +1,20 @@
+.modal-layout {
+  background: $ui-base-color url('~images/wave-modal.png') repeat-x bottom fixed;
+  display: flex;
+  flex-direction: column;
+  height: 100vh;
+  padding: 0;
+}
+
+.modal-layout__mastodon {
+  display: flex;
+  flex: 1;
+  flex-direction: column;
+  justify-content: flex-end;
+
+  > * {
+    flex: 1;
+    max-height: 235px;
+    background: url('~images/mastodon-ui.png') no-repeat left bottom / contain;
+  }
+}