Commit f0986130 authored by Paul Brown's avatar Paul Brown

add select2-bootstrap-css for bootstrap3 styling fixes

use select2-bootstrap-css
parent 09193a4d
...@@ -60,14 +60,6 @@ table.flters tr td:nth-child(2){ ...@@ -60,14 +60,6 @@ table.flters tr td:nth-child(2){
width: 60%; width: 60%;
} }
.filters input, .filters div.select2-container {
margin-bottom: 0px;
}
.filters div.select2-container {
width: 100% !important;
}
.filters a.remove-filter { .filters a.remove-filter {
margin-bottom: 0; margin-bottom: 0;
display: block; display: block;
...@@ -91,9 +83,13 @@ table.flters tr td:nth-child(2){ ...@@ -91,9 +83,13 @@ table.flters tr td:nth-child(2){
opacity: 0.4; opacity: 0.4;
} }
.filters .filter-op > a { /* filters */
height: 28px; .filters .filter-op {
line-height: 28px; width: 130px;
}
.filters .filter-val {
width: 220px;
} }
/* Inline forms */ /* Inline forms */
...@@ -139,26 +135,6 @@ td>span.glyphicon { ...@@ -139,26 +135,6 @@ td>span.glyphicon {
padding-left: 35%; padding-left: 35%;
} }
/* Patch Select2 */
.select2-results li {
min-height: 24px !important;
}
.select2-container.form-control {
height: auto !important;
padding: 0px;
border-width: 0px;
}
form .select2-choice {
height: 30px !important;
}
.select2-search-choice {
height: 24px !important;
margin-top: 4px !important;
}
/* link style */ /* link style */
a.btn-cancel { a.btn-cancel {
border-radius: 4px; border-radius: 4px;
......
This diff is collapsed.
...@@ -166,6 +166,7 @@ ...@@ -166,6 +166,7 @@
{% macro form_css() %} {% macro form_css() %}
<link href="{{ admin_static.url(filename='vendor/select2/select2.css') }}" rel="stylesheet"> <link href="{{ admin_static.url(filename='vendor/select2/select2.css') }}" rel="stylesheet">
<link href="{{ admin_static.url(filename='vendor/select2/select2-bootstrap3.css') }}" rel="stylesheet">
<link href="{{ admin_static.url(filename='vendor/bootstrap-daterangepicker/daterangepicker-bs3.css') }}" rel="stylesheet"> <link href="{{ admin_static.url(filename='vendor/bootstrap-daterangepicker/daterangepicker-bs3.css') }}" rel="stylesheet">
{% if config.MAPBOX_MAP_ID %} {% if config.MAPBOX_MAP_ID %}
<link href="{{ admin_static.url(filename='vendor/leaflet/leaflet.css') }}" rel="stylesheet"> <link href="{{ admin_static.url(filename='vendor/leaflet/leaflet.css') }}" rel="stylesheet">
......
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