From 3a862e743288940e295f8916dc996acc10e7f10d Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 31 Mar 2015 21:26:11 +0200 Subject: [PATCH] Make two columns for the editform. --- .../Resources/assets/css/events.scss | 49 ++----------------- .../views/Event/event_form.html.twig | 29 ++++++----- 2 files changed, 21 insertions(+), 57 deletions(-) diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss index 3c230c4..2abe00a 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/css/events.scss @@ -13,47 +13,10 @@ } } -.event.box { - h2 { - padding: 0.5rem; - a,a:hover,a:visited { - color: #ffffff; - } - } - - .startdate,.location,.url,.action { - display: inline; - margin: 0; - margin-right: 0.5rem; - margin-bottom: 0.5rem; - } - - a i.icon { - text-decoration: none; - } - - ul.tags { - padding-left: 0; - margin: 0; - margin-right: 0.5rem; - margin-bottom: 0.5rem; - display: inline; - li { - list-style-type: none; - display: inline; - margin-right: 0.5rem; - } - } -} - -form .ui.form { - .field { - .attached-label > input, .attached-label > textarea { - margin-bottom: 2rem; - } - .attached-geo-label > input, .attached-geo-label > textarea { - margin-bottom: 3.2rem; - } +#event-form { + textarea { + height: auto; + max-height: none; } } @@ -61,10 +24,6 @@ form .ui.form { height: 20rem; } -.location-edit { - text-decoration: none; -} - #location-description { p { margin-top: 0.5rem; diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig index 38a4e70..e584fe3 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/event_form.html.twig @@ -1,5 +1,7 @@ -
+
+
@@ -60,17 +62,6 @@
-
- - -
- -
-
Du kannst hier Markdown - benutzen. -
-
-
@@ -143,6 +134,20 @@ href="https://en.wikipedia.org/wiki/Tag_%28metadata%29">Tags angeben.
+ +
+
+ + +
+ +
+
Du kannst hier Markdown + benutzen. +
+
+
+
\ No newline at end of file