diff options
author | Robin Appelman <robin@icewind.nl> | 2017-02-16 17:33:34 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-02-22 23:25:32 +0300 |
commit | 04c902a7eaad3405dddc33b139eecdd26f4e2025 (patch) | |
tree | f46d9024fed3cde90fb5c6b87ba13dcfafda62d6 /css | |
parent | c02cb715c298726e1c1533dd1912707edc9dc67b (diff) |
Add toggle between edit only/edit with preview/preview only
Fixes https://github.com/icewind1991/files_markdown/issues/24
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'css')
-rw-r--r-- | css/style.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css index b1fad6f..1e01385 100644 --- a/css/style.css +++ b/css/style.css @@ -202,3 +202,36 @@ small.unsaved-star { #sidebar_editor .ace_scrollbar.ace_scrollbar-h { display: none; } + +#preview_editor_controls { + float: right; +} + +#preview_editor_controls button { + height: 42px; + width: 42px; + background-position: center center; + background-repeat: no-repeat; + background-size: 32px 32px; + margin: 0; + margin-top: 2px; + border-radius: 0; + border-left-width: 0; +} + +#preview_editor_controls button:hover, +#preview_editor_controls button.active { + background-color: #eee; + border-left-width: 1px; +} + +#preview_editor_controls button:first-child { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; + border-left-width: 1px; +} + +#preview_editor_controls button:last-child { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} |