diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 22:37:10 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 22:37:10 -0500 |
commit | 2a850757ee5f9c1a2119c562cf6caba3eda7ceba (patch) | |
tree | aff444a2fe18249485f84e71c8bf7ea31bc7dda6 /assets/css/form.css | |
parent | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (diff) |
Add Markdown preview for textarea, see #407
Diffstat (limited to 'assets/css/form.css')
-rw-r--r-- | assets/css/form.css | 49 |
1 files changed, 46 insertions, 3 deletions
diff --git a/assets/css/form.css b/assets/css/form.css index 465cffe0..5567d802 100644 --- a/assets/css/form.css +++ b/assets/css/form.css @@ -49,7 +49,7 @@ input[type="number"] { textarea { border: 1px solid #ccc; width: 400px; - max-width: 95%; + max-width: 99%; height: 200px; font-size: 1.0em; font-family: sans-serif; @@ -140,7 +140,6 @@ input.form-input-large { .form-column { float: left; - margin-bottom: 60px; padding-right: 50px; } @@ -166,4 +165,48 @@ input.form-input-large { .form-checkbox-group label { display: inline; -}
\ No newline at end of file +} + +/* preview tabs */ +.form-tabs { + width: 100%; + max-width: 800px; +} + +.form-tabs-nav { + margin-bottom: 8px; +} + +.form-tabs-nav li { + margin-left: 0; + display: inline; +} + +.form-tab { + margin-right: 20px; +} + +.form-tab a { + color: #ccc; + font-weight: bold; + text-decoration: none; +} + +.form-tab a:focus, +.form-tab a:hover { + color: #000; +} + +.form-tab-selected a { + color: #333; +} + +.preview-area { + border: 1px dashed #000; + padding-top: 5px; + padding-left: 5px; + padding-right: 5px; + margin-bottom: 5px; + display: none; + overflow: auto; +} |