update slim scroll

This commit is contained in:
Aung Myo
2017-10-11 17:53:29 +06:30
parent 12bf1dfc19
commit 6e47fbfe41
11 changed files with 288 additions and 242 deletions

View File

@@ -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();

View File

@@ -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;