diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index 0201cdf..0304630 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -1318,3 +1318,86 @@ div.message-ribbon { .cart-public-link { font-size: 0.8em; } + +/* Phase 1: Static inline style replacements */ +.no-bottom-margin { + margin-bottom: 0px; +} + +.no-top-margin { + margin-top: 0px; +} + +.bold-text { + font-weight: bold; +} + +.stripe-card-logo { + width: 92px; + float: left; + margin-right: 10px; + margin-top: 10px; +} + +.stripe-negative-margin { + margin-top: -12px; +} + +.stripe-initial-width { + width: initial; +} + +.stripe-save-button { + margin-bottom: 0px; + margin-top: 8px; +} + +.comment-pending { + color: orange; +} + +.hidden-form { + display: none; +} + +.coupon-disabled { + opacity: 0.7; +} + +.vertical-coupon-text { + margin: 0px; +} + +.remove-button-small { + width: 80px; +} + +.subtitle-text { + font-size: 0.6em; + font-weight: normal; +} + +.original-comment-box { + background-color: #f5f5f5; + padding: 15px; + border-left: 4px solid #007cba; + margin-bottom: 20px; +} + +.start-button-icon { + font-size: 20px; +} + +.table-full-width { + width: 100%; + max-width: 100%; +} + +.table-fixed-layout { + table-layout: fixed; +} + +.sold-out-button { + background-color: red !important; + cursor: not-allowed; +} diff --git a/make_post_sell/templates/base.j2 b/make_post_sell/templates/base.j2 index 06d1b8a..61c92b6 100644 --- a/make_post_sell/templates/base.j2 +++ b/make_post_sell/templates/base.j2 @@ -94,7 +94,7 @@
{% if request.is_saas_domain or request.user.can_edit_shop(request.shop) %} - ☰   {{ request.shop.name }} + ☰   {{ request.shop.name }} {% endif %}
diff --git a/make_post_sell/templates/comments/edit_comment.j2 b/make_post_sell/templates/comments/edit_comment.j2 index 20f16f3..2d8b847 100644 --- a/make_post_sell/templates/comments/edit_comment.j2 +++ b/make_post_sell/templates/comments/edit_comment.j2 @@ -6,7 +6,7 @@

Edit Comment

-
+
{{ comment.user.name if comment.user else "Anonymous" }} {{ comment.ago_string }} diff --git a/make_post_sell/templates/comments/reply_comment.j2 b/make_post_sell/templates/comments/reply_comment.j2 index 1970cbc..8032237 100644 --- a/make_post_sell/templates/comments/reply_comment.j2 +++ b/make_post_sell/templates/comments/reply_comment.j2 @@ -6,7 +6,7 @@

Reply to Comment

-
+
{{ parent_comment.user.name if parent_comment.user else "Anonymous" }} {{ parent_comment.ago_string }} diff --git a/make_post_sell/templates/content.j2 b/make_post_sell/templates/content.j2 index c9b0148..a94f1d7 100644 --- a/make_post_sell/templates/content.j2 +++ b/make_post_sell/templates/content.j2 @@ -48,7 +48,7 @@
{% endif %} -

{{ product.title }} uploaded to {{ product.shop.name }}

+

{{ product.title }} uploaded to {{ product.shop.name }}

diff --git a/make_post_sell/templates/coupon.j2 b/make_post_sell/templates/coupon.j2 index 41c458f..4a04a7b 100644 --- a/make_post_sell/templates/coupon.j2 +++ b/make_post_sell/templates/coupon.j2 @@ -11,8 +11,8 @@
-



Coupon:

{{ request.shop.name }}

-Coupon: {{ request.shop.name }} +



Coupon:

{{ request.shop.name }}

+Coupon: {{ request.shop.name }}
diff --git a/make_post_sell/templates/coupons.j2 b/make_post_sell/templates/coupons.j2 index 733d4f0..93ed871 100644 --- a/make_post_sell/templates/coupons.j2 +++ b/make_post_sell/templates/coupons.j2 @@ -16,7 +16,7 @@ Coupons in the shop named "{{ request.shop.name }}". {% for coupon in coupons %} + {{ coupon.code }} — diff --git a/make_post_sell/templates/product.j2 b/make_post_sell/templates/product.j2 index 032d3f2..c193448 100644 --- a/make_post_sell/templates/product.j2 +++ b/make_post_sell/templates/product.j2 @@ -31,7 +31,7 @@
-

{{ product.title }} sold by {{ product.shop.name }}

+

{{ product.title }} sold by {{ product.shop.name }}

{% if "thumbnail1" in product.extensions %} @@ -73,7 +73,7 @@ {% else %} - + {% if request.shop.shop_locations.all()|length > 1 %}

This item is sold out at this location.
You can switch shop locations to check availability.

diff --git a/make_post_sell/templates/product_edit.j2 b/make_post_sell/templates/product_edit.j2 index 44a5e88..7c91904 100644 --- a/make_post_sell/templates/product_edit.j2 +++ b/make_post_sell/templates/product_edit.j2 @@ -33,7 +33,7 @@ permanent link: {{ product.absolut
  • {{p.title}} - +

  • @@ -82,7 +82,7 @@ permanent link:
    {{ product.absolut

    - {% if "product" in product.originals %}

    Current File: {{ product.originals["product"] }}

    {% endif %} + {% if "product" in product.originals %}

    Current File: {{ product.originals["product"] }}

    {% endif %} {% set signed_post = signed_posts["product"] %}
    @@ -105,7 +105,7 @@ permanent link: {{ product.absolut

    - {% if "preview" in product.originals %}

    Current File: {{ product.originals["preview"] }}

    {% endif %} + {% if "preview" in product.originals %}

    Current File: {{ product.originals["preview"] }}

    {% endif %} {% set signed_post = signed_posts["preview"] %} diff --git a/make_post_sell/templates/shop_location_form.j2 b/make_post_sell/templates/shop_location_form.j2 index 00f4e19..27afc7f 100644 --- a/make_post_sell/templates/shop_location_form.j2 +++ b/make_post_sell/templates/shop_location_form.j2 @@ -128,7 +128,7 @@ id = "local_pickup_input" class = "mps-local-pickup" {% if local_pickup %}checked{% endif %} /> - +

    @@ -139,7 +139,7 @@ id = "local_delivery_input" class = "mps-local-delivery" {% if local_delivery %}checked{% endif %} /> - +

    @@ -162,7 +162,7 @@ id = "local_shipping_input" class = "mps-local-shipping" {% if local_shipping %}checked{% endif %} /> - +

    @@ -185,7 +185,7 @@ id = "international_shipping_input" class = "mps-international-shipping" {% if international_shipping %}checked{% endif %} /> - +

    diff --git a/make_post_sell/templates/shop_products.j2 b/make_post_sell/templates/shop_products.j2 index 4c0ea3f..3d0c150 100644 --- a/make_post_sell/templates/shop_products.j2 +++ b/make_post_sell/templates/shop_products.j2 @@ -8,10 +8,10 @@ tr { text-align: left;} {% if products %} - +
    + {% for product in products %} diff --git a/make_post_sell/templates/snippets/comments.j2 b/make_post_sell/templates/snippets/comments.j2 index 5eeb784..c998d97 100644 --- a/make_post_sell/templates/snippets/comments.j2 +++ b/make_post_sell/templates/snippets/comments.j2 @@ -8,7 +8,7 @@ {{ comment.title }} {% endif %} {% if not comment.approved %} - [Pending Approval] + [Pending Approval] {% endif %} @@ -19,16 +19,16 @@
    {% if request.user.authenticated and (request.user.id == comment.user_id or comment.can_user_moderate(request.user, shop)) %} - +
    {% endif %} {% if request.user.authenticated and comment.can_user_moderate(request.user, shop) %} {% if comment.approved %} - +
    {% else %} - +
    {% endif %} {% endif %} diff --git a/make_post_sell/templates/snippets/search.j2 b/make_post_sell/templates/snippets/search.j2 index 907eb43..8fde444 100644 --- a/make_post_sell/templates/snippets/search.j2 +++ b/make_post_sell/templates/snippets/search.j2 @@ -1,5 +1,5 @@ {% if request.shop and not search_disabled %} - + {% include 'csrf.j2' %} {%- if request.shop -%} @@ -9,10 +9,9 @@ diff --git a/make_post_sell/templates/snippets/stripe.j2 b/make_post_sell/templates/snippets/stripe.j2 index da6b4b7..49b0d04 100644 --- a/make_post_sell/templates/snippets/stripe.j2 +++ b/make_post_sell/templates/snippets/stripe.j2 @@ -14,7 +14,7 @@
    - +
    {{ card.card.brand }}
    @@ -26,7 +26,7 @@

    -
    +
    {% if actions %}
    @@ -54,13 +54,13 @@ - + - + - +
    diff --git a/make_post_sell/templates/update-card.j2 b/make_post_sell/templates/update-card.j2 index c40a32f..172b1d8 100644 --- a/make_post_sell/templates/update-card.j2 +++ b/make_post_sell/templates/update-card.j2 @@ -20,7 +20,7 @@
    - +
    diff --git a/make_post_sell/templates/user_settings.j2 b/make_post_sell/templates/user_settings.j2 index 597ea85..3300ddb 100644 --- a/make_post_sell/templates/user_settings.j2 +++ b/make_post_sell/templates/user_settings.j2 @@ -41,10 +41,10 @@ User Theme - + - + -->
    Sellable Price Visibility Bundle Physical Ready Title Size -