From 8dfe7edf116bd39738b8ab5a559101c1db484a91 Mon Sep 17 00:00:00 2001 From: demis-palma Date: Wed, 12 Nov 2014 00:43:03 +0000 Subject: [PATCH] Unit of measure is redundant Removed redundant unit of measure for 0px See http://stackoverflow.com/questions/5359222/size-of-zero-pixels-in-css-with-or-without-px-suffix --- jquery.datetimepicker.css | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/jquery.datetimepicker.css b/jquery.datetimepicker.css index acf674a..198041d 100644 --- a/jquery.datetimepicker.css +++ b/jquery.datetimepicker.css @@ -1,5 +1,5 @@ .xdsoft_datetimepicker{ - box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.506); + box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506); background: #FFFFFF; border-bottom: 1px solid #BBBBBB; border-left: 1px solid #CCCCCC; @@ -8,7 +8,7 @@ color: #333333; font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif; padding: 8px; - padding-left: 0px; + padding-left: 0; padding-top: 2px; position: absolute; z-index: 9999; @@ -50,8 +50,8 @@ .xdsoft_datetimepicker *{ -moz-box-sizing: border-box; box-sizing: border-box; - padding:0px; - margin:0px; + padding: 0; + margin: 0; } .xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker{ display:none; @@ -72,7 +72,7 @@ float:left; text-align:center; margin-left:8px; - margin-top:0px; + margin-top: 0; } .xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{ margin-top:8px; @@ -101,17 +101,17 @@ .xdsoft_datetimepicker .xdsoft_prev{ float: left; - background-position:-20px 0px; + background-position:-20px 0; } .xdsoft_datetimepicker .xdsoft_today_button{ float: left; - background-position:-70px 0px; + background-position:-70px 0; margin-left:5px; } .xdsoft_datetimepicker .xdsoft_next{ float: right; - background-position:0px 0px; + background-position: 0 0; } .xdsoft_datetimepicker .xdsoft_next, @@ -119,7 +119,7 @@ .xdsoft_datetimepicker .xdsoft_today_button{ background-color: transparent; background-repeat: no-repeat; - border: 0px none currentColor; + border: 0 none currentColor; cursor: pointer; display: block; height: 30px; @@ -127,7 +127,7 @@ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; outline: medium none currentColor; overflow: hidden; - padding: 0px; + padding: 0; position: relative; text-indent: 100%; white-space: nowrap; @@ -144,9 +144,9 @@ margin-top:7px; } .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{ - background-position:-40px 0px; + background-position:-40px 0; margin-bottom:7px; - margin-top:0px; + margin-top: 0; } .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{ height:151px; @@ -161,13 +161,13 @@ text-align: center; border-collapse:collapse; cursor:pointer; - border-bottom-width:0px; + border-bottom-width: 0; height:25px; line-height:25px; } .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child{ - border-top-width:0px; + border-top-width: 0; } .xdsoft_datetimepicker .xdsoft_today_button:hover, .xdsoft_datetimepicker .xdsoft_next:hover, @@ -199,7 +199,7 @@ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select{ border:1px solid #ccc; position:absolute; - right:0px; + right: 0; top:30px; z-index:101; display:none; @@ -219,7 +219,7 @@ } .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{ background: #33AAFF; - box-shadow: #178FE5 0px 1px 3px 0px inset; + box-shadow: #178FE5 0 1px 3px 0 inset; color:#fff; font-weight: 700; } @@ -253,7 +253,7 @@ font-size: 12px; text-align: right; vertical-align: middle; - padding:0px; + padding: 0; border-collapse:collapse; cursor:pointer; height: 25px; @@ -271,7 +271,7 @@ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current, .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{ background: #33AAFF; - box-shadow: #178FE5 0px 1px 3px 0px inset; + box-shadow: #178FE5 0 1px 3px 0 inset; color:#fff; font-weight: 700; } @@ -320,9 +320,9 @@ .xdsoft_scrollbar{ position:absolute; width:7px; - right:0px; - top:0px; - bottom:0px; + right: 0; + top: 0; + bottom: 0; cursor:pointer; } .xdsoft_scroller_box{ @@ -331,7 +331,7 @@ position:relative; .xdsoft_datetimepicker.xdsoft_dark{ - box-shadow: 0px 5px 15px -5px rgba(255, 255, 255, 0.506); + box-shadow: 0 5px 15px -5px rgba(255, 255, 255, 0.506); background: #000000; border-bottom: 1px solid #444444; border-left: 1px solid #333333; @@ -364,7 +364,7 @@ position:relative; .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{ background: #cc5500; - box-shadow: #b03e00 0px 1px 3px 0px inset; + box-shadow: #b03e00 0 1px 3px 0 inset; color:#000; } @@ -392,7 +392,7 @@ position:relative; .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current, .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{ background: #cc5500; - box-shadow: #b03e00 0px 1px 3px 0px inset; + box-shadow: #b03e00 0 1px 3px 0 inset; color:#000; }