diff --git a/bower.json b/bower.json
index eba6dd42..d37ae8ef 100644
--- a/bower.json
+++ b/bower.json
@@ -33,7 +33,7 @@
"bootstrap-progressbar": "^0.9.0",
"iCheck": "icheck#^1.0.2",
"Flot": "flot#^0.8.3",
- "bootstrap-daterangepicker": "^2.1.19",
+ "bootstrap-daterangepicker": "git@github.com:christianesperar/bootstrap-daterangepicker.git#master",
"skycons": "https://github.com/darkskyapp/skycons.git",
"jquery-sparkline": "^2.1.3",
"morris.js": "^0.5.1",
diff --git a/build/css/custom.css b/build/css/custom.css
index 923b0821..f8071bc7 100644
--- a/build/css/custom.css
+++ b/build/css/custom.css
@@ -3869,249 +3869,6 @@ ul.notifications {
opacity: 1; }
/** /PNotify **/
-/** bootstrap-daterangepicker **/
-.daterangepicker.dropdown-menu {
- font-size: 13px;
- padding: 0;
- overflow: hidden; }
-
-.daterangepicker.picker_1 {
- background: #34495E;
- color: #ECF0F1; }
-
-.daterangepicker.picker_1 table.table-condensed thead tr:first-child {
- background: #1ABB9C; }
-
-.daterangepicker table.table-condensed thead tr:first-child th {
- line-height: 28px;
- text-align: center; }
-
-.daterangepicker.picker_1 table.table-condensed thead tr {
- background: #213345; }
-
-.daterangepicker table.table-condensed thead tr {
- line-height: 14px; }
-
-.daterangepicker table.table-condensed tbody tr:first-child td {
- padding-top: 10px; }
-
-.daterangepicker table.table-condensed th:first-child, .daterangepicker table.table-condensed td:first-child {
- padding-left: 12px; }
-
-.daterangepicker table.table-condensed th:last-child, .daterangepicker table.table-condensed td:last-child {
- padding-right: 12px; }
-
-.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
- padding: 5px 7px;
- text-align: center; }
-
-.daterangepicker table.table-condensed tbody tr:last-child td {
- padding-bottom: 10px; }
-
-.daterangepicker.picker_2 table.table-condensed thead tr:first-child {
- color: inherit; }
-
-.daterangepicker.picker_2 table.table-condensed thead tr {
- color: #1ABB9C; }
-
-.daterangepicker.picker_3 table.table-condensed thead tr:first-child {
- background: #1ABB9C;
- color: #ECF0F1; }
-
-.daterangepicker.picker_4 table.table-condensed tbody td {
- background: #ECF0F1;
- color: #34495E;
- border: 1px solid #fff;
- padding: 4px 7px; }
-
-.daterangepicker.picker_4 table.table-condensed tbody td.active {
- background: #536A7F;
- color: #fff; }
-
-.daterangepicker.picker_4 table.table-condensed thead tr:first-child {
- background: #34495E;
- color: #ECF0F1; }
-
-.xdisplay_input {
- width: 240px;
- overflow: hidden;
- padding: 0; }
-
-.xdisplay {
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- margin-bottom: 20px;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 4px;
- width: 230px;
- overflow: hidden;
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); }
-
-.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar, .daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar {
- float: right; }
-
-.daterangepicker table {
- width: 100%;
- margin: 0; }
-
-.daterangepicker td, .daterangepicker th {
- text-align: center;
- width: 20px;
- height: 20px;
- cursor: pointer;
- white-space: nowrap; }
-
-.daterangepicker td.off {
- color: #999; }
-
-.daterangepicker td.disabled {
- color: #999; }
-
-.daterangepicker td.available:hover, .daterangepicker th.available:hover {
- background: #eee;
- color: #34495E; }
-
-.daterangepicker td.in-range {
- background: #E4E7EA;
- border-radius: 0; }
-
-.daterangepicker td.available + td.start-date {
- border-radius: 4px 0 0 4px; }
-
-.daterangepicker td.in-range + td.end-date {
- border-radius: 0 4px 4px 0; }
-
-.daterangepicker td.start-date.end-date {
- border-radius: 4px !important; }
-
-.daterangepicker td.active, .daterangepicker td.active:hover {
- background-color: #536A7F;
- color: #fff; }
-
-.daterangepicker td.week, .daterangepicker th.week {
- font-size: 80%;
- color: #ccc; }
-
-.daterangepicker select.monthselect, .daterangepicker select.yearselect {
- font-size: 12px;
- padding: 1px;
- height: auto;
- margin: 0;
- cursor: default;
- height: 30px;
- border: 1px solid #ADB2B5;
- line-height: 30px;
- border-radius: 0px !important; }
-
-.daterangepicker select.monthselect {
- margin-right: 2%;
- width: 56%; }
-
-.daterangepicker select.yearselect {
- width: 40%; }
-
-.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
- width: 50px;
- margin-bottom: 0; }
-
-.daterangepicker_start_input {
- float: left; }
-
-.daterangepicker_end_input {
- float: left;
- padding-left: 11px; }
-
-.daterangepicker th.month {
- width: auto; }
-
-.daterangepicker .daterangepicker_start_input label, .daterangepicker .daterangepicker_end_input label {
- color: #333;
- display: block;
- font-size: 11px;
- font-weight: normal;
- height: 20px;
- line-height: 20px;
- margin-bottom: 2px;
- text-shadow: #fff 1px 1px 0px;
- text-transform: uppercase;
- width: 74px; }
-
-.daterangepicker .ranges input {
- font-size: 11px; }
-
-.daterangepicker .ranges .input-mini {
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px;
- color: #555;
- display: block;
- font-size: 11px;
- height: 30px;
- line-height: 30px;
- vertical-align: middle;
- margin: 0 0 10px 0;
- padding: 0 6px;
- width: 74px; }
-
-.daterangepicker .ranges .input-mini:hover {
- cursor: pointer; }
-
-.daterangepicker .ranges ul {
- list-style: none;
- margin: 0;
- padding: 0; }
-
-.daterangepicker .ranges li {
- font-size: 13px;
- background: #f5f5f5;
- border: 1px solid #f5f5f5;
- color: #536A7F;
- padding: 3px 12px;
- margin-bottom: 8px;
- border-radius: 5px;
- cursor: pointer; }
-
-.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
- background: #536A7F;
- border: 1px solid #536A7F;
- color: #fff; }
-
-.daterangepicker .calendar {
- display: none;
- max-width: 270px; }
-
-.daterangepicker.show-calendar .calendar {
- display: block; }
-
-.daterangepicker .calendar.single .calendar-date {
- border: none; }
-
-.daterangepicker.single .ranges, .daterangepicker.single .calendar {
- float: none; }
-
-.daterangepicker .ranges {
- width: 160px;
- text-align: left;
- margin: 4px; }
-
-.daterangepicker .ranges .range_inputs > div {
- float: left; }
-
-.daterangepicker .ranges .range_inputs > div:nth-child(2) {
- padding-left: 11px; }
-
-.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
- float: left;
- margin: 4px; }
-
-.daterangepicker .icon {
- width: 20px;
- height: 20px;
- display: inline-block;
- vertical-align: middle; }
-
-/** bootstrap-daterangepicker **/
/** FullCalendar **/
.fc-state-default {
background: #f5f5f5;
@@ -4129,3 +3886,94 @@ ul.notifications {
border: 1px solid #e5e5e5; }
/** /Dropzone.js **/
+
+.daterangepicker .ranges li {
+ color: #73879C; }
+ .daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
+ background: #536A7F;
+ border: 1px solid #536A7F;
+ color: #fff; }
+.daterangepicker .input-mini {
+ background-color: #eee;
+ border: 1px solid #ccc;
+ box-shadow: none !important; }
+ .daterangepicker .input-mini.active {
+ border: 1px solid #ccc; }
+.daterangepicker select.monthselect, .daterangepicker select.yearselect {
+ font-size: 12px;
+ padding: 1px;
+ height: auto;
+ margin: 0;
+ cursor: default;
+ height: 30px;
+ border: 1px solid #ADB2B5;
+ line-height: 30px;
+ border-radius: 0px !important; }
+.daterangepicker select.monthselect {
+ margin-right: 2%; }
+.daterangepicker td.in-range {
+ background: #E4E7EA;
+ color: #73879C; }
+.daterangepicker td.active, .daterangepicker td.active:hover {
+ background-color: #536A7F;
+ color: #fff; }
+.daterangepicker th.available:hover {
+ background: #eee;
+ color: #34495E; }
+.daterangepicker:before, .daterangepicker:after {
+ content: none; }
+.daterangepicker .calendar.single {
+ margin: 0 0 4px 0; }
+ .daterangepicker .calendar.single .calendar-table {
+ width: 224px;
+ padding: 0 0 4px 0 !important; }
+ .daterangepicker .calendar.single .calendar-table thead tr:first-child th {
+ padding: 8px 5px; }
+ .daterangepicker .calendar.single .calendar-table thead th {
+ border-radius: 0; }
+.daterangepicker.picker_1 {
+ color: #fff;
+ background: #34495E; }
+ .daterangepicker.picker_1 .calendar-table {
+ background: #34495E; }
+ .daterangepicker.picker_1 .calendar-table thead tr {
+ background: #213345; }
+ .daterangepicker.picker_1 .calendar-table thead tr:first-child {
+ background: #1ABB9C; }
+ .daterangepicker.picker_1 .calendar-table td.off {
+ background: #34495E;
+ color: #999; }
+ .daterangepicker.picker_1 .calendar-table td.available:hover {
+ color: #34495E; }
+.daterangepicker.picker_2 .calendar-table thead tr {
+ color: #1ABB9C; }
+.daterangepicker.picker_2 .calendar-table thead tr:first-child {
+ color: #73879C; }
+.daterangepicker.picker_3 .calendar-table thead tr:first-child {
+ color: #fff;
+ background: #1ABB9C; }
+.daterangepicker.picker_4 .calendar-table thead tr:first-child {
+ color: #fff;
+ background: #34495E; }
+.daterangepicker.picker_4 .calendar-table td, .daterangepicker.picker_4 .calendar-table td.off {
+ background: #ECF0F1;
+ border: 1px solid #fff;
+ border-radius: 0; }
+.daterangepicker.picker_4 .calendar-table td.active {
+ background: #34495E; }
+
+.calendar-exibit .show-calendar {
+ float: none;
+ display: block;
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ margin-bottom: 20px;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ overflow: hidden; }
+ .calendar-exibit .show-calendar .calendar {
+ margin: 0 0 4px 0; }
+ .calendar-exibit .show-calendar.picker_1 {
+ background: #34495E; }
+.calendar-exibit .calendar-table {
+ padding: 0 0 4px 0; }
diff --git a/build/css/custom.min.css b/build/css/custom.min.css
index f3d66d11..1aab07dc 100644
--- a/build/css/custom.min.css
+++ b/build/css/custom.min.css
@@ -4,4 +4,6 @@
* 2014-11-07
* Copyright (c) 2014 İsmail Demirbilek
* License: MIT
- */.tabs-left,.tabs-right{border-bottom:none;padding-top:2px}.tabs-left{border-right:1px solid #F7F7F7}.tabs-right{border-left:1px solid #F7F7F7}.tabs-left>li,.tabs-right>li{float:none;margin-bottom:2px}.tabs-left>li{margin-right:-1px}.tabs-right>li{margin-left:-1px}.tabs-left>li.active>a,.tabs-left>li.active>a:hover,.tabs-left>li.active>a:focus{border-bottom-color:#F7F7F7;border-right-color:transparent}.tabs-right>li.active>a,.tabs-right>li.active>a:hover,.tabs-right>li.active>a:focus{border-bottom:1px solid #F7F7F7;border-left-color:transparent}.tabs-left>li>a{border-radius:4px 0 0 4px;margin-right:0;display:block;background:#F7F7F7;text-overflow:ellipsis;overflow:hidden}.tabs-right>li>a{border-radius:0 4px 4px 0;margin-right:0;background:#F7F7F7;text-overflow:ellipsis;overflow:hidden}.sideways{margin-top:50px;border:none;position:relative}.sideways>li{height:20px;width:120px;margin-bottom:100px}.sideways>li>a{border-bottom:1px solid #ddd;border-right-color:transparent;text-align:center;border-radius:4px 4px 0px 0px}.sideways>li.active>a,.sideways>li.active>a:hover,.sideways>li.active>a:focus{border-bottom-color:transparent;border-right-color:#ddd;border-left-color:#ddd}.sideways.tabs-left{left:-50px}.sideways.tabs-right{right:-50px}.sideways.tabs-right>li{transform:rotate(90deg)}.sideways.tabs-left>li{transform:rotate(-90deg)}.morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{padding:6px;color:#666;background:rgba(243,242,243,0.8);border:solid 2px rgba(195,194,196,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0}.price{font-size:40px;font-weight:400;color:#26B99A;margin:0}.prod_title{border-bottom:1px solid #DFDFDF;padding-bottom:5px;margin:30px 0;font-size:20px;font-weight:400}.product-image img{width:90%}.prod_color li{margin:0 10px}.prod_color li p{margin-bottom:0}.prod_size li{padding:0}.prod_color .color{width:25px;height:25px;border:2px solid rgba(51,51,51,0.28) !important;padding:2px;border-radius:50px}.product_gallery a{width:100px;height:100px;float:left;margin:10px;border:1px solid #e5e5e5}.product_gallery a img{width:100%;margin-top:15px}.product_price{margin:20px 0;padding:5px 10px;background-color:#FFFFFF;text-align:left;border:2px dashed #E0E0E0}.price-tax{font-size:18px}.product_social{margin:20px 0}.product_social ul li a i{font-size:35px}.login{background:#F7F7F7}.login .fa-paw{font-size:26px}a.hiddenanchor{display:none}.login_wrapper{right:0px;margin:0px auto;margin-top:5%;max-width:350px;position:relative}.registration_form,.login_form{position:absolute;top:0px;width:100%}.registration_form{z-index:21;opacity:0;width:100%}.login_form{z-index:22}#signup:target ~ .login_wrapper .registration_form,#signin:target ~ .login_wrapper .login_form{z-index:22;animation-name:fadeInLeft;animation-delay:.1s}#signup:target ~ .login_wrapper .login_form,#signin:target ~ .login_wrapper .registration_form{animation-name:fadeOutLeft}.animate{-webkit-animation-duration:0.5s;-webkit-animation-timing-function:ease;-webkit-animation-fill-mode:both;-moz-animation-duration:0.5s;-moz-animation-timing-function:ease;-moz-animation-fill-mode:both;-o-animation-duration:0.5s;-o-animation-timing-function:ease;-o-animation-fill-mode:both;-ms-animation-duration:0.5s;-ms-animation-timing-function:ease;-ms-animation-fill-mode:both;animation-duration:0.5s;animation-timing-function:ease;animation-fill-mode:both}.login_box{padding:20px;margin:auto}.left{float:left}.alignleft{float:left;margin-right:15px}.alignright{float:right;margin-left:15px}.clearfix:after,form:after{content:".";display:block;height:0;clear:both;visibility:hidden}.login_content{margin:0 auto;padding:25px 0 0;position:relative;text-align:center;text-shadow:0 1px 0 #fff;min-width:280px}.login_content a,.login_content .btn-default:hover{text-decoration:none}.login_content a:hover{text-decoration:underline}.login_content h1{font:normal 25px Helvetica, Arial, sans-serif;letter-spacing:-0.05em;line-height:20px;margin:10px 0 30px}.login_content h1:before,.login_content h1:after{content:"";height:1px;position:absolute;top:10px;width:27%}.login_content h1:after{background:#7e7e7e;background:linear-gradient(left, #7e7e7e 0%, #fff 100%);right:0}.login_content h1:before{background:#7e7e7e;background:linear-gradient(right, #7e7e7e 0%, #fff 100%);left:0}.login_content h1:before,.login_content h1:after{content:"";height:1px;position:absolute;top:10px;width:20%}.login_content h1:after{background:#7e7e7e;background:linear-gradient(left, #7e7e7e 0%, #fff 100%);right:0}.login_content h1:before{background:#7e7e7e;background:linear-gradient(right, #7e7e7e 0%, #fff 100%);left:0}.login_content form{margin:20px 0;position:relative}.login_content form input[type="text"],.login_content form input[type="email"],.login_content form input[type="password"]{border-radius:3px;-ms-box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;-o-box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;border:1px solid #c8c8c8;color:#777;margin:0 0 20px;width:100%}.login_content form input[type="text"]:focus,.login_content form input[type="email"]:focus,.login_content form input[type="password"]:focus{-ms-box-shadow:0 0 2px #ed1c24 inset;-o-box-shadow:0 0 2px #ed1c24 inset;box-shadow:0 0 2px #A97AAD inset;background-color:#fff;border:1px solid #A878AF;outline:none}#username{background-position:10px 10px !important}#password{background-position:10px -53px !important}.login_content form div a{font-size:12px;margin:10px 15px 0 0}.reset_pass{margin-top:10px !important}.login_content div .reset_pass{margin-top:13px !important;margin-right:39px;float:right}.separator{border-top:1px solid #D8D8D8;margin-top:10px;padding-top:10px}.button{background:#f7f9fa;background:linear-gradient(top, #f7f9fa 0%, #f0f0f0 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f9fa', endColorstr='#f0f0f0', GradientType=0);-ms-box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;-o-box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;border-radius:0 0 5px 5px;border-top:1px solid #CFD5D9;padding:15px 0}.login_content form input[type="submit"],#content form .submit{float:left;margin-left:38px}.button a{background:url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) 0 -112px no-repeat;color:#7E7E7E;font-size:17px;padding:2px 0 2px 40px;text-decoration:none;transition:all 0.3s ease}.button a:hover{background-position:0 -135px;color:#00aeef}header{width:100%}#nprogress .bar{background:#1ABB9C}#nprogress .peg{box-shadow:0 0 10px #1ABB9C, 0 0 5px #1ABB9C}#nprogress .spinner-icon{border-top-color:#1ABB9C;border-left-color:#1ABB9C}.editor-wrapper{min-height:250px;background-color:white;border-collapse:separate;border:1px solid #ccc;padding:4px;box-sizing:content-box;box-shadow:rgba(0,0,0,0.07451) 0px 1px 1px 0px inset;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px;overflow:scroll;outline:none}.voiceBtn{width:20px;color:transparent;background-color:transparent;transform:scale(2, 2);-webkit-transform:scale(2, 2);-moz-transform:scale(2, 2);border:transparent;cursor:pointer;box-shadow:none;-webkit-box-shadow:none}div[data-role="editor-toolbar"]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dropdown-menu a{cursor:pointer}.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #ccc;border-radius:0;min-height:38px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#73879C;padding-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__rendered{padding-top:3px}.select2-container--default .select2-selection--single .select2-selection__arrow{height:36px}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-container--default .select2-selection--multiple .select2-selection__clear{margin-top:2px;border:none;border-radius:0;padding:3px 5px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #ccc}.switchery{width:32px;height:20px}.switchery>small{width:20px;height:20px}fieldset{border:none;margin:0;padding:0}.cropper .img-container,.cropper .img-preview{background-color:#f7f7f7;width:100%;text-align:center}.cropper .img-container{min-height:200px;max-height:516px;margin-bottom:20px}@media (min-width: 768px){.cropper .img-container{min-height:516px}}.cropper .img-container>img{max-width:100%}.cropper .docs-preview{margin-right:-15px}.cropper .img-preview{float:left;margin-right:10px;margin-bottom:10px;overflow:hidden}.cropper .img-preview>img{max-width:100%}.cropper .preview-lg{width:263px;height:148px}.cropper .preview-md{width:139px;height:78px}.cropper .preview-sm{width:69px;height:39px}.cropper .preview-xs{width:35px;height:20px;margin-right:0}.cropper .docs-data>.input-group{margin-bottom:10px}.cropper .docs-data>.input-group>label{min-width:80px}.cropper .docs-data>.input-group>span{min-width:50px}.cropper .docs-buttons>.btn,.cropper .docs-buttons>.btn-group,.cropper .docs-buttons>.form-control{margin-right:5px;margin-bottom:10px}.cropper .docs-toggles>.btn,.cropper .docs-toggles>.btn-group,.cropper .docs-toggles>.dropdown{margin-bottom:10px}.cropper .docs-tooltip{display:block;margin:-6px -12px;padding:6px 12px}.cropper .docs-tooltip>.icon{margin:0 -3px;vertical-align:top}.cropper .tooltip-inner{white-space:normal}.cropper .btn-upload .tooltip-inner,.cropper .btn-toggle .tooltip-inner{white-space:nowrap}.cropper .btn-toggle{padding:6px}.cropper .btn-toggle>.docs-tooltip{margin:-6px;padding:6px}@media (max-width: 400px){.cropper .btn-group-crop{margin-right:-15px !important}.cropper .btn-group-crop>.btn{padding-left:5px;padding-right:5px}.cropper .btn-group-crop .docs-tooltip{margin-left:-5px;margin-right:-5px;padding-left:5px;padding-right:5px}}.cropper .docs-options .dropdown-menu{width:100%}.cropper .docs-options .dropdown-menu>li{padding:3px 20px}.cropper .docs-options .dropdown-menu>li:hover{background-color:#f7f7f7}.cropper .docs-options .dropdown-menu>li>label{display:block}.cropper .docs-cropped .modal-body{text-align:center}.cropper .docs-cropped .modal-body>img,.cropper .docs-cropped .modal-body>canvas{max-width:100%}.cropper .docs-diagram .modal-dialog{max-width:352px}.cropper .docs-cropped canvas{max-width:100%}.form_wizard .stepContainer{display:block;position:relative;margin:0;padding:0;border:0 solid #CCC;overflow-x:hidden}.wizard_horizontal ul.wizard_steps{display:table;list-style:none;position:relative;width:100%;margin:0 0 20px}.wizard_horizontal ul.wizard_steps li{display:table-cell;text-align:center}.wizard_horizontal ul.wizard_steps li a,.wizard_horizontal ul.wizard_steps li:hover{display:block;position:relative;-moz-opacity:1;filter:alpha(opacity=100);opacity:1;color:#666}.wizard_horizontal ul.wizard_steps li a:before{content:"";position:absolute;height:4px;background:#ccc;top:20px;width:100%;z-index:4;left:0}.wizard_horizontal ul.wizard_steps li a.disabled .step_no{background:#ccc}.wizard_horizontal ul.wizard_steps li a .step_no{width:40px;height:40px;line-height:40px;border-radius:100px;display:block;margin:0 auto 5px;font-size:16px;text-align:center;position:relative;z-index:5}.wizard_horizontal ul.wizard_steps li a.selected:before,.step_no{background:#34495E;color:#fff}.wizard_horizontal ul.wizard_steps li a.done:before,.wizard_horizontal ul.wizard_steps li a.done .step_no{background:#1ABB9C;color:#fff}.wizard_horizontal ul.wizard_steps li:first-child a:before{left:50%}.wizard_horizontal ul.wizard_steps li:last-child a:before{right:50%;width:50%;left:auto}.wizard_verticle .stepContainer{width:80%;float:left;padding:0 10px}.actionBar{width:100%;border-top:1px solid #ddd;padding:10px 5px;text-align:right;margin-top:10px}.actionBar .buttonDisabled{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);box-shadow:none}.actionBar a{margin:0 3px}.wizard_verticle .wizard_content{width:80%;float:left;padding-left:20px}.wizard_verticle ul.wizard_steps{display:table;list-style:none;position:relative;width:20%;float:left;margin:0 0 20px}.wizard_verticle ul.wizard_steps li{display:list-item;text-align:center}.wizard_verticle ul.wizard_steps li a{height:80px}.wizard_verticle ul.wizard_steps li a:first-child{margin-top:20px}.wizard_verticle ul.wizard_steps li a,.wizard_verticle ul.wizard_steps li:hover{display:block;position:relative;-moz-opacity:1;filter:alpha(opacity=100);opacity:1;color:#666}.wizard_verticle ul.wizard_steps li a:before{content:"";position:absolute;height:100%;background:#ccc;top:20px;width:4px;z-index:4;left:49%}.wizard_verticle ul.wizard_steps li a.disabled .step_no{background:#ccc}.wizard_verticle ul.wizard_steps li a .step_no{width:40px;height:40px;line-height:40px;border-radius:100px;display:block;margin:0 auto 5px;font-size:16px;text-align:center;position:relative;z-index:5}.wizard_verticle ul.wizard_steps li a.selected:before,.step_no{background:#34495E;color:#fff}.wizard_verticle ul.wizard_steps li a.done:before,.wizard_verticle ul.wizard_steps li a.done .step_no{background:#1ABB9C;color:#fff}.wizard_verticle ul.wizard_steps li:first-child a:before{left:49%}.wizard_verticle ul.wizard_steps li:last-child a:before{left:49%;left:auto;width:0}.form_wizard .loader{display:none}.form_wizard .msgBox{display:none}.progress{border-radius:0}.progress-bar-info{background-color:#3498DB}.progress-bar-success{background-color:#26B99A}.progress_summary .progress{margin:5px 0 12px !important}.progress_summary .row{margin-bottom:5px}.progress_summary .row .col-xs-2{padding:0}.progress_summary .more_info span{text-align:right;float:right}.progress_summary .data span{text-align:right;float:right}.progress_summary p{margin-bottom:3px;width:100%}.progress_title .left{float:left;text-align:left}.progress_title .right{float:right;text-align:right;font-weight:300}.progress.progress_sm{border-radius:0;margin-bottom:18px;height:10px !important}.progress.progress_sm .progress-bar{height:10px !important}.dashboard_graph p{margin:0 0 4px}ul.verticle_bars{width:100%}ul.verticle_bars li{width:23%;height:200px;margin:0}.progress.vertical.progress_wide{width:35px}.alert-success{color:#ffffff;background-color:rgba(38,185,154,0.88);border-color:rgba(38,185,154,0.88)}.alert-info{color:#E9EDEF;background-color:rgba(52,152,219,0.88);border-color:rgba(52,152,219,0.88)}.alert-warning{color:#E9EDEF;background-color:rgba(243,156,18,0.88);border-color:rgba(243,156,18,0.88)}.alert-danger,.alert-error{color:#E9EDEF;background-color:rgba(231,76,60,0.88);border-color:rgba(231,76,60,0.88)}.ui-pnotify.dark .ui-pnotify-container{color:#E9EDEF;background-color:rgba(52,73,94,0.88);border-color:rgba(52,73,94,0.88)}.custom-notifications{position:fixed;margin:15px;right:0;float:right;width:400px;z-index:4000;bottom:0}ul.notifications{float:right;display:block;margin-bottom:7px;padding:0;width:100%}.notifications li{float:right;margin:3px;width:36px;box-shadow:3px 3px 3px rgba(0,0,0,0.3)}.notifications li:last-child{margin-left:0}.notifications a{display:block;text-align:center;text-decoration:none;text-transform:uppercase;padding:9px 8px}.tabbed_notifications .text{padding:5px 15px;height:140px;border-radius:7px;box-shadow:6px 6px 6px rgba(0,0,0,0.3)}.tabbed_notifications div p{display:inline-block}.tabbed_notifications h2{font-weight:bold;text-transform:uppercase;width:80%;float:left;height:20px;text-overflow:ellipsis;overflow:hidden;display:block}.tabbed_notifications .close{padding:5px;color:#E9EDEF;float:right;opacity:1}.daterangepicker.dropdown-menu{font-size:13px;padding:0;overflow:hidden}.daterangepicker.picker_1{background:#34495E;color:#ECF0F1}.daterangepicker.picker_1 table.table-condensed thead tr:first-child{background:#1ABB9C}.daterangepicker table.table-condensed thead tr:first-child th{line-height:28px;text-align:center}.daterangepicker.picker_1 table.table-condensed thead tr{background:#213345}.daterangepicker table.table-condensed thead tr{line-height:14px}.daterangepicker table.table-condensed tbody tr:first-child td{padding-top:10px}.daterangepicker table.table-condensed th:first-child,.daterangepicker table.table-condensed td:first-child{padding-left:12px}.daterangepicker table.table-condensed th:last-child,.daterangepicker table.table-condensed td:last-child{padding-right:12px}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px 7px;text-align:center}.daterangepicker table.table-condensed tbody tr:last-child td{padding-bottom:10px}.daterangepicker.picker_2 table.table-condensed thead tr:first-child{color:inherit}.daterangepicker.picker_2 table.table-condensed thead tr{color:#1ABB9C}.daterangepicker.picker_3 table.table-condensed thead tr:first-child{background:#1ABB9C;color:#ECF0F1}.daterangepicker.picker_4 table.table-condensed tbody td{background:#ECF0F1;color:#34495E;border:1px solid #fff;padding:4px 7px}.daterangepicker.picker_4 table.table-condensed tbody td.active{background:#536A7F;color:#fff}.daterangepicker.picker_4 table.table-condensed thead tr:first-child{background:#34495E;color:#ECF0F1}.xdisplay_input{width:240px;overflow:hidden;padding:0}.xdisplay{background-color:#fff;background-clip:padding-box;border:1px solid #ccc;margin-bottom:20px;border:1px solid rgba(0,0,0,0.15);border-radius:4px;width:230px;overflow:hidden;box-shadow:0 6px 12px rgba(0,0,0,0.175)}.daterangepicker.opensright .ranges,.daterangepicker.opensright .calendar,.daterangepicker.openscenter .ranges,.daterangepicker.openscenter .calendar{float:right}.daterangepicker table{width:100%;margin:0}.daterangepicker td,.daterangepicker th{text-align:center;width:20px;height:20px;cursor:pointer;white-space:nowrap}.daterangepicker td.off{color:#999}.daterangepicker td.disabled{color:#999}.daterangepicker td.available:hover,.daterangepicker th.available:hover{background:#eee;color:#34495E}.daterangepicker td.in-range{background:#E4E7EA;border-radius:0}.daterangepicker td.available+td.start-date{border-radius:4px 0 0 4px}.daterangepicker td.in-range+td.end-date{border-radius:0 4px 4px 0}.daterangepicker td.start-date.end-date{border-radius:4px !important}.daterangepicker td.active,.daterangepicker td.active:hover{background-color:#536A7F;color:#fff}.daterangepicker td.week,.daterangepicker th.week{font-size:80%;color:#ccc}.daterangepicker select.monthselect,.daterangepicker select.yearselect{font-size:12px;padding:1px;height:auto;margin:0;cursor:default;height:30px;border:1px solid #ADB2B5;line-height:30px;border-radius:0px !important}.daterangepicker select.monthselect{margin-right:2%;width:56%}.daterangepicker select.yearselect{width:40%}.daterangepicker select.hourselect,.daterangepicker select.minuteselect,.daterangepicker select.ampmselect{width:50px;margin-bottom:0}.daterangepicker_start_input{float:left}.daterangepicker_end_input{float:left;padding-left:11px}.daterangepicker th.month{width:auto}.daterangepicker .daterangepicker_start_input label,.daterangepicker .daterangepicker_end_input label{color:#333;display:block;font-size:11px;font-weight:normal;height:20px;line-height:20px;margin-bottom:2px;text-shadow:#fff 1px 1px 0px;text-transform:uppercase;width:74px}.daterangepicker .ranges input{font-size:11px}.daterangepicker .ranges .input-mini{background-color:#eee;border:1px solid #ccc;border-radius:4px;color:#555;display:block;font-size:11px;height:30px;line-height:30px;vertical-align:middle;margin:0 0 10px 0;padding:0 6px;width:74px}.daterangepicker .ranges .input-mini:hover{cursor:pointer}.daterangepicker .ranges ul{list-style:none;margin:0;padding:0}.daterangepicker .ranges li{font-size:13px;background:#f5f5f5;border:1px solid #f5f5f5;color:#536A7F;padding:3px 12px;margin-bottom:8px;border-radius:5px;cursor:pointer}.daterangepicker .ranges li.active,.daterangepicker .ranges li:hover{background:#536A7F;border:1px solid #536A7F;color:#fff}.daterangepicker .calendar{display:none;max-width:270px}.daterangepicker.show-calendar .calendar{display:block}.daterangepicker .calendar.single .calendar-date{border:none}.daterangepicker.single .ranges,.daterangepicker.single .calendar{float:none}.daterangepicker .ranges{width:160px;text-align:left;margin:4px}.daterangepicker .ranges .range_inputs>div{float:left}.daterangepicker .ranges .range_inputs>div:nth-child(2){padding-left:11px}.daterangepicker.opensleft .ranges,.daterangepicker.opensleft .calendar{float:left;margin:4px}.daterangepicker .icon{width:20px;height:20px;display:inline-block;vertical-align:middle}.fc-state-default{background:#f5f5f5;color:#73879C}.fc-state-down,.fc-state-active{color:#333;background:#ccc}.dropzone{min-height:300px;border:1px solid #e5e5e5}
+ */.tabs-left,.tabs-right{border-bottom:none;padding-top:2px}.tabs-left{border-right:1px solid #F7F7F7}.tabs-right{border-left:1px solid #F7F7F7}.tabs-left>li,.tabs-right>li{float:none;margin-bottom:2px}.tabs-left>li{margin-right:-1px}.tabs-right>li{margin-left:-1px}.tabs-left>li.active>a,.tabs-left>li.active>a:hover,.tabs-left>li.active>a:focus{border-bottom-color:#F7F7F7;border-right-color:transparent}.tabs-right>li.active>a,.tabs-right>li.active>a:hover,.tabs-right>li.active>a:focus{border-bottom:1px solid #F7F7F7;border-left-color:transparent}.tabs-left>li>a{border-radius:4px 0 0 4px;margin-right:0;display:block;background:#F7F7F7;text-overflow:ellipsis;overflow:hidden}.tabs-right>li>a{border-radius:0 4px 4px 0;margin-right:0;background:#F7F7F7;text-overflow:ellipsis;overflow:hidden}.sideways{margin-top:50px;border:none;position:relative}.sideways>li{height:20px;width:120px;margin-bottom:100px}.sideways>li>a{border-bottom:1px solid #ddd;border-right-color:transparent;text-align:center;border-radius:4px 4px 0px 0px}.sideways>li.active>a,.sideways>li.active>a:hover,.sideways>li.active>a:focus{border-bottom-color:transparent;border-right-color:#ddd;border-left-color:#ddd}.sideways.tabs-left{left:-50px}.sideways.tabs-right{right:-50px}.sideways.tabs-right>li{transform:rotate(90deg)}.sideways.tabs-left>li{transform:rotate(-90deg)}.morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{padding:6px;color:#666;background:rgba(243,242,243,0.8);border:solid 2px rgba(195,194,196,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0}.price{font-size:40px;font-weight:400;color:#26B99A;margin:0}.prod_title{border-bottom:1px solid #DFDFDF;padding-bottom:5px;margin:30px 0;font-size:20px;font-weight:400}.product-image img{width:90%}.prod_color li{margin:0 10px}.prod_color li p{margin-bottom:0}.prod_size li{padding:0}.prod_color .color{width:25px;height:25px;border:2px solid rgba(51,51,51,0.28) !important;padding:2px;border-radius:50px}.product_gallery a{width:100px;height:100px;float:left;margin:10px;border:1px solid #e5e5e5}.product_gallery a img{width:100%;margin-top:15px}.product_price{margin:20px 0;padding:5px 10px;background-color:#FFFFFF;text-align:left;border:2px dashed #E0E0E0}.price-tax{font-size:18px}.product_social{margin:20px 0}.product_social ul li a i{font-size:35px}.login{background:#F7F7F7}.login .fa-paw{font-size:26px}a.hiddenanchor{display:none}.login_wrapper{right:0px;margin:0px auto;margin-top:5%;max-width:350px;position:relative}.registration_form,.login_form{position:absolute;top:0px;width:100%}.registration_form{z-index:21;opacity:0;width:100%}.login_form{z-index:22}#signup:target ~ .login_wrapper .registration_form,#signin:target ~ .login_wrapper .login_form{z-index:22;animation-name:fadeInLeft;animation-delay:.1s}#signup:target ~ .login_wrapper .login_form,#signin:target ~ .login_wrapper .registration_form{animation-name:fadeOutLeft}.animate{-webkit-animation-duration:0.5s;-webkit-animation-timing-function:ease;-webkit-animation-fill-mode:both;-moz-animation-duration:0.5s;-moz-animation-timing-function:ease;-moz-animation-fill-mode:both;-o-animation-duration:0.5s;-o-animation-timing-function:ease;-o-animation-fill-mode:both;-ms-animation-duration:0.5s;-ms-animation-timing-function:ease;-ms-animation-fill-mode:both;animation-duration:0.5s;animation-timing-function:ease;animation-fill-mode:both}.login_box{padding:20px;margin:auto}.left{float:left}.alignleft{float:left;margin-right:15px}.alignright{float:right;margin-left:15px}.clearfix:after,form:after{content:".";display:block;height:0;clear:both;visibility:hidden}.login_content{margin:0 auto;padding:25px 0 0;position:relative;text-align:center;text-shadow:0 1px 0 #fff;min-width:280px}.login_content a,.login_content .btn-default:hover{text-decoration:none}.login_content a:hover{text-decoration:underline}.login_content h1{font:normal 25px Helvetica, Arial, sans-serif;letter-spacing:-0.05em;line-height:20px;margin:10px 0 30px}.login_content h1:before,.login_content h1:after{content:"";height:1px;position:absolute;top:10px;width:27%}.login_content h1:after{background:#7e7e7e;background:linear-gradient(left, #7e7e7e 0%, #fff 100%);right:0}.login_content h1:before{background:#7e7e7e;background:linear-gradient(right, #7e7e7e 0%, #fff 100%);left:0}.login_content h1:before,.login_content h1:after{content:"";height:1px;position:absolute;top:10px;width:20%}.login_content h1:after{background:#7e7e7e;background:linear-gradient(left, #7e7e7e 0%, #fff 100%);right:0}.login_content h1:before{background:#7e7e7e;background:linear-gradient(right, #7e7e7e 0%, #fff 100%);left:0}.login_content form{margin:20px 0;position:relative}.login_content form input[type="text"],.login_content form input[type="email"],.login_content form input[type="password"]{border-radius:3px;-ms-box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;-o-box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;box-shadow:0 1px 0 #fff,0 -2px 5px rgba(0,0,0,0.08) inset;border:1px solid #c8c8c8;color:#777;margin:0 0 20px;width:100%}.login_content form input[type="text"]:focus,.login_content form input[type="email"]:focus,.login_content form input[type="password"]:focus{-ms-box-shadow:0 0 2px #ed1c24 inset;-o-box-shadow:0 0 2px #ed1c24 inset;box-shadow:0 0 2px #A97AAD inset;background-color:#fff;border:1px solid #A878AF;outline:none}#username{background-position:10px 10px !important}#password{background-position:10px -53px !important}.login_content form div a{font-size:12px;margin:10px 15px 0 0}.reset_pass{margin-top:10px !important}.login_content div .reset_pass{margin-top:13px !important;margin-right:39px;float:right}.separator{border-top:1px solid #D8D8D8;margin-top:10px;padding-top:10px}.button{background:#f7f9fa;background:linear-gradient(top, #f7f9fa 0%, #f0f0f0 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f9fa', endColorstr='#f0f0f0', GradientType=0);-ms-box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;-o-box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;border-radius:0 0 5px 5px;border-top:1px solid #CFD5D9;padding:15px 0}.login_content form input[type="submit"],#content form .submit{float:left;margin-left:38px}.button a{background:url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) 0 -112px no-repeat;color:#7E7E7E;font-size:17px;padding:2px 0 2px 40px;text-decoration:none;transition:all 0.3s ease}.button a:hover{background-position:0 -135px;color:#00aeef}header{width:100%}#nprogress .bar{background:#1ABB9C}#nprogress .peg{box-shadow:0 0 10px #1ABB9C, 0 0 5px #1ABB9C}#nprogress .spinner-icon{border-top-color:#1ABB9C;border-left-color:#1ABB9C}.editor-wrapper{min-height:250px;background-color:white;border-collapse:separate;border:1px solid #ccc;padding:4px;box-sizing:content-box;box-shadow:rgba(0,0,0,0.07451) 0px 1px 1px 0px inset;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px;overflow:scroll;outline:none}.voiceBtn{width:20px;color:transparent;background-color:transparent;transform:scale(2, 2);-webkit-transform:scale(2, 2);-moz-transform:scale(2, 2);border:transparent;cursor:pointer;box-shadow:none;-webkit-box-shadow:none}div[data-role="editor-toolbar"]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dropdown-menu a{cursor:pointer}.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #ccc;border-radius:0;min-height:38px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#73879C;padding-top:5px}.select2-container--default .select2-selection--multiple .select2-selection__rendered{padding-top:3px}.select2-container--default .select2-selection--single .select2-selection__arrow{height:36px}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-container--default .select2-selection--multiple .select2-selection__clear{margin-top:2px;border:none;border-radius:0;padding:3px 5px}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #ccc}.switchery{width:32px;height:20px}.switchery>small{width:20px;height:20px}fieldset{border:none;margin:0;padding:0}.cropper .img-container,.cropper .img-preview{background-color:#f7f7f7;width:100%;text-align:center}.cropper .img-container{min-height:200px;max-height:516px;margin-bottom:20px}@media (min-width: 768px){.cropper .img-container{min-height:516px}}.cropper .img-container>img{max-width:100%}.cropper .docs-preview{margin-right:-15px}.cropper .img-preview{float:left;margin-right:10px;margin-bottom:10px;overflow:hidden}.cropper .img-preview>img{max-width:100%}.cropper .preview-lg{width:263px;height:148px}.cropper .preview-md{width:139px;height:78px}.cropper .preview-sm{width:69px;height:39px}.cropper .preview-xs{width:35px;height:20px;margin-right:0}.cropper .docs-data>.input-group{margin-bottom:10px}.cropper .docs-data>.input-group>label{min-width:80px}.cropper .docs-data>.input-group>span{min-width:50px}.cropper .docs-buttons>.btn,.cropper .docs-buttons>.btn-group,.cropper .docs-buttons>.form-control{margin-right:5px;margin-bottom:10px}.cropper .docs-toggles>.btn,.cropper .docs-toggles>.btn-group,.cropper .docs-toggles>.dropdown{margin-bottom:10px}.cropper .docs-tooltip{display:block;margin:-6px -12px;padding:6px 12px}.cropper .docs-tooltip>.icon{margin:0 -3px;vertical-align:top}.cropper .tooltip-inner{white-space:normal}.cropper .btn-upload .tooltip-inner,.cropper .btn-toggle .tooltip-inner{white-space:nowrap}.cropper .btn-toggle{padding:6px}.cropper .btn-toggle>.docs-tooltip{margin:-6px;padding:6px}@media (max-width: 400px){.cropper .btn-group-crop{margin-right:-15px !important}.cropper .btn-group-crop>.btn{padding-left:5px;padding-right:5px}.cropper .btn-group-crop .docs-tooltip{margin-left:-5px;margin-right:-5px;padding-left:5px;padding-right:5px}}.cropper .docs-options .dropdown-menu{width:100%}.cropper .docs-options .dropdown-menu>li{padding:3px 20px}.cropper .docs-options .dropdown-menu>li:hover{background-color:#f7f7f7}.cropper .docs-options .dropdown-menu>li>label{display:block}.cropper .docs-cropped .modal-body{text-align:center}.cropper .docs-cropped .modal-body>img,.cropper .docs-cropped .modal-body>canvas{max-width:100%}.cropper .docs-diagram .modal-dialog{max-width:352px}.cropper .docs-cropped canvas{max-width:100%}.form_wizard .stepContainer{display:block;position:relative;margin:0;padding:0;border:0 solid #CCC;overflow-x:hidden}.wizard_horizontal ul.wizard_steps{display:table;list-style:none;position:relative;width:100%;margin:0 0 20px}.wizard_horizontal ul.wizard_steps li{display:table-cell;text-align:center}.wizard_horizontal ul.wizard_steps li a,.wizard_horizontal ul.wizard_steps li:hover{display:block;position:relative;-moz-opacity:1;filter:alpha(opacity=100);opacity:1;color:#666}.wizard_horizontal ul.wizard_steps li a:before{content:"";position:absolute;height:4px;background:#ccc;top:20px;width:100%;z-index:4;left:0}.wizard_horizontal ul.wizard_steps li a.disabled .step_no{background:#ccc}.wizard_horizontal ul.wizard_steps li a .step_no{width:40px;height:40px;line-height:40px;border-radius:100px;display:block;margin:0 auto 5px;font-size:16px;text-align:center;position:relative;z-index:5}.wizard_horizontal ul.wizard_steps li a.selected:before,.step_no{background:#34495E;color:#fff}.wizard_horizontal ul.wizard_steps li a.done:before,.wizard_horizontal ul.wizard_steps li a.done .step_no{background:#1ABB9C;color:#fff}.wizard_horizontal ul.wizard_steps li:first-child a:before{left:50%}.wizard_horizontal ul.wizard_steps li:last-child a:before{right:50%;width:50%;left:auto}.wizard_verticle .stepContainer{width:80%;float:left;padding:0 10px}.actionBar{width:100%;border-top:1px solid #ddd;padding:10px 5px;text-align:right;margin-top:10px}.actionBar .buttonDisabled{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);box-shadow:none}.actionBar a{margin:0 3px}.wizard_verticle .wizard_content{width:80%;float:left;padding-left:20px}.wizard_verticle ul.wizard_steps{display:table;list-style:none;position:relative;width:20%;float:left;margin:0 0 20px}.wizard_verticle ul.wizard_steps li{display:list-item;text-align:center}.wizard_verticle ul.wizard_steps li a{height:80px}.wizard_verticle ul.wizard_steps li a:first-child{margin-top:20px}.wizard_verticle ul.wizard_steps li a,.wizard_verticle ul.wizard_steps li:hover{display:block;position:relative;-moz-opacity:1;filter:alpha(opacity=100);opacity:1;color:#666}.wizard_verticle ul.wizard_steps li a:before{content:"";position:absolute;height:100%;background:#ccc;top:20px;width:4px;z-index:4;left:49%}.wizard_verticle ul.wizard_steps li a.disabled .step_no{background:#ccc}.wizard_verticle ul.wizard_steps li a .step_no{width:40px;height:40px;line-height:40px;border-radius:100px;display:block;margin:0 auto 5px;font-size:16px;text-align:center;position:relative;z-index:5}.wizard_verticle ul.wizard_steps li a.selected:before,.step_no{background:#34495E;color:#fff}.wizard_verticle ul.wizard_steps li a.done:before,.wizard_verticle ul.wizard_steps li a.done .step_no{background:#1ABB9C;color:#fff}.wizard_verticle ul.wizard_steps li:first-child a:before{left:49%}.wizard_verticle ul.wizard_steps li:last-child a:before{left:49%;left:auto;width:0}.form_wizard .loader{display:none}.form_wizard .msgBox{display:none}.progress{border-radius:0}.progress-bar-info{background-color:#3498DB}.progress-bar-success{background-color:#26B99A}.progress_summary .progress{margin:5px 0 12px !important}.progress_summary .row{margin-bottom:5px}.progress_summary .row .col-xs-2{padding:0}.progress_summary .more_info span{text-align:right;float:right}.progress_summary .data span{text-align:right;float:right}.progress_summary p{margin-bottom:3px;width:100%}.progress_title .left{float:left;text-align:left}.progress_title .right{float:right;text-align:right;font-weight:300}.progress.progress_sm{border-radius:0;margin-bottom:18px;height:10px !important}.progress.progress_sm .progress-bar{height:10px !important}.dashboard_graph p{margin:0 0 4px}ul.verticle_bars{width:100%}ul.verticle_bars li{width:23%;height:200px;margin:0}.progress.vertical.progress_wide{width:35px}.alert-success{color:#ffffff;background-color:rgba(38,185,154,0.88);border-color:rgba(38,185,154,0.88)}.alert-info{color:#E9EDEF;background-color:rgba(52,152,219,0.88);border-color:rgba(52,152,219,0.88)}.alert-warning{color:#E9EDEF;background-color:rgba(243,156,18,0.88);border-color:rgba(243,156,18,0.88)}.alert-danger,.alert-error{color:#E9EDEF;background-color:rgba(231,76,60,0.88);border-color:rgba(231,76,60,0.88)}.ui-pnotify.dark .ui-pnotify-container{color:#E9EDEF;background-color:rgba(52,73,94,0.88);border-color:rgba(52,73,94,0.88)}.custom-notifications{position:fixed;margin:15px;right:0;float:right;width:400px;z-index:4000;bottom:0}ul.notifications{float:right;display:block;margin-bottom:7px;padding:0;width:100%}.notifications li{float:right;margin:3px;width:36px;box-shadow:3px 3px 3px rgba(0,0,0,0.3)}.notifications li:last-child{margin-left:0}.notifications a{display:block;text-align:center;text-decoration:none;text-transform:uppercase;padding:9px 8px}.tabbed_notifications .text{padding:5px 15px;height:140px;border-radius:7px;box-shadow:6px 6px 6px rgba(0,0,0,0.3)}.tabbed_notifications div p{display:inline-block}.tabbed_notifications h2{font-weight:bold;text-transform:uppercase;width:80%;float:left;height:20px;text-overflow:ellipsis;overflow:hidden;display:block}.tabbed_notifications .close{padding:5px;color:#E9EDEF;float:right;opacity:1}.fc-state-default{background:#f5f5f5;color:#73879C}.fc-state-down,.fc-state-active{color:#333;background:#ccc}.dropzone{min-height:300px;border:1px solid #e5e5e5}
+
+.daterangepicker .ranges li{color:#73879C}.daterangepicker .ranges li.active,.daterangepicker .ranges li:hover{background:#536A7F;border:1px solid #536A7F;color:#fff}.daterangepicker .input-mini{background-color:#eee;border:1px solid #ccc;box-shadow:none !important}.daterangepicker .input-mini.active{border:1px solid #ccc}.daterangepicker select.monthselect,.daterangepicker select.yearselect{font-size:12px;padding:1px;height:auto;margin:0;cursor:default;height:30px;border:1px solid #ADB2B5;line-height:30px;border-radius:0px !important}.daterangepicker select.monthselect{margin-right:2%}.daterangepicker td.in-range{background:#E4E7EA;color:#73879C}.daterangepicker td.active,.daterangepicker td.active:hover{background-color:#536A7F;color:#fff}.daterangepicker th.available:hover{background:#eee;color:#34495E}.daterangepicker:before,.daterangepicker:after{content:none}.daterangepicker .calendar.single{margin:0 0 4px 0}.daterangepicker .calendar.single .calendar-table{width:224px;padding:0 0 4px 0 !important}.daterangepicker .calendar.single .calendar-table thead tr:first-child th{padding:8px 5px}.daterangepicker .calendar.single .calendar-table thead th{border-radius:0}.daterangepicker.picker_1{color:#fff;background:#34495E}.daterangepicker.picker_1 .calendar-table{background:#34495E}.daterangepicker.picker_1 .calendar-table thead tr{background:#213345}.daterangepicker.picker_1 .calendar-table thead tr:first-child{background:#1ABB9C}.daterangepicker.picker_1 .calendar-table td.off{background:#34495E;color:#999}.daterangepicker.picker_1 .calendar-table td.available:hover{color:#34495E}.daterangepicker.picker_2 .calendar-table thead tr{color:#1ABB9C}.daterangepicker.picker_2 .calendar-table thead tr:first-child{color:#73879C}.daterangepicker.picker_3 .calendar-table thead tr:first-child{color:#fff;background:#1ABB9C}.daterangepicker.picker_4 .calendar-table thead tr:first-child{color:#fff;background:#34495E}.daterangepicker.picker_4 .calendar-table td,.daterangepicker.picker_4 .calendar-table td.off{background:#ECF0F1;border:1px solid #fff;border-radius:0}.daterangepicker.picker_4 .calendar-table td.active{background:#34495E}.calendar-exibit .show-calendar{float:none;display:block;position:relative;background-color:#fff;border:1px solid #ccc;margin-bottom:20px;border:1px solid rgba(0,0,0,0.15);overflow:hidden}.calendar-exibit .show-calendar .calendar{margin:0 0 4px 0}.calendar-exibit .show-calendar.picker_1{background:#34495E}.calendar-exibit .calendar-table{padding:0 0 4px 0}
diff --git a/build/js/custom.js b/build/js/custom.js
index 154b96c1..1acf545e 100644
--- a/build/js/custom.js
+++ b/build/js/custom.js
@@ -39,7 +39,7 @@
* and open the template in the editor.
*/
-var CURRENT_URL = window.location.href.split('?')[0],
+var CURRENT_URL = window.location.href.split('#')[0].split('?')[0],
$BODY = $('body'),
$MENU_TOGGLE = $('#menu_toggle'),
$SIDEBAR_MENU = $('#sidebar-menu'),
@@ -276,4 +276,4 @@ if (typeof NProgress != 'undefined') {
$(window).load(function () {
NProgress.done();
});
-}
\ No newline at end of file
+}
diff --git a/build/js/custom.min.js b/build/js/custom.min.js
index d7e8b4df..627697b8 100644
--- a/build/js/custom.min.js
+++ b/build/js/custom.min.js
@@ -1 +1 @@
-function countChecked(){"all"===checkState&&$(".bulk_action input[name='table_records']").iCheck("check"),"none"===checkState&&$(".bulk_action input[name='table_records']").iCheck("uncheck");var e=$(".bulk_action input[name='table_records']:checked").length;e?($(".column-title").hide(),$(".bulk-actions").show(),$(".action-cnt").html(e+" Records Selected")):($(".column-title").show(),$(".bulk-actions").hide())}!function(e,t){var n=function(e,t,n){var i;return function(){function c(){n||e.apply(a,o),i=null}var a=this,o=arguments;i?clearTimeout(i):n&&e.apply(a,o),i=setTimeout(c,t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",n(e)):this.trigger(t)}}(jQuery,"smartresize");var CURRENT_URL=window.location.href.split("?")[0],$BODY=$("body"),$MENU_TOGGLE=$("#menu_toggle"),$SIDEBAR_MENU=$("#sidebar-menu"),$SIDEBAR_FOOTER=$(".sidebar-footer"),$LEFT_COL=$(".left_col"),$RIGHT_COL=$(".right_col"),$NAV_MENU=$(".nav_menu"),$FOOTER=$("footer");$(document).ready(function(){var e=function(){$RIGHT_COL.css("min-height",$(window).height());var e=$BODY.outerHeight(),t=$BODY.hasClass("footer_fixed")?-10:$FOOTER.height(),n=$LEFT_COL.eq(1).height()+$SIDEBAR_FOOTER.height(),i=n>e?n:e;i-=$NAV_MENU.height()+t,$RIGHT_COL.css("min-height",i)};$SIDEBAR_MENU.find("a").on("click",function(t){var n=$(this).parent();n.is(".active")?(n.removeClass("active active-sm"),$("ul:first",n).slideUp(function(){e()})):(n.parent().is(".child_menu")||($SIDEBAR_MENU.find("li").removeClass("active active-sm"),$SIDEBAR_MENU.find("li ul").slideUp()),n.addClass("active"),$("ul:first",n).slideDown(function(){e()}))}),$MENU_TOGGLE.on("click",function(){$BODY.hasClass("nav-md")?($SIDEBAR_MENU.find("li.active ul").hide(),$SIDEBAR_MENU.find("li.active").addClass("active-sm").removeClass("active")):($SIDEBAR_MENU.find("li.active-sm ul").show(),$SIDEBAR_MENU.find("li.active-sm").addClass("active").removeClass("active-sm")),$BODY.toggleClass("nav-md nav-sm"),e()}),$SIDEBAR_MENU.find('a[href="'+CURRENT_URL+'"]').parent("li").addClass("current-page"),$SIDEBAR_MENU.find("a").filter(function(){return this.href==CURRENT_URL}).parent("li").addClass("current-page").parents("ul").slideDown(function(){e()}).parent().addClass("active"),$(window).smartresize(function(){e()}),e(),$.fn.mCustomScrollbar&&$(".menu_fixed").mCustomScrollbar({autoHideScrollbar:!0,theme:"minimal",mouseWheel:{preventDefault:!0}})}),$(document).ready(function(){$(".collapse-link").on("click",function(){var e=$(this).closest(".x_panel"),t=$(this).find("i"),n=e.find(".x_content");e.attr("style")?n.slideToggle(200,function(){e.removeAttr("style")}):(n.slideToggle(200),e.css("height","auto")),t.toggleClass("fa-chevron-up fa-chevron-down")}),$(".close-link").click(function(){var e=$(this).closest(".x_panel");e.remove()})}),$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip({container:"body"})}),$(".progress .progress-bar")[0]&&$(".progress .progress-bar").progressbar(),$(document).ready(function(){if($(".js-switch")[0]){var e=Array.prototype.slice.call(document.querySelectorAll(".js-switch"));e.forEach(function(e){new Switchery(e,{color:"#26B99A"})})}}),$(document).ready(function(){$("input.flat")[0]&&$(document).ready(function(){$("input.flat").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"})})}),$("table input").on("ifChecked",function(){checkState="",$(this).parent().parent().parent().addClass("selected"),countChecked()}),$("table input").on("ifUnchecked",function(){checkState="",$(this).parent().parent().parent().removeClass("selected"),countChecked()});var checkState="";$(".bulk_action input").on("ifChecked",function(){checkState="",$(this).parent().parent().parent().addClass("selected"),countChecked()}),$(".bulk_action input").on("ifUnchecked",function(){checkState="",$(this).parent().parent().parent().removeClass("selected"),countChecked()}),$(".bulk_action input#check-all").on("ifChecked",function(){checkState="all",countChecked()}),$(".bulk_action input#check-all").on("ifUnchecked",function(){checkState="none",countChecked()}),$(document).ready(function(){$(".expand").on("click",function(){$(this).next().slideToggle(200),$expand=$(this).find(">:first-child"),"+"==$expand.text()?$expand.text("-"):$expand.text("+")})}),"undefined"!=typeof NProgress&&($(document).ready(function(){NProgress.start()}),$(window).load(function(){NProgress.done()}));
\ No newline at end of file
+function countChecked(){"all"===checkState&&$(".bulk_action input[name='table_records']").iCheck("check"),"none"===checkState&&$(".bulk_action input[name='table_records']").iCheck("uncheck");var e=$(".bulk_action input[name='table_records']:checked").length;e?($(".column-title").hide(),$(".bulk-actions").show(),$(".action-cnt").html(e+" Records Selected")):($(".column-title").show(),$(".bulk-actions").hide())}!function(e,t){var n=function(e,t,n){var i;return function(){function c(){n||e.apply(a,o),i=null}var a=this,o=arguments;i?clearTimeout(i):n&&e.apply(a,o),i=setTimeout(c,t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",n(e)):this.trigger(t)}}(jQuery,"smartresize");var CURRENT_URL=window.location.href.split("#")[0].split("?")[0],$BODY=$("body"),$MENU_TOGGLE=$("#menu_toggle"),$SIDEBAR_MENU=$("#sidebar-menu"),$SIDEBAR_FOOTER=$(".sidebar-footer"),$LEFT_COL=$(".left_col"),$RIGHT_COL=$(".right_col"),$NAV_MENU=$(".nav_menu"),$FOOTER=$("footer");$(document).ready(function(){var e=function(){$RIGHT_COL.css("min-height",$(window).height());var e=$BODY.outerHeight(),t=$BODY.hasClass("footer_fixed")?-10:$FOOTER.height(),n=$LEFT_COL.eq(1).height()+$SIDEBAR_FOOTER.height(),i=n>e?n:e;i-=$NAV_MENU.height()+t,$RIGHT_COL.css("min-height",i)};$SIDEBAR_MENU.find("a").on("click",function(t){var n=$(this).parent();n.is(".active")?(n.removeClass("active active-sm"),$("ul:first",n).slideUp(function(){e()})):(n.parent().is(".child_menu")||($SIDEBAR_MENU.find("li").removeClass("active active-sm"),$SIDEBAR_MENU.find("li ul").slideUp()),n.addClass("active"),$("ul:first",n).slideDown(function(){e()}))}),$MENU_TOGGLE.on("click",function(){$BODY.hasClass("nav-md")?($SIDEBAR_MENU.find("li.active ul").hide(),$SIDEBAR_MENU.find("li.active").addClass("active-sm").removeClass("active")):($SIDEBAR_MENU.find("li.active-sm ul").show(),$SIDEBAR_MENU.find("li.active-sm").addClass("active").removeClass("active-sm")),$BODY.toggleClass("nav-md nav-sm"),e()}),$SIDEBAR_MENU.find('a[href="'+CURRENT_URL+'"]').parent("li").addClass("current-page"),$SIDEBAR_MENU.find("a").filter(function(){return this.href==CURRENT_URL}).parent("li").addClass("current-page").parents("ul").slideDown(function(){e()}).parent().addClass("active"),$(window).smartresize(function(){e()}),e(),$.fn.mCustomScrollbar&&$(".menu_fixed").mCustomScrollbar({autoHideScrollbar:!0,theme:"minimal",mouseWheel:{preventDefault:!0}})}),$(document).ready(function(){$(".collapse-link").on("click",function(){var e=$(this).closest(".x_panel"),t=$(this).find("i"),n=e.find(".x_content");e.attr("style")?n.slideToggle(200,function(){e.removeAttr("style")}):(n.slideToggle(200),e.css("height","auto")),t.toggleClass("fa-chevron-up fa-chevron-down")}),$(".close-link").click(function(){var e=$(this).closest(".x_panel");e.remove()})}),$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip({container:"body"})}),$(".progress .progress-bar")[0]&&$(".progress .progress-bar").progressbar(),$(document).ready(function(){if($(".js-switch")[0]){var e=Array.prototype.slice.call(document.querySelectorAll(".js-switch"));e.forEach(function(e){new Switchery(e,{color:"#26B99A"})})}}),$(document).ready(function(){$("input.flat")[0]&&$(document).ready(function(){$("input.flat").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"})})}),$("table input").on("ifChecked",function(){checkState="",$(this).parent().parent().parent().addClass("selected"),countChecked()}),$("table input").on("ifUnchecked",function(){checkState="",$(this).parent().parent().parent().removeClass("selected"),countChecked()});var checkState="";$(".bulk_action input").on("ifChecked",function(){checkState="",$(this).parent().parent().parent().addClass("selected"),countChecked()}),$(".bulk_action input").on("ifUnchecked",function(){checkState="",$(this).parent().parent().parent().removeClass("selected"),countChecked()}),$(".bulk_action input#check-all").on("ifChecked",function(){checkState="all",countChecked()}),$(".bulk_action input#check-all").on("ifUnchecked",function(){checkState="none",countChecked()}),$(document).ready(function(){$(".expand").on("click",function(){$(this).next().slideToggle(200),$expand=$(this).find(">:first-child"),"+"==$expand.text()?$expand.text("-"):$expand.text("+")})}),"undefined"!=typeof NProgress&&($(document).ready(function(){NProgress.start()}),$(window).load(function(){NProgress.done()}));
\ No newline at end of file
diff --git a/production/form.html b/production/form.html
index 58bb145f..8fa44f14 100755
--- a/production/form.html
+++ b/production/form.html
@@ -25,6 +25,8 @@
+
+
@@ -1335,8 +1337,8 @@
-
-
+
+
diff --git a/production/form_advanced.html b/production/form_advanced.html
index 75ce15c9..139ce1af 100755
--- a/production/form_advanced.html
+++ b/production/form_advanced.html
@@ -15,6 +15,8 @@
+
+
@@ -569,185 +571,9 @@
-
-
+
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
+
@@ -765,182 +591,7 @@
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
+
@@ -957,182 +608,7 @@
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
+
@@ -1148,182 +624,7 @@
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
-
-
-
-
-
- Mar 2013
-
-
-
-
- Su
- Mo
- Tu
- We
- Th
- Fr
- Sa
-
-
-
-
- 24
- 25
- 26
- 27
- 28
- 1
- 2
-
-
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-
-
- 10
- 11
- 12
- 13
- 14
- 15
- 16
-
-
- 17
- 18
- 19
- 20
- 21
- 22
- 23
-
-
- 24
- 25
- 26
- 27
- 28
- 29
- 30
-
-
- 31
- 1
- 2
- 3
- 4
- 5
- 6
-
-
-
-
-
-
-
+
@@ -1892,8 +1193,8 @@
-
-
+
+
@@ -2062,25 +1363,25 @@
$(document).ready(function() {
$('#single_cal1').daterangepicker({
singleDatePicker: true,
- calender_style: "picker_1"
+ singleClasses: "picker_1"
}, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal2').daterangepicker({
singleDatePicker: true,
- calender_style: "picker_2"
+ singleClasses: "picker_2"
}, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal3').daterangepicker({
singleDatePicker: true,
- calender_style: "picker_3"
+ singleClasses: "picker_3"
}, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal4').daterangepicker({
singleDatePicker: true,
- calender_style: "picker_4"
+ singleClasses: "picker_4"
}, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
diff --git a/production/index.html b/production/index.html
index ded93684..15a7e171 100755
--- a/production/index.html
+++ b/production/index.html
@@ -21,6 +21,8 @@
+
+
@@ -1014,8 +1016,8 @@
-
-
+
+
diff --git a/production/index2.html b/production/index2.html
index 6b22d2df..d4785526 100755
--- a/production/index2.html
+++ b/production/index2.html
@@ -15,6 +15,8 @@
+
+
@@ -760,8 +762,8 @@
-
-
+
+
diff --git a/production/index3.html b/production/index3.html
index e3b5088a..d86e8dc4 100755
--- a/production/index3.html
+++ b/production/index3.html
@@ -18,6 +18,8 @@
+
+
@@ -876,8 +878,8 @@
-
-
+
+
diff --git a/production/profile.html b/production/profile.html
index 59ae8e23..7b18b581 100755
--- a/production/profile.html
+++ b/production/profile.html
@@ -15,7 +15,9 @@
-
+
+
+
@@ -570,8 +572,8 @@
-
-
+
+
diff --git a/src/scss/custom.scss b/src/scss/custom.scss
index 8d3b7cee..793155d2 100644
--- a/src/scss/custom.scss
+++ b/src/scss/custom.scss
@@ -4319,316 +4319,6 @@ ul.notifications {
}
/** /PNotify **/
-/** bootstrap-daterangepicker **/
-.daterangepicker.dropdown-menu {
- font-size: 13px;
- padding: 0;
- overflow: hidden;
-}
-
-.daterangepicker.picker_1 {
- background: #34495E;
- color: #ECF0F1;
-}
-
-.daterangepicker.picker_1 table.table-condensed thead tr:first-child {
- background: #1ABB9C;
-}
-
-.daterangepicker table.table-condensed thead tr:first-child th {
- line-height: 28px;
- text-align: center;
-}
-
-.daterangepicker.picker_1 table.table-condensed thead tr {
- background: #213345;
-}
-
-.daterangepicker table.table-condensed thead tr {
- line-height: 14px;
-}
-
-.daterangepicker table.table-condensed tbody tr:first-child td {
- padding-top: 10px;
-}
-
-.daterangepicker table.table-condensed th:first-child, .daterangepicker table.table-condensed td:first-child {
- padding-left: 12px
-}
-
-.daterangepicker table.table-condensed th:last-child, .daterangepicker table.table-condensed td:last-child {
- padding-right: 12px
-}
-
-.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
- padding: 5px 7px;
- text-align: center;
-}
-
-.daterangepicker table.table-condensed tbody tr:last-child td {
- padding-bottom: 10px;
-}
-
-.daterangepicker.picker_2 table.table-condensed thead tr:first-child {
- color: inherit;
-}
-
-.daterangepicker.picker_2 table.table-condensed thead tr {
- color: #1ABB9C;
-}
-
-.daterangepicker.picker_3 table.table-condensed thead tr:first-child {
- background: #1ABB9C;
- color: #ECF0F1;
-}
-
-.daterangepicker.picker_4 table.table-condensed tbody td {
- background: #ECF0F1;
- color: #34495E;
- border: 1px solid #fff;
- padding: 4px 7px;
-}
-
-.daterangepicker.picker_4 table.table-condensed tbody td.active {
- background: #536A7F;
- color: #fff;
-}
-
-.daterangepicker.picker_4 table.table-condensed thead tr:first-child {
- background: #34495E;
- color: #ECF0F1;
-}
-
-.xdisplay_input {
- width: 240px;
- overflow: hidden;
- padding: 0;
-}
-
-.xdisplay {
- background-color: #fff;
- -webkit-background-clip: padding-box;
- background-clip: padding-box;
- border: 1px solid #ccc;
- margin-bottom: 20px;
- border: 1px solid rgba(0, 0, 0, .15);
- border-radius: 4px;
- width: 230px;
- overflow: hidden;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
-}
-
-.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar, .daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar {
- float: right;
-}
-
-.daterangepicker.dropdown-menu .calendar {}
-.daterangepicker table {
- width: 100%;
- margin: 0;
-}
-
-.daterangepicker td, .daterangepicker th {
- text-align: center;
- width: 20px;
- height: 20px;
- cursor: pointer;
- white-space: nowrap;
-}
-
-.daterangepicker td.off {
- color: #999;
-}
-
-.daterangepicker td.disabled {
- color: #999;
-}
-
-.daterangepicker td.available:hover, .daterangepicker th.available:hover {
- background: #eee;
- color: #34495E;
-}
-
-.daterangepicker td.in-range {
- background: #E4E7EA;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
-}
-
-.daterangepicker td.available + td.start-date {
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
-}
-
-.daterangepicker td.in-range + td.end-date {
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
-}
-
-.daterangepicker td.start-date.end-date {
- -webkit-border-radius: 4px !important;
- -moz-border-radius: 4px !important;
- border-radius: 4px !important;
-}
-
-.daterangepicker td.active, .daterangepicker td.active:hover {
- background-color: #536A7F;
- color: #fff;
-}
-
-.daterangepicker td.week, .daterangepicker th.week {
- font-size: 80%;
- color: #ccc;
-}
-
-.daterangepicker select.monthselect, .daterangepicker select.yearselect {
- font-size: 12px;
- padding: 1px;
- height: auto;
- margin: 0;
- cursor: default;
- height: 30px;
- border: 1px solid #ADB2B5;
- line-height: 30px;
- border-radius: 0px !important;
-}
-
-.daterangepicker select.monthselect {
- margin-right: 2%;
- width: 56%;
-}
-
-.daterangepicker select.yearselect {
- width: 40%;
-}
-
-.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
- width: 50px;
- margin-bottom: 0;
-}
-
-.daterangepicker_start_input {
- float: left;
-}
-
-.daterangepicker_end_input {
- float: left;
- padding-left: 11px;
-}
-
-.daterangepicker th.month {
- width: auto;
-}
-
-.daterangepicker .daterangepicker_start_input label, .daterangepicker .daterangepicker_end_input label {
- color: #333;
- display: block;
- font-size: 11px;
- font-weight: normal;
- height: 20px;
- line-height: 20px;
- margin-bottom: 2px;
- text-shadow: #fff 1px 1px 0px;
- text-transform: uppercase;
- width: 74px;
-}
-
-.daterangepicker .ranges input {
- font-size: 11px;
-}
-
-.daterangepicker .ranges .input-mini {
- background-color: #eee;
- border: 1px solid #ccc;
- border-radius: 4px;
- color: #555;
- display: block;
- font-size: 11px;
- height: 30px;
- line-height: 30px;
- vertical-align: middle;
- margin: 0 0 10px 0;
- padding: 0 6px;
- width: 74px;
-}
-
-.daterangepicker .ranges .input-mini:hover {
- cursor: pointer;
-}
-
-.daterangepicker .ranges ul {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-.daterangepicker .ranges li {
- font-size: 13px;
- background: #f5f5f5;
- border: 1px solid #f5f5f5;
- color: #536A7F;
- padding: 3px 12px;
- margin-bottom: 8px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- cursor: pointer;
-}
-
-.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
- background: #536A7F;
- border: 1px solid #536A7F;
- color: #fff;
-}
-
-.daterangepicker .calendar {
- display: none;
- max-width: 270px;
-}
-
-.daterangepicker.show-calendar .calendar {
- display: block;
-}
-
-.daterangepicker .calendar.single .calendar-date {
- border: none;
-}
-
-.daterangepicker.single .ranges, .daterangepicker.single .calendar {
- float: none;
-}
-
-.daterangepicker .ranges {
- width: 160px;
- text-align: left;
- margin: 4px;
-}
-
-.daterangepicker .ranges .range_inputs>div {
- float: left;
-}
-
-.daterangepicker .ranges .range_inputs>div:nth-child(2) {
- padding-left: 11px;
-}
-
-.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
- float: left;
- margin: 4px;
-}
-
-.daterangepicker .icon {
- width: 20px;
- height: 20px;
- display: inline-block;
- vertical-align: middle;
-}
-/** bootstrap-daterangepicker **/
-
/** FullCalendar **/
.fc-state-default {
background: #f5f5f5;
@@ -4647,4 +4337,4 @@ ul.notifications {
min-height: 300px;
border: 1px solid #e5e5e5;
}
-/** /Dropzone.js **/
+/** /Dropzone.js **/
\ No newline at end of file
diff --git a/src/scss/daterangepicker.scss b/src/scss/daterangepicker.scss
new file mode 100644
index 00000000..6d1c7ddd
--- /dev/null
+++ b/src/scss/daterangepicker.scss
@@ -0,0 +1,182 @@
+.daterangepicker {
+ .ranges {
+ li {
+ color: #73879C;
+
+ &.active, &:hover {
+ background: #536A7F;
+ border: 1px solid #536A7F;
+ color: #fff;
+ }
+ }
+ }
+
+ .input-mini {
+ background-color: #eee;
+ border: 1px solid #ccc;
+ box-shadow: none !important;
+
+ &.active {
+ border: 1px solid #ccc;
+ }
+ }
+
+ select {
+ &.monthselect, &.yearselect {
+ font-size: 12px;
+ padding: 1px;
+ height: auto;
+ margin: 0;
+ cursor: default;
+ height: 30px;
+ border: 1px solid #ADB2B5;
+ line-height: 30px;
+ border-radius: 0px !important;
+ }
+
+ &.monthselect {
+ margin-right: 2%;
+ }
+ }
+
+ td {
+ &.in-range {
+ background: #E4E7EA;
+ color: #73879C;
+ }
+
+ &.active, &.active:hover {
+ background-color: #536A7F;
+ color: #fff;
+ }
+ }
+
+ th.available:hover {
+ background: #eee;
+ color: #34495E;
+ }
+
+ &:before, &:after {
+ content: none;
+ }
+
+ .calendar.single {
+ margin: 0 0 4px 0;
+
+ .calendar-table {
+ width: 224px;
+ padding: 0 0 4px 0 !important;
+
+ thead {
+ & tr:first-child {
+ th {
+ padding: 8px 5px;
+ }
+ }
+
+ th {
+ border-radius: 0;
+ }
+ }
+ }
+ }
+
+ &.picker_1 {
+ color: #fff;
+ background: #34495E;
+
+ .calendar-table {
+ background: #34495E;
+
+ thead {
+ & tr {
+ background: #213345;
+ }
+
+ & tr:first-child {
+ background: #1ABB9C;
+ }
+ }
+
+ td.off {
+ background: #34495E;
+ color: #999;
+ }
+
+ td.available:hover {
+ color: #34495E;
+ }
+ }
+ }
+
+ &.picker_2 {
+ .calendar-table {
+ thead {
+ & tr {
+ color: #1ABB9C;
+ }
+
+ & tr:first-child {
+ color: #73879C;
+ }
+ }
+ }
+ }
+
+ &.picker_3 {
+ .calendar-table {
+ thead {
+ & tr:first-child {
+ color: #fff;
+ background: #1ABB9C;
+ }
+ }
+ }
+ }
+
+ &.picker_4 {
+ .calendar-table {
+ thead {
+ & tr:first-child {
+ color: #fff;
+ background: #34495E;;
+ }
+ }
+
+ td, td.off {
+ background: #ECF0F1;
+ border: 1px solid #fff;
+ border-radius: 0;
+ }
+
+ td.active {
+ background: #34495E;
+ }
+ }
+ }
+}
+
+.calendar-exibit {
+ .show-calendar {
+ float: none;
+ display: block;
+ position: relative;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ margin-bottom: 20px;
+ border: 1px solid rgba(0,0,0,0.15);
+ overflow: hidden;
+
+ .calendar {
+ margin: 0 0 4px 0;
+ }
+
+ &.picker_1 {
+ background: #34495E;
+ }
+ }
+
+ .calendar-table {
+ padding: 0 0 4px 0;
+ }
+}
\ No newline at end of file
diff --git a/vendors/bootstrap-daterangepicker/.bower.json b/vendors/bootstrap-daterangepicker/.bower.json
index fe19f7e6..772b7ca6 100644
--- a/vendors/bootstrap-daterangepicker/.bower.json
+++ b/vendors/bootstrap-daterangepicker/.bower.json
@@ -14,18 +14,17 @@
"moment.min.js"
],
"dependencies": {
- "jquery": ">=1.10",
+ "jquery": "1.9.1 - 3",
"moment": ">=2.9.0"
},
- "homepage": "https://github.com/dangrossman/bootstrap-daterangepicker",
- "version": "2.1.21",
- "_release": "2.1.21",
+ "homepage": "https://github.com/christianesperar/bootstrap-daterangepicker",
+ "_release": "fc748970e8",
"_resolution": {
- "type": "version",
- "tag": "v2.1.21",
- "commit": "d39abc8b91b662b8b60a75e18c2de09fd6c04299"
+ "type": "branch",
+ "branch": "master",
+ "commit": "fc748970e8228ab271ba9ca799f57d8f8c6a5013"
},
- "_source": "https://github.com/dangrossman/bootstrap-daterangepicker.git",
- "_target": "^2.1.19",
- "_originalSource": "bootstrap-daterangepicker"
+ "_source": "git@github.com:christianesperar/bootstrap-daterangepicker.git",
+ "_target": "master",
+ "_originalSource": "git@github.com:christianesperar/bootstrap-daterangepicker.git"
}
\ No newline at end of file
diff --git a/vendors/bootstrap-daterangepicker/bower.json b/vendors/bootstrap-daterangepicker/bower.json
index d79a6f65..d42995a6 100644
--- a/vendors/bootstrap-daterangepicker/bower.json
+++ b/vendors/bootstrap-daterangepicker/bower.json
@@ -14,7 +14,7 @@
"moment.min.js"
],
"dependencies": {
- "jquery": ">=1.10",
+ "jquery": "1.9.1 - 3",
"moment": ">=2.9.0"
}
}
diff --git a/vendors/bootstrap-daterangepicker/daterangepicker.js b/vendors/bootstrap-daterangepicker/daterangepicker.js
index f8554996..e0024b67 100644
--- a/vendors/bootstrap-daterangepicker/daterangepicker.js
+++ b/vendors/bootstrap-daterangepicker/daterangepicker.js
@@ -1,5 +1,5 @@
/**
-* @version: 2.1.21
+* @version: 2.1.24
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2016 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
@@ -41,6 +41,7 @@
this.showDropdowns = false;
this.showWeekNumbers = false;
this.showISOWeekNumbers = false;
+ this.showCustomRangeLabel = true;
this.timePicker = false;
this.timePicker24Hour = false;
this.timePickerIncrement = 1;
@@ -64,7 +65,7 @@
this.locale = {
direction: 'ltr',
- format: 'MM/DD/YYYY',
+ format: moment.localeData().longDateFormat('L'),
separator: ' - ',
applyLabel: 'Apply',
cancelLabel: 'Cancel',
@@ -224,9 +225,19 @@
if (typeof options.buttonClasses === 'object')
this.buttonClasses = options.buttonClasses.join(' ');
+ if (typeof options.singleClasses === 'string')
+ this.singleClasses = options.singleClasses;
+
+ if (typeof options.singleClasses === 'object')
+ this.singleClasses = options.singleClasses.join(' ');
+
+
if (typeof options.showDropdowns === 'boolean')
this.showDropdowns = options.showDropdowns;
+ if (typeof options.showCustomRangeLabel === 'boolean')
+ this.showCustomRangeLabel = options.showCustomRangeLabel;
+
if (typeof options.singleDatePicker === 'boolean') {
this.singleDatePicker = options.singleDatePicker;
if (this.singleDatePicker)
@@ -336,9 +347,11 @@
var list = '';
for (range in this.ranges) {
- list += '' + range + ' ';
+ list += '' + range + ' ';
+ }
+ if (this.showCustomRangeLabel) {
+ list += '' + this.locale.customRangeLabel + ' ';
}
- list += '' + this.locale.customRangeLabel + ' ';
list += ' ';
this.container.find('.ranges').prepend(list);
}
@@ -365,11 +378,16 @@
if (this.singleDatePicker) {
this.container.addClass('single');
+ if (this.singleClasses) {
+ this.container.addClass(this.singleClasses);
+ }
this.container.find('.calendar.left').addClass('single');
this.container.find('.calendar.left').show();
this.container.find('.calendar.right').hide();
this.container.find('.daterangepicker_input input, .daterangepicker_input > i').hide();
- if (!this.timePicker) {
+ if (this.timePicker) {
+ this.container.find('.ranges ul').hide();
+ } else {
this.container.find('.ranges').hide();
}
}
@@ -401,14 +419,15 @@
this.container.find('.calendar')
.on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this))
.on('click.daterangepicker', '.next', $.proxy(this.clickNext, this))
- .on('click.daterangepicker', 'td.available', $.proxy(this.clickDate, this))
+ .on('mousedown.daterangepicker', 'td.available', $.proxy(this.clickDate, this))
.on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this))
.on('mouseleave.daterangepicker', 'td.available', $.proxy(this.updateFormInputs, this))
.on('change.daterangepicker', 'select.yearselect', $.proxy(this.monthOrYearChanged, this))
.on('change.daterangepicker', 'select.monthselect', $.proxy(this.monthOrYearChanged, this))
.on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.timeChanged, this))
.on('click.daterangepicker', '.daterangepicker_input input', $.proxy(this.showCalendars, this))
- //.on('keyup.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this))
+ .on('focus.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsFocused, this))
+ .on('blur.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsBlurred, this))
.on('change.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this));
this.container.find('.ranges')
@@ -461,13 +480,13 @@
this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);
if (this.minDate && this.startDate.isBefore(this.minDate)) {
- this.startDate = this.minDate;
+ this.startDate = this.minDate.clone();
if (this.timePicker && this.timePickerIncrement)
this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);
}
if (this.maxDate && this.startDate.isAfter(this.maxDate)) {
- this.startDate = this.maxDate;
+ this.startDate = this.maxDate.clone();
if (this.timePicker && this.timePickerIncrement)
this.startDate.minute(Math.floor(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);
}
@@ -495,7 +514,7 @@
this.endDate = this.startDate.clone();
if (this.maxDate && this.endDate.isAfter(this.maxDate))
- this.endDate = this.maxDate;
+ this.endDate = this.maxDate.clone();
if (this.dateLimit && this.startDate.clone().add(this.dateLimit).isBefore(this.endDate))
this.endDate = this.startDate.clone().add(this.dateLimit);
@@ -846,6 +865,10 @@
renderTimePicker: function(side) {
+ // Don't bother updating the time picker if it's currently disabled
+ // because an end date hasn't been clicked yet
+ if (side == 'right' && !this.endDate) return;
+
var html, selected, minDate, maxDate = this.maxDate;
if (this.dateLimit && (!this.maxDate || this.startDate.clone().add(this.dateLimit).isAfter(this.maxDate)))
@@ -855,12 +878,12 @@
selected = this.startDate.clone();
minDate = this.minDate;
} else if (side == 'right') {
- selected = this.endDate ? this.endDate.clone() : this.previousRightTime.clone();
+ selected = this.endDate.clone();
minDate = this.startDate;
//Preserve the time already selected
var timeSelector = this.container.find('.calendar.right .calendar-time div');
- if (timeSelector.html() != '') {
+ if (!this.endDate && timeSelector.html() != '') {
selected.hour(timeSelector.find('.hourselect option:selected').val() || selected.hour());
selected.minute(timeSelector.find('.minuteselect option:selected').val() || selected.minute());
@@ -874,13 +897,14 @@
selected.hour(0);
}
- if (selected.isBefore(this.startDate))
- selected = this.startDate.clone();
-
- if (maxDate && selected.isAfter(maxDate))
- selected = maxDate.clone();
-
}
+
+ if (selected.isBefore(this.startDate))
+ selected = this.startDate.clone();
+
+ if (maxDate && selected.isAfter(maxDate))
+ selected = maxDate.clone();
+
}
//
@@ -1149,6 +1173,7 @@
target.closest('.calendar-table').length
) return;
this.hide();
+ this.element.trigger('outsideClick.daterangepicker', this);
},
showCalendars: function() {
@@ -1168,7 +1193,8 @@
if (this.container.find('input[name=daterangepicker_start]').is(":focus") || this.container.find('input[name=daterangepicker_end]').is(":focus"))
return;
- var label = e.target.innerHTML;
+ var label = e.target.getAttribute('data-range-key');
+
if (label == this.locale.customRangeLabel) {
this.updateView();
} else {
@@ -1180,7 +1206,7 @@
},
clickRange: function(e) {
- var label = e.target.innerHTML;
+ var label = e.target.getAttribute('data-range-key');
this.chosenLabel = label;
if (label == this.locale.customRangeLabel) {
this.showCalendars();
@@ -1227,8 +1253,8 @@
hoverDate: function(e) {
//ignore mouse movements while an above-calendar text input has focus
- if (this.container.find('input[name=daterangepicker_start]').is(":focus") || this.container.find('input[name=daterangepicker_end]').is(":focus"))
- return;
+ //if (this.container.find('input[name=daterangepicker_start]').is(":focus") || this.container.find('input[name=daterangepicker_end]').is(":focus"))
+ // return;
//ignore dates that can't be selected
if (!$(e.target).hasClass('available')) return;
@@ -1240,9 +1266,9 @@
var cal = $(e.target).parents('.calendar');
var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col];
- if (this.endDate) {
+ if (this.endDate && !this.container.find('input[name=daterangepicker_start]').is(":focus")) {
this.container.find('input[name=daterangepicker_start]').val(date.format(this.locale.format));
- } else {
+ } else if (!this.endDate && !this.container.find('input[name=daterangepicker_end]').is(":focus")) {
this.container.find('input[name=daterangepicker_end]').val(date.format(this.locale.format));
}
@@ -1289,9 +1315,10 @@
// * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date
// * if autoapply is enabled, and an end date was chosen, apply the selection
// * if single date picker mode, and time picker isn't enabled, apply the selection immediately
+ // * if one of the inputs above the calendars was focused, cancel that manual input
//
- if (this.endDate || date.isBefore(this.startDate, 'day')) {
+ if (this.endDate || date.isBefore(this.startDate, 'day')) { //picking start
if (this.timePicker) {
var hour = parseInt(this.container.find('.left .hourselect').val(), 10);
if (!this.timePicker24Hour) {
@@ -1311,7 +1338,7 @@
//special case: clicking the same date for start/end,
//but the time of the end date is before the start date
this.setEndDate(this.startDate.clone());
- } else {
+ } else { // picking end
if (this.timePicker) {
var hour = parseInt(this.container.find('.right .hourselect').val(), 10);
if (!this.timePicker24Hour) {
@@ -1340,32 +1367,39 @@
this.updateView();
+ //This is to cancel the blur event handler if the mouse was in one of the inputs
+ e.stopPropagation();
+
},
- calculateChosenLabel: function() {
- var customRange = true;
- var i = 0;
- for (var range in this.ranges) {
- if (this.timePicker) {
- if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) {
- customRange = false;
- this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
- break;
- }
- } else {
- //ignore times when comparing dates if time picker is not enabled
- if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) {
- customRange = false;
- this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
- break;
- }
- }
- i++;
- }
- if (customRange) {
- this.chosenLabel = this.container.find('.ranges li:last').addClass('active').html();
- this.showCalendars();
- }
+ calculateChosenLabel: function () {
+ var customRange = true;
+ var i = 0;
+ for (var range in this.ranges) {
+ if (this.timePicker) {
+ if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) {
+ customRange = false;
+ this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
+ break;
+ }
+ } else {
+ //ignore times when comparing dates if time picker is not enabled
+ if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) {
+ customRange = false;
+ this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
+ break;
+ }
+ }
+ i++;
+ }
+ if (customRange) {
+ if (this.showCustomRangeLabel) {
+ this.chosenLabel = this.container.find('.ranges li:last').addClass('active').html();
+ } else {
+ this.chosenLabel = null;
+ }
+ this.showCalendars();
+ }
},
clickApply: function(e) {
@@ -1491,11 +1525,45 @@
}
- this.updateCalendars();
- if (this.timePicker) {
- this.renderTimePicker('left');
- this.renderTimePicker('right');
+ this.updateView();
+ },
+
+ formInputsFocused: function(e) {
+
+ // Highlight the focused input
+ this.container.find('input[name="daterangepicker_start"], input[name="daterangepicker_end"]').removeClass('active');
+ $(e.target).addClass('active');
+
+ // Set the state such that if the user goes back to using a mouse,
+ // the calendars are aware we're selecting the end of the range, not
+ // the start. This allows someone to edit the end of a date range without
+ // re-selecting the beginning, by clicking on the end date input then
+ // using the calendar.
+ var isRight = $(e.target).closest('.calendar').hasClass('right');
+ if (isRight) {
+ this.endDate = null;
+ this.setStartDate(this.startDate.clone());
+ this.updateView();
}
+
+ },
+
+ formInputsBlurred: function(e) {
+
+ // this function has one purpose right now: if you tab from the first
+ // text input to the second in the UI, the endDate is nulled so that
+ // you can click another, but if you tab out without clicking anything
+ // or changing the input value, the old endDate should be retained
+
+ if (!this.endDate) {
+ var val = this.container.find('input[name="daterangepicker_end"]').val();
+ var end = moment(val, this.locale.format);
+ if (end.isValid()) {
+ this.setEndDate(end);
+ this.updateView();
+ }
+ }
+
},
elementChanged: function() {
diff --git a/vendors/bootstrap-daterangepicker/demo.html b/vendors/bootstrap-daterangepicker/demo.html
index 7a74e330..7633ee42 100644
--- a/vendors/bootstrap-daterangepicker/demo.html
+++ b/vendors/bootstrap-daterangepicker/demo.html
@@ -131,6 +131,15 @@
+
+
+ alwaysShowCalendars
+
+
+
+
+
+
-
-
opens
@@ -314,6 +320,9 @@
if (!$('#autoUpdateInput').is(':checked'))
options.autoUpdateInput = false;
+ if (!$('#showCustomRangeLabel').is(':checked'))
+ options.showCustomRangeLabel = false;
+
if ($('#alwaysShowCalendars').is(':checked'))
options.alwaysShowCalendars = true;
diff --git a/vendors/bootstrap-daterangepicker/drp.png b/vendors/bootstrap-daterangepicker/drp.png
index f29eacde..9eee1fa3 100644
Binary files a/vendors/bootstrap-daterangepicker/drp.png and b/vendors/bootstrap-daterangepicker/drp.png differ
diff --git a/vendors/bootstrap-daterangepicker/package.js b/vendors/bootstrap-daterangepicker/package.js
index 604788db..8bef848b 100644
--- a/vendors/bootstrap-daterangepicker/package.js
+++ b/vendors/bootstrap-daterangepicker/package.js
@@ -1,6 +1,6 @@
Package.describe({
name: 'dangrossman:bootstrap-daterangepicker',
- version: '2.1.21',
+ version: '2.1.24',
summary: 'Date range picker component for Bootstrap',
git: 'https://github.com/dangrossman/bootstrap-daterangepicker',
documentation: 'README.md'
diff --git a/vendors/bootstrap-daterangepicker/package.json b/vendors/bootstrap-daterangepicker/package.json
index a25ff681..9c063226 100644
--- a/vendors/bootstrap-daterangepicker/package.json
+++ b/vendors/bootstrap-daterangepicker/package.json
@@ -1,6 +1,6 @@
{
"name": "bootstrap-daterangepicker",
- "version": "2.1.21",
+ "version": "2.1.24",
"description": "Date range picker component for Bootstrap",
"main": "daterangepicker.js",
"style": "daterangepicker.css",
diff --git a/vendors/bootstrap-daterangepicker/website/index.html b/vendors/bootstrap-daterangepicker/website/index.html
index 006dfced..2389ea09 100644
--- a/vendors/bootstrap-daterangepicker/website/index.html
+++ b/vendors/bootstrap-daterangepicker/website/index.html
@@ -137,15 +137,15 @@
-
+
+ data-ad-slot="8963174596"
+ data-ad-format="auto">
-
@@ -160,7 +160,7 @@
for selecting dates, times, or from predefined ranges like "Last 30 Days".
-
+
@@ -313,15 +313,19 @@
-
@@ -422,21 +428,26 @@
+
+ opens
+
+ right
+ left
+ center
+
+
+
+
+ drops
+
+ down
+ up
+
+
+
@@ -620,6 +632,16 @@
ranges
: (object) Set predefined date ranges the user can select from. Each key is the label for the range, and its value an array with two dates representing the bounds of the range
+
+ showCustomRangeLabel
: (boolean) Displays an item labeled "Custom Range" at
+ the end of the list of predefined ranges, when the ranges
option is used.
+ This option will be highlighted whenever the current date range selection does not match
+ one of the predefined ranges. Clicking it will display the calendars to select a new range.
+
+
+ alwaysShowCalendars
: (boolean) Normally, if you use the ranges
+ option to specify pre-defined date ranges, calendars for choosing a custom date range are not shown until the user clicks "Custom Range". When this option is set to true, the calendars for choosing a custom date range are always shown instead.
+
opens
: (string: 'left'/'right'/'center') Whether the picker appears aligned to the left, to the right, or centered under the HTML element it's attached to
@@ -636,7 +658,9 @@
cancelClass
: (string) CSS class string that will be added to the cancel button
- locale
: (object) Allows you to provide localized strings for buttons and labels, customize the date display format, and change the first day of week for the calendars
+ locale
: (object) Allows you to provide localized strings for buttons and labels, customize the date format, and change the first day of week for the calendars.
+ Check off "locale (with example settings)" in the configuration generator to see how
+ to customize these options.
singleDatePicker
: (boolean) Show only a single calendar to choose one date, instead of a range picker with two calendars; the start and end dates provided to your callback will be the same single date chosen
@@ -647,9 +671,6 @@
linkedCalendars
: (boolean) When enabled, the two calendars displayed will always be for two sequential months (i.e. January and February), and both will be advanced when clicking the left or right arrows above the calendars. When disabled, the two calendars can be individually advanced and display any month/year.
-
- parentEl
: (string) jQuery selector of the parent element that the date range picker will be added to, if not provided this will be 'body'
-
isInvalidDate
: (function) A function that is passed each date in the two
calendars before they are displayed, and may return true or false to indicate whether
@@ -666,8 +687,7 @@
at initialization and when the selected dates change.
- alwaysShowCalendars
: (boolean) Normally, if you use the ranges
- option to specify pre-defined date ranges, calendars for choosing a custom date range are not shown until the user clicks "Custom Range". When this option is set to true, the calendars for choosing a custom date range are always shown instead.
+ parentEl
: (string) jQuery selector of the parent element that the date range picker will be added to, if not provided this will be 'body'
diff --git a/vendors/bootstrap-daterangepicker/website/website.css b/vendors/bootstrap-daterangepicker/website/website.css
index 938688c1..c556f66b 100644
--- a/vendors/bootstrap-daterangepicker/website/website.css
+++ b/vendors/bootstrap-daterangepicker/website/website.css
@@ -32,7 +32,7 @@ li {
}
#sidebar {
top: 20px;
- width: 336px;
+ width: 300px;
}
#sidebar ul {
margin-bottom: 5px;
@@ -108,7 +108,7 @@ input[type="text"] {
#config .demo i { position: absolute; bottom: 10px; right: 24px; top: auto; cursor: pointer; }
#rightcol {
- margin-left: 366px;
+ margin-left: 330px;
}
#nav-spy {
diff --git a/vendors/bootstrap-daterangepicker/website/website.js b/vendors/bootstrap-daterangepicker/website/website.js
index 61ea7470..a919a363 100644
--- a/vendors/bootstrap-daterangepicker/website/website.js
+++ b/vendors/bootstrap-daterangepicker/website/website.js
@@ -90,6 +90,9 @@ $(document).ready(function() {
if (!$('#autoUpdateInput').is(':checked'))
options.autoUpdateInput = false;
+ if (!$('#showCustomRangeLabel').is(':checked'))
+ options.showCustomRangeLabel = false;
+
if ($('#alwaysShowCalendars').is(':checked'))
options.alwaysShowCalendars = true;