From f2f8e36f6b62d9a762ecc3332c921fd253b622d4 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 31 Aug 2015 13:58:42 +0200 Subject: Add api that allows other app to register "previews" by mimetype --- css/style.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'css') diff --git a/css/style.css b/css/style.css index 71496c5..4fb366c 100644 --- a/css/style.css +++ b/css/style.css @@ -47,6 +47,34 @@ border-radius: 3px; } +#editor_container.hasPreview { + width: 100%; + height: 100%; + top: 0; + left: 0; + border: none; + margin-top: 45px; + border-radius: 0px; +} + +#editor_container.hasPreview #preview { + display:block; +} + +#editor_container.hasPreview #editor { + width: 50%; +} + +#preview { + right: 0; + position: absolute; + top: 0; + display: none; + height: 100%; + width:50%; + padding-top: 46px; +} + @media(max-width: 768px) { #editor_container { width: 100%; @@ -57,6 +85,14 @@ margin-top: 45px; border-radius: 0px; } + + #editor_container.hasPreview #preview { + display: none; + } + + #editor_container.hasPreview #editor { + width: 100%; + } } #editor_close { -- cgit v1.2.3