Commit 8237af19 authored by Paul Brown's avatar Paul Brown

bs2 - fix gap between actions and model-list, prevent styling all horizontal forms

parent 51730591
...@@ -40,6 +40,15 @@ table.filters { ...@@ -40,6 +40,15 @@ table.filters {
border-spacing: 4px; border-spacing: 4px;
} }
table.filters:not(:empty) {
margin: 12px 0px 20px 0px;
}
table.filters tr td {
padding-right: 5px;
padding-bottom: 3px;
}
.filters input .filters input
{ {
margin-bottom: 0; margin-bottom: 0;
...@@ -94,13 +103,13 @@ table.filters { ...@@ -94,13 +103,13 @@ table.filters {
} }
/* Forms */ /* Forms */
.form-horizontal .control-label { .admin-form .control-label {
width: 100px; width: 100px;
text-align: left; text-align: left;
margin-left: 4px; margin-left: 4px;
} }
.form-horizontal .controls { .admin-form .controls {
margin-left: 110px; margin-left: 110px;
} }
...@@ -112,3 +121,20 @@ table.filters { ...@@ -112,3 +121,20 @@ table.filters {
.list-checkbox-column { .list-checkbox-column {
width: 14px; width: 14px;
} }
/* Fix gap between actions and table */
.model-list {
position: relative;
margin-top: -1px;
z-index: 999;
}
.actions-nav {
margin-bottom: 0;
margin-left: 4px;
margin-right: 4px;
}
#filter_form {
margin-bottom: 0;
}
\ No newline at end of file
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
{% endmacro %} {% endmacro %}
{% macro form_tag(form=None) %} {% macro form_tag(form=None) %}
<form action="" method="POST" class="form-horizontal" enctype="multipart/form-data"> <form action="" method="POST" class="admin-form form-horizontal" enctype="multipart/form-data">
<fieldset> <fieldset>
{{ caller() }} {{ caller() }}
</fieldset> </fieldset>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment