Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Commit c03dee6

Browse files
committed
Merge pull request nkunihiko#16 from gcaprio/master
Upgrading datetimepicker to 3.0
2 parents 8aa28a6 + 1d8c236 commit c03dee6

File tree

69 files changed

+611
-249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+611
-249
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ Bootstrap3 and jQuery have to be included along with `{{ form.media }}`
9090
Release Notes
9191
-------------------------------
9292

93+
###### v2.3
94+
95+
* Updated bootstrap-datetimepicker.js to version 3.0
96+
97+
9398
###### v2.2.3
9499

95100
* Updated bootstrap-datetimepicker.js to version 2.1.30

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ Bootstrap3 and jQuery have to be included along with
9898
Release Notes
9999
-------------
100100

101+
v2.3
102+
103+
- Updated bootstrap-datetimepicker.js to version 3.0
104+
105+
v2.2.3
106+
107+
- Updated bootstrap-datetimepicker.js to version 2.1.30
108+
109+
101110
v2.2.3
102111

103112
- Updated bootstrap-datetimepicker.js to version 2.1.30

bootstrap3_datetime/static/bootstrap3_datetime/css/bootstrap-datetimepicker.css

100755100644
Lines changed: 47 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,20 @@
1-
/**
2-
* Build file for the dist version of datetimepicker.css
3-
*/
41
/*!
52
* Datetimepicker for Bootstrap v3
63
* https://github.com/Eonasdan/bootstrap-datetimepicker/
7-
* Copyright 2012 Stefan Petre
8-
* Licensed under the Apache License v2.0
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
114
*/
125
.bootstrap-datetimepicker-widget {
136
top: 0;
147
left: 0;
158
width: 250px;
169
padding: 4px;
1710
margin-top: 1px;
18-
z-index: 99999;
11+
z-index: 99999 !important;
1912
border-radius: 4px;
20-
/*.dow {
21-
border-top: 1px solid #ddd !important;
22-
}*/
2313
}
24-
.bootstrap-datetimepicker-widget .btn {
25-
padding: 6px;
14+
.bootstrap-datetimepicker-widget.timepicker-sbs {
15+
width: 600px;
2616
}
27-
.bootstrap-datetimepicker-widget:before {
17+
.bootstrap-datetimepicker-widget.bottom:before {
2818
content: '';
2919
display: inline-block;
3020
border-left: 7px solid transparent;
@@ -33,18 +23,42 @@
3323
border-bottom-color: rgba(0, 0, 0, 0.2);
3424
position: absolute;
3525
top: -7px;
36-
left: 6px;
26+
left: 7px;
3727
}
38-
.bootstrap-datetimepicker-widget:after {
28+
.bootstrap-datetimepicker-widget.bottom:after {
3929
content: '';
4030
display: inline-block;
4131
border-left: 6px solid transparent;
4232
border-right: 6px solid transparent;
4333
border-bottom: 6px solid white;
4434
position: absolute;
4535
top: -6px;
36+
left: 8px;
37+
}
38+
.bootstrap-datetimepicker-widget.top:before {
39+
content: '';
40+
display: inline-block;
41+
border-left: 7px solid transparent;
42+
border-right: 7px solid transparent;
43+
border-top: 7px solid #ccc;
44+
border-top-color: rgba(0, 0, 0, 0.2);
45+
position: absolute;
46+
bottom: -7px;
47+
left: 6px;
48+
}
49+
.bootstrap-datetimepicker-widget.top:after {
50+
content: '';
51+
display: inline-block;
52+
border-left: 6px solid transparent;
53+
border-right: 6px solid transparent;
54+
border-top: 6px solid white;
55+
position: absolute;
56+
bottom: -6px;
4657
left: 7px;
4758
}
59+
.bootstrap-datetimepicker-widget .dow {
60+
width: 14.2857%;
61+
}
4862
.bootstrap-datetimepicker-widget.pull-right:before {
4963
left: auto;
5064
right: 6px;
@@ -97,12 +111,28 @@
97111
.bootstrap-datetimepicker-widget td.new {
98112
color: #999999;
99113
}
114+
.bootstrap-datetimepicker-widget td.today {
115+
position: relative;
116+
}
117+
.bootstrap-datetimepicker-widget td.today:before {
118+
content: '';
119+
display: inline-block;
120+
border-left: 7px solid transparent;
121+
border-bottom: 7px solid #428bca;
122+
border-top-color: rgba(0, 0, 0, 0.2);
123+
position: absolute;
124+
bottom: 4px;
125+
right: 4px;
126+
}
100127
.bootstrap-datetimepicker-widget td.active,
101128
.bootstrap-datetimepicker-widget td.active:hover {
102129
background-color: #428bca;
103130
color: #fff;
104131
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
105132
}
133+
.bootstrap-datetimepicker-widget td.active.today:before {
134+
border-bottom-color: #fff;
135+
}
106136
.bootstrap-datetimepicker-widget td.disabled,
107137
.bootstrap-datetimepicker-widget td.disabled:hover {
108138
background: none;
@@ -169,6 +199,6 @@
169199
left: auto;
170200
right: 7px;
171201
}
172-
.bootstrap-datetimepicker-widget ul.list-unstyled li.in div.timepicker div.timepicker-picker table.table-condensed tbody > tr > td {
202+
.bootstrap-datetimepicker-widget ul.list-unstyled li div.timepicker div.timepicker-picker table.table-condensed tbody > tr > td {
173203
padding: 0px !important;
174204
}

bootstrap3_datetime/static/bootstrap3_datetime/css/bootstrap-datetimepicker.min.css

100755100644
Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)