Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
fix issue #105 - Upgrate buildin version of bootstrap-datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
luzfcb committed Nov 18, 2013
1 parent 04b4d33 commit 6778747
Show file tree
Hide file tree
Showing 53 changed files with 405 additions and 96 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
CHANGELOG
=========

2013-11-18
* Upgrade eternicode/bootstrap-datepicker - issue #105

2013-06-28
* New template tag `bootstrap_button`
* Minor code cleanups
* Updated datepicker to latest version
* Started changelog
* Started changelog
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ More examples

See Django project `demo_project/demo_app` for more examples.

TODO
----

- Create a more easy way to customize BootstrapDateInput


Questions
---------

Expand Down
2 changes: 1 addition & 1 deletion bootstrap_toolkit/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.15.0'
__version__ = '2.15.1'
75 changes: 69 additions & 6 deletions bootstrap_toolkit/static/datepicker/css/datepicker.css
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,47 @@
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-top: 0;
border-bottom-color: rgba(0, 0, 0, 0.2);
position: absolute;
top: -7px;
left: 6px;
}
.datepicker-dropdown:after {
content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #ffffff;
border-top: 0;
position: absolute;
top: -6px;
}
.datepicker-dropdown.datepicker-orient-left:before {
left: 6px;
}
.datepicker-dropdown.datepicker-orient-left:after {
left: 7px;
}
.datepicker-dropdown.datepicker-orient-right:before {
right: 6px;
}
.datepicker-dropdown.datepicker-orient-right:after {
right: 7px;
}
.datepicker-dropdown.datepicker-orient-top:before {
top: -7px;
}
.datepicker-dropdown.datepicker-orient-top:after {
top: -6px;
}
.datepicker-dropdown.datepicker-orient-bottom:before {
bottom: -7px;
border-bottom: 0;
border-top: 7px solid #999;
}
.datepicker-dropdown.datepicker-orient-bottom:after {
bottom: -6px;
border-bottom: 0;
border-top: 6px solid #ffffff;
}
.datepicker > div {
display: none;
}
Expand All @@ -66,6 +92,12 @@
}
.datepicker table {
margin: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.datepicker td,
.datepicker th {
Expand Down Expand Up @@ -413,7 +445,6 @@
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
display: block;
cursor: pointer;
width: 16px;
height: 16px;
Expand All @@ -435,10 +466,10 @@
display: inline-block;
width: auto;
min-width: 16px;
height: 18px;
height: 20px;
padding: 4px 5px;
font-weight: normal;
line-height: 18px;
line-height: 20px;
text-align: center;
text-shadow: 0 1px 0 #ffffff;
vertical-align: middle;
Expand All @@ -447,3 +478,35 @@
margin-left: -5px;
margin-right: -5px;
}
.datepicker.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
list-style: none;
background-color: #ffffff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
*border-right-width: 2px;
*border-bottom-width: 2px;
color: #333333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
line-height: 20px;
}
.datepicker.dropdown-menu th,
.datepicker.dropdown-menu td {
padding: 4px 5px;
}
Loading

0 comments on commit 6778747

Please sign in to comment.