spree_heist_theme 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/LICENSE +26 -0
- data/README.md +19 -0
- data/app/assets/images/store/auth-icons.png +0 -0
- data/app/assets/images/store/bg.jpg +0 -0
- data/app/assets/images/store/footer_bkgd.jpg +0 -0
- data/app/assets/images/store/icons/american-express-curved-32px.png +0 -0
- data/app/assets/images/store/icons/discover-curved-32px.png +0 -0
- data/app/assets/images/store/icons/facebook.png +0 -0
- data/app/assets/images/store/icons/mastercard-curved-32px.png +0 -0
- data/app/assets/images/store/icons/social-icons-rollover.png +0 -0
- data/app/assets/images/store/icons/social-icons.png +0 -0
- data/app/assets/images/store/icons/twitter.png +0 -0
- data/app/assets/images/store/icons/visa-curved-32px.png +0 -0
- data/app/assets/images/store/kid.jpg +0 -0
- data/app/assets/images/store/logo.png +0 -0
- data/app/assets/images/store/narrow_bg.png +0 -0
- data/app/assets/images/store/satellite-radios-bg.jpg +0 -0
- data/app/assets/images/store/search_bg_s1.gif +0 -0
- data/app/assets/images/store/shadow_top.png +0 -0
- data/app/assets/images/store/social-icons-rollover.png +0 -0
- data/app/assets/images/store/social-icons.png +0 -0
- data/app/assets/javascripts/store/checkout.js +78 -0
- data/app/assets/javascripts/store/rdr_wishlist.js +31 -0
- data/app/assets/stylesheets/store/auth-buttons.css +376 -0
- data/app/assets/stylesheets/store/base.css +0 -0
- data/app/assets/stylesheets/store/cart.css +141 -0
- data/app/assets/stylesheets/store/checkout.css +278 -0
- data/app/assets/stylesheets/store/display.css.erb +225 -0
- data/app/assets/stylesheets/store/editor.css +37 -0
- data/app/assets/stylesheets/store/errors.css.erb +55 -0
- data/app/assets/stylesheets/store/login.css +31 -0
- data/app/assets/stylesheets/store/misc.css +85 -0
- data/app/assets/stylesheets/store/products.css +133 -0
- data/app/assets/stylesheets/store/rdr.css +16 -0
- data/app/assets/stylesheets/store/reset.css +72 -0
- data/app/assets/stylesheets/store/screen.scss.css +0 -0
- data/app/assets/stylesheets/store/social.css +61 -0
- data/app/assets/stylesheets/store/spree_core.css +0 -0
- data/app/assets/stylesheets/store/taxonomy.css.erb +72 -0
- data/app/assets/stylesheets/store/typography.css +167 -0
- data/app/overrides/shared/replace_rescently_viewed_products_block_title.rb +4 -0
- data/app/overrides/spree/checkout/payment/remove_card_expiration.rb +3 -0
- data/app/overrides/spree/checkout/payment/remove_cart_code.rb +3 -0
- data/app/overrides/spree/checkout/payment/remove_gateway_icons.rb +5 -0
- data/app/overrides/spree/checkout/payment/replace_gateway_fields.rb +26 -0
- data/app/overrides/spree/checkout/payment/replace_paypal_payment.rb +8 -0
- data/app/overrides/spree/checkout/remove_checkout_registration_header.rb +4 -0
- data/app/overrides/spree/checkout/remove_confirm_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_delivery_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_payment_buttons.rb +3 -0
- data/app/overrides/spree/checkout/remove_shipping.rb +3 -0
- data/app/overrides/spree/checkout/remove_summary_title.rb +4 -0
- data/app/overrides/spree/checkout/remvove_address_buttons.rb +4 -0
- data/app/overrides/spree/checkout/replace_billing.rb +175 -0
- data/app/overrides/spree/checkout/replace_checkout.rb +25 -0
- data/app/overrides/spree/checkout/replace_checkout_registration.rb +47 -0
- data/app/overrides/spree/checkout/replace_confirm.rb +70 -0
- data/app/overrides/spree/checkout/replace_order_summary.rb +38 -0
- data/app/overrides/spree/checkout/replace_payment.rb +21 -0
- data/app/overrides/spree/checkout/replace_shipping_method.rb +27 -0
- data/app/overrides/spree/layouts/replace_body.rb +95 -0
- data/app/overrides/spree/orders/remove_orders_show_header.rb +5 -0
- data/app/overrides/spree/orders/replace_cart_detail.rb +34 -0
- data/app/overrides/spree/orders/replace_empty-cart.rb +3 -0
- data/app/overrides/spree/orders/replace_line_item.rb +34 -0
- data/app/overrides/spree/orders/replace_orders_show.rb +83 -0
- data/app/overrides/spree/orders/replace_outside_cart_form.rb +21 -0
- data/app/overrides/spree/products/add_related_products_to_cart_form.rb +20 -0
- data/app/overrides/spree/products/add_taxonomies_to_product_show.rb +7 -0
- data/app/overrides/spree/products/drop_icon_from_add_to_wishlist.rb +5 -0
- data/app/overrides/spree/products/redefine_add_wish_to_cart_form.rb +7 -0
- data/app/overrides/spree/products/redefine_email_to_friend.rb +13 -0
- data/app/overrides/spree/products/replace_cart_form.rb +42 -0
- data/app/overrides/spree/products/replace_product_show.rb +87 -0
- data/app/overrides/spree/shared/add_to_head.rb +4 -0
- data/app/overrides/spree/shared/redefine_recently_viewed_overrides.rb +16 -0
- data/app/overrides/spree/shared/remove_brs_from_login_form.rb +3 -0
- data/app/overrides/spree/shared/remove_brs_from_user_form.rb +4 -0
- data/app/overrides/spree/shared/replace_products.rb +30 -0
- data/app/overrides/spree/shared/replace_taxonomies.rb +5 -0
- data/app/overrides/spree/shared/tweak_button_login.rb +5 -0
- data/app/overrides/spree/shared/tweak_remember_me_login.rb +6 -0
- data/app/overrides/spree/taxons/replace_taxon_children.rb +6 -0
- data/app/overrides/spree/taxons/replace_taxon_sidebar_navigation.rb +7 -0
- data/app/overrides/spree/user_registrations/redefine_add_socials_to_login_extras.rb +14 -0
- data/app/overrides/spree/user_registrations/replace_user_registration_new.rb +11 -0
- data/app/overrides/spree/user_sessions/replace_user_sessions_new.rb +39 -0
- data/app/overrides/spree/users/redefine_add_wishlists_to_account_my_orders.rb +13 -0
- data/app/overrides/spree/users/redefine_replace_account_summary_with_social_logins.rb +44 -0
- data/app/overrides/spree/users/remove_account_summary.rb +3 -0
- data/app/overrides/spree/users/replace_account_header.rb +4 -0
- data/app/overrides/spree/users/replace_account_my_orders.rb +36 -0
- data/app/overrides/spree/wishlists/replace_new_wishlist_form.rb +9 -0
- data/app/overrides/spree/wishlists/replace_new_wishlist_header.rb +5 -0
- data/app/views/spree/shared/_all_products.html.erb +22 -0
- data/app/views/spree/shared/_product_banner.html.erb +6 -0
- data/app/views/spree/shared/_social_users.html.erb +13 -0
- data/app/views/spree/wishlists/show.html.erb +86 -0
- data/lib/generators/spree_heist_theme/install/install_generator.rb +17 -0
- data/lib/spree_heist_theme.rb +15 -0
- data/spree_heist_theme.gemspec +16 -0
- data/vendor/assets/images/fancybox/blank.gif +0 -0
- data/vendor/assets/images/fancybox/fancy_close.png +0 -0
- data/vendor/assets/images/fancybox/fancy_loading.png +0 -0
- data/vendor/assets/images/fancybox/fancy_nav_left.png +0 -0
- data/vendor/assets/images/fancybox/fancy_nav_right.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_e.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_n.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_ne.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_nw.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_s.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_se.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_sw.png +0 -0
- data/vendor/assets/images/fancybox/fancy_shadow_w.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_left.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_main.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_over.png +0 -0
- data/vendor/assets/images/fancybox/fancy_title_right.png +0 -0
- data/vendor/assets/images/fancybox/fancybox-x.png +0 -0
- data/vendor/assets/images/fancybox/fancybox-y.png +0 -0
- data/vendor/assets/images/fancybox/fancybox.png +0 -0
- data/vendor/assets/javascripts/jquery.easing-1.3.pack.js +72 -0
- data/vendor/assets/javascripts/jquery.fancybox-1.3.4.js +1156 -0
- data/vendor/assets/javascripts/jquery.fancybox-1.3.4.pack.js +46 -0
- data/vendor/assets/javascripts/jquery.mousewheel-3.0.4.pack.js +14 -0
- data/vendor/assets/stylesheets/jq-autocomplete.css +48 -0
- data/vendor/assets/stylesheets/jq-mobile-1.0a2.css +866 -0
- data/vendor/assets/stylesheets/jquery.fancybox-1.3.4.css +359 -0
- metadata +174 -0
data/.gitignore
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Copyright (c) 2007-2012, Spree Commerce, Inc. and other contributors
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
+
are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
8
|
+
this list of conditions and the following disclaimer.
|
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
+
this list of conditions and the following disclaimer in the documentation
|
|
11
|
+
and/or other materials provided with the distribution.
|
|
12
|
+
* Neither the name Spree nor the names of its contributors may be used to
|
|
13
|
+
endorse or promote products derived from this software without specific
|
|
14
|
+
prior written permission.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
17
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
18
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
19
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
20
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
21
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
22
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
23
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
24
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
25
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
26
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
SUMMARY
|
|
2
|
+
-------
|
|
3
|
+
|
|
4
|
+
Heist Spree Theme is a storefront theme used by Heist Apparel. This hard work is made available for a reason that I can't think of now.
|
|
5
|
+
|
|
6
|
+
INSTALLATION
|
|
7
|
+
------------
|
|
8
|
+
|
|
9
|
+
Add the following line to your Gemfile:
|
|
10
|
+
|
|
11
|
+
gem 'spree_heist_theme', :git => 'git://github.com/epylinkn/spree_heist_theme.git'
|
|
12
|
+
|
|
13
|
+
Run bunlder:
|
|
14
|
+
|
|
15
|
+
$ bundle install
|
|
16
|
+
|
|
17
|
+
Install assets:
|
|
18
|
+
|
|
19
|
+
$ rails g spree_heist_theme:install
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
(function($){
|
|
2
|
+
$(document).ready(function(){
|
|
3
|
+
if($('#checkout_form_payment').is('*')){
|
|
4
|
+
|
|
5
|
+
$('#checkout_form_payment').validate();
|
|
6
|
+
|
|
7
|
+
var get_states = function(region){
|
|
8
|
+
country = $('p#' + region + 'country' + ' span#' + region + 'country :only-child').val();
|
|
9
|
+
return state_mapper[country];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
var update_state = function(region) {
|
|
13
|
+
states = get_states(region);
|
|
14
|
+
|
|
15
|
+
state_select = $('p#' + region + 'state select');
|
|
16
|
+
state_input = $('p#' + region + 'state input');
|
|
17
|
+
|
|
18
|
+
if(states) {
|
|
19
|
+
selected = state_select.val();
|
|
20
|
+
state_select.html('');
|
|
21
|
+
states_with_blank = [["",""]].concat(states);
|
|
22
|
+
$.each(states_with_blank, function(pos,id_nm) {
|
|
23
|
+
var opt = $(document.createElement('option'))
|
|
24
|
+
.attr('value', id_nm[0])
|
|
25
|
+
.html(id_nm[1]);
|
|
26
|
+
if(selected==id_nm[0]){
|
|
27
|
+
opt.prop("selected", true);
|
|
28
|
+
}
|
|
29
|
+
state_select.append(opt);
|
|
30
|
+
});
|
|
31
|
+
state_select.prop("disabled", false).show();
|
|
32
|
+
state_input.hide().prop("disabled", true);
|
|
33
|
+
|
|
34
|
+
} else {
|
|
35
|
+
state_input.prop("disabled", false).show();
|
|
36
|
+
state_select.hide().prop("disabled", true);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
$('p#bcountry select').change(function() { update_state('b'); });
|
|
42
|
+
$('p#scountry select').change(function() { update_state('s'); });
|
|
43
|
+
update_state('b');
|
|
44
|
+
update_state('s');
|
|
45
|
+
|
|
46
|
+
$('input#order_use_billing').click(function() {
|
|
47
|
+
if($(this).is(':checked')) {
|
|
48
|
+
$('#shipping .inner').hide();
|
|
49
|
+
$('#shipping .inner input, #shipping .inner select').prop("disabled", true);
|
|
50
|
+
} else {
|
|
51
|
+
$('#shipping .inner').show();
|
|
52
|
+
$('#shipping .inner input, #shipping .inner select').prop("disabled", false);
|
|
53
|
+
//only want to enable relevant field
|
|
54
|
+
if(get_states('s')){
|
|
55
|
+
$('span#sstate input').hide().prop("disabled", true);
|
|
56
|
+
}else{
|
|
57
|
+
$('span#sstate select').hide().prop("disabled", true);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
}).triggerHandler('click');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if($('#checkout_form_payment').is('*')){
|
|
65
|
+
// Show fields for the selected payment method
|
|
66
|
+
$("input[type='radio'][name='order[payments_attributes][][payment_method_id]']").click(function(){
|
|
67
|
+
$('#payment-methods li').hide();
|
|
68
|
+
if(this.checked){ $('#payment_method_'+this.value).show(); }
|
|
69
|
+
}).triggerHandler('click');
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
})(jQuery);
|
|
73
|
+
|
|
74
|
+
function disableSaveOnClick() {
|
|
75
|
+
$('form.edit_spree_order').submit(function() {
|
|
76
|
+
$(this).find(':submit, :image').attr('disabled', true).removeClass('primary').addClass('disabled');
|
|
77
|
+
});
|
|
78
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
$(document).ready(function() {
|
|
2
|
+
|
|
3
|
+
if($('a#edit_wishlist_link').is('*')){
|
|
4
|
+
//handle wishlist edit link (show / hide form)
|
|
5
|
+
$('a#edit_wishlist_link').click(function(){
|
|
6
|
+
if($('#edit_wishlist').is(':visible')){
|
|
7
|
+
$('#edit_wishlist').slideUp();
|
|
8
|
+
}else{
|
|
9
|
+
$('#edit_wishlist').slideDown();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
return false;
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//handle move item link
|
|
16
|
+
$('.move_item a.button').click(function(){
|
|
17
|
+
var move_button = $(this);
|
|
18
|
+
move_button.hide();
|
|
19
|
+
move_button.parent().find('form').fadeIn();
|
|
20
|
+
return false;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Remove an item from the cart by setting its quantity to zero and posting the update form
|
|
25
|
+
$('form#updatecart a.delete').show().click(function(){
|
|
26
|
+
$(this).parents('tr').find('input.line_item_quantity').val(0);
|
|
27
|
+
$(this).parents('form').submit();
|
|
28
|
+
return false;
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
});
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Button Object
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* 1. Corrects inability to style clickable 'input' types in iOS
|
|
7
|
+
* 2. Remove excess padding in IE6/7
|
|
8
|
+
* 3. IE6/7 inline-block hack for native block-level elements
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
.btn-auth {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-block;
|
|
14
|
+
height: 22px;
|
|
15
|
+
padding: 0 1em;
|
|
16
|
+
border: 1px solid #999;
|
|
17
|
+
border-radius: 2px;
|
|
18
|
+
margin: 0;
|
|
19
|
+
text-align: center;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
line-height: 22px;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
color: #222;
|
|
26
|
+
background: #fff;
|
|
27
|
+
-webkit-box-sizing: content-box;
|
|
28
|
+
-moz-box-sizing: content-box;
|
|
29
|
+
box-sizing: content-box;
|
|
30
|
+
/* iOS */
|
|
31
|
+
-webkit-appearance: none; /* 1 */
|
|
32
|
+
/* IE6/7 hacks */
|
|
33
|
+
*overflow: visible; /* 2 */
|
|
34
|
+
*display: inline; /* 3 */
|
|
35
|
+
*zoom: 1; /* 3 */
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.btn-auth:hover,
|
|
39
|
+
.btn-auth:focus,
|
|
40
|
+
.btn-auth:active {
|
|
41
|
+
color: #222;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.btn-auth:before {
|
|
46
|
+
content: "";
|
|
47
|
+
float: left;
|
|
48
|
+
width: 22px;
|
|
49
|
+
height: 22px;
|
|
50
|
+
background: url(auth-icons.png) no-repeat 99px 99px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* 36px
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
.btn-auth.large {
|
|
58
|
+
height: 36px;
|
|
59
|
+
line-height: 36px;
|
|
60
|
+
font-size: 20px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.btn-auth.large:before {
|
|
64
|
+
width: 36px;
|
|
65
|
+
height: 36px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* Remove excess padding and border in FF3+
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
.btn-auth::-moz-focus-inner {
|
|
73
|
+
border: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/* Facebook (extends .btn-auth)
|
|
79
|
+
========================================================================== */
|
|
80
|
+
|
|
81
|
+
.btn-facebook {
|
|
82
|
+
border-color: #29447e;
|
|
83
|
+
border-bottom-color: #1a356e;
|
|
84
|
+
color: #fff;
|
|
85
|
+
background-color: #5872a7;
|
|
86
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#637bad), to(#5872a7));
|
|
87
|
+
background-image: -webkit-linear-gradient(#637bad, #5872a7);
|
|
88
|
+
background-image: -moz-linear-gradient(#637bad, #5872a7);
|
|
89
|
+
background-image: -ms-linear-gradient(#637bad, #5872a7);
|
|
90
|
+
background-image: -o-linear-gradient(#637bad, #5872a7);
|
|
91
|
+
background-image: linear-gradient(#637bad, #5872a7);
|
|
92
|
+
-webkit-box-shadow: inset 0 1px 0 #879ac0;
|
|
93
|
+
box-shadow: inset 0 1px 0 #879ac0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.btn-facebook:hover,
|
|
97
|
+
.btn-facebook:focus {
|
|
98
|
+
color: #fff;
|
|
99
|
+
background-color: #3b5998;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.btn-facebook:active {
|
|
103
|
+
color: #fff;
|
|
104
|
+
background: #4f6aa3;
|
|
105
|
+
-webkit-box-shadow: inset 0 1px 0 #45619d;
|
|
106
|
+
box-shadow: inset 0 1px 0 #45619d;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* Icon
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
.btn-facebook:before {
|
|
114
|
+
border-right: 1px solid #465f94;
|
|
115
|
+
margin: 0 1em 0 -1em;
|
|
116
|
+
background-position: 0 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.btn-facebook.large:before {
|
|
120
|
+
background-position: 0 -22px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/* GitHub
|
|
125
|
+
========================================================================== */
|
|
126
|
+
|
|
127
|
+
.btn-github {
|
|
128
|
+
border-color: #d4d4d4;
|
|
129
|
+
background: #ececec;
|
|
130
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
|
|
131
|
+
background-image: -webkit-linear-gradient(#f4f4f4, #ececec);
|
|
132
|
+
background-image: -moz-linear-gradient(#f4f4f4, #ececec);
|
|
133
|
+
background-image: -ms-linear-gradient(#f4f4f4, #ececec);
|
|
134
|
+
background-image: -o-linear-gradient(#f4f4f4, #ececec);
|
|
135
|
+
background-image: linear-gradient(#f4f4f4, #ececec);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.btn-github:hover,
|
|
139
|
+
.btn-github:focus {
|
|
140
|
+
border-color: #518cc6;
|
|
141
|
+
border-bottom-color: #2a65a0;
|
|
142
|
+
color: #fff;
|
|
143
|
+
background-color: #599bdc;
|
|
144
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
|
|
145
|
+
background-image: -webkit-linear-gradient(#599bdc, #3072b3);
|
|
146
|
+
background-image: -moz-linear-gradient(#599bdc, #3072b3);
|
|
147
|
+
background-image: -ms-linear-gradient(#599bdc, #3072b3);
|
|
148
|
+
background-image: -o-linear-gradient(#599bdc, #3072b3);
|
|
149
|
+
background-image: linear-gradient(#599bdc, #3072b3);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.btn-github:active {
|
|
153
|
+
border-color: #2A65A0;
|
|
154
|
+
border-bottom-color: #518CC6;
|
|
155
|
+
color: #fff;
|
|
156
|
+
background: #3072B3;
|
|
157
|
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
|
|
158
|
+
background: -webkit-linear-gradient(#3072b3, #599bdc);
|
|
159
|
+
background: -moz-linear-gradient(#3072b3, #599bdc);
|
|
160
|
+
background: -ms-linear-gradient(#3072b3, #599bdc);
|
|
161
|
+
background: -o-linear-gradient(#3072b3, #599bdc);
|
|
162
|
+
background: linear-gradient(#3072b3, #599bdc);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* Icon
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
.btn-github:before {
|
|
170
|
+
margin: 0 0.6em 0 -0.6em;
|
|
171
|
+
background-position: -44px 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.btn-github:hover:before,
|
|
175
|
+
.btn-github:focus:before,
|
|
176
|
+
.btn-github:active:before {
|
|
177
|
+
background-position: -66px 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.btn-github.large:before {
|
|
181
|
+
background-position: -72px -22px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.btn-github.large:hover:before,
|
|
185
|
+
.btn-github.large:focus:before,
|
|
186
|
+
.btn-github.large:active:before {
|
|
187
|
+
background-position: -108px -22px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/* Google
|
|
192
|
+
========================================================================== */
|
|
193
|
+
|
|
194
|
+
.btn-google {
|
|
195
|
+
border-color: #3079ed;
|
|
196
|
+
color: #fff;
|
|
197
|
+
background: #4787ed;
|
|
198
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed));
|
|
199
|
+
background-image: -webkit-linear-gradient(#4d90fe, #4787ed);
|
|
200
|
+
background-image: -moz-linear-gradient(#4d90fe, #4787ed);
|
|
201
|
+
background-image: -ms-linear-gradient(#4d90fe, #4787ed);
|
|
202
|
+
background-image: -o-linear-gradient(#4d90fe, #4787ed);
|
|
203
|
+
background-image: linear-gradient(#4d90fe, #4787ed);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.btn-google:hover,
|
|
207
|
+
.btn-google:focus,
|
|
208
|
+
.btn-google:active {
|
|
209
|
+
color: #fff;
|
|
210
|
+
background-color: #357ae8;
|
|
211
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8));
|
|
212
|
+
background-image: -webkit-linear-gradient(#4d90fe, #357ae8);
|
|
213
|
+
background-image: -moz-linear-gradient(#4d90fe, #357ae8);
|
|
214
|
+
background-image: -ms-linear-gradient(#4d90fe, #357ae8);
|
|
215
|
+
background-image: -o-linear-gradient(#4d90fe, #357ae8);
|
|
216
|
+
background-image: linear-gradient(#4d90fe, #357ae8);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.btn-google:active {
|
|
220
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
|
|
221
|
+
box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/*
|
|
225
|
+
* Icon
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
.btn-google:before {
|
|
229
|
+
margin: 0 1em 0 -1em;
|
|
230
|
+
background-position: -88px 0;
|
|
231
|
+
background-color: #e6e6e6;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.btn-google.large:before {
|
|
235
|
+
background-position: -144px -22px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
/* Open ID
|
|
240
|
+
========================================================================== */
|
|
241
|
+
|
|
242
|
+
.btn-openid:hover,
|
|
243
|
+
.btn-openid:focus {
|
|
244
|
+
border-color: #777;
|
|
245
|
+
background: #fcfcfc;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.btn-openid:active {
|
|
249
|
+
background: #f5f5f5;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/*
|
|
253
|
+
* Icon
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
.btn-openid:before {
|
|
257
|
+
margin: 0 0.6em 0 -0.6em;
|
|
258
|
+
background-position: -154px 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.btn-openid.large:before {
|
|
262
|
+
background-position: -252px -22px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
/* Twitter
|
|
267
|
+
========================================================================== */
|
|
268
|
+
|
|
269
|
+
.btn-twitter {
|
|
270
|
+
border-color: #a6cde6;
|
|
271
|
+
color: #327695;
|
|
272
|
+
background: #cfe4f0;
|
|
273
|
+
/* css3 */
|
|
274
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f5f7), to(rgba(255,255,255,0)));
|
|
275
|
+
background-image: -webkit-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
|
276
|
+
background-image: -moz-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
|
277
|
+
background-image: -ms-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
|
278
|
+
background-image: -o-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
|
279
|
+
background-image: linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
|
280
|
+
-webkit-box-shadow: inset 0 1px 0 #fff;
|
|
281
|
+
box-shadow: inset 0 1px 0 #fff;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.btn-twitter:hover,
|
|
285
|
+
.btn-twitter:focus,
|
|
286
|
+
.btn-twitter:active {
|
|
287
|
+
color: #327695;
|
|
288
|
+
border-color: #8dc2e4;
|
|
289
|
+
background-color: #cadde9;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.btn-twitter:active {
|
|
293
|
+
background: #cadde9;
|
|
294
|
+
-webkit-box-shadow: inset 0 1px 0 #bbd6e7;
|
|
295
|
+
box-shadow: inset 0 1px 0 #bbd6e7;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/*
|
|
299
|
+
* Icon
|
|
300
|
+
*/
|
|
301
|
+
|
|
302
|
+
.btn-twitter:before {
|
|
303
|
+
margin: 0 0.6em 0 -0.6em;
|
|
304
|
+
background-position: -22px 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.btn-twitter.large:before {
|
|
308
|
+
background-position: -36px -22px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
/* Windows Live ID
|
|
313
|
+
========================================================================== */
|
|
314
|
+
|
|
315
|
+
.btn-windows:hover,
|
|
316
|
+
.btn-windows:focus {
|
|
317
|
+
border-color: #777;
|
|
318
|
+
background: #fcfcfc;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.btn-windows:active {
|
|
322
|
+
background: #f5f5f5;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/*
|
|
326
|
+
* Icon
|
|
327
|
+
*/
|
|
328
|
+
|
|
329
|
+
.btn-windows:before {
|
|
330
|
+
margin: 0 0.6em 0 -0.6em;
|
|
331
|
+
background-position: -110px 0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.btn-windows.large:before {
|
|
335
|
+
background-position: -180px -22px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/* Yahoo!
|
|
340
|
+
========================================================================== */
|
|
341
|
+
|
|
342
|
+
.btn-yahoo {
|
|
343
|
+
border-color: #ffb305;
|
|
344
|
+
background: #ffc426;
|
|
345
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255,0.5)), to(rgba(255,255,255,0)));
|
|
346
|
+
background-image: -webkit-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
|
347
|
+
background-image: -moz-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
|
348
|
+
background-image: -ms-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
|
349
|
+
background-image: -o-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
|
350
|
+
background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.btn-yahoo:hover,
|
|
354
|
+
.btn-yahoo:focus {
|
|
355
|
+
background-color: #fabf20;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.btn-yahoo:active {
|
|
359
|
+
border-color: #f09700;
|
|
360
|
+
background-image: none;
|
|
361
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
|
|
362
|
+
box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/*
|
|
366
|
+
* Icon
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
.btn-yahoo:before {
|
|
370
|
+
margin: 0 0.6em 0 -0.6em;
|
|
371
|
+
background-position: -132px 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.btn-yahoo.large:before {
|
|
375
|
+
background-position: -216px -22px;
|
|
376
|
+
}
|
|
File without changes
|