From b0747e9ee195e63d8d5873e88c02f767fdacec6a Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 12:29:44 +0530 Subject: [PATCH 1/6] suresh --- app/Views/cart.php | 7 +- composer.lock | 256 ++++------------------- public/assets/member_css/front-style.css | 40 ++-- 3 files changed, 67 insertions(+), 236 deletions(-) diff --git a/app/Views/cart.php b/app/Views/cart.php index 2045169..b7cea86 100644 --- a/app/Views/cart.php +++ b/app/Views/cart.php @@ -52,15 +52,16 @@
$x
-
+
+ - -
+ +
diff --git a/composer.lock b/composer.lock index d5c0a08..1484e3f 100644 --- a/composer.lock +++ b/composer.lock @@ -126,26 +126,25 @@ }, { "name": "brick/math", - "version": "0.9.3", + "version": "0.11.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", + "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.1 || ^8.0" + "php": "^8.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", - "vimeo/psalm": "4.9.2" + "phpunit/phpunit": "^9.0", + "vimeo/psalm": "5.0.0" }, "type": "library", "autoload": { @@ -170,19 +169,15 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.9.3" + "source": "https://github.com/brick/math/tree/0.11.0" }, "funding": [ { "url": "https://github.com/BenMorel", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/brick/math", - "type": "tidelift" } ], - "time": "2021-08-15T20:50:18+00:00" + "time": "2023-01-15T23:15:59+00:00" }, { "name": "codeigniter4/framework", @@ -1319,20 +1314,20 @@ }, { "name": "psr/cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { @@ -1352,7 +1347,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -1362,9 +1357,9 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2016-08-06T20:24:11+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { "name": "psr/http-client", @@ -1712,25 +1707,23 @@ }, { "name": "ramsey/uuid", - "version": "4.2.3", + "version": "4.7.4", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" + "reference": "60a4c63ab724854332900504274f6150ff26d286" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", - "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/60a4c63ab724854332900504274f6150ff26d286", + "reference": "60a4c63ab724854332900504274f6150ff26d286", "shasum": "" }, "require": { - "brick/math": "^0.8 || ^0.9", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", "ext-json": "*", - "php": "^7.2 || ^8.0", - "ramsey/collection": "^1.0", - "symfony/polyfill-ctype": "^1.8", - "symfony/polyfill-php80": "^1.14" + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" }, "replace": { "rhumsaa/uuid": "self.version" @@ -1742,24 +1735,23 @@ "doctrine/annotations": "^1.8", "ergebnis/composer-normalize": "^2.15", "mockery/mockery": "^1.3", - "moontoast/math": "^1.1", "paragonie/random-lib": "^2", "php-mock/php-mock": "^2.2", "php-mock/php-mock-mockery": "^1.3", "php-parallel-lint/php-parallel-lint": "^1.1", "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-mockery": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", "phpunit/phpunit": "^8.5 || ^9", - "slevomat/coding-standard": "^7.0", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.5", "vimeo/psalm": "^4.9" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", - "ext-ctype": "Enables faster processing of character classification using ctype functions.", "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", @@ -1767,9 +1759,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "4.x-dev" - }, "captainhook": { "force-install": true } @@ -1794,7 +1783,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.2.3" + "source": "https://github.com/ramsey/uuid/tree/4.7.4" }, "funding": [ { @@ -1806,7 +1795,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T23:10:38+00:00" + "time": "2023-04-15T23:01:58+00:00" }, { "name": "square/square", @@ -1867,25 +1856,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.2", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -1914,7 +1903,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" }, "funding": [ { @@ -1930,172 +1919,7 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { "name": "symfony/polyfill-php81", diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index 19dd303..3f8fc8d 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -377,10 +377,20 @@ body.cart .quantity{ justify-content: flex-end; } .quantity .qty-no{ - position: relative; + position: relative; + width:120px; + height:45px; + border:2px solid #A1A1A1; + background-color:transparent; + border-radius:5px; + padding:10px; + display:flex; } .quantity input{ - width:80px; + border-width:0; + background-color: transparent; + text-align: center; + width: 95px; } .quantity input[type=number]::-webkit-inner-spin-button, .quantity input[type=number]::-webkit-outer-spin-button { @@ -388,26 +398,22 @@ body.cart .quantity{ margin: 0; } .quantity .plus, .quantity .minus{ - position:absolute; - right:9px; + position:absolute; + top:0; background-color: transparent; border-width: 0; padding: 0; - line-height: 28px; - font-size: 20px; + width: 30px; + height: 45px; + line-height:45px; + font-size: 15px; + color:#686868; } -.quantity .plus{ - top:-2px; +.quantity .plus{ + right:0; } -.quantity input{ - height:45px; - border:2px solid #A1A1A1; - background-color:transparent; - border-radius:5px; - padding:10px; -} -.quantity .minus{ - bottom:-3px; +.quantity .minus{ + left:0; } .remove-product a{ color:var(--pink-color); From 79ea0fbb269570db29c44eb431711e2d50a98bd9 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 12:56:10 +0530 Subject: [PATCH 2/6] suresh --- public/assets/member_css/front-style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index 3f8fc8d..758478b 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -391,6 +391,7 @@ body.cart .quantity{ background-color: transparent; text-align: center; width: 95px; + font-size: 16px; } .quantity input[type=number]::-webkit-inner-spin-button, .quantity input[type=number]::-webkit-outer-spin-button { From 9629183fbad4c58bc6bf9a6a27be39d2585fd1c6 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 13:23:24 +0530 Subject: [PATCH 3/6] suresh --- public/assets/member_css/front-style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index 758478b..af20b6a 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -382,21 +382,22 @@ body.cart .quantity{ height:45px; border:2px solid #A1A1A1; background-color:transparent; - border-radius:5px; - padding:10px; + border-radius:5px; display:flex; } .quantity input{ border-width:0; background-color: transparent; text-align: center; - width: 95px; + width:115px; font-size: 16px; } +.quantity input[type=number]{ + -webkit-text-size-adjust: 100%; +} .quantity input[type=number]::-webkit-inner-spin-button, .quantity input[type=number]::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; + -webkit-appearance: none; } .quantity .plus, .quantity .minus{ position:absolute; @@ -416,6 +417,11 @@ body.cart .quantity{ .quantity .minus{ left:0; } +@media (max-width: 768px){ + .quantity input{ + font-size:19px; + } +} .remove-product a{ color:var(--pink-color); text-transform:uppercase; From 82a139b878bffa306ea5783136aab967cd746e72 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 14:16:31 +0530 Subject: [PATCH 4/6] suresh --- public/assets/member_css/front-style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index af20b6a..a051f88 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -389,8 +389,9 @@ body.cart .quantity{ border-width:0; background-color: transparent; text-align: center; - width:115px; + width:120px; font-size: 16px; + z-index:-1; } .quantity input[type=number]{ -webkit-text-size-adjust: 100%; @@ -410,6 +411,7 @@ body.cart .quantity{ line-height:45px; font-size: 15px; color:#686868; + z-index:5; } .quantity .plus{ right:0; From c5802d9f8e840f7fc583bd1ebe59d8218f9969a3 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 14:19:13 +0530 Subject: [PATCH 5/6] suresh --- public/assets/member_css/front-style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index a051f88..07c76fa 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -392,6 +392,7 @@ body.cart .quantity{ width:120px; font-size: 16px; z-index:-1; + color:#000000; } .quantity input[type=number]{ -webkit-text-size-adjust: 100%; From 2320f61db76f792693720a0403172317a3a8d567 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Jun 2023 14:20:38 +0530 Subject: [PATCH 6/6] suresh --- public/assets/member_css/front-style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/member_css/front-style.css b/public/assets/member_css/front-style.css index 07c76fa..aa1d24c 100644 --- a/public/assets/member_css/front-style.css +++ b/public/assets/member_css/front-style.css @@ -389,7 +389,7 @@ body.cart .quantity{ border-width:0; background-color: transparent; text-align: center; - width:120px; + width:115px; font-size: 16px; z-index:-1; color:#000000;