about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/modal.scss
diff options
context:
space:
mode:
authorncls7615 <himasoto@gmail.com>2018-01-14 03:41:20 +0900
committerncls7615 <himasoto@gmail.com>2018-01-14 03:41:20 +0900
commit6a73c8c8a290a9db7449b7a460701f726c400785 (patch)
treeb4160258740747767e2392cb812091fefe573104 /app/javascript/flavours/glitch/styles/modal.scss
parente2ce6287241fd03a757c0a96455f4cad796a576f (diff)
Initial 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;
+  }
+}