vendor/assets/stylesheets/bootstrap-datepicker3.css in bootstrap-datepicker-rails-1.3.1.1 vs vendor/assets/stylesheets/bootstrap-datepicker3.css in bootstrap-datepicker-rails-1.4.0

- old
+ new

@@ -1,13 +1,11 @@ /*! - * Datepicker for Bootstrap + * Datepicker for Bootstrap v1.4.0 (https://github.com/eternicode/bootstrap-datepicker) * * Copyright 2012 Stefan Petre * Improvements by Andrew Rowls - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) */ .datepicker { padding: 4px; border-radius: 4px; direction: ltr; @@ -73,19 +71,15 @@ border-top: 6px solid #fff; } .datepicker > div { display: none; } -.datepicker.days div.datepicker-days { +.datepicker.days .datepicker-days, +.datepicker.months .datepicker-months, +.datepicker.years .datepicker-years { display: block; } -.datepicker.months div.datepicker-months { - display: block; -} -.datepicker.years div.datepicker-years { - display: block; -} .datepicker table { margin: 0; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; @@ -703,11 +697,11 @@ } .datepicker table tr td span.old, .datepicker table tr td span.new { color: #999999; } -.datepicker th.datepicker-switch { +.datepicker .datepicker-switch { width: 145px; } .datepicker thead tr:first-child th, .datepicker tfoot tr th { cursor: pointer; @@ -720,17 +714,20 @@ font-size: 10px; width: 12px; padding: 0 2px 0 5px; vertical-align: middle; } -.datepicker thead tr:first-child th.cw { +.datepicker thead tr:first-child .cw { cursor: default; background-color: transparent; } -.input-group.date .input-group-addon i { +.input-group.date .input-group-addon { cursor: pointer; } +.input-daterange { + width: 100%; +} .input-daterange input { text-align: center; } .input-daterange input:first-child { border-radius: 3px 0 0 3px; @@ -750,37 +747,6 @@ background-color: #eeeeee; border: solid #cccccc; border-width: 1px 0; 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); - 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-size: 13px; - line-height: 1.42857143; -} -.datepicker.dropdown-menu th, -.datepicker.datepicker-inline th, -.datepicker.dropdown-menu td, -.datepicker.datepicker-inline td { - padding: 0px 5px; }