update slim scroll
This commit is contained in:
@@ -63,6 +63,27 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
$(function(){
|
||||
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
|
||||
$('#custom-slimscroll').slimScroll({
|
||||
height: height,
|
||||
size: '5px',
|
||||
color: 'rgba(0,0,0,0.5)',
|
||||
alwaysVisible: false,
|
||||
borderRadius: '0',
|
||||
railBorderRadius: '0'
|
||||
});
|
||||
$('#order-detail-slimscroll').slimScroll({
|
||||
height: height-180,
|
||||
size: '5px',
|
||||
color: 'rgba(0,0,0,0.5)',
|
||||
alwaysVisible: false,
|
||||
borderRadius: '0',
|
||||
railBorderRadius: '0'
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on("focus", "[data-behaviour~='datepicker']", function(e){
|
||||
$(this).datepicker({"format": "yyyy-M-dd", "weekStart": 1, "autoclose": true});
|
||||
$('.dropdown-toggle').dropdown();
|
||||
|
||||
@@ -78,6 +78,15 @@ section.content {
|
||||
.card {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.card .card-header {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.card .card-title{
|
||||
margin-bottom:0.5rem;
|
||||
}
|
||||
.card .card-block {
|
||||
padding: 0.5rem 1rem 1rem;
|
||||
}
|
||||
|
||||
.checkbox label, label.checkbox-inline {
|
||||
padding-left: 0;
|
||||
@@ -121,7 +130,7 @@ select.form-control {
|
||||
}
|
||||
|
||||
/* End Reset */
|
||||
|
||||
/*
|
||||
.dining {
|
||||
min-height:470px;
|
||||
max-height:570px;
|
||||
@@ -133,7 +142,7 @@ select.form-control {
|
||||
max-height:500px;
|
||||
overflow:auto
|
||||
}
|
||||
|
||||
*/
|
||||
.others-payment{
|
||||
line-height:100px;
|
||||
text-align:center;
|
||||
|
||||
Reference in New Issue
Block a user