Small fixes
parent
59b5dd8954
commit
963a720c6f
|
@ -1,5 +1,10 @@
|
||||||
/* eslint-disable prefer-arrow-callback, no-var, no-tabs */
|
/* eslint-disable prefer-arrow-callback, no-var, no-tabs */
|
||||||
$(document).ready(function (){
|
$(document).ready(function (){
|
||||||
|
// setup if material theme
|
||||||
|
if($('#cartTheme').val() === 'Material'){
|
||||||
|
$('.materialboxed').materialbox();
|
||||||
|
}
|
||||||
|
|
||||||
if($(window).width() < 768){
|
if($(window).width() < 768){
|
||||||
$('.menu-side').on('click', function(e){
|
$('.menu-side').on('click', function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
@ -161,7 +166,11 @@ $(document).ready(function (){
|
||||||
total: totalProducts,
|
total: totalProducts,
|
||||||
page: pageNum,
|
page: pageNum,
|
||||||
maxVisible: 5,
|
maxVisible: 5,
|
||||||
href: pagerHref
|
href: pagerHref,
|
||||||
|
wrapClass: 'pagination',
|
||||||
|
prevClass: 'waves-effect',
|
||||||
|
nextClass: 'waves-effect',
|
||||||
|
activeClass: 'pag-active waves-effect'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -488,11 +497,11 @@ $(document).ready(function (){
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.qty-btn-minus').on('click', function(){
|
$('.qty-btn-minus').on('click', function(){
|
||||||
$(this).parent().siblings('input').val(parseInt($(this).parent().siblings('input').val()) - 1);
|
$('#product_quantity').val(parseInt($('#product_quantity').val()) - 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.qty-btn-plus').on('click', function(){
|
$('.qty-btn-plus').on('click', function(){
|
||||||
$(this).parent().siblings('input').val(parseInt($(this).parent().siblings('input').val()) + 1);
|
$('#product_quantity').val(parseInt($('#product_quantity').val()) + 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
// product thumbnail image click
|
// product thumbnail image click
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,105 +1,144 @@
|
||||||
.navbar-default {
|
.search-bar-input, #frm_search, .search-bar-input .btn{
|
||||||
background-color: #ffffff;
|
padding-top: 10px;
|
||||||
|
height: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-nav>li>a {
|
.searchMenuLocation-side {
|
||||||
color: #E74C3C;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
|
.productsWrapper{
|
||||||
color: #E74C3C;
|
padding-right: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:focus {
|
.searchBarWrapper{
|
||||||
color: #E74C3C;
|
padding-right: 0;
|
||||||
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
.footer{
|
||||||
color: #E74C3C;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-icon{
|
.product-price {
|
||||||
width: 15px;
|
padding-bottom: 0;
|
||||||
color: #535356;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger, .btn-primary {
|
.navbarMenuWrapper{
|
||||||
color: #ffffff;
|
background-color: #f5f5f5;
|
||||||
background-color: #E74C3C;
|
|
||||||
border-color: #E74C3C;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger:hover {
|
.navbarMenu>ul>li>a:hover{
|
||||||
color: #ffffff;
|
color: #cc4135 !important;
|
||||||
background-color: #E74C3C;
|
|
||||||
border-color: #E74C3C;
|
|
||||||
opacity: 0.65;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
|
.navbarMenu{
|
||||||
background-color: #E74C3C;
|
padding-right: 0;
|
||||||
border-color: #E74C3C;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .badge {
|
.product_wrapper>a:hover{
|
||||||
background-color: #2c3e50;
|
color: #cc4135 !important;
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-toggle {
|
.navbar-static-top, #navbar, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a{
|
||||||
background-color: #E74C3C;
|
margin-bottom: 0;
|
||||||
border-color: #E74C3C;
|
height: 100px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
|
#navbar>.navbar-nav>li>a{
|
||||||
background-color: #E74C3C;
|
padding-top: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.pagination>li>a{
|
||||||
height: 70px;
|
background-color: #cc4135 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.navbar-brand{
|
||||||
border: none;
|
color: #cc4135 !important;
|
||||||
|
letter-spacing: 4px;
|
||||||
|
padding-left: 20px !important;
|
||||||
|
padding-top: 20px !important;
|
||||||
|
height: 100px !important;
|
||||||
|
font-size: 55px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-block{
|
.navbar-brand-image, .navbar-brand{
|
||||||
color: #95a5a6;
|
height: 80px;
|
||||||
}
|
padding-left: 10px;
|
||||||
|
|
||||||
.formLabel{
|
|
||||||
padding-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.orderFilter{
|
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item:first-child, .list-group-item:last-child {
|
.navbar-default .badge {
|
||||||
border-top-right-radius: 0px;
|
background-color: #cc4135;
|
||||||
border-top-left-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control {
|
.pushy-link, #empty-cart{
|
||||||
border-radius: 0px;
|
border-color: #E74C3C;
|
||||||
|
background-color: #E74C3C;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.pushy-link:hover, .pushy-link:focus, .pushy-link:active, .pushy-link:active:hover,
|
||||||
border-radius: 0px;
|
#empty-cart:hover, #empty-cart:focus, #empty-cart:active, #empty-cart:active:hover{
|
||||||
|
border-color: #cc4135;
|
||||||
|
background-color: #cc4135;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>li:first-child>a, .pagination>li:first-child>span{
|
.navActive>a{
|
||||||
border-bottom-left-radius: 0px;
|
margin-bottom: 0px;
|
||||||
border-top-left-radius: 0px;
|
padding-top: 15px;
|
||||||
|
border-bottom: 5px solid #E74C3C;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination>li:last-child>a, .pagination>li:last-child>span {
|
.navbar-static-top, #navbar, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a {
|
||||||
border-bottom-right-radius: 0px;
|
background-color: #fff;
|
||||||
border-top-right-radius: 0px;
|
}
|
||||||
|
|
||||||
|
.navbar-default .navbar-nav>li>a {
|
||||||
|
color: #838b8f;
|
||||||
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 768px){
|
@media only screen and (max-width: 768px){
|
||||||
.navbar-brand {
|
.navbar-default .navbar-brand {
|
||||||
width: 180px;
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-default .navbar-nav>li>a{
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBarWrapper{
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbarMenuWrapper{
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbarMenuOuter{
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navActive>a {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbarMenu {
|
||||||
|
padding-right: 7.5px;
|
||||||
|
padding-left: 7.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navActive>a{
|
||||||
|
color: white !important;
|
||||||
|
background-color: #E74C3C;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1 +1 @@
|
||||||
.navbar-default{background-color:#fff}.navbar-default .navbar-nav>li>a{color:#e74c3c}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#e74c3c}a:focus,a:hover{color:#e74c3c}a{color:#e74c3c}.fa-icon{width:15px;color:#535356}.btn-danger,.btn-primary{color:#fff;background-color:#e74c3c;border-color:#e74c3c}.btn-danger:hover{color:#fff;background-color:#e74c3c;border-color:#e74c3c;opacity:.65}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{background-color:#e74c3c;border-color:#e74c3c}.navbar-default .badge{background-color:#2c3e50;color:#fff}.navbar-default .navbar-toggle{background-color:#e74c3c;border-color:#e74c3c}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#e74c3c}.navbar-brand{height:70px}.thumbnail{border:none}.help-block{color:#95a5a6}.formLabel{padding-top:5px}.orderFilter{padding-top:10px}.list-group-item:first-child,.list-group-item:last-child{border-top-right-radius:0;border-top-left-radius:0}.form-control{border-radius:0}.btn{border-radius:0}.pagination>li:first-child>a,.pagination>li:first-child>span{border-bottom-left-radius:0;border-top-left-radius:0}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:0;border-top-right-radius:0}@media only screen and (max-width:768px){.navbar-brand{width:180px}}
|
#frm_search,.search-bar-input,.search-bar-input .btn{padding-top:10px;height:45px}.searchMenuLocation-side{padding-right:0}.productsWrapper{padding-right:10px;padding-left:10px}.searchBarWrapper{padding-right:0;padding-left:0}.footer{padding-top:20px}.product-price{padding-bottom:0}.navbarMenuWrapper{background-color:#f5f5f5}.navbarMenu>ul>li>a:hover{color:#cc4135!important}.navbarMenu{padding-right:0;padding-left:0}.product_wrapper>a:hover{color:#cc4135!important}#navbar,#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{margin-bottom:0;height:100px!important}#navbar>.navbar-nav>li>a{padding-top:35px}.pagination>li>a{background-color:#cc4135!important}.navbar-brand{color:#cc4135!important;letter-spacing:4px;padding-left:20px!important;padding-top:20px!important;height:100px!important;font-size:55px!important}.navbar-brand,.navbar-brand-image{height:80px;padding-left:10px;padding-top:10px}.navbar-default .badge{background-color:#cc4135}#empty-cart,.pushy-link{border-color:#e74c3c;background-color:#e74c3c}#empty-cart:active,#empty-cart:active:hover,#empty-cart:focus,#empty-cart:hover,.pushy-link:active,.pushy-link:active:hover,.pushy-link:focus,.pushy-link:hover{border-color:#cc4135;background-color:#cc4135}.navActive>a{margin-bottom:0;padding-top:15px;border-bottom:5px solid #e74c3c}#navbar,#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{background-color:#fff}.navbar-default .navbar-nav>li>a{color:#838b8f;font-size:20px}@media only screen and (max-width:768px){.navbar-default .navbar-brand{padding-top:10px}.navbar-default .navbar-nav>li>a{font-size:16px}.searchBarWrapper{padding-top:10px}.navbarMenuWrapper{padding-left:0;padding-right:0}.navbarMenuOuter{padding-left:0;padding-right:0}.navActive>a{color:#fff!important}.navbarMenu{padding-right:7.5px;padding-left:7.5px}.navActive>a{color:#fff!important;background-color:#e74c3c;border-bottom:none}.footer{padding-top:10px}}
|
Loading…
Reference in New Issue