<%= f.label _('Top banner text'), for: @org.banner_text %>
- <%= text_area_tag("org_banner_text", @org.banner_text, class: "tinymce left-indent top-indent") %>
+
+ <%= text_area_tag('org_banner_text', @org.banner_text, id: "org_banner_text") %>
+ <%= tinymce(selector: "#org_banner_text", content_css: asset_path('application.css')) %>
+
diff --git a/lib/assets/stylesheets/dmproadmap/forms.scss b/lib/assets/stylesheets/dmproadmap/forms.scss
index 316edf1..99fd015 100644
--- a/lib/assets/stylesheets/dmproadmap/forms.scss
+++ b/lib/assets/stylesheets/dmproadmap/forms.scss
@@ -56,21 +56,6 @@
padding: 0;
}
-.org-logo {
- position: absolute;
- top: -35px;
- left: 65%;
-
- span {
- width: 150px;
- vertical-align: top;
-
- label {
- margin-top: 35px;
- }
- }
-}
-
form, fieldset {
border: 0;
}
@@ -394,12 +379,6 @@
/* ------------------------------------------------ */
/* ------------------------------------------------ */
-/* Home Page */
-/* ------------------------------------------------ */
-.main_page_content .content-two-column {
-/* min-height: 400px; */
-}
-
/* Sign in/Create account and edit profile forms */
/* ------------------------------------------------ */
@@ -680,3 +659,37 @@
}
}
}
+
+/* Org edit */
+/* ------------------------------------------------ */
+#edit_org_details {
+ .org-logo {
+ margin-bottom: 10px;
+
+ label, div {
+ vertical-align: top;
+ }
+
+ img {
+ border: 1px dashed $medium-grey;
+ }
+
+ #logo-controls {
+ width: 50%;
+ label {
+ text-align: left;
+ }
+ label {
+ width: auto;
+ }
+ #logo-controls-separator {
+ margin-left: 50px;
+ padding: 10px 0 15px 0;
+ text-align: center;
+ }
+ }
+ }
+ #banner-text div.inline {
+ width: 70%;
+ }
+}
\ No newline at end of file