boconnect_theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +22 -0
- data/app/assets/images/banner.png +0 -0
- data/app/assets/images/bg-button.png +0 -0
- data/app/assets/images/bobags.png +0 -0
- data/app/assets/images/body-back.png +0 -0
- data/app/assets/images/bottom_shine.png +0 -0
- data/app/assets/images/buttons/bg-button-hover.png +0 -0
- data/app/assets/images/buttons/bg-button-pressed.png +0 -0
- data/app/assets/images/buttons/bg-button.gif +0 -0
- data/app/assets/images/buttons/bg-button.png +0 -0
- data/app/assets/images/buttons/left_01.png +0 -0
- data/app/assets/images/buttons/left_01_small.png +0 -0
- data/app/assets/images/buttons/right_01.png +0 -0
- data/app/assets/images/buttons/right_01_small.png +0 -0
- data/app/assets/images/cart-empty.png +0 -0
- data/app/assets/images/cart-empty_x32.png +0 -0
- data/app/assets/images/cart-full.png +0 -0
- data/app/assets/images/cart-full_x32.png +0 -0
- data/app/assets/images/cart_empty.png +0 -0
- data/app/assets/images/cart_empty_hover.png +0 -0
- data/app/assets/images/facebook.png +0 -0
- data/app/assets/images/fundo_bb.png +0 -0
- data/app/assets/images/fundo_header_bb.png +0 -0
- data/app/assets/images/logo_boconnect.png +0 -0
- data/app/assets/images/menu-current.png +0 -0
- data/app/assets/images/menu-hover.png +0 -0
- data/app/assets/images/promo.png +0 -0
- data/app/assets/images/shadow_top.png +0 -0
- data/app/assets/images/step-progress/completed-completed.gif +0 -0
- data/app/assets/images/step-progress/completed-current.gif +0 -0
- data/app/assets/images/step-progress/completed-first.gif +0 -0
- data/app/assets/images/step-progress/current-first.gif +0 -0
- data/app/assets/images/step-progress/current-incomplete.gif +0 -0
- data/app/assets/images/step-progress/current-right.gif +0 -0
- data/app/assets/images/step-progress/incomplete-incomplete.gif +0 -0
- data/app/assets/images/step-progress/incomplete-right.gif +0 -0
- data/app/assets/images/steps/1.png +0 -0
- data/app/assets/images/steps/1_small.png +0 -0
- data/app/assets/images/steps/2.png +0 -0
- data/app/assets/images/steps/2_small.png +0 -0
- data/app/assets/images/steps/3.png +0 -0
- data/app/assets/images/steps/3_small.png +0 -0
- data/app/assets/images/steps/4.png +0 -0
- data/app/assets/images/steps/4_small.png +0 -0
- data/app/assets/images/steps/5.png +0 -0
- data/app/assets/images/steps/5_small.png +0 -0
- data/app/assets/images/steps/6.png +0 -0
- data/app/assets/images/steps/6_small.png +0 -0
- data/app/assets/images/twitter.png +0 -0
- data/app/assets/images/wrapper-back-2.png +0 -0
- data/app/assets/images/wrapper-back.png +0 -0
- data/app/assets/stylesheets/store/basic.css.scss +23 -0
- data/app/assets/stylesheets/store/checkout.css.scss +166 -0
- data/app/assets/stylesheets/store/colors.css.scss +7 -0
- data/app/assets/stylesheets/store/flash_notices.css.scss +36 -0
- data/app/assets/stylesheets/store/forms.css.scss +100 -0
- data/app/assets/stylesheets/store/headers_and_footers.css.scss +21 -0
- data/app/assets/stylesheets/store/links.css.scss +10 -0
- data/app/assets/stylesheets/store/lists.css.scss +33 -0
- data/app/assets/stylesheets/store/navigation.css.scss +93 -0
- data/app/assets/stylesheets/store/paragraphs.css.scss +3 -0
- data/app/assets/stylesheets/store/products.css.scss +149 -0
- data/app/assets/stylesheets/store/reset.css.scss +214 -0
- data/app/assets/stylesheets/store/screen.css.scss +773 -0
- data/app/assets/stylesheets/store/tables.css.scss +36 -0
- data/app/overrides/add_class_to_footer.rb +4 -0
- data/app/overrides/add_class_to_header.rb +4 -0
- data/app/overrides/add_class_to_link_to_cart.rb +4 -0
- data/app/overrides/add_class_to_wrapper.rb +4 -0
- data/app/overrides/add_dimensions_to_bag_exibition.rb +7 -0
- data/app/overrides/insert_banner.rb +4 -0
- data/app/overrides/insert_footer.rb +16 -0
- data/app/overrides/insert_menu.rb +13 -0
- data/app/overrides/insert_pagination_bar.rb +4 -0
- data/app/overrides/insert_promocao.rb +4 -0
- data/app/overrides/insert_search.rb +5 -0
- data/app/overrides/insert_title_sidebar.rb +5 -0
- data/app/overrides/remove_class_breadcrumbs.rb +4 -0
- data/app/overrides/remove_class_footer-left.rb +3 -0
- data/app/overrides/remove_class_footer-right.rb +3 -0
- data/app/overrides/remove_search_from_header.rb +4 -0
- data/app/overrides/replace_class_to_logo.rb +4 -0
- data/app/overrides/tweak_product_list_item.rb +11 -0
- data/boconnect_theme.gemspec +16 -0
- data/lib/boconnect_theme.rb +16 -0
- metadata +131 -0
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.DS_Store
|
data/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
SUMMARY
|
2
|
+
-------
|
3
|
+
|
4
|
+
BoCONNECT Theme is a standalone theme for Spree Commerce version used in http://boconnect.com.br, based on the original Spree Blue Theme.
|
5
|
+
|
6
|
+
INSTALLATION
|
7
|
+
------------
|
8
|
+
|
9
|
+
1. Add the following line to your Gemfile:
|
10
|
+
|
11
|
+
gem 'boconnect_theme', :git => 'git://github.com/heavenstudio/boconnect_theme.git'
|
12
|
+
|
13
|
+
**NOTE:** It's important that you add this line at the bottom of the Gemfile, or at least AFTER any other extension/engine/gem that you'd like to theme (i.e. Spree)
|
14
|
+
|
15
|
+
2. And install:
|
16
|
+
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
3. Optional: Clear out precompiled assets (required for install in sandbox):
|
20
|
+
|
21
|
+
$ rake assets:clean
|
22
|
+
|
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
|
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
|
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,23 @@
|
|
1
|
+
@import 'colors';
|
2
|
+
|
3
|
+
body {
|
4
|
+
line-height: 1em;
|
5
|
+
color: black;
|
6
|
+
background: #ffffff;
|
7
|
+
}
|
8
|
+
|
9
|
+
|
10
|
+
/* Line style */
|
11
|
+
hr {
|
12
|
+
border-color: $c_border;
|
13
|
+
}
|
14
|
+
|
15
|
+
/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
|
16
|
+
::-moz-selection{background: $c_colored; color: white; text-shadow: none;}
|
17
|
+
::selection {background: $c_colored; color: white; text-shadow: none;}
|
18
|
+
|
19
|
+
/* j.mp/webkit-tap-highlight-color */
|
20
|
+
a:link {-webkit-tap-highlight-color: $c_colored;}
|
21
|
+
|
22
|
+
ins {background-color: $c_colored; color: white; text-decoration: none;}
|
23
|
+
mark {background-color: $c_colored; color: white; font-style: italic; font-weight: bold;}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
@import 'colors';
|
2
|
+
|
3
|
+
.progress-steps {
|
4
|
+
list-style: decimal inside;
|
5
|
+
overflow: auto;
|
6
|
+
|
7
|
+
li {
|
8
|
+
float: left;
|
9
|
+
margin-right: 20px;
|
10
|
+
font-weight: bold;
|
11
|
+
text-transform: uppercase;
|
12
|
+
padding: 5px 20px;
|
13
|
+
color: $c_gray;
|
14
|
+
|
15
|
+
&.current-first, &.current {
|
16
|
+
background-color: $c_colored;
|
17
|
+
color: white;
|
18
|
+
}
|
19
|
+
|
20
|
+
&.completed-first, &.completed {
|
21
|
+
background-color: $c_border;
|
22
|
+
color: white;
|
23
|
+
|
24
|
+
a {
|
25
|
+
color: white;
|
26
|
+
}
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
background-color: $c_colored;
|
30
|
+
color: white;
|
31
|
+
|
32
|
+
a {
|
33
|
+
color: white;
|
34
|
+
|
35
|
+
&:hover {
|
36
|
+
color: white !important;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
#checkout-summary {
|
45
|
+
text-align: center;
|
46
|
+
border: 1px solid $c_border;
|
47
|
+
margin-top: 23px;
|
48
|
+
margin-left: 0;
|
49
|
+
|
50
|
+
h3 {
|
51
|
+
text-transform: uppercase;
|
52
|
+
font-size: 14px;
|
53
|
+
color: $c_colored;
|
54
|
+
border-bottom: 1px solid $c_border;
|
55
|
+
}
|
56
|
+
|
57
|
+
table {
|
58
|
+
width: 100%;
|
59
|
+
|
60
|
+
tr[data-hook="item_total"] {
|
61
|
+
td:last-child {
|
62
|
+
strong {
|
63
|
+
@extend span.price;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
tr[data-hook="order_total"] {
|
69
|
+
border-bottom: none;
|
70
|
+
};
|
71
|
+
|
72
|
+
#summary-order-total {
|
73
|
+
@extend span.price;
|
74
|
+
font-size: 14px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
#billing, #shipping, #shipping_method,
|
80
|
+
#payment, #order_details, #order_summary {
|
81
|
+
margin-top: 10px;
|
82
|
+
border: 1px solid $c_border;
|
83
|
+
padding: 10px;
|
84
|
+
|
85
|
+
legend {
|
86
|
+
text-transform: uppercase;
|
87
|
+
font-weight: bold;
|
88
|
+
font-size: 14px;
|
89
|
+
color: $c_colored;
|
90
|
+
padding: 5px;
|
91
|
+
margin-left: 15px;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
#order_details, #order_summary {
|
96
|
+
padding: 0;
|
97
|
+
|
98
|
+
div:last-child {
|
99
|
+
margin-left: -1px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.payment-info {
|
103
|
+
.cc-type {
|
104
|
+
img {
|
105
|
+
vertical-align: middle;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
td.price, td.total {
|
111
|
+
span {
|
112
|
+
@extend span.price;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
table tfoot {
|
117
|
+
text-align: right;
|
118
|
+
color: $c_gray;
|
119
|
+
|
120
|
+
tr {
|
121
|
+
border: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
&#order-total {
|
125
|
+
text-transform: uppercase;
|
126
|
+
font-size: 16px;
|
127
|
+
color: $c_base;
|
128
|
+
|
129
|
+
tr {
|
130
|
+
border-top: 1px solid $c_border;
|
131
|
+
|
132
|
+
td {
|
133
|
+
padding: 10px;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.steps-data {
|
140
|
+
padding: 10px;
|
141
|
+
|
142
|
+
h6 {
|
143
|
+
border-bottom: 1px solid $c_border;
|
144
|
+
margin-bottom: 5px;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
#shipping_method {
|
150
|
+
p {
|
151
|
+
label {
|
152
|
+
float: left;
|
153
|
+
font-weight: bold;
|
154
|
+
font-size: 14px;
|
155
|
+
margin-right: 40px;
|
156
|
+
padding: 5px;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
p[data-hook="use_billing"] {
|
162
|
+
float: right;
|
163
|
+
margin-top: -38px;
|
164
|
+
background-color: white;
|
165
|
+
padding: 5px;
|
166
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
@import 'colors';
|
2
|
+
|
3
|
+
.flash {
|
4
|
+
padding: 10px;
|
5
|
+
color: white;
|
6
|
+
font-weight: bold;
|
7
|
+
margin-bottom: 10px;
|
8
|
+
|
9
|
+
&.notice {
|
10
|
+
background-color: $c_colored;
|
11
|
+
}
|
12
|
+
&.success {
|
13
|
+
background-color: $c_green;
|
14
|
+
}
|
15
|
+
&.error {
|
16
|
+
background-color: $c_red;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.errorExplanation {
|
21
|
+
@extend .flash.error;
|
22
|
+
@extend .flash;
|
23
|
+
|
24
|
+
p {
|
25
|
+
font-weight: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
ul {
|
29
|
+
list-style: disc outside;
|
30
|
+
margin-left: 30px;
|
31
|
+
|
32
|
+
li {
|
33
|
+
font-weight: normal;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
@import 'colors';
|
2
|
+
|
3
|
+
textarea, input[type="date"],
|
4
|
+
input[type="datetime"], input[type="datetime-local"],
|
5
|
+
input[type="email"], input[type="month"], input[type="number"],
|
6
|
+
input[type="password"], input[type="search"], input[type="tel"],
|
7
|
+
input[type="text"], input[type="time"], input[type="url"],
|
8
|
+
input[type="week"] {
|
9
|
+
border: 1px solid $c_border;
|
10
|
+
padding: 2px 5px;
|
11
|
+
font-family: "Ubuntu", sans-serif;
|
12
|
+
|
13
|
+
&:active, &:focus {
|
14
|
+
border-color: $c_colored;
|
15
|
+
outline: none;
|
16
|
+
-webkit-box-shadow: none;
|
17
|
+
-moz-box-shadow: none;
|
18
|
+
-o-box-shadow: none;
|
19
|
+
box-shadow: none;
|
20
|
+
}
|
21
|
+
|
22
|
+
&.error {
|
23
|
+
border-color: $c_red;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
select {
|
28
|
+
border: 1px solid $c_border;
|
29
|
+
font-family: "Ubuntu", sans-serif;
|
30
|
+
background-image: url('select_arrow.gif');
|
31
|
+
background-repeat: no-repeat;
|
32
|
+
background-position: right center;
|
33
|
+
|
34
|
+
&:active, &:focus {
|
35
|
+
@extend input[type="text"]:focus
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
label.error {
|
40
|
+
display: block;
|
41
|
+
font-size: 11px;
|
42
|
+
color: $c_red;
|
43
|
+
margin-top: 3px;
|
44
|
+
}
|
45
|
+
|
46
|
+
input[type="submit"], input[type="button"],
|
47
|
+
input[type= "reset"], button, a.button {
|
48
|
+
background-color: $c_colored;
|
49
|
+
background-image: none;
|
50
|
+
text-shadow: none;
|
51
|
+
color: white;
|
52
|
+
font-weight: bold;
|
53
|
+
font-family: "Ubuntu", sans-serif;
|
54
|
+
border: 1px solid rgba(0, 138, 189, .75);
|
55
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
56
|
+
-khtml-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
57
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
58
|
+
-o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
59
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
60
|
+
-webkit-border-radius: 0px;
|
61
|
+
-khtml-border-radius: 0px;
|
62
|
+
-moz-border-radius: 0px;
|
63
|
+
-ms-border-radius: 0px;
|
64
|
+
-o-border-radius: 0px;
|
65
|
+
border-radius: 0px;
|
66
|
+
|
67
|
+
// font-size: 13px;
|
68
|
+
vertical-align: text-top;
|
69
|
+
|
70
|
+
&.large {
|
71
|
+
padding: 7px 10px;
|
72
|
+
font-size: 14px;
|
73
|
+
}
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
background-image: none;
|
77
|
+
background-color: $c_base;
|
78
|
+
border-color: $c_base;
|
79
|
+
color: white !important;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
.ie8 {
|
84
|
+
a.button {
|
85
|
+
line-height: 16px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
input[type="checkbox"], input[type="button"],
|
90
|
+
input[type="submit"], input[type="reset"],
|
91
|
+
button, label {
|
92
|
+
vertical-align: middle;
|
93
|
+
}
|
94
|
+
|
95
|
+
a.button {
|
96
|
+
display: inline-block;
|
97
|
+
line-height: 15px;
|
98
|
+
margin-top: -2px;
|
99
|
+
vertical-align: bottom;
|
100
|
+
}
|