Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $: profiles/commerce_kickstart/modules/contrib/commerce_add_to_cart_confirmation# ls
- commerce_add_to_cart_confirmation.info css/
- commerce_add_to_cart_confirmation.module images/
- commerce_add_to_cart_confirmation.rules_defaults.inc not-working-in-omega-4-2265253-2.patch
- commerce_add_to_cart_confirmation.rules.inc js/
- commerce_add_to_cart_confirmation.views_default.inc LICENSE.txt
- $: profiles/commerce_kickstart/modules/contrib/commerce_add_to_cart_confirmation# cat commerce_add_to_cart_confirmation.info
- name = Commerce add to cart confirmation
- description = Provides an "add to cart" confirmation screen.
- core = 7.x
- package = Commerce (contrib)
- dependencies[] = commerce_cart
- dependencies[] = commerce_product_ui
- dependencies[] = views
- dependencies[] = rules
- stylesheets[all][] = css/commerce_add_to_cart_confirmation.css
- scripts[] = js/commerce_add_to_cart_confirmation.js
- ; Information added by drupal.org packaging script on 2013-02-14
- version = "7.x-1.0-rc2"
- core = "7.x"
- project = "commerce_add_to_cart_confirmation"
- datestamp = "1360857057"
- $: profiles/commerce_kickstart/modules/contrib/commerce_add_to_cart_confirmation# cat not-working-in-omega-4-2265253-2.patch
- diff --git a/css/commerce_add_to_cart_confirmation-rtl.css b/css/commerce_add_to_cart_confirmation-rtl.css
- index bd3a010..4e2ce49 100644
- --- a/css/commerce_add_to_cart_confirmation-rtl.css
- +++ b/css/commerce_add_to_cart_confirmation-rtl.css
- @@ -1,40 +1,40 @@
- /* Close button */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .commerce-add-to-cart-confirmation-close {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .messages--commerce-add-to-cart-confirmation-close {
- left: 15px;
- right: 0; /* LTR */
- }
- /* Title */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .added-product-title {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .added-product-title {
- float: right;
- }
- /* Button */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper {
- left: 0;
- right: auto;
- }
- /* Product display */
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images {
- left: 0;
- right: -115px;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .commerce-product-sku .commerce-product-sku-label,
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .views-label,
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .commerce-product-sku .commerce-product-sku-label,
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .views-label,
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- float: right;
- padding-left: 5px;
- padding-right: 0;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field {
- text-align: right;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- float: right;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .views-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .views-label {
- float: right;
- padding-left: 5px;
- padding-right: 0;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .field-content {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .field-content {
- float: none;
- }
- diff --git a/css/commerce_add_to_cart_confirmation.css b/css/commerce_add_to_cart_confirmation.css
- index b87d9af..9a1634d 100644
- --- a/css/commerce_add_to_cart_confirmation.css
- +++ b/css/commerce_add_to_cart_confirmation.css
- @@ -12,7 +12,7 @@ div.commerce_add_to_cart_confirmation_overlay {
- z-index: 200;
- }
- -div.messages.commerce-add-to-cart-confirmation {
- +div.messages.messages--commerce-add-to-cart-confirmation {
- background-color: white;
- border-color: #6bb0cb;
- -webkit-border-radius: 3px;
- @@ -32,7 +32,7 @@ div.messages.commerce-add-to-cart-confirmation {
- z-index: 201;
- }
- /* Close button */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .commerce-add-to-cart-confirmation-close {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .commerce-add-to-cart-confirmation-close {
- background: url('../images/btn_add-to-cart-close.png') no-repeat 0 0;
- display: block;
- height: 17px;
- @@ -42,7 +42,7 @@ div.messages.commerce-add-to-cart-confirmation .message-inner .commerce-add-to-c
- width: 18px;
- }
- /* Title */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .added-product-title {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .added-product-title {
- color: #2698f2;
- float: left; /* LTR */
- font-size: 14px;
- @@ -54,7 +54,7 @@ div.messages.commerce-add-to-cart-confirmation .message-inner .added-product-tit
- }
- /* Button */
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper {
- background-color: #e4eef3;
- height: 100%;
- padding: 40px 30px;
- @@ -62,14 +62,14 @@ div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper {
- right: 0; /* LTR */
- width: 25%;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper:after {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper:after {
- clear: both;
- content: ".";
- display: block;
- height: 0;
- visibility: hidden;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button {
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- @@ -79,23 +79,23 @@ div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .b
- padding: 10px;
- text-align: center;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.checkout {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.checkout {
- background-color: #2698f2;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue {
- background-color: #b3b3b3;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue .commerce-add-to-cart-confirmation-close {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue .commerce-add-to-cart-confirmation-close {
- background: none;
- height: auto;
- position: static;
- width: auto;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.checkout:hover,
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue:hover {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.checkout:hover,
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button.continue:hover {
- cursor: pointer;
- }
- -div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .button a {
- +div.messages.messages--commerce-add-to-cart-confirmation .message-inner .button-wrapper .button a {
- color: white;
- display: block;
- font-weight: bold;
- @@ -103,49 +103,49 @@ div.messages.commerce-add-to-cart-confirmation .message-inner .button-wrapper .b
- }
- /* Product display */
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display {
- clear: both;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content {
- padding: 15px;
- position: relative;
- width: 55%;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images {
- position: relative;
- width: 130px;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images img {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .content .field-name-field-images img {
- border: #d7d7d7 solid 1px;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .commerce-product-sku .commerce-product-sku-label,
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .views-label,
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .commerce-product-sku .commerce-product-sku-label,
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .views-label,
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- color: #878380;
- float: left; /* LTR */
- font-size: 12px;
- font-weight: bold;
- padding-right: 5px; /* LTR */
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field {
- clear: both;
- margin: 0;
- text-align: left; /* LTR */
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .field .field-label {
- display: inline;
- float: left; /* LTR */
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total {
- clear: both;
- font-size: 20px;
- margin-top: 25px;
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .views-label {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .views-label {
- float: left; /* LTR */
- padding-right: 5px; /* LTR */
- }
- -div.messages.commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .field-content {
- +div.messages.messages--commerce-add-to-cart-confirmation .view-confirm-message-product-display .view-content .views-field-commerce-total .field-content {
- color: #2698f2;
- display: inline;
- float: right; /* LTR */
- diff --git a/js/commerce_add_to_cart_confirmation.js b/js/commerce_add_to_cart_confirmation.js
- index f47b29e..ff6d97b 100644
- --- a/js/commerce_add_to_cart_confirmation.js
- +++ b/js/commerce_add_to_cart_confirmation.js
- @@ -1,14 +1,14 @@
- (function ($) {
- Drupal.behaviors.commerce_add_to_cart_confirmation_overlay = {
- attach:function (context, settings) {
- - if ($('.commerce-add-to-cart-confirmation').length > 0) {
- + if ($('.messages--commerce-add-to-cart-confirmation').length > 0) {
- // Add the background overlay.
- $('body').append("<div class=\"commerce_add_to_cart_confirmation_overlay\"></div>");
- // Enable the close link.
- $('.commerce-add-to-cart-confirmation-close').live('click touchend', function(e) {
- e.preventDefault();
- - $('.commerce-add-to-cart-confirmation').remove();
- + $('.messages--commerce-add-to-cart-confirmation').remove();
- $('.commerce_add_to_cart_confirmation_overlay').remove();
- });
- }
- $: profiles/commerce_kickstart/modules/contrib/commerce_add_to_cart_confirmation# patch -p1 < not-working-in-omega-4-2265253-2.patch
- patching file css/commerce_add_to_cart_confirmation-rtl.css
- patching file css/commerce_add_to_cart_confirmation.css
- patching file js/commerce_add_to_cart_confirmation.js
- Hunk #1 FAILED at 1.
- patch unexpectedly ends in middle of line
- 1 out of 1 hunk FAILED -- saving rejects to file js/commerce_add_to_cart_confirmation.js.rej
- patch unexpectedly ends in middle of line
- $: profiles/commerce_kickstart/modules/contrib/commerce_add_to_cart_confirmation#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement