# HG changeset patch # User Mads Kiilerich # Date 1480888416 -3600 # Node ID cf3cc1fa42228dee7e25cbe6709179962405e038 # Parent 50e9a5b61c5987f76dfebe949b12d044e9a21d9d style: drop 'textarea' class inside 'form-group' Temporarily, just apply styling to div inside form-group. Also, 'radios' is gone. Based on work by Dominik Ruf. diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/public/css/style.css Sun Dec 04 22:53:36 2016 +0100 @@ -860,12 +860,11 @@ #content div.panel div.form div.form-horizontal div.form-group > div.file { margin: 0 20px 0 200px; } -#content div.panel div.form div.form-horizontal div.form-group > div.editor { - margin: 0 10px 0 200px; -} #content div.panel div.form div.form-horizontal div.form-group > label > input, #content div.panel div.form div.form-horizontal div.form-group > div input, +#content div.panel div.form div.form-horizontal div.form-group > label > textarea, +#content div.panel div.form div.form-horizontal div.form-group > div textarea, .reviewer_ac input { background: #FFF; border-top: 1px solid #b3b3b3; @@ -923,56 +922,11 @@ padding: 4px 8px; } -#content div.panel div.form div.form-horizontal div.form-group div.textarea { - border-top: 1px solid #b3b3b3; - border-left: 1px solid #b3b3b3; - border-right: 1px solid #eaeaea; - border-bottom: 1px solid #eaeaea; - margin: 0 20px 0 200px; - padding: 7px 7px 6px; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea-editor { - border: 1px solid #ddd; - padding: 0; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea textarea { +#content div.panel div.form div.form-horizontal div.form-group > div textarea { width: 100%; height: 220px; overflow-y: auto; - background: #FFF; - color: #000; - font-size: 12px; outline: none; - border-width: 0; - margin: 0; - padding: 0; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea table { - width: 100%; - border: none; - margin: 0; - padding: 0; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea table td { - background: #DDD; - border: none; - padding: 0; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea table td table { - width: auto; - border: none; - margin: 0; - padding: 0; -} - -#content div.panel div.form div.form-horizontal div.form-group div.textarea table td table td { - font-size: 11px; - padding: 5px 5px 5px 0; } #content div.panel div.form div.form-horizontal div.form-group input[type=text]:focus, @@ -3139,7 +3093,6 @@ img, #header #header-inner #quick li a:hover span.normal, -#content div.panel div.form div.form-horizontal div.form-group div.textarea table td table td a, #clone_url, #clone_url_id { diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/repo_groups/repo_group_add.html --- a/kallithea/templates/admin/repo_groups/repo_group_add.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_group_add.html Sun Dec 04 22:53:36 2016 +0100 @@ -37,7 +37,7 @@
-
+
${h.textarea('group_description',cols=23,rows=5)}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 @@ -12,7 +12,7 @@
-
+
${h.textarea('group_description',cols=23,rows=5)}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/repos/repo_add_base.html Sun Dec 04 22:53:36 2016 +0100 @@ -21,7 +21,7 @@
-
+
${h.textarea('repo_description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 @@ -52,7 +52,7 @@
-
+
${h.textarea('repo_description', style="height:165px")} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/user_groups/user_group_add.html --- a/kallithea/templates/admin/user_groups/user_group_add.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/user_groups/user_group_add.html Sun Dec 04 22:53:36 2016 +0100 @@ -35,7 +35,7 @@
-
+
${h.textarea('user_group_description')} ${_('Short, optional description for this user group.')}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/admin/user_groups/user_group_edit_settings.html --- a/kallithea/templates/admin/user_groups/user_group_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/admin/user_groups/user_group_edit_settings.html Sun Dec 04 22:53:36 2016 +0100 @@ -10,7 +10,7 @@
-
+
${h.textarea('user_group_description')} ${_('Short, optional description for this user group.')}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/forks/fork.html --- a/kallithea/templates/forks/fork.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/forks/fork.html Sun Dec 04 22:53:36 2016 +0100 @@ -33,7 +33,7 @@
-
+
${h.textarea('description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/pullrequests/pullrequest.html --- a/kallithea/templates/pullrequests/pullrequest.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/pullrequests/pullrequest.html Sun Dec 04 22:53:36 2016 +0100 @@ -35,7 +35,7 @@
-
+
${h.textarea('pullrequest_desc',size=30,placeholder=_('Write a short description on this pull request'))}
diff -r 50e9a5b61c59 -r cf3cc1fa4222 kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html Sun Dec 04 22:53:36 2016 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Sun Dec 04 22:53:36 2016 +0100 @@ -56,7 +56,7 @@
-
+
${h.textarea('pullrequest_desc',size=30,content=c.pull_request.description,placeholder=_('Write a short description on this pull request'))}