bootstrap-datetime-picker-for-rails 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +20 -0
  3. data/Rakefile +23 -0
  4. data/lib/bootstrap-datetimepicker-rails.rb +4 -0
  5. data/lib/bootstrap-datetimepicker-rails/engine.rb +4 -0
  6. data/lib/bootstrap-datetimepicker-rails/version.rb +3 -0
  7. data/lib/tasks/bootstrap-datetimepicker-rails_tasks.rake +4 -0
  8. data/vendor/assets/javascripts/bootstrap-datetimepicker/bootstrap-datetimepicker.js +1473 -0
  9. data/vendor/assets/javascripts/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js +1 -0
  10. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.bg.js +16 -0
  11. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.ca.js +16 -0
  12. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.cs.js +17 -0
  13. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.da.js +16 -0
  14. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.de.js +18 -0
  15. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.el.js +15 -0
  16. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.es.js +16 -0
  17. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.fi.js +16 -0
  18. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.fr.js +18 -0
  19. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.he.js +17 -0
  20. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.hr.js +15 -0
  21. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.hu.js +17 -0
  22. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.id.js +15 -0
  23. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.is.js +16 -0
  24. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.it.js +18 -0
  25. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.ja.js +15 -0
  26. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.kr.js +15 -0
  27. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.lt.js +18 -0
  28. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.lv.js +18 -0
  29. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.ms.js +16 -0
  30. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.nb.js +16 -0
  31. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.nl.js +16 -0
  32. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.pl.js +17 -0
  33. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.pt-BR.js +16 -0
  34. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.pt.js +16 -0
  35. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.ro.js +17 -0
  36. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.rs-latin.js +16 -0
  37. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.rs.js +16 -0
  38. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.ru.js +16 -0
  39. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.sk.js +17 -0
  40. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.sl.js +16 -0
  41. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.sv.js +16 -0
  42. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.sw.js +17 -0
  43. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.th.js +16 -0
  44. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.tr.js +17 -0
  45. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.uk.js +16 -0
  46. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
  47. data/vendor/assets/javascripts/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-TW.js +15 -0
  48. data/vendor/assets/stylesheets/bootstrap-datetimepicker.css +366 -0
  49. metadata +116 -0
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Romanian translation for bootstrap-datetimepicker
3
+ * Cristian Vasile <cristi.mie@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['ro'] = {
7
+ days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
8
+ daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
9
+ daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
10
+ months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
11
+ monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
12
+ today: "Astăzi",
13
+ suffix: [],
14
+ meridiem: [],
15
+ weekStart: 1
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Serbian latin translation for bootstrap-datetimepicker
3
+ * Bojan Milosavlević <milboj@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['rs'] = {
7
+ days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
8
+ daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
9
+ daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
10
+ months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12
+ today: "Danas",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Serbian cyrillic translation for bootstrap-datetimepicker
3
+ * Bojan Milosavlević <milboj@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['rs'] = {
7
+ days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
8
+ daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
9
+ daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
10
+ months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
11
+ monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
12
+ today: "Данас",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Russian translation for bootstrap-datetimepicker
3
+ * Victor Taranenko <darwin@snowdale.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['ru'] = {
7
+ days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
8
+ daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
9
+ daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
10
+ months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
11
+ monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
12
+ today: "Сегодня",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Slovak translation for bootstrap-datetimepicker
3
+ * Marek Lichtner <marek@licht.sk>
4
+ * Fixes by Michal Remiš <michal.remis@gmail.com>
5
+ */
6
+ ;(function($){
7
+ $.fn.datetimepicker.dates["sk"] = {
8
+ days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
9
+ daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"],
10
+ daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"],
11
+ months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
12
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
13
+ today: "Dnes",
14
+ suffix: [],
15
+ meridiem: []
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Slovene translation for bootstrap-datetimepicker
3
+ * Gregor Rudolf <gregor.rudolf@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['sl'] = {
7
+ days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
8
+ daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
9
+ daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
10
+ months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12
+ today: "Danes",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Swedish translation for bootstrap-datetimepicker
3
+ * Patrik Ragnarsson <patrik@starkast.net>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['sv'] = {
7
+ days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
8
+ daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
9
+ daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
10
+ months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12
+ today: "I Dag",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Swahili translation for bootstrap-datetimepicker
3
+ * Edwin Mugendi <https://github.com/edwinmugendi>
4
+ * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
5
+ */
6
+ ;(function($){
7
+ $.fn.datetimepicker.dates['sw'] = {
8
+ days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"],
9
+ daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"],
10
+ daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"],
11
+ months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
12
+ monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
13
+ today: "Leo",
14
+ suffix: [],
15
+ meridiem: []
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Thai translation for bootstrap-datetimepicker
3
+ * Suchau Jiraprapot <seroz24@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['th'] = {
7
+ days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
8
+ daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
9
+ daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
10
+ months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
11
+ monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
12
+ today: "วันนี้",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Turkish translation for bootstrap-datetimepicker
3
+ * Serkan Algur <kaisercrazy_2@hotmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['tr'] = {
7
+ days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
8
+ daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
9
+ daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
10
+ months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
11
+ monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
12
+ today: "Bugün",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
17
+
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Ukrainian translation for bootstrap-datetimepicker
3
+ * Andrey Vityuk <andrey [dot] vityuk [at] gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['uk'] = {
7
+ days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"],
8
+ daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
9
+ daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
10
+ months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
11
+ monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
12
+ today: "Сьогодні",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Simplified Chinese translation for bootstrap-datetimepicker
3
+ * Yuan Cheung <advanimal@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['zh-CN'] = {
7
+ days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8
+ daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9
+ daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10
+ months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11
+ monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12
+ today: "今日",
13
+ suffix: [],
14
+ meridiem: []
15
+ };
16
+ }(jQuery));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Traditional Chinese translation for bootstrap-datetimepicker
3
+ * Rung-Sheng Jang <daniel@i-trend.co.cc>
4
+ */
5
+ ;(function($){
6
+ $.fn.datetimepicker.dates['zh-TW'] = {
7
+ days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8
+ daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9
+ daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10
+ months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11
+ monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12
+ suffix: [],
13
+ meridiem: []
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,366 @@
1
+ /*!
2
+ * Datetimepicker for Bootstrap
3
+ *
4
+ * Copyright 2012 Stefan Petre
5
+ * Improvements by Andrew Rowls
6
+ * Licensed under the Apache License v2.0
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ */
10
+ .datetimepicker {
11
+ padding: 4px;
12
+ margin-top: 1px;
13
+ -webkit-border-radius: 4px;
14
+ -moz-border-radius: 4px;
15
+ border-radius: 4px;
16
+ direction: ltr;
17
+ /*.dow {
18
+ border-top: 1px solid #ddd !important;
19
+ }*/
20
+
21
+ }
22
+ .datetimepicker-inline {
23
+ width: 220px;
24
+ }
25
+ .datetimepicker.datetimepicker-rtl {
26
+ direction: rtl;
27
+ }
28
+ .datetimepicker.datetimepicker-rtl table tr td span {
29
+ float: right;
30
+ }
31
+ .datetimepicker-dropdown, .datetimepicker-dropdown-left {
32
+ top: 0;
33
+ left: 0;
34
+ }
35
+ [class*=" datetimepicker-dropdown"]:before {
36
+ content: '';
37
+ display: inline-block;
38
+ border-left: 7px solid transparent;
39
+ border-right: 7px solid transparent;
40
+ border-bottom: 7px solid #ccc;
41
+ border-bottom-color: rgba(0, 0, 0, 0.2);
42
+ position: absolute;
43
+ }
44
+ [class*=" datetimepicker-dropdown"]:after {
45
+ content: '';
46
+ display: inline-block;
47
+ border-left: 6px solid transparent;
48
+ border-right: 6px solid transparent;
49
+ border-bottom: 6px solid #ffffff;
50
+ position: absolute;
51
+ }
52
+ [class*=" datetimepicker-dropdown-top"]:before {
53
+ content: '';
54
+ display: inline-block;
55
+ border-left: 7px solid transparent;
56
+ border-right: 7px solid transparent;
57
+ border-top: 7px solid #ccc;
58
+ border-top-color: rgba(0, 0, 0, 0.2);
59
+ border-bottom: 0;
60
+ }
61
+ [class*=" datetimepicker-dropdown-top"]:after {
62
+ content: '';
63
+ display: inline-block;
64
+ border-left: 6px solid transparent;
65
+ border-right: 6px solid transparent;
66
+ border-top: 6px solid #ffffff;
67
+ border-bottom: 0;
68
+ }
69
+ .datetimepicker-dropdown-bottom-right:before {
70
+ top: -7px;
71
+ right: 6px;
72
+ }
73
+ .datetimepicker-dropdown-bottom-right:after {
74
+ top: -6px;
75
+ right: 7px;
76
+ }
77
+ .datetimepicker-dropdown-bottom-left:before {
78
+ top: -7px;
79
+ left: 6px;
80
+ }
81
+ .datetimepicker-dropdown-bottom-left:after {
82
+ top: -6px;
83
+ left: 7px;
84
+ }
85
+ .datetimepicker-dropdown-top-right:before {
86
+ bottom: -7px;
87
+ right: 6px;
88
+ }
89
+ .datetimepicker-dropdown-top-right:after {
90
+ bottom: -6px;
91
+ right: 7px;
92
+ }
93
+ .datetimepicker-dropdown-top-left:before {
94
+ bottom: -7px;
95
+ left: 6px;
96
+ }
97
+ .datetimepicker-dropdown-top-left:after {
98
+ bottom: -6px;
99
+ left: 7px;
100
+ }
101
+ .datetimepicker > div {
102
+ display: none;
103
+ }
104
+ .datetimepicker.minutes div.datetimepicker-minutes {
105
+ display: block;
106
+ }
107
+ .datetimepicker.hours div.datetimepicker-hours {
108
+ display: block;
109
+ }
110
+ .datetimepicker.days div.datetimepicker-days {
111
+ display: block;
112
+ }
113
+ .datetimepicker.months div.datetimepicker-months {
114
+ display: block;
115
+ }
116
+ .datetimepicker.years div.datetimepicker-years {
117
+ display: block;
118
+ }
119
+ .datetimepicker table {
120
+ margin: 0;
121
+ }
122
+ .datetimepicker td,
123
+ .datetimepicker th {
124
+ text-align: center;
125
+ width: 20px;
126
+ height: 20px;
127
+ -webkit-border-radius: 4px;
128
+ -moz-border-radius: 4px;
129
+ border-radius: 4px;
130
+ border: none;
131
+ }
132
+ .table-striped .datetimepicker table tr td,
133
+ .table-striped .datetimepicker table tr th {
134
+ background-color: transparent;
135
+ }
136
+ .datetimepicker table tr td.minute:hover {
137
+ background: #eeeeee;
138
+ cursor: pointer;
139
+ }
140
+ .datetimepicker table tr td.hour:hover {
141
+ background: #eeeeee;
142
+ cursor: pointer;
143
+ }
144
+ .datetimepicker table tr td.day:hover {
145
+ background: #eeeeee;
146
+ cursor: pointer;
147
+ }
148
+ .datetimepicker table tr td.old,
149
+ .datetimepicker table tr td.new {
150
+ color: #999999;
151
+ }
152
+ .datetimepicker table tr td.disabled,
153
+ .datetimepicker table tr td.disabled:hover {
154
+ background: none;
155
+ color: #999999;
156
+ cursor: default;
157
+ }
158
+ .datetimepicker table tr td.today,
159
+ .datetimepicker table tr td.today:hover,
160
+ .datetimepicker table tr td.today.disabled,
161
+ .datetimepicker table tr td.today.disabled:hover {
162
+ background-color: #fde19a;
163
+ background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
164
+ background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
165
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
166
+ background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
167
+ background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
168
+ background-image: linear-gradient(top, #fdd49a, #fdf59a);
169
+ background-repeat: repeat-x;
170
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
171
+ border-color: #fdf59a #fdf59a #fbed50;
172
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
173
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
174
+ }
175
+ .datetimepicker table tr td.today:hover,
176
+ .datetimepicker table tr td.today:hover:hover,
177
+ .datetimepicker table tr td.today.disabled:hover,
178
+ .datetimepicker table tr td.today.disabled:hover:hover,
179
+ .datetimepicker table tr td.today:active,
180
+ .datetimepicker table tr td.today:hover:active,
181
+ .datetimepicker table tr td.today.disabled:active,
182
+ .datetimepicker table tr td.today.disabled:hover:active,
183
+ .datetimepicker table tr td.today.active,
184
+ .datetimepicker table tr td.today:hover.active,
185
+ .datetimepicker table tr td.today.disabled.active,
186
+ .datetimepicker table tr td.today.disabled:hover.active,
187
+ .datetimepicker table tr td.today.disabled,
188
+ .datetimepicker table tr td.today:hover.disabled,
189
+ .datetimepicker table tr td.today.disabled.disabled,
190
+ .datetimepicker table tr td.today.disabled:hover.disabled,
191
+ .datetimepicker table tr td.today[disabled],
192
+ .datetimepicker table tr td.today:hover[disabled],
193
+ .datetimepicker table tr td.today.disabled[disabled],
194
+ .datetimepicker table tr td.today.disabled:hover[disabled] {
195
+ background-color: #fdf59a;
196
+ }
197
+ .datetimepicker table tr td.today:active,
198
+ .datetimepicker table tr td.today:hover:active,
199
+ .datetimepicker table tr td.today.disabled:active,
200
+ .datetimepicker table tr td.today.disabled:hover:active,
201
+ .datetimepicker table tr td.today.active,
202
+ .datetimepicker table tr td.today:hover.active,
203
+ .datetimepicker table tr td.today.disabled.active,
204
+ .datetimepicker table tr td.today.disabled:hover.active {
205
+ background-color: #fbf069 \9;
206
+ }
207
+ .datetimepicker table tr td.active,
208
+ .datetimepicker table tr td.active:hover,
209
+ .datetimepicker table tr td.active.disabled,
210
+ .datetimepicker table tr td.active.disabled:hover {
211
+ background-color: #006dcc;
212
+ background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
213
+ background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
214
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
215
+ background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
216
+ background-image: -o-linear-gradient(top, #0088cc, #0044cc);
217
+ background-image: linear-gradient(top, #0088cc, #0044cc);
218
+ background-repeat: repeat-x;
219
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
220
+ border-color: #0044cc #0044cc #002a80;
221
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
222
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
223
+ color: #fff;
224
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
225
+ }
226
+ .datetimepicker table tr td.active:hover,
227
+ .datetimepicker table tr td.active:hover:hover,
228
+ .datetimepicker table tr td.active.disabled:hover,
229
+ .datetimepicker table tr td.active.disabled:hover:hover,
230
+ .datetimepicker table tr td.active:active,
231
+ .datetimepicker table tr td.active:hover:active,
232
+ .datetimepicker table tr td.active.disabled:active,
233
+ .datetimepicker table tr td.active.disabled:hover:active,
234
+ .datetimepicker table tr td.active.active,
235
+ .datetimepicker table tr td.active:hover.active,
236
+ .datetimepicker table tr td.active.disabled.active,
237
+ .datetimepicker table tr td.active.disabled:hover.active,
238
+ .datetimepicker table tr td.active.disabled,
239
+ .datetimepicker table tr td.active:hover.disabled,
240
+ .datetimepicker table tr td.active.disabled.disabled,
241
+ .datetimepicker table tr td.active.disabled:hover.disabled,
242
+ .datetimepicker table tr td.active[disabled],
243
+ .datetimepicker table tr td.active:hover[disabled],
244
+ .datetimepicker table tr td.active.disabled[disabled],
245
+ .datetimepicker table tr td.active.disabled:hover[disabled] {
246
+ background-color: #0044cc;
247
+ }
248
+ .datetimepicker table tr td.active:active,
249
+ .datetimepicker table tr td.active:hover:active,
250
+ .datetimepicker table tr td.active.disabled:active,
251
+ .datetimepicker table tr td.active.disabled:hover:active,
252
+ .datetimepicker table tr td.active.active,
253
+ .datetimepicker table tr td.active:hover.active,
254
+ .datetimepicker table tr td.active.disabled.active,
255
+ .datetimepicker table tr td.active.disabled:hover.active {
256
+ background-color: #003399 \9;
257
+ }
258
+ .datetimepicker table tr td span {
259
+ display: block;
260
+ width: 23%;
261
+ height: 54px;
262
+ line-height: 54px;
263
+ float: left;
264
+ margin: 1%;
265
+ cursor: pointer;
266
+ -webkit-border-radius: 4px;
267
+ -moz-border-radius: 4px;
268
+ border-radius: 4px;
269
+ }
270
+ .datetimepicker .datetimepicker-hours span {
271
+ height: 26px;
272
+ line-height: 26px;
273
+ }
274
+ .datetimepicker .datetimepicker-hours table tr td span.hour_am,
275
+ .datetimepicker .datetimepicker-hours table tr td span.hour_pm {
276
+ width: 14.6%;
277
+ }
278
+ .datetimepicker .datetimepicker-hours fieldset legend,
279
+ .datetimepicker .datetimepicker-minutes fieldset legend {
280
+ margin-bottom: inherit;
281
+ line-height: 30px;
282
+ }
283
+ .datetimepicker .datetimepicker-minutes span {
284
+ height: 26px;
285
+ line-height: 26px;
286
+ }
287
+ .datetimepicker table tr td span:hover {
288
+ background: #eeeeee;
289
+ }
290
+ .datetimepicker table tr td span.disabled,
291
+ .datetimepicker table tr td span.disabled:hover {
292
+ background: none;
293
+ color: #999999;
294
+ cursor: default;
295
+ }
296
+ .datetimepicker table tr td span.active,
297
+ .datetimepicker table tr td span.active:hover,
298
+ .datetimepicker table tr td span.active.disabled,
299
+ .datetimepicker table tr td span.active.disabled:hover {
300
+ background-color: #006dcc;
301
+ background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
302
+ background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
303
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
304
+ background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
305
+ background-image: -o-linear-gradient(top, #0088cc, #0044cc);
306
+ background-image: linear-gradient(top, #0088cc, #0044cc);
307
+ background-repeat: repeat-x;
308
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
309
+ border-color: #0044cc #0044cc #002a80;
310
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
311
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
312
+ color: #fff;
313
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
314
+ }
315
+ .datetimepicker table tr td span.active:hover,
316
+ .datetimepicker table tr td span.active:hover:hover,
317
+ .datetimepicker table tr td span.active.disabled:hover,
318
+ .datetimepicker table tr td span.active.disabled:hover:hover,
319
+ .datetimepicker table tr td span.active:active,
320
+ .datetimepicker table tr td span.active:hover:active,
321
+ .datetimepicker table tr td span.active.disabled:active,
322
+ .datetimepicker table tr td span.active.disabled:hover:active,
323
+ .datetimepicker table tr td span.active.active,
324
+ .datetimepicker table tr td span.active:hover.active,
325
+ .datetimepicker table tr td span.active.disabled.active,
326
+ .datetimepicker table tr td span.active.disabled:hover.active,
327
+ .datetimepicker table tr td span.active.disabled,
328
+ .datetimepicker table tr td span.active:hover.disabled,
329
+ .datetimepicker table tr td span.active.disabled.disabled,
330
+ .datetimepicker table tr td span.active.disabled:hover.disabled,
331
+ .datetimepicker table tr td span.active[disabled],
332
+ .datetimepicker table tr td span.active:hover[disabled],
333
+ .datetimepicker table tr td span.active.disabled[disabled],
334
+ .datetimepicker table tr td span.active.disabled:hover[disabled] {
335
+ background-color: #0044cc;
336
+ }
337
+ .datetimepicker table tr td span.active:active,
338
+ .datetimepicker table tr td span.active:hover:active,
339
+ .datetimepicker table tr td span.active.disabled:active,
340
+ .datetimepicker table tr td span.active.disabled:hover:active,
341
+ .datetimepicker table tr td span.active.active,
342
+ .datetimepicker table tr td span.active:hover.active,
343
+ .datetimepicker table tr td span.active.disabled.active,
344
+ .datetimepicker table tr td span.active.disabled:hover.active {
345
+ background-color: #003399 \9;
346
+ }
347
+ .datetimepicker table tr td span.old {
348
+ color: #999999;
349
+ }
350
+ .datetimepicker th.switch {
351
+ width: 145px;
352
+ }
353
+ .datetimepicker thead tr:first-child th,
354
+ .datetimepicker tfoot tr:first-child th {
355
+ cursor: pointer;
356
+ }
357
+ .datetimepicker thead tr:first-child th:hover,
358
+ .datetimepicker tfoot tr:first-child th:hover {
359
+ background: #eeeeee;
360
+ }
361
+ .input-append.date .add-on i,
362
+ .input-prepend.date .add-on i {
363
+ cursor: pointer;
364
+ width: 14px;
365
+ height: 14px;
366
+ }