forked from spree-contrib/spree_fancy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missed icons in previous commit. Correct icon classes in override…
…s. Move print stylesheet to better place.
- Loading branch information
Alexey Topolyanskiy
committed
Jan 3, 2013
1 parent
5da64cf
commit d77b4a2
Showing
16 changed files
with
121 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
@media print { | ||
body { | ||
background: white; | ||
font-size: 12pt; | ||
font-family: "Open Sans", "Helvetica Neue", "Helvetica", sans-serif; | ||
} | ||
#main-nav-bar, #nav-bar, | ||
.open-menu, .close-menu, | ||
#mobile-navigation, #footer, | ||
#taxon-crumbs, .add-to-cart, | ||
#product-thumbnails, input, button, | ||
#taxonomies, textarea, .cart-item-quantity-header, | ||
.cart-item-delete, .cart-item-quantity, a.continue, | ||
span.or, select { | ||
display: none !important; | ||
} | ||
|
||
#wrapper a:link:after, #wrapper a:visited:after { | ||
content: " (" attr(href) ") "; | ||
font-size: 90%; | ||
} | ||
|
||
#logo { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.product-section-title { | ||
font-size: 14pt; | ||
font-weight: bold; | ||
border-bottom: 1px solid black; | ||
margin-bottom: 5pt; | ||
} | ||
|
||
#product-images, [data-hook="product_properties"], | ||
#cart-form { | ||
float: left; | ||
width: 45%; | ||
} | ||
|
||
#cart-form, [data-hook="product_properties"] { | ||
clear: both; | ||
} | ||
|
||
[data-hook="product_properties"] { | ||
margin-top: -50px; | ||
} | ||
|
||
#product-description { | ||
float: right; | ||
width: 50%; | ||
position: absolute; | ||
top: 200px; | ||
right: 0; | ||
} | ||
|
||
#cart-form .price.selling { | ||
position: absolute; | ||
top: 160px; | ||
right: 0; | ||
width: 50%; | ||
display: block; | ||
font-size: 18pt; | ||
font-weight: bold; | ||
border-bottom: 1px solid black; | ||
} | ||
|
||
[data-hook="inside_cart_form"] #subtotal { | ||
font-size: 18pt; | ||
border-top: 1px solid black; | ||
text-align: right; | ||
width: 100%; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
app/overrides/spree/checkout/_confirm/add_icon_to_confirm_submit_button.html.erb.deface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!-- replace 'code:contains("submit_tag t(:place_order)")' --> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-check-1') + ' ' + t(:place_order), :type => 'submit', :class => 'continue button primary' %> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-check') + ' ' + t(:place_order), :type => 'submit', :class => 'continue button primary' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
app/overrides/spree/orders/edit/add_icons_to_clear_cart_link.html.erb.deface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!-- replace '#clear_cart_link' --> | ||
<p id="clear_cart_link" data-hook> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-trash-5') + ' ' + t(:empty_cart), :class => 'button gray', :type => "submit" %> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-trash') + ' ' + t(:empty_cart), :class => 'button gray', :type => "submit" %> | ||
<span class="or"><%= t(:or) %></span> | ||
<%= link_to content_tag(:i, '', :class => 'icon-right-3') + ' ' + t(:continue_shopping), products_path, :class => 'continue button gray' %> | ||
<%= link_to content_tag(:i, '', :class => 'icon-right') + ' ' + t(:continue_shopping), products_path, :class => 'continue button gray' %> | ||
</p> |
2 changes: 1 addition & 1 deletion
2
app/overrides/spree/shared/_filters/add_icon_to_search_button.html.erb.deface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!-- replace 'code:contains(" t(:search)")' --> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-search-5') + ' ' + t(:search), :type => "submit" %> | ||
<%= button_tag content_tag(:i, '', :class => 'icon-search') + ' ' + t(:search), :type => "submit" %> |
2 changes: 1 addition & 1 deletion
2
app/overrides/spree/shared/_head/add_print_stylesheet.html.erb.deface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!-- insert_before 'code:contains("csrf_meta_tags")'--> | ||
<%= stylesheet_link_tag 'store/shared/_print', :media => 'print' %> | ||
<%= stylesheet_link_tag 'store/print', :media => 'print' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters