Skip to content

Commit

Permalink
Update from core
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jul 16, 2017
1 parent 07ebb16 commit bbf5027
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
4 changes: 3 additions & 1 deletion Resources/public/themes/aimeos.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ AimeosBasketMini = {

$(".aimeos .basket-mini-product").on("click", ".delete", function(ev) {

var product = $(this).parents(".product").first();
var product = $(this).closest(".product");

$.ajax(product.data("url"), {
"method": "DELETE",
Expand All @@ -418,6 +418,8 @@ AimeosBasketMini = {
}).then(function(basket) {
AimeosBasketMini.updateBasket(basket);
});

return false;
});
},

Expand Down
32 changes: 17 additions & 15 deletions Resources/public/themes/elegance/aimeos.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@

.aimeos .selection input:not([type=radio]):not([type=checkbox]) {
height: calc(3.25rem + 2px);
width: 12em;
width: 15em;
}


Expand Down Expand Up @@ -815,7 +815,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
outline: none;
}

.catalog-list .list-items {
.aimeos .product .list-items {
text-align: center;
font-size: 90%;
padding: 0;
Expand All @@ -828,7 +828,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
white-space: normal;
position: relative;
overflow: hidden;
margin: 1em 0;
margin: 1em 1%;
width: 240px;
}

Expand Down Expand Up @@ -867,16 +867,16 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {

/* text list */
.aimeos .product .text-list {
padding: 0.5em 1em;
line-height: 1.1;
text-align: left;
overflow: hidden;
color: #555;
max-width: 15em;
margin: 0.5em auto;
}

.catalog-detail .product .text-list,
.basket-related .product .text-list {
margin: 0.5em;
margin: 0.5em 0;
}

.aimeos .product .text-list h2 {
Expand All @@ -896,14 +896,14 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {

/* product offer part */
.catalog-list .offer {
text-align: left;
max-width: 15em;
margin: auto;
}

/* price list */
.aimeos .product .price-list {
box-sizing: content-box;
display: inline-block;
margin: 0.5em;
}

.catalog-detail .product .price-list .rebate {
Expand All @@ -925,6 +925,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
}

.aimeos .product .stocklevel {
vertical-align: middle;
display: inline-block;
height: 1em;
width: 1em;
Expand Down Expand Up @@ -1377,15 +1378,14 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
.catalog-list-items .addbasket button.btn-action {
vertical-align: inherit;
min-width: 8em;
margin: 0.33em 0;
margin: 0.3em 0;
}

.catalog-list-items .addbasket input,
.catalog-detail-basket .group input {
border: 1px solid #B0A060;
text-align: center;
font-size: 125%;
padding: 0.5em;
width: 4em;
}

Expand Down Expand Up @@ -1470,7 +1470,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
overflow: hidden;
padding: 0;
margin: 0;
width: 12em;
width: 15em;
display: block;
}

Expand All @@ -1485,8 +1485,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
border: none;
font-weight: normal;
text-transform: none;
padding: 0.5em 0;
width: 15em;
width: 17em;
}

.catalog-list-items .selection ul.select-list,
Expand Down Expand Up @@ -1690,6 +1689,7 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
.catalog-session-pinned,
.catalog-session-seen {
margin-bottom: 0.5em;
font-size: 90%;
}

.account-watch .watch-items,
Expand Down Expand Up @@ -1791,9 +1791,11 @@ html.no-js .catalog-filter-attribute:hover .attribute-lists {
height: 3em;
font-size: 100%;
font-weight: normal;
text-align: left;
text-align: center;
overflow: hidden;
text-transform: uppercase
text-transform: uppercase;
max-width: 15em;
margin: auto;
}

.account-watch .modify,
Expand Down
5 changes: 2 additions & 3 deletions Resources/public/themes/elegance/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@

.aimeos .price-list {
font-weight: normal;
text-align: left;
text-align: center;
color: #555;
height: 1em;
padding: 0;
margin: 0;
}
Expand All @@ -57,7 +56,7 @@
.aimeos .price-item .rebatepercent {
background-color: #A03030;
padding: 0em 0.25em;
margin-left: 2em;
margin-left: 1em;
color: #FFF;
}

Expand Down

0 comments on commit bbf5027

Please sign in to comment.