Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
f0986130
Commit
f0986130
authored
Nov 26, 2014
by
Paul Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add select2-bootstrap-css for bootstrap3 styling fixes
use select2-bootstrap-css
parent
09193a4d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
505 additions
and
31 deletions
+505
-31
admin.css
flask_admin/static/admin/css/bootstrap3/admin.css
+7
-31
select2-bootstrap3.css
flask_admin/static/vendor/select2/select2-bootstrap3.css
+497
-0
lib.html
flask_admin/templates/bootstrap3/admin/lib.html
+1
-0
No files found.
flask_admin/static/admin/css/bootstrap3/admin.css
View file @
f0986130
...
@@ -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
;
...
...
flask_admin/static/vendor/select2/select2-bootstrap3.css
0 → 100644
View file @
f0986130
This diff is collapsed.
Click to expand it.
flask_admin/templates/bootstrap3/admin/lib.html
View file @
f0986130
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment