camaleon_cms 2.1.1 → 2.1.1.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of camaleon_cms might be problematic. Click here for more details.

Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -1
  3. data/app/apps/plugins/attack/config/locales/translation.yml +20 -1
  4. data/app/apps/plugins/contact_form/config/locales/translation.yml +106 -1
  5. data/app/apps/plugins/contact_form/contact_form_helper.rb +44 -27
  6. data/app/apps/plugins/front_cache/config/locales/translation.yml +21 -1
  7. data/app/apps/plugins/front_cache/front_cache_helper.rb +1 -1
  8. data/app/apps/plugins/visibility_post/assets/js/form.js +1 -3
  9. data/app/apps/plugins/visibility_post/visibility_post_helper.rb +2 -4
  10. data/app/assets/images/camaleon_cms/language/de.png +0 -0
  11. data/app/assets/images/camaleon_cms/language/en.png +0 -0
  12. data/app/assets/images/camaleon_cms/language/es.png +0 -0
  13. data/app/assets/images/camaleon_cms/language/fr.png +0 -0
  14. data/app/assets/images/camaleon_cms/language/it.png +0 -0
  15. data/app/assets/images/camaleon_cms/language/nl.png +0 -0
  16. data/app/assets/images/camaleon_cms/language/pl.png +0 -0
  17. data/app/assets/images/camaleon_cms/language/pt.png +0 -0
  18. data/app/assets/images/camaleon_cms/language/pt_br.png +0 -0
  19. data/app/assets/images/camaleon_cms/language/ru.png +0 -0
  20. data/app/assets/images/camaleon_cms/language/zh.png +0 -0
  21. data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +3 -11
  22. data/app/assets/javascripts/camaleon_cms/admin/_data.js +2 -6
  23. data/app/assets/javascripts/camaleon_cms/admin/_libraries.js +11 -229
  24. data/app/assets/javascripts/camaleon_cms/admin/_modal.js +11 -37
  25. data/app/assets/javascripts/camaleon_cms/admin/_post.js +27 -22
  26. data/app/assets/javascripts/camaleon_cms/admin/_translator.js +2 -1
  27. data/app/assets/javascripts/camaleon_cms/admin/admin-manifest.js +6 -2
  28. data/app/assets/javascripts/camaleon_cms/admin/bootstrap-datepicker.js +2557 -1689
  29. data/app/assets/javascripts/camaleon_cms/admin/jquery.validate.js +119 -1361
  30. data/app/assets/javascripts/camaleon_cms/admin/jquery_validate/nl.js +33 -0
  31. data/app/assets/javascripts/camaleon_cms/admin/momentjs/_moment.js +3606 -0
  32. data/app/assets/javascripts/camaleon_cms/admin/momentjs/ar.js +136 -0
  33. data/app/assets/javascripts/camaleon_cms/admin/momentjs/ca.js +79 -0
  34. data/app/assets/javascripts/camaleon_cms/admin/momentjs/de.js +76 -0
  35. data/app/assets/javascripts/camaleon_cms/admin/momentjs/es.js +79 -0
  36. data/app/assets/javascripts/camaleon_cms/admin/momentjs/fr.js +62 -0
  37. data/app/assets/javascripts/camaleon_cms/admin/momentjs/it.js +70 -0
  38. data/app/assets/javascripts/camaleon_cms/admin/momentjs/ja.js +65 -0
  39. data/app/assets/javascripts/camaleon_cms/admin/momentjs/nl.js +71 -0
  40. data/app/assets/javascripts/camaleon_cms/admin/momentjs/pl.js +105 -0
  41. data/app/assets/javascripts/camaleon_cms/admin/momentjs/pt.js +64 -0
  42. data/app/assets/javascripts/camaleon_cms/admin/momentjs/pt_br.js +60 -0
  43. data/app/assets/javascripts/camaleon_cms/admin/momentjs/ru.js +166 -0
  44. data/app/assets/javascripts/camaleon_cms/admin/momentjs/zh.js +127 -0
  45. data/app/assets/javascripts/camaleon_cms/admin/nav-menu.js +15 -25
  46. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/nl.js +219 -0
  47. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js.coffee +82 -19
  48. data/app/assets/javascripts/camaleon_cms/admin/user_profile.js +8 -8
  49. data/app/assets/stylesheets/camaleon_cms/admin/_custom_admin.css.scss +19 -2
  50. data/app/assets/stylesheets/camaleon_cms/admin/admin-manifest.css +0 -4
  51. data/app/assets/stylesheets/camaleon_cms/admin/bootstrap-datepicker.css.scss +315 -414
  52. data/app/assets/stylesheets/camaleon_cms/admin/uploader/_uploadfile.css.scss +7 -3
  53. data/app/controllers/camaleon_cms/admin/appearances/nav_menus_controller.rb +9 -5
  54. data/app/controllers/camaleon_cms/admin/categories_controller.rb +5 -0
  55. data/app/controllers/camaleon_cms/admin/media_controller.rb +27 -10
  56. data/app/controllers/camaleon_cms/admin/posts_controller.rb +9 -19
  57. data/app/controllers/camaleon_cms/admin/sessions_controller.rb +3 -10
  58. data/app/controllers/camaleon_cms/admin/settings/custom_fields_controller.rb +0 -1
  59. data/app/controllers/camaleon_cms/admin/settings/sites_controller.rb +6 -1
  60. data/app/controllers/camaleon_cms/admin/users_controller.rb +1 -8
  61. data/app/controllers/camaleon_cms/admin_controller.rb +5 -4
  62. data/app/controllers/camaleon_cms/apps/plugins_front_controller.rb +0 -8
  63. data/app/controllers/camaleon_cms/camaleon_controller.rb +6 -1
  64. data/app/controllers/camaleon_cms/frontend_controller.rb +11 -8
  65. data/app/decorators/camaleon_cms/category_decorator.rb +2 -1
  66. data/app/decorators/camaleon_cms/post_decorator.rb +28 -1
  67. data/app/decorators/camaleon_cms/post_tag_decorator.rb +1 -0
  68. data/app/decorators/camaleon_cms/post_type_decorator.rb +17 -0
  69. data/app/decorators/camaleon_cms/site_decorator.rb +22 -7
  70. data/app/decorators/camaleon_cms/user_decorator.rb +1 -0
  71. data/app/helpers/camaleon_cms/admin/application_helper.rb +3 -2
  72. data/app/helpers/camaleon_cms/admin/custom_fields_helper.rb +13 -25
  73. data/app/helpers/camaleon_cms/admin/post_type_helper.rb +27 -2
  74. data/app/helpers/camaleon_cms/camaleon_helper.rb +0 -16
  75. data/app/helpers/camaleon_cms/captcha_helper.rb +9 -3
  76. data/app/helpers/camaleon_cms/email_helper.rb +27 -8
  77. data/app/helpers/camaleon_cms/frontend/nav_menu_helper.rb +21 -17
  78. data/app/helpers/camaleon_cms/frontend/seo_helper.rb +5 -3
  79. data/app/helpers/camaleon_cms/html_helper.rb +2 -2
  80. data/app/helpers/camaleon_cms/site_helper.rb +10 -14
  81. data/app/helpers/camaleon_cms/uploader_helper.rb +119 -31
  82. data/app/mailers/camaleon_cms/html_mailer.rb +26 -20
  83. data/app/models/camaleon_cms/custom_field.rb +1 -0
  84. data/app/models/camaleon_cms/custom_field_group.rb +2 -1
  85. data/app/models/camaleon_cms/nav_menu.rb +6 -7
  86. data/app/models/camaleon_cms/nav_menu_item.rb +2 -1
  87. data/app/models/camaleon_cms/post.rb +29 -2
  88. data/app/models/camaleon_cms/post_type.rb +20 -1
  89. data/app/models/camaleon_cms/site.rb +19 -19
  90. data/app/models/camaleon_cms/term_taxonomy.rb +1 -1
  91. data/app/models/concerns/camaleon_cms/custom_fields_read.rb +6 -4
  92. data/app/models/concerns/camaleon_cms/metas.rb +5 -4
  93. data/app/views/camaleon_cms/admin/appearances/nav_menus/_custom_fields.html.erb +4 -2
  94. data/app/views/camaleon_cms/admin/appearances/nav_menus/_external_menu.html.erb +1 -1
  95. data/app/views/camaleon_cms/admin/appearances/nav_menus/index.html.erb +3 -6
  96. data/app/views/camaleon_cms/admin/categories/index.html.erb +1 -0
  97. data/app/views/camaleon_cms/admin/media/_files_list.html.erb +3 -3
  98. data/app/views/camaleon_cms/admin/media/_render_file_item.html.erb +3 -2
  99. data/app/views/camaleon_cms/admin/media/index.html.erb +31 -4
  100. data/app/views/camaleon_cms/admin/posts/_sidebar.html.erb +10 -1
  101. data/app/views/camaleon_cms/admin/posts/form.html.erb +6 -2
  102. data/app/views/camaleon_cms/admin/posts/index.html.erb +4 -4
  103. data/app/views/camaleon_cms/admin/search.html.erb +5 -3
  104. data/app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb +5 -5
  105. data/app/views/camaleon_cms/admin/settings/custom_fields/_get_items.html.erb +2 -1
  106. data/app/views/camaleon_cms/admin/settings/custom_fields/_render.html.erb +1 -1
  107. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_date.html.erb +3 -4
  108. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb +1 -1
  109. data/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb +2 -2
  110. data/app/views/camaleon_cms/admin/settings/post_types/_form.html.erb +11 -1
  111. data/app/views/camaleon_cms/admin/settings/post_types/index.html.erb +1 -0
  112. data/app/views/camaleon_cms/admin/users/form.html.erb +30 -55
  113. data/app/views/camaleon_cms/html_mailer/mailer.html.erb +1 -1
  114. data/app/views/camaleon_cms/html_mailer/password_reset.html.erb +3 -0
  115. data/app/views/layouts/camaleon_cms/admin.html.erb +4 -1
  116. data/app/views/layouts/camaleon_cms/admin/_ajax.html.erb +3 -1
  117. data/app/views/layouts/camaleon_cms/admin/_footer.html.erb +1 -1
  118. data/app/views/layouts/camaleon_cms/admin/_header.html.erb +1 -1
  119. data/config/initializers/assets.rb +4 -2
  120. data/config/initializers/model_alias.rb +11 -0
  121. data/config/locales/camaleon_cms/admin/en.yml +2 -0
  122. data/config/locales/camaleon_cms/admin/es.yml +2 -1
  123. data/config/locales/camaleon_cms/admin/it.yml +1 -0
  124. data/config/locales/camaleon_cms/admin/js.yml +42 -1
  125. data/config/locales/camaleon_cms/admin/nl.yml +659 -0
  126. data/config/locales/camaleon_cms/admin/pt_br.yml +1 -0
  127. data/config/locales/camaleon_cms/admin/ru.yml +659 -0
  128. data/config/locales/camaleon_cms/common.yml +127 -0
  129. data/config/locales/camaleon_cms/languages.yml +16 -0
  130. data/config/locales/camaleon_cms/routes.yml +8 -0
  131. data/config/locales/nl.yml +209 -0
  132. data/config/routes.rb +1 -1
  133. data/config/routes/admin.rb +5 -4
  134. data/config/routes/frontend.rb +16 -3
  135. data/config/system.json +2 -3
  136. data/lib/camaleon_cms/engine.rb +5 -1
  137. data/lib/camaleon_cms/version.rb +1 -1
  138. data/lib/ext/array.rb +5 -0
  139. data/lib/generators/camaleon_cms/gem_plugin_generator.rb +1 -1
  140. data/lib/generators/camaleon_cms/gem_plugin_template/app/models/plugins/my_plugin/my_plugin.rb +1 -2
  141. data/lib/generators/camaleon_cms/gem_plugin_template/config/{custom_models.rb → initializers/custom_models.rb} +0 -0
  142. data/lib/plugin_routes.rb +38 -63
  143. data/lib/tasks/camaleon_cms/camaleon_tasks.rake +18 -0
  144. data/lib/tasks/camaleon_cms/rspec_test.rake +7 -4
  145. metadata +43 -54
  146. data/app/assets/javascripts/camaleon_cms/admin/bootstrap-datetimepicker.min.js +0 -26
  147. data/app/assets/javascripts/camaleon_cms/admin/plugins.js +0 -637
  148. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
  149. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
  150. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
  151. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
  152. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
  153. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
  154. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
  155. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
  156. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
  157. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
  158. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
  159. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
  160. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
  161. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
  162. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
  163. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
  164. data/app/assets/javascripts/camaleon_cms/admin/tinymce/plugins/visualblocks/css/visualblocks.css +0 -135
  165. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/content.min.css.scss +0 -4
  166. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
  167. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce-small.svg +0 -62
  168. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  169. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
  170. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  171. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce.svg +0 -83
  172. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  173. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  174. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/img/anchor.gif +0 -0
  175. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/img/loader.gif +0 -0
  176. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/img/object.gif +0 -0
  177. data/app/assets/javascripts/camaleon_cms/admin/tinymce/skins/lightgray/img/trans.gif +0 -0
  178. data/app/assets/javascripts/camaleon_cms/admin/tinymce/themes/modern/theme.min.js +0 -1
  179. data/app/assets/javascripts/camaleon_cms/admin/tinymce/tinymce.min.js +0 -11
  180. data/app/assets/stylesheets/camaleon_cms/admin/bootstrap-datetimepicker.css.scss +0 -339
@@ -2,14 +2,14 @@ jQuery(function ($) {
2
2
  var form = $("#user_form");
3
3
  form.validate();
4
4
 
5
- $('#profie-form-ajax-password').ajaxForm({
6
- beforeSend: function () {
7
- showLoading();
8
- }, success: function (res) {
9
- $("#modal_change_password .modal-body").flash_message(res);
10
- hideLoading();
11
- }
12
- });
5
+ $('#profie-form-ajax-password').validate({submitHandler: function(){
6
+ showLoading();
7
+ var form2 = $(this.currentForm);
8
+ $.post(form2.attr("action"), form2.serialize(), function(res){
9
+ form2.flash_message(res);
10
+ }).complete(function(){ hideLoading(); });
11
+ return false;
12
+ } });
13
13
 
14
14
 
15
15
  // on success photo crop
@@ -21,7 +21,7 @@
21
21
  display: none;
22
22
  }
23
23
  .panel-heading {
24
- overflow: hidden;
24
+ //overflow: hidden;
25
25
  position: relative;
26
26
  .panel-controls {
27
27
  float: right;
@@ -264,4 +264,21 @@ input.code_style{
264
264
  // fix tab content padding
265
265
  .tab-content > .tab-pane{
266
266
  padding-top: 5px;
267
- }
267
+ }
268
+ .content-upload-plugin{
269
+ min-height: 45px;
270
+ position: relative;
271
+ .rm-file{
272
+ position: absolute;
273
+ top: 100%;
274
+ margin-top: -22px;
275
+ }
276
+ img{
277
+ max-height: 100px;
278
+ max-width: 200px;
279
+ }
280
+ }
281
+ label.error, span.error{
282
+ color: #a94442;
283
+ font-size: 11px;
284
+ }
@@ -15,7 +15,6 @@
15
15
  *= require ./lte/skins/skin-blue
16
16
  *= require ./_custom_admin
17
17
 
18
- *= require ./bootstrap-datetimepicker
19
18
  *= require ./bootstrap-datepicker
20
19
  *= require ./introjs/_introjs.min
21
20
  *= require ./tageditor/_jquery.tag-editor
@@ -24,9 +23,6 @@
24
23
 
25
24
 
26
25
 
27
- // tinymce
28
- *= require camaleon_cms/admin/tinymce/skins/lightgray/content.min
29
-
30
26
  // post
31
27
  *= require ./_jquery.tagsinput
32
28
  */
@@ -1,472 +1,373 @@
1
1
  /*!
2
- * Datepicker for Bootstrap v1.5.0-dev (https://github.com/eternicode/bootstrap-datepicker)
3
- *
4
- * Copyright 2012 Stefan Petre
5
- * Improvements by Andrew Rowls
6
- * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
2
+ * Datetimepicker for Bootstrap 3
3
+ * version : 4.15.35
4
+ * https://github.com/Eonasdan/bootstrap-datetimepicker/
7
5
  */
8
- .datepicker {
9
- padding: 4px;
10
- -webkit-border-radius: 4px;
11
- -moz-border-radius: 4px;
12
- border-radius: 4px;
13
- direction: ltr;
6
+ .bootstrap-datetimepicker-widget {
7
+ list-style: none;
14
8
  }
15
- .datepicker-inline {
16
- width: 220px;
9
+ .bootstrap-datetimepicker-widget.dropdown-menu {
10
+ margin: 2px 0;
11
+ padding: 4px;
12
+ width: 19em;
17
13
  }
18
- .datepicker.datepicker-rtl {
19
- direction: rtl;
14
+ @media (min-width: 768px) {
15
+ .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
16
+ width: 38em;
17
+ }
20
18
  }
21
- .datepicker.datepicker-rtl table tr td span {
22
- float: right;
19
+ @media (min-width: 992px) {
20
+ .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
21
+ width: 38em;
22
+ }
23
23
  }
24
- .datepicker-dropdown {
25
- top: 0;
26
- left: 0;
24
+ @media (min-width: 1200px) {
25
+ .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
26
+ width: 38em;
27
+ }
27
28
  }
28
- .datepicker-dropdown:before {
29
+ .bootstrap-datetimepicker-widget.dropdown-menu:before,
30
+ .bootstrap-datetimepicker-widget.dropdown-menu:after {
29
31
  content: '';
30
32
  display: inline-block;
33
+ position: absolute;
34
+ }
35
+ .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
31
36
  border-left: 7px solid transparent;
32
37
  border-right: 7px solid transparent;
33
- border-bottom: 7px solid #999999;
34
- border-top: 0;
38
+ border-bottom: 7px solid #cccccc;
35
39
  border-bottom-color: rgba(0, 0, 0, 0.2);
36
- position: absolute;
40
+ top: -7px;
41
+ left: 7px;
37
42
  }
38
- .datepicker-dropdown:after {
39
- content: '';
40
- display: inline-block;
43
+ .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
41
44
  border-left: 6px solid transparent;
42
45
  border-right: 6px solid transparent;
43
- border-bottom: 6px solid #ffffff;
44
- border-top: 0;
45
- position: absolute;
46
+ border-bottom: 6px solid white;
47
+ top: -6px;
48
+ left: 8px;
46
49
  }
47
- .datepicker-dropdown.datepicker-orient-left:before {
50
+ .bootstrap-datetimepicker-widget.dropdown-menu.top:before {
51
+ border-left: 7px solid transparent;
52
+ border-right: 7px solid transparent;
53
+ border-top: 7px solid #cccccc;
54
+ border-top-color: rgba(0, 0, 0, 0.2);
55
+ bottom: -7px;
48
56
  left: 6px;
49
57
  }
50
- .datepicker-dropdown.datepicker-orient-left:after {
58
+ .bootstrap-datetimepicker-widget.dropdown-menu.top:after {
59
+ border-left: 6px solid transparent;
60
+ border-right: 6px solid transparent;
61
+ border-top: 6px solid white;
62
+ bottom: -6px;
51
63
  left: 7px;
52
64
  }
53
- .datepicker-dropdown.datepicker-orient-right:before {
65
+ .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
66
+ left: auto;
54
67
  right: 6px;
55
68
  }
56
- .datepicker-dropdown.datepicker-orient-right:after {
69
+ .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
70
+ left: auto;
57
71
  right: 7px;
58
72
  }
59
- .datepicker-dropdown.datepicker-orient-bottom:before {
60
- top: -7px;
73
+ .bootstrap-datetimepicker-widget .list-unstyled {
74
+ margin: 0;
61
75
  }
62
- .datepicker-dropdown.datepicker-orient-bottom:after {
63
- top: -6px;
76
+ .bootstrap-datetimepicker-widget a[data-action] {
77
+ padding: 6px 0;
64
78
  }
65
- .datepicker-dropdown.datepicker-orient-top:before {
66
- bottom: -7px;
67
- border-bottom: 0;
68
- border-top: 7px solid #999999;
79
+ .bootstrap-datetimepicker-widget a[data-action]:active {
80
+ box-shadow: none;
69
81
  }
70
- .datepicker-dropdown.datepicker-orient-top:after {
71
- bottom: -6px;
72
- border-bottom: 0;
73
- border-top: 6px solid #ffffff;
82
+ .bootstrap-datetimepicker-widget .timepicker-hour,
83
+ .bootstrap-datetimepicker-widget .timepicker-minute,
84
+ .bootstrap-datetimepicker-widget .timepicker-second {
85
+ width: 54px;
86
+ font-weight: bold;
87
+ font-size: 1.2em;
88
+ margin: 0;
89
+ }
90
+ .bootstrap-datetimepicker-widget button[data-action] {
91
+ padding: 6px;
92
+ }
93
+ .bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
94
+ position: absolute;
95
+ width: 1px;
96
+ height: 1px;
97
+ margin: -1px;
98
+ padding: 0;
99
+ overflow: hidden;
100
+ clip: rect(0, 0, 0, 0);
101
+ border: 0;
102
+ content: "Increment Hours";
103
+ }
104
+ .bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
105
+ position: absolute;
106
+ width: 1px;
107
+ height: 1px;
108
+ margin: -1px;
109
+ padding: 0;
110
+ overflow: hidden;
111
+ clip: rect(0, 0, 0, 0);
112
+ border: 0;
113
+ content: "Increment Minutes";
114
+ }
115
+ .bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
116
+ position: absolute;
117
+ width: 1px;
118
+ height: 1px;
119
+ margin: -1px;
120
+ padding: 0;
121
+ overflow: hidden;
122
+ clip: rect(0, 0, 0, 0);
123
+ border: 0;
124
+ content: "Decrement Hours";
125
+ }
126
+ .bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
127
+ position: absolute;
128
+ width: 1px;
129
+ height: 1px;
130
+ margin: -1px;
131
+ padding: 0;
132
+ overflow: hidden;
133
+ clip: rect(0, 0, 0, 0);
134
+ border: 0;
135
+ content: "Decrement Minutes";
136
+ }
137
+ .bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
138
+ position: absolute;
139
+ width: 1px;
140
+ height: 1px;
141
+ margin: -1px;
142
+ padding: 0;
143
+ overflow: hidden;
144
+ clip: rect(0, 0, 0, 0);
145
+ border: 0;
146
+ content: "Show Hours";
147
+ }
148
+ .bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
149
+ position: absolute;
150
+ width: 1px;
151
+ height: 1px;
152
+ margin: -1px;
153
+ padding: 0;
154
+ overflow: hidden;
155
+ clip: rect(0, 0, 0, 0);
156
+ border: 0;
157
+ content: "Show Minutes";
158
+ }
159
+ .bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
160
+ position: absolute;
161
+ width: 1px;
162
+ height: 1px;
163
+ margin: -1px;
164
+ padding: 0;
165
+ overflow: hidden;
166
+ clip: rect(0, 0, 0, 0);
167
+ border: 0;
168
+ content: "Toggle AM/PM";
169
+ }
170
+ .bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
171
+ position: absolute;
172
+ width: 1px;
173
+ height: 1px;
174
+ margin: -1px;
175
+ padding: 0;
176
+ overflow: hidden;
177
+ clip: rect(0, 0, 0, 0);
178
+ border: 0;
179
+ content: "Clear the picker";
180
+ }
181
+ .bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
182
+ position: absolute;
183
+ width: 1px;
184
+ height: 1px;
185
+ margin: -1px;
186
+ padding: 0;
187
+ overflow: hidden;
188
+ clip: rect(0, 0, 0, 0);
189
+ border: 0;
190
+ content: "Set the date to today";
191
+ }
192
+ .bootstrap-datetimepicker-widget .picker-switch {
193
+ text-align: center;
74
194
  }
75
- .datepicker > div {
76
- display: none;
195
+ .bootstrap-datetimepicker-widget .picker-switch::after {
196
+ position: absolute;
197
+ width: 1px;
198
+ height: 1px;
199
+ margin: -1px;
200
+ padding: 0;
201
+ overflow: hidden;
202
+ clip: rect(0, 0, 0, 0);
203
+ border: 0;
204
+ content: "Toggle Date and Time Screens";
205
+ }
206
+ .bootstrap-datetimepicker-widget .picker-switch td {
207
+ padding: 0;
208
+ margin: 0;
209
+ height: auto;
210
+ width: auto;
211
+ line-height: inherit;
77
212
  }
78
- .datepicker table {
213
+ .bootstrap-datetimepicker-widget .picker-switch td span {
214
+ line-height: 2.5;
215
+ height: 2.5em;
216
+ width: 100%;
217
+ }
218
+ .bootstrap-datetimepicker-widget table {
219
+ width: 100%;
79
220
  margin: 0;
80
- -webkit-touch-callout: none;
81
- -webkit-user-select: none;
82
- -khtml-user-select: none;
83
- -moz-user-select: none;
84
- -ms-user-select: none;
85
- user-select: none;
86
- }
87
- .datepicker td,
88
- .datepicker th {
221
+ }
222
+ .bootstrap-datetimepicker-widget table td,
223
+ .bootstrap-datetimepicker-widget table th {
89
224
  text-align: center;
225
+ border-radius: 4px;
226
+ }
227
+ .bootstrap-datetimepicker-widget table th {
228
+ height: 20px;
229
+ line-height: 20px;
90
230
  width: 20px;
231
+ }
232
+ .bootstrap-datetimepicker-widget table th.picker-switch {
233
+ width: 145px;
234
+ }
235
+ .bootstrap-datetimepicker-widget table th.disabled,
236
+ .bootstrap-datetimepicker-widget table th.disabled:hover {
237
+ background: none;
238
+ color: #777777;
239
+ cursor: not-allowed;
240
+ }
241
+ .bootstrap-datetimepicker-widget table th.prev::after {
242
+ position: absolute;
243
+ width: 1px;
244
+ height: 1px;
245
+ margin: -1px;
246
+ padding: 0;
247
+ overflow: hidden;
248
+ clip: rect(0, 0, 0, 0);
249
+ border: 0;
250
+ content: "Previous Month";
251
+ }
252
+ .bootstrap-datetimepicker-widget table th.next::after {
253
+ position: absolute;
254
+ width: 1px;
255
+ height: 1px;
256
+ margin: -1px;
257
+ padding: 0;
258
+ overflow: hidden;
259
+ clip: rect(0, 0, 0, 0);
260
+ border: 0;
261
+ content: "Next Month";
262
+ }
263
+ .bootstrap-datetimepicker-widget table thead tr:first-child th {
264
+ cursor: pointer;
265
+ }
266
+ .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
267
+ background: #eeeeee;
268
+ }
269
+ .bootstrap-datetimepicker-widget table td {
270
+ height: 54px;
271
+ line-height: 54px;
272
+ width: 54px;
273
+ }
274
+ .bootstrap-datetimepicker-widget table td.cw {
275
+ font-size: .8em;
91
276
  height: 20px;
92
- -webkit-border-radius: 4px;
93
- -moz-border-radius: 4px;
94
- border-radius: 4px;
95
- border: none;
277
+ line-height: 20px;
278
+ color: #777777;
96
279
  }
97
- .table-striped .datepicker table tr td,
98
- .table-striped .datepicker table tr th {
99
- background-color: transparent;
280
+ .bootstrap-datetimepicker-widget table td.day {
281
+ height: 20px;
282
+ line-height: 20px;
283
+ width: 20px;
100
284
  }
101
- .datepicker table tr td.day:hover,
102
- .datepicker table tr td.day.focused {
285
+ .bootstrap-datetimepicker-widget table td.day:hover,
286
+ .bootstrap-datetimepicker-widget table td.hour:hover,
287
+ .bootstrap-datetimepicker-widget table td.minute:hover,
288
+ .bootstrap-datetimepicker-widget table td.second:hover {
103
289
  background: #eeeeee;
104
290
  cursor: pointer;
105
291
  }
106
- .datepicker table tr td.old,
107
- .datepicker table tr td.new {
108
- color: #999999;
292
+ .bootstrap-datetimepicker-widget table td.old,
293
+ .bootstrap-datetimepicker-widget table td.new {
294
+ color: #777777;
109
295
  }
110
- .datepicker table tr td.disabled,
111
- .datepicker table tr td.disabled:hover {
112
- background: none;
113
- color: #999999;
114
- cursor: default;
115
- }
116
- .datepicker table tr td.highlighted {
117
- background: #d9edf7;
118
- border-radius: 0;
119
- }
120
- .datepicker table tr td.today,
121
- .datepicker table tr td.today:hover,
122
- .datepicker table tr td.today.disabled,
123
- .datepicker table tr td.today.disabled:hover {
124
- background-color: #fde19a;
125
- background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
126
- background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
127
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
128
- background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
129
- background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
130
- background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
131
- background-repeat: repeat-x;
132
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
133
- border-color: #fdf59a #fdf59a #fbed50;
134
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
135
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
136
- color: #000;
137
- }
138
- .datepicker table tr td.today:hover,
139
- .datepicker table tr td.today:hover:hover,
140
- .datepicker table tr td.today.disabled:hover,
141
- .datepicker table tr td.today.disabled:hover:hover,
142
- .datepicker table tr td.today:active,
143
- .datepicker table tr td.today:hover:active,
144
- .datepicker table tr td.today.disabled:active,
145
- .datepicker table tr td.today.disabled:hover:active,
146
- .datepicker table tr td.today.active,
147
- .datepicker table tr td.today:hover.active,
148
- .datepicker table tr td.today.disabled.active,
149
- .datepicker table tr td.today.disabled:hover.active,
150
- .datepicker table tr td.today.disabled,
151
- .datepicker table tr td.today:hover.disabled,
152
- .datepicker table tr td.today.disabled.disabled,
153
- .datepicker table tr td.today.disabled:hover.disabled,
154
- .datepicker table tr td.today[disabled],
155
- .datepicker table tr td.today:hover[disabled],
156
- .datepicker table tr td.today.disabled[disabled],
157
- .datepicker table tr td.today.disabled:hover[disabled] {
158
- background-color: #fdf59a;
159
- }
160
- .datepicker table tr td.today:active,
161
- .datepicker table tr td.today:hover:active,
162
- .datepicker table tr td.today.disabled:active,
163
- .datepicker table tr td.today.disabled:hover:active,
164
- .datepicker table tr td.today.active,
165
- .datepicker table tr td.today:hover.active,
166
- .datepicker table tr td.today.disabled.active,
167
- .datepicker table tr td.today.disabled:hover.active {
168
- background-color: #fbf069 \9;
169
- }
170
- .datepicker table tr td.today:hover:hover {
171
- color: #000;
172
- }
173
- .datepicker table tr td.today.active:hover {
174
- color: #fff;
175
- }
176
- .datepicker table tr td.range,
177
- .datepicker table tr td.range:hover,
178
- .datepicker table tr td.range.disabled,
179
- .datepicker table tr td.range.disabled:hover {
180
- background: #eeeeee;
181
- -webkit-border-radius: 0;
182
- -moz-border-radius: 0;
183
- border-radius: 0;
184
- }
185
- .datepicker table tr td.range.today,
186
- .datepicker table tr td.range.today:hover,
187
- .datepicker table tr td.range.today.disabled,
188
- .datepicker table tr td.range.today.disabled:hover {
189
- background-color: #f3d17a;
190
- background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
191
- background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
192
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
193
- background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
194
- background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
195
- background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
196
- background-repeat: repeat-x;
197
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
198
- border-color: #f3e97a #f3e97a #edde34;
199
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
200
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
201
- -webkit-border-radius: 0;
202
- -moz-border-radius: 0;
203
- border-radius: 0;
204
- }
205
- .datepicker table tr td.range.today:hover,
206
- .datepicker table tr td.range.today:hover:hover,
207
- .datepicker table tr td.range.today.disabled:hover,
208
- .datepicker table tr td.range.today.disabled:hover:hover,
209
- .datepicker table tr td.range.today:active,
210
- .datepicker table tr td.range.today:hover:active,
211
- .datepicker table tr td.range.today.disabled:active,
212
- .datepicker table tr td.range.today.disabled:hover:active,
213
- .datepicker table tr td.range.today.active,
214
- .datepicker table tr td.range.today:hover.active,
215
- .datepicker table tr td.range.today.disabled.active,
216
- .datepicker table tr td.range.today.disabled:hover.active,
217
- .datepicker table tr td.range.today.disabled,
218
- .datepicker table tr td.range.today:hover.disabled,
219
- .datepicker table tr td.range.today.disabled.disabled,
220
- .datepicker table tr td.range.today.disabled:hover.disabled,
221
- .datepicker table tr td.range.today[disabled],
222
- .datepicker table tr td.range.today:hover[disabled],
223
- .datepicker table tr td.range.today.disabled[disabled],
224
- .datepicker table tr td.range.today.disabled:hover[disabled] {
225
- background-color: #f3e97a;
226
- }
227
- .datepicker table tr td.range.today:active,
228
- .datepicker table tr td.range.today:hover:active,
229
- .datepicker table tr td.range.today.disabled:active,
230
- .datepicker table tr td.range.today.disabled:hover:active,
231
- .datepicker table tr td.range.today.active,
232
- .datepicker table tr td.range.today:hover.active,
233
- .datepicker table tr td.range.today.disabled.active,
234
- .datepicker table tr td.range.today.disabled:hover.active {
235
- background-color: #efe24b \9;
236
- }
237
- .datepicker table tr td.selected,
238
- .datepicker table tr td.selected:hover,
239
- .datepicker table tr td.selected.disabled,
240
- .datepicker table tr td.selected.disabled:hover {
241
- background-color: #9e9e9e;
242
- background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
243
- background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
244
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
245
- background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
246
- background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
247
- background-image: linear-gradient(to bottom, #b3b3b3, #808080);
248
- background-repeat: repeat-x;
249
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
250
- border-color: #808080 #808080 #595959;
251
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
252
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
253
- color: #fff;
254
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
296
+ .bootstrap-datetimepicker-widget table td.today {
297
+ position: relative;
255
298
  }
256
- .datepicker table tr td.selected:hover,
257
- .datepicker table tr td.selected:hover:hover,
258
- .datepicker table tr td.selected.disabled:hover,
259
- .datepicker table tr td.selected.disabled:hover:hover,
260
- .datepicker table tr td.selected:active,
261
- .datepicker table tr td.selected:hover:active,
262
- .datepicker table tr td.selected.disabled:active,
263
- .datepicker table tr td.selected.disabled:hover:active,
264
- .datepicker table tr td.selected.active,
265
- .datepicker table tr td.selected:hover.active,
266
- .datepicker table tr td.selected.disabled.active,
267
- .datepicker table tr td.selected.disabled:hover.active,
268
- .datepicker table tr td.selected.disabled,
269
- .datepicker table tr td.selected:hover.disabled,
270
- .datepicker table tr td.selected.disabled.disabled,
271
- .datepicker table tr td.selected.disabled:hover.disabled,
272
- .datepicker table tr td.selected[disabled],
273
- .datepicker table tr td.selected:hover[disabled],
274
- .datepicker table tr td.selected.disabled[disabled],
275
- .datepicker table tr td.selected.disabled:hover[disabled] {
276
- background-color: #808080;
277
- }
278
- .datepicker table tr td.selected:active,
279
- .datepicker table tr td.selected:hover:active,
280
- .datepicker table tr td.selected.disabled:active,
281
- .datepicker table tr td.selected.disabled:hover:active,
282
- .datepicker table tr td.selected.active,
283
- .datepicker table tr td.selected:hover.active,
284
- .datepicker table tr td.selected.disabled.active,
285
- .datepicker table tr td.selected.disabled:hover.active {
286
- background-color: #666666 \9;
287
- }
288
- .datepicker table tr td.active,
289
- .datepicker table tr td.active:hover,
290
- .datepicker table tr td.active.disabled,
291
- .datepicker table tr td.active.disabled:hover {
292
- background-color: #006dcc;
293
- background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
294
- background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
295
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
296
- background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
297
- background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
298
- background-image: linear-gradient(to bottom, #0088cc, #0044cc);
299
- background-repeat: repeat-x;
300
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
301
- border-color: #0044cc #0044cc #002a80;
302
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
303
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
304
- color: #fff;
299
+ .bootstrap-datetimepicker-widget table td.today:before {
300
+ content: '';
301
+ display: inline-block;
302
+ border: solid transparent;
303
+ border-width: 0 0 7px 7px;
304
+ border-bottom-color: #337ab7;
305
+ border-top-color: rgba(0, 0, 0, 0.2);
306
+ position: absolute;
307
+ bottom: 4px;
308
+ right: 4px;
309
+ }
310
+ .bootstrap-datetimepicker-widget table td.active,
311
+ .bootstrap-datetimepicker-widget table td.active:hover {
312
+ background-color: #337ab7;
313
+ color: #ffffff;
305
314
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
306
315
  }
307
- .datepicker table tr td.active:hover,
308
- .datepicker table tr td.active:hover:hover,
309
- .datepicker table tr td.active.disabled:hover,
310
- .datepicker table tr td.active.disabled:hover:hover,
311
- .datepicker table tr td.active:active,
312
- .datepicker table tr td.active:hover:active,
313
- .datepicker table tr td.active.disabled:active,
314
- .datepicker table tr td.active.disabled:hover:active,
315
- .datepicker table tr td.active.active,
316
- .datepicker table tr td.active:hover.active,
317
- .datepicker table tr td.active.disabled.active,
318
- .datepicker table tr td.active.disabled:hover.active,
319
- .datepicker table tr td.active.disabled,
320
- .datepicker table tr td.active:hover.disabled,
321
- .datepicker table tr td.active.disabled.disabled,
322
- .datepicker table tr td.active.disabled:hover.disabled,
323
- .datepicker table tr td.active[disabled],
324
- .datepicker table tr td.active:hover[disabled],
325
- .datepicker table tr td.active.disabled[disabled],
326
- .datepicker table tr td.active.disabled:hover[disabled] {
327
- background-color: #0044cc;
328
- }
329
- .datepicker table tr td.active:active,
330
- .datepicker table tr td.active:hover:active,
331
- .datepicker table tr td.active.disabled:active,
332
- .datepicker table tr td.active.disabled:hover:active,
333
- .datepicker table tr td.active.active,
334
- .datepicker table tr td.active:hover.active,
335
- .datepicker table tr td.active.disabled.active,
336
- .datepicker table tr td.active.disabled:hover.active {
337
- background-color: #003399 \9;
338
- }
339
- .datepicker table tr td span {
340
- display: block;
341
- width: 23%;
316
+ .bootstrap-datetimepicker-widget table td.active.today:before {
317
+ border-bottom-color: #fff;
318
+ }
319
+ .bootstrap-datetimepicker-widget table td.disabled,
320
+ .bootstrap-datetimepicker-widget table td.disabled:hover {
321
+ background: none;
322
+ color: #777777;
323
+ cursor: not-allowed;
324
+ }
325
+ .bootstrap-datetimepicker-widget table td span {
326
+ display: inline-block;
327
+ width: 54px;
342
328
  height: 54px;
343
329
  line-height: 54px;
344
- float: left;
345
- margin: 1%;
330
+ margin: 2px 1.5px;
346
331
  cursor: pointer;
347
- -webkit-border-radius: 4px;
348
- -moz-border-radius: 4px;
349
332
  border-radius: 4px;
350
333
  }
351
- .datepicker table tr td span:hover {
334
+ .bootstrap-datetimepicker-widget table td span:hover {
352
335
  background: #eeeeee;
353
336
  }
354
- .datepicker table tr td span.disabled,
355
- .datepicker table tr td span.disabled:hover {
356
- background: none;
357
- color: #999999;
358
- cursor: default;
359
- }
360
- .datepicker table tr td span.active,
361
- .datepicker table tr td span.active:hover,
362
- .datepicker table tr td span.active.disabled,
363
- .datepicker table tr td span.active.disabled:hover {
364
- background-color: #006dcc;
365
- background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
366
- background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
367
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
368
- background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
369
- background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
370
- background-image: linear-gradient(to bottom, #0088cc, #0044cc);
371
- background-repeat: repeat-x;
372
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
373
- border-color: #0044cc #0044cc #002a80;
374
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
375
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
376
- color: #fff;
337
+ .bootstrap-datetimepicker-widget table td span.active {
338
+ background-color: #337ab7;
339
+ color: #ffffff;
377
340
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
378
341
  }
379
- .datepicker table tr td span.active:hover,
380
- .datepicker table tr td span.active:hover:hover,
381
- .datepicker table tr td span.active.disabled:hover,
382
- .datepicker table tr td span.active.disabled:hover:hover,
383
- .datepicker table tr td span.active:active,
384
- .datepicker table tr td span.active:hover:active,
385
- .datepicker table tr td span.active.disabled:active,
386
- .datepicker table tr td span.active.disabled:hover:active,
387
- .datepicker table tr td span.active.active,
388
- .datepicker table tr td span.active:hover.active,
389
- .datepicker table tr td span.active.disabled.active,
390
- .datepicker table tr td span.active.disabled:hover.active,
391
- .datepicker table tr td span.active.disabled,
392
- .datepicker table tr td span.active:hover.disabled,
393
- .datepicker table tr td span.active.disabled.disabled,
394
- .datepicker table tr td span.active.disabled:hover.disabled,
395
- .datepicker table tr td span.active[disabled],
396
- .datepicker table tr td span.active:hover[disabled],
397
- .datepicker table tr td span.active.disabled[disabled],
398
- .datepicker table tr td span.active.disabled:hover[disabled] {
399
- background-color: #0044cc;
400
- }
401
- .datepicker table tr td span.active:active,
402
- .datepicker table tr td span.active:hover:active,
403
- .datepicker table tr td span.active.disabled:active,
404
- .datepicker table tr td span.active.disabled:hover:active,
405
- .datepicker table tr td span.active.active,
406
- .datepicker table tr td span.active:hover.active,
407
- .datepicker table tr td span.active.disabled.active,
408
- .datepicker table tr td span.active.disabled:hover.active {
409
- background-color: #003399 \9;
410
- }
411
- .datepicker table tr td span.old,
412
- .datepicker table tr td span.new {
413
- color: #999999;
414
- }
415
- .datepicker .datepicker-switch {
416
- width: 145px;
342
+ .bootstrap-datetimepicker-widget table td span.old {
343
+ color: #777777;
417
344
  }
418
- .datepicker .datepicker-switch,
419
- .datepicker .prev,
420
- .datepicker .next,
421
- .datepicker tfoot tr th {
422
- cursor: pointer;
423
- }
424
- .datepicker .datepicker-switch:hover,
425
- .datepicker .prev:hover,
426
- .datepicker .next:hover,
427
- .datepicker tfoot tr th:hover {
428
- background: #eeeeee;
429
- }
430
- .datepicker .cw {
431
- font-size: 10px;
432
- width: 12px;
433
- padding: 0 2px 0 5px;
434
- vertical-align: middle;
435
- }
436
- .input-append.date .add-on,
437
- .input-prepend.date .add-on {
438
- cursor: pointer;
345
+ .bootstrap-datetimepicker-widget table td span.disabled,
346
+ .bootstrap-datetimepicker-widget table td span.disabled:hover {
347
+ background: none;
348
+ color: #777777;
349
+ cursor: not-allowed;
439
350
  }
440
- .input-append.date .add-on i,
441
- .input-prepend.date .add-on i {
442
- margin-top: 3px;
351
+ .bootstrap-datetimepicker-widget.usetwentyfour td.hour {
352
+ height: 27px;
353
+ line-height: 27px;
443
354
  }
444
- .input-daterange input {
445
- text-align: center;
355
+ .bootstrap-datetimepicker-widget.wider {
356
+ width: 21em;
446
357
  }
447
- .input-daterange input:first-child {
448
- -webkit-border-radius: 3px 0 0 3px;
449
- -moz-border-radius: 3px 0 0 3px;
450
- border-radius: 3px 0 0 3px;
358
+ .bootstrap-datetimepicker-widget .datepicker-decades .decade {
359
+ line-height: 1.8em !important;
451
360
  }
452
- .input-daterange input:last-child {
453
- -webkit-border-radius: 0 3px 3px 0;
454
- -moz-border-radius: 0 3px 3px 0;
455
- border-radius: 0 3px 3px 0;
361
+ .input-group.date .input-group-addon {
362
+ cursor: pointer;
456
363
  }
457
- .input-daterange .add-on {
458
- display: inline-block;
459
- width: auto;
460
- min-width: 16px;
461
- height: 18px;
462
- padding: 4px 5px;
463
- font-weight: normal;
464
- line-height: 18px;
465
- text-align: center;
466
- text-shadow: 0 1px 0 #ffffff;
467
- vertical-align: middle;
468
- background-color: #eeeeee;
469
- border: 1px solid #ccc;
470
- margin-left: -5px;
471
- margin-right: -5px;
364
+ .sr-only {
365
+ position: absolute;
366
+ width: 1px;
367
+ height: 1px;
368
+ margin: -1px;
369
+ padding: 0;
370
+ overflow: hidden;
371
+ clip: rect(0, 0, 0, 0);
372
+ border: 0;
472
373
  }