From 72a97fa06907375e229cbbf98cf83e4c4b6f4edc Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 28 Mar 2019 16:33:26 +0100 Subject: [PATCH] #10299 Catalog: Item card style fixes --- debian/changelog | 2 +- debian/rules | 1 + forms/ecomerce/catalog/style.css | 27 +++++++++++++-------------- package-lock.json | 2 +- package.json | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3e88519f..0f15e0b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.35) stable; urgency=low +hedera-web (1.406.36) stable; urgency=low * Initial Release. diff --git a/debian/rules b/debian/rules index 335e3a77..7412d08b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +export TERM=dumb %: dh $@ diff --git a/forms/ecomerce/catalog/style.css b/forms/ecomerce/catalog/style.css index 9922dec1..7ca2f282 100644 --- a/forms/ecomerce/catalog/style.css +++ b/forms/ecomerce/catalog/style.css @@ -157,12 +157,12 @@ .item-info > h2 { padding: 0; - padding-bottom: .1em; + padding-bottom: .15em; font-weight: normal; - font-size: 1.1em; + font-size: 1em; text-overflow: ellipsis; overflow: hidden; - max-height: 2.4em; + max-height: 3.8em; } .item-info > p { @@ -177,10 +177,9 @@ .item-info .sub-name { text-transform: uppercase; - font-weight: bold; padding: 0; padding-bottom: .2em; - font-size: 1em; + font-size: .9em; } .item-info > .htk-button { @@ -217,9 +216,6 @@ .tags td:first-child { color: #999; } -.tags td:last-child { - padding-left: .5em; -} /* List view */ @@ -308,7 +304,7 @@ .list-view .item-info .tags td { display: inline-block; - padding-right: .3em + padding-right: .5em } .list-view .item-info .tags td:first-child { @@ -329,23 +325,23 @@ text-align: left; position: relative; display: inline-block; - width: 22.5em; + width: 24em; margin: 0; margin-right: .8em; margin-bottom: .6em; - height: 10em; + height: 11em; overflow: hidden; } .grid-view .item-box > .htk-image { - width: 10em; + width: 11em; height: 100%; float: left; } .grid-view .item-info { position: absolute; - left: 10.4em; + left: 11.4em; right: 0; top: 0; bottom: 0; @@ -375,7 +371,7 @@ .grid-view .item-info .tags { position: absolute; - top: 5.2em; + top: 6.6em; } .grid-view .item-info .tags td { overflow: hidden; @@ -385,6 +381,9 @@ width: 6em; line-height: 1.1em; } +.grid-view .item-info .tags td:last-child { + padding-left: .5em; +} .grid-view .item-info .tags td:first-child { color: #999; } diff --git a/package-lock.json b/package-lock.json index 18f46d86..c4a88e06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.27", + "version": "1.406.36", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 19d4ab47..64c49b63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.35", + "version": "1.406.36", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { @@ -34,7 +34,7 @@ }, "scripts": { "dev": "webpack-dev-server --progress --colors --hot", - "build": "rm -rf build/ ; webpack --progress --colors", + "build": "rm -rf build/ ; webpack", "clean": "rm -rf build/" } }