mechanize-store 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +58 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/mechanize_store/application.js +22 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/bootstrap.js +1951 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/custom.js +58 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/excanvas.min.js +1 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.js +3137 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.pie.js +817 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/main.js +20 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/jquery-ui.js +2256 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/jquery.activity-indicator-1.0.0.min.js +223 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.js +245 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/jquery.dataTables.js +14013 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/excanvas.min.js +1 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.js +2599 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.pie.js +750 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.resize.js +60 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.tooltip.min.js +12 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/metisMenu/jquery.metisMenu.js +45 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/morris.js +1888 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/raphael-2.1.0.min.js +10 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/sb-admin.js +18 -0
- data/app/assets/stylesheets/mechanize_store/application.css +199 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/bootstrap.css +5831 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.css +233 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/morris/morris-0.4.3.min.css +2 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/social-buttons/social-buttons.css +68 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/timeline/timeline.css +144 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/sb-admin.css +307 -0
- data/app/controllers/mechanize_store/application_controller.rb +4 -0
- data/app/controllers/mechanize_store/flags_controller.rb +77 -0
- data/app/controllers/mechanize_store/order_statuses_controller.rb +77 -0
- data/app/controllers/mechanize_store/orders_controller.rb +28 -0
- data/app/controllers/mechanize_store/payment_statuses_controller.rb +77 -0
- data/app/controllers/mechanize_store/payment_types_controller.rb +77 -0
- data/app/controllers/mechanize_store/product_categories_controller.rb +77 -0
- data/app/controllers/mechanize_store/products_controller.rb +77 -0
- data/app/helpers/mechanize_store/application_helper.rb +7 -0
- data/app/models/mechanize_store/flag.rb +4 -0
- data/app/models/mechanize_store/freight.rb +5 -0
- data/app/models/mechanize_store/order.rb +8 -0
- data/app/models/mechanize_store/order_status.rb +5 -0
- data/app/models/mechanize_store/payment.rb +6 -0
- data/app/models/mechanize_store/payment_status.rb +4 -0
- data/app/models/mechanize_store/payment_type.rb +4 -0
- data/app/models/mechanize_store/product.rb +5 -0
- data/app/models/mechanize_store/product_category.rb +5 -0
- data/app/models/mechanize_store/product_photo.rb +5 -0
- data/app/models/mechanize_store/store.rb +5 -0
- data/app/views/layouts/store/application.html.erb +93 -0
- data/app/views/mechanize_store/flags/_form.html.erb +11 -0
- data/app/views/mechanize_store/flags/edit.html.erb +12 -0
- data/app/views/mechanize_store/flags/index.html.erb +46 -0
- data/app/views/mechanize_store/flags/new.html.erb +9 -0
- data/app/views/mechanize_store/flags/show.html.erb +15 -0
- data/app/views/mechanize_store/order_statuses/_form.html.erb +11 -0
- data/app/views/mechanize_store/order_statuses/edit.html.erb +12 -0
- data/app/views/mechanize_store/order_statuses/index.html.erb +46 -0
- data/app/views/mechanize_store/order_statuses/new.html.erb +9 -0
- data/app/views/mechanize_store/order_statuses/show.html.erb +15 -0
- data/app/views/mechanize_store/orders/index.html.erb +84 -0
- data/app/views/mechanize_store/orders/show.html.erb +0 -0
- data/app/views/mechanize_store/payment_statuses/_form.html.erb +11 -0
- data/app/views/mechanize_store/payment_statuses/edit.html.erb +12 -0
- data/app/views/mechanize_store/payment_statuses/index.html.erb +46 -0
- data/app/views/mechanize_store/payment_statuses/new.html.erb +9 -0
- data/app/views/mechanize_store/payment_statuses/show.html.erb +15 -0
- data/app/views/mechanize_store/payment_types/_form.html.erb +11 -0
- data/app/views/mechanize_store/payment_types/edit.html.erb +12 -0
- data/app/views/mechanize_store/payment_types/index.html.erb +46 -0
- data/app/views/mechanize_store/payment_types/new.html.erb +9 -0
- data/app/views/mechanize_store/payment_types/show.html.erb +15 -0
- data/app/views/mechanize_store/product_categories/_form.html.erb +12 -0
- data/app/views/mechanize_store/product_categories/edit.html.erb +12 -0
- data/app/views/mechanize_store/product_categories/index.html.erb +48 -0
- data/app/views/mechanize_store/product_categories/new.html.erb +9 -0
- data/app/views/mechanize_store/product_categories/show.html.erb +19 -0
- data/app/views/mechanize_store/products/_form.html.erb +18 -0
- data/app/views/mechanize_store/products/edit.html.erb +12 -0
- data/app/views/mechanize_store/products/index.html.erb +50 -0
- data/app/views/mechanize_store/products/new.html.erb +9 -0
- data/app/views/mechanize_store/products/show.html.erb +43 -0
- data/app/views/shared/_flashes.html.erb +8 -0
- data/config/locales/store.pt-BR.yml +22 -0
- data/config/routes.rb +10 -0
- data/db/migrate/20140401203200_create_mechanize_store_freights.rb +12 -0
- data/db/migrate/20140401203246_create_mechanize_store_order_statuses.rb +9 -0
- data/db/migrate/20140402140318_create_mechanize_store_payment_statuses.rb +9 -0
- data/db/migrate/20140402140325_create_mechanize_store_payment_types.rb +9 -0
- data/db/migrate/20140402140539_create_mechanize_store_payments.rb +16 -0
- data/db/migrate/20140402140549_create_mechanize_store_flags.rb +9 -0
- data/db/migrate/20140402140832_create_mechanize_store_products.rb +16 -0
- data/db/migrate/20140402140942_create_mechanize_store_product_photos.rb +10 -0
- data/db/migrate/20140402141340_create_mechanize_store_stores.rb +12 -0
- data/db/migrate/20140402153139_create_mechanize_store_orders.rb +11 -0
- data/db/migrate/20140402192058_create_mechanize_store_product_categories.rb +10 -0
- data/lib/mechanize_store.rb +4 -0
- data/lib/mechanize_store/engine.rb +16 -0
- data/lib/mechanize_store/version.rb +3 -0
- data/lib/tasks/store_tasks.rake +4 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/lib/templates/erb/scaffold/edit.html.erb +12 -0
- data/lib/templates/erb/scaffold/index.html.erb +50 -0
- data/lib/templates/erb/scaffold/new.html.erb +9 -0
- data/lib/templates/erb/scaffold/show.html.erb +17 -0
- data/lib/templates/rails/scaffold_controller/controller.rb +79 -0
- metadata +265 -0
data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.css
ADDED
@@ -0,0 +1,233 @@
|
|
1
|
+
div.dataTables_length label {
|
2
|
+
float: left;
|
3
|
+
text-align: left;
|
4
|
+
font-weight: normal;
|
5
|
+
}
|
6
|
+
|
7
|
+
div.dataTables_length select {
|
8
|
+
width: 75px;
|
9
|
+
}
|
10
|
+
|
11
|
+
div.dataTables_filter label {
|
12
|
+
float: right;
|
13
|
+
font-weight: normal;
|
14
|
+
}
|
15
|
+
|
16
|
+
div.dataTables_filter input {
|
17
|
+
width: 16em;
|
18
|
+
}
|
19
|
+
|
20
|
+
div.dataTables_info {
|
21
|
+
padding-top: 8px;
|
22
|
+
}
|
23
|
+
|
24
|
+
div.dataTables_paginate {
|
25
|
+
float: right;
|
26
|
+
margin: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
div.dataTables_paginate ul.pagination {
|
30
|
+
margin: 2px 0;
|
31
|
+
white-space: nowrap;
|
32
|
+
}
|
33
|
+
|
34
|
+
table.dataTable,
|
35
|
+
table.dataTable td,
|
36
|
+
table.dataTable th {
|
37
|
+
-webkit-box-sizing: content-box;
|
38
|
+
-moz-box-sizing: content-box;
|
39
|
+
box-sizing: content-box;
|
40
|
+
}
|
41
|
+
|
42
|
+
table.dataTable {
|
43
|
+
clear: both;
|
44
|
+
margin-top: 6px !important;
|
45
|
+
margin-bottom: 6px !important;
|
46
|
+
max-width: none !important;
|
47
|
+
}
|
48
|
+
|
49
|
+
table.dataTable thead .sorting,
|
50
|
+
table.dataTable thead .sorting_asc,
|
51
|
+
table.dataTable thead .sorting_desc,
|
52
|
+
table.dataTable thead .sorting_asc_disabled,
|
53
|
+
table.dataTable thead .sorting_desc_disabled {
|
54
|
+
cursor: pointer;
|
55
|
+
}
|
56
|
+
|
57
|
+
table.dataTable thead .sorting {
|
58
|
+
background: url('../images/sort_both.png') no-repeat center right;
|
59
|
+
}
|
60
|
+
|
61
|
+
table.dataTable thead .sorting_asc {
|
62
|
+
background: url('../images/sort_asc.png') no-repeat center right;
|
63
|
+
}
|
64
|
+
|
65
|
+
table.dataTable thead .sorting_desc {
|
66
|
+
background: url('../images/sort_desc.png') no-repeat center right;
|
67
|
+
}
|
68
|
+
|
69
|
+
table.dataTable thead .sorting_asc_disabled {
|
70
|
+
background: url('../images/sort_asc_disabled.png') no-repeat center right;
|
71
|
+
}
|
72
|
+
|
73
|
+
table.dataTable thead .sorting_desc_disabled {
|
74
|
+
background: url('../images/sort_desc_disabled.png') no-repeat center right;
|
75
|
+
}
|
76
|
+
|
77
|
+
table.dataTable th:active {
|
78
|
+
outline: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Scrolling */
|
82
|
+
|
83
|
+
div.dataTables_scrollHead table {
|
84
|
+
margin-bottom: 0 !important;
|
85
|
+
border-bottom-left-radius: 0;
|
86
|
+
border-bottom-right-radius: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
div.dataTables_scrollHead table thead tr:last-child th:first-child,
|
90
|
+
div.dataTables_scrollHead table thead tr:last-child td:first-child {
|
91
|
+
border-bottom-left-radius: 0 !important;
|
92
|
+
border-bottom-right-radius: 0 !important;
|
93
|
+
}
|
94
|
+
|
95
|
+
div.dataTables_scrollBody table {
|
96
|
+
margin-top: 0 !important;
|
97
|
+
margin-bottom: 0 !important;
|
98
|
+
border-top: none;
|
99
|
+
}
|
100
|
+
|
101
|
+
div.dataTables_scrollBody tbody tr:first-child th,
|
102
|
+
div.dataTables_scrollBody tbody tr:first-child td {
|
103
|
+
border-top: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
div.dataTables_scrollFoot table {
|
107
|
+
margin-top: 0 !important;
|
108
|
+
border-top: none;
|
109
|
+
}
|
110
|
+
|
111
|
+
/*
|
112
|
+
* TableTools styles
|
113
|
+
*/
|
114
|
+
|
115
|
+
.table tbody tr.active td,
|
116
|
+
.table tbody tr.active th {
|
117
|
+
color: white;
|
118
|
+
background-color: #08C;
|
119
|
+
}
|
120
|
+
|
121
|
+
.table tbody tr.active:hover td,
|
122
|
+
.table tbody tr.active:hover th {
|
123
|
+
background-color: #0075b0 !important;
|
124
|
+
}
|
125
|
+
|
126
|
+
.table tbody tr.active a {
|
127
|
+
color: white;
|
128
|
+
}
|
129
|
+
|
130
|
+
.table-striped tbody tr.active:nth-child(odd) td,
|
131
|
+
.table-striped tbody tr.active:nth-child(odd) th {
|
132
|
+
background-color: #017ebc;
|
133
|
+
}
|
134
|
+
|
135
|
+
table.DTTT_selectable tbody tr {
|
136
|
+
cursor: pointer;
|
137
|
+
}
|
138
|
+
|
139
|
+
div.DTTT .btn {
|
140
|
+
font-size: 12px;
|
141
|
+
color: #333 !important;
|
142
|
+
}
|
143
|
+
|
144
|
+
div.DTTT .btn:hover {
|
145
|
+
text-decoration: none !important;
|
146
|
+
}
|
147
|
+
|
148
|
+
ul.DTTT_dropdown.dropdown-menu {
|
149
|
+
z-index: 2003;
|
150
|
+
}
|
151
|
+
|
152
|
+
ul.DTTT_dropdown.dropdown-menu a {
|
153
|
+
color: #333 !important; /* needed only when demo_page.css is included */
|
154
|
+
}
|
155
|
+
|
156
|
+
ul.DTTT_dropdown.dropdown-menu li {
|
157
|
+
position: relative;
|
158
|
+
}
|
159
|
+
|
160
|
+
ul.DTTT_dropdown.dropdown-menu li:hover a {
|
161
|
+
color: white !important;
|
162
|
+
background-color: #0088cc;
|
163
|
+
}
|
164
|
+
|
165
|
+
div.DTTT_collection_background {
|
166
|
+
z-index: 2002;
|
167
|
+
}
|
168
|
+
|
169
|
+
/* TableTools information display */
|
170
|
+
|
171
|
+
div.DTTT_print_info.modal {
|
172
|
+
height: 150px;
|
173
|
+
margin-top: -75px;
|
174
|
+
text-align: center;
|
175
|
+
}
|
176
|
+
|
177
|
+
div.DTTT_print_info h6 {
|
178
|
+
margin: 1em;
|
179
|
+
font-size: 28px;
|
180
|
+
font-weight: normal;
|
181
|
+
line-height: 28px;
|
182
|
+
}
|
183
|
+
|
184
|
+
div.DTTT_print_info p {
|
185
|
+
font-size: 14px;
|
186
|
+
line-height: 20px;
|
187
|
+
}
|
188
|
+
|
189
|
+
/*
|
190
|
+
* FixedColumns styles
|
191
|
+
*/
|
192
|
+
|
193
|
+
div.DTFC_LeftHeadWrapper table,
|
194
|
+
div.DTFC_LeftFootWrapper table,
|
195
|
+
div.DTFC_RightHeadWrapper table,
|
196
|
+
div.DTFC_RightFootWrapper table,
|
197
|
+
table.DTFC_Cloned tr.even {
|
198
|
+
background-color: white;
|
199
|
+
}
|
200
|
+
|
201
|
+
div.DTFC_RightHeadWrapper table,
|
202
|
+
div.DTFC_LeftHeadWrapper table {
|
203
|
+
margin-bottom: 0 !important;
|
204
|
+
border-top-right-radius: 0 !important;
|
205
|
+
border-bottom-left-radius: 0 !important;
|
206
|
+
border-bottom-right-radius: 0 !important;
|
207
|
+
}
|
208
|
+
|
209
|
+
div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
|
210
|
+
div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
|
211
|
+
div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
|
212
|
+
div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
|
213
|
+
border-bottom-left-radius: 0 !important;
|
214
|
+
border-bottom-right-radius: 0 !important;
|
215
|
+
}
|
216
|
+
|
217
|
+
div.DTFC_RightBodyWrapper table,
|
218
|
+
div.DTFC_LeftBodyWrapper table {
|
219
|
+
margin-bottom: 0 !important;
|
220
|
+
border-top: none;
|
221
|
+
}
|
222
|
+
|
223
|
+
div.DTFC_RightBodyWrapper tbody tr:first-child th,
|
224
|
+
div.DTFC_RightBodyWrapper tbody tr:first-child td,
|
225
|
+
div.DTFC_LeftBodyWrapper tbody tr:first-child th,
|
226
|
+
div.DTFC_LeftBodyWrapper tbody tr:first-child td {
|
227
|
+
border-top: none;
|
228
|
+
}
|
229
|
+
|
230
|
+
div.DTFC_RightFootWrapper table,
|
231
|
+
div.DTFC_LeftFootWrapper table {
|
232
|
+
border-top: none;
|
233
|
+
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
.morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;}
|
2
|
+
.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;}
|
data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/social-buttons/social-buttons.css
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css);
|
2
|
+
/*
|
3
|
+
* Social Buttons for Bootstrap
|
4
|
+
*
|
5
|
+
* Copyright 2013 Panayiotis Lipiridis
|
6
|
+
* Licensed under the MIT License
|
7
|
+
*
|
8
|
+
* https://github.com/lipis/bootstrap-social
|
9
|
+
*/
|
10
|
+
|
11
|
+
.btn-social{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social :first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}
|
12
|
+
.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}
|
13
|
+
.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}
|
14
|
+
.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}
|
15
|
+
.btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding-left:0;padding-right:0}.btn-social-icon :first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}
|
16
|
+
.btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg :first-child{line-height:45px;width:45px;font-size:1.8em}
|
17
|
+
.btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm :first-child{line-height:28px;width:28px;font-size:1.4em}
|
18
|
+
.btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs :first-child{line-height:20px;width:20px;font-size:1.2em}
|
19
|
+
.btn-social-icon :first-child{border:none;text-align:center;width:100% !important}
|
20
|
+
.btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0}
|
21
|
+
.btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0}
|
22
|
+
.btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0}
|
23
|
+
.btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:hover,.btn-bitbucket:focus,.btn-bitbucket:active,.btn-bitbucket.active,.open .dropdown-toggle.btn-bitbucket{color:#fff;background-color:#183c60;border-color:rgba(0,0,0,0.2)}
|
24
|
+
.btn-bitbucket:active,.btn-bitbucket.active,.open .dropdown-toggle.btn-bitbucket{background-image:none}
|
25
|
+
.btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)}
|
26
|
+
.btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:hover,.btn-dropbox:focus,.btn-dropbox:active,.btn-dropbox.active,.open .dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d70b7;border-color:rgba(0,0,0,0.2)}
|
27
|
+
.btn-dropbox:active,.btn-dropbox.active,.open .dropdown-toggle.btn-dropbox{background-image:none}
|
28
|
+
.btn-dropbox.disabled,.btn-dropbox[disabled],fieldset[disabled] .btn-dropbox,.btn-dropbox.disabled:hover,.btn-dropbox[disabled]:hover,fieldset[disabled] .btn-dropbox:hover,.btn-dropbox.disabled:focus,.btn-dropbox[disabled]:focus,fieldset[disabled] .btn-dropbox:focus,.btn-dropbox.disabled:active,.btn-dropbox[disabled]:active,fieldset[disabled] .btn-dropbox:active,.btn-dropbox.disabled.active,.btn-dropbox[disabled].active,fieldset[disabled] .btn-dropbox.active{background-color:#1087dd;border-color:rgba(0,0,0,0.2)}
|
29
|
+
.btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:hover,.btn-facebook:focus,.btn-facebook:active,.btn-facebook.active,.open .dropdown-toggle.btn-facebook{color:#fff;background-color:#30487b;border-color:rgba(0,0,0,0.2)}
|
30
|
+
.btn-facebook:active,.btn-facebook.active,.open .dropdown-toggle.btn-facebook{background-image:none}
|
31
|
+
.btn-facebook.disabled,.btn-facebook[disabled],fieldset[disabled] .btn-facebook,.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled:active,.btn-facebook[disabled]:active,fieldset[disabled] .btn-facebook:active,.btn-facebook.disabled.active,.btn-facebook[disabled].active,fieldset[disabled] .btn-facebook.active{background-color:#3b5998;border-color:rgba(0,0,0,0.2)}
|
32
|
+
.btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:hover,.btn-flickr:focus,.btn-flickr:active,.btn-flickr.active,.open .dropdown-toggle.btn-flickr{color:#fff;background-color:#d6006f;border-color:rgba(0,0,0,0.2)}
|
33
|
+
.btn-flickr:active,.btn-flickr.active,.open .dropdown-toggle.btn-flickr{background-image:none}
|
34
|
+
.btn-flickr.disabled,.btn-flickr[disabled],fieldset[disabled] .btn-flickr,.btn-flickr.disabled:hover,.btn-flickr[disabled]:hover,fieldset[disabled] .btn-flickr:hover,.btn-flickr.disabled:focus,.btn-flickr[disabled]:focus,fieldset[disabled] .btn-flickr:focus,.btn-flickr.disabled:active,.btn-flickr[disabled]:active,fieldset[disabled] .btn-flickr:active,.btn-flickr.disabled.active,.btn-flickr[disabled].active,fieldset[disabled] .btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2)}
|
35
|
+
.btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:hover,.btn-github:focus,.btn-github:active,.btn-github.active,.open .dropdown-toggle.btn-github{color:#fff;background-color:#303030;border-color:rgba(0,0,0,0.2)}
|
36
|
+
.btn-github:active,.btn-github.active,.open .dropdown-toggle.btn-github{background-image:none}
|
37
|
+
.btn-github.disabled,.btn-github[disabled],fieldset[disabled] .btn-github,.btn-github.disabled:hover,.btn-github[disabled]:hover,fieldset[disabled] .btn-github:hover,.btn-github.disabled:focus,.btn-github[disabled]:focus,fieldset[disabled] .btn-github:focus,.btn-github.disabled:active,.btn-github[disabled]:active,fieldset[disabled] .btn-github:active,.btn-github.disabled.active,.btn-github[disabled].active,fieldset[disabled] .btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2)}
|
38
|
+
.btn-google-plus{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google-plus:hover,.btn-google-plus:focus,.btn-google-plus:active,.btn-google-plus.active,.open .dropdown-toggle.btn-google-plus{color:#fff;background-color:#ca3523;border-color:rgba(0,0,0,0.2)}
|
39
|
+
.btn-google-plus:active,.btn-google-plus.active,.open .dropdown-toggle.btn-google-plus{background-image:none}
|
40
|
+
.btn-google-plus.disabled,.btn-google-plus[disabled],fieldset[disabled] .btn-google-plus,.btn-google-plus.disabled:hover,.btn-google-plus[disabled]:hover,fieldset[disabled] .btn-google-plus:hover,.btn-google-plus.disabled:focus,.btn-google-plus[disabled]:focus,fieldset[disabled] .btn-google-plus:focus,.btn-google-plus.disabled:active,.btn-google-plus[disabled]:active,fieldset[disabled] .btn-google-plus:active,.btn-google-plus.disabled.active,.btn-google-plus[disabled].active,fieldset[disabled] .btn-google-plus.active{background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}
|
41
|
+
.btn-instagram{color:#fff;background-color:#517fa4;border-color:rgba(0,0,0,0.2)}.btn-instagram:hover,.btn-instagram:focus,.btn-instagram:active,.btn-instagram.active,.open .dropdown-toggle.btn-instagram{color:#fff;background-color:#446a89;border-color:rgba(0,0,0,0.2)}
|
42
|
+
.btn-instagram:active,.btn-instagram.active,.open .dropdown-toggle.btn-instagram{background-image:none}
|
43
|
+
.btn-instagram.disabled,.btn-instagram[disabled],fieldset[disabled] .btn-instagram,.btn-instagram.disabled:hover,.btn-instagram[disabled]:hover,fieldset[disabled] .btn-instagram:hover,.btn-instagram.disabled:focus,.btn-instagram[disabled]:focus,fieldset[disabled] .btn-instagram:focus,.btn-instagram.disabled:active,.btn-instagram[disabled]:active,fieldset[disabled] .btn-instagram:active,.btn-instagram.disabled.active,.btn-instagram[disabled].active,fieldset[disabled] .btn-instagram.active{background-color:#517fa4;border-color:rgba(0,0,0,0.2)}
|
44
|
+
.btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:hover,.btn-linkedin:focus,.btn-linkedin:active,.btn-linkedin.active,.open .dropdown-toggle.btn-linkedin{color:#fff;background-color:#005f8d;border-color:rgba(0,0,0,0.2)}
|
45
|
+
.btn-linkedin:active,.btn-linkedin.active,.open .dropdown-toggle.btn-linkedin{background-image:none}
|
46
|
+
.btn-linkedin.disabled,.btn-linkedin[disabled],fieldset[disabled] .btn-linkedin,.btn-linkedin.disabled:hover,.btn-linkedin[disabled]:hover,fieldset[disabled] .btn-linkedin:hover,.btn-linkedin.disabled:focus,.btn-linkedin[disabled]:focus,fieldset[disabled] .btn-linkedin:focus,.btn-linkedin.disabled:active,.btn-linkedin[disabled]:active,fieldset[disabled] .btn-linkedin:active,.btn-linkedin.disabled.active,.btn-linkedin[disabled].active,fieldset[disabled] .btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2)}
|
47
|
+
.btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:hover,.btn-pinterest:focus,.btn-pinterest:active,.btn-pinterest.active,.open .dropdown-toggle.btn-pinterest{color:#fff;background-color:#a81a20;border-color:rgba(0,0,0,0.2)}
|
48
|
+
.btn-pinterest:active,.btn-pinterest.active,.open .dropdown-toggle.btn-pinterest{background-image:none}
|
49
|
+
.btn-pinterest.disabled,.btn-pinterest[disabled],fieldset[disabled] .btn-pinterest,.btn-pinterest.disabled:hover,.btn-pinterest[disabled]:hover,fieldset[disabled] .btn-pinterest:hover,.btn-pinterest.disabled:focus,.btn-pinterest[disabled]:focus,fieldset[disabled] .btn-pinterest:focus,.btn-pinterest.disabled:active,.btn-pinterest[disabled]:active,fieldset[disabled] .btn-pinterest:active,.btn-pinterest.disabled.active,.btn-pinterest[disabled].active,fieldset[disabled] .btn-pinterest.active{background-color:#cb2027;border-color:rgba(0,0,0,0.2)}
|
50
|
+
.btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:hover,.btn-tumblr:focus,.btn-tumblr:active,.btn-tumblr.active,.open .dropdown-toggle.btn-tumblr{color:#fff;background-color:#1f3346;border-color:rgba(0,0,0,0.2)}
|
51
|
+
.btn-tumblr:active,.btn-tumblr.active,.open .dropdown-toggle.btn-tumblr{background-image:none}
|
52
|
+
.btn-tumblr.disabled,.btn-tumblr[disabled],fieldset[disabled] .btn-tumblr,.btn-tumblr.disabled:hover,.btn-tumblr[disabled]:hover,fieldset[disabled] .btn-tumblr:hover,.btn-tumblr.disabled:focus,.btn-tumblr[disabled]:focus,fieldset[disabled] .btn-tumblr:focus,.btn-tumblr.disabled:active,.btn-tumblr[disabled]:active,fieldset[disabled] .btn-tumblr:active,.btn-tumblr.disabled.active,.btn-tumblr[disabled].active,fieldset[disabled] .btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2)}
|
53
|
+
.btn-twitter{color:#fff;background-color:#2ba9e1;border-color:rgba(0,0,0,0.2)}.btn-twitter:hover,.btn-twitter:focus,.btn-twitter:active,.btn-twitter.active,.open .dropdown-toggle.btn-twitter{color:#fff;background-color:#1c92c7;border-color:rgba(0,0,0,0.2)}
|
54
|
+
.btn-twitter:active,.btn-twitter.active,.open .dropdown-toggle.btn-twitter{background-image:none}
|
55
|
+
.btn-twitter.disabled,.btn-twitter[disabled],fieldset[disabled] .btn-twitter,.btn-twitter.disabled:hover,.btn-twitter[disabled]:hover,fieldset[disabled] .btn-twitter:hover,.btn-twitter.disabled:focus,.btn-twitter[disabled]:focus,fieldset[disabled] .btn-twitter:focus,.btn-twitter.disabled:active,.btn-twitter[disabled]:active,fieldset[disabled] .btn-twitter:active,.btn-twitter.disabled.active,.btn-twitter[disabled].active,fieldset[disabled] .btn-twitter.active{background-color:#2ba9e1;border-color:rgba(0,0,0,0.2)}
|
56
|
+
.btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:hover,.btn-vk:focus,.btn-vk:active,.btn-vk.active,.open .dropdown-toggle.btn-vk{color:#fff;background-color:#4a6a89;border-color:rgba(0,0,0,0.2)}
|
57
|
+
.btn-vk:active,.btn-vk.active,.open .dropdown-toggle.btn-vk{background-image:none}
|
58
|
+
.btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2)}
|
59
|
+
|
60
|
+
|
61
|
+
/*
|
62
|
+
* Only for this example - not needed for the buttons
|
63
|
+
* ----------------------------------------------------- */
|
64
|
+
.btn-social-icon {margin-bottom: 4px;}
|
65
|
+
.social-class .social-hex{font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:10px;opacity:.3;float:right}
|
66
|
+
.social-class li{margin-bottom:4px}.social-class li:hover .social-hex{opacity:1}
|
67
|
+
.social-class li:hover code{background-color:#e8e8ee}
|
68
|
+
.social-class code{cursor:default}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
.timeline {
|
2
|
+
position: relative;
|
3
|
+
padding: 20px 0 20px;
|
4
|
+
list-style: none;
|
5
|
+
}
|
6
|
+
|
7
|
+
.timeline:before {
|
8
|
+
content: " ";
|
9
|
+
position: absolute;
|
10
|
+
top: 0;
|
11
|
+
bottom: 0;
|
12
|
+
left: 50%;
|
13
|
+
width: 3px;
|
14
|
+
margin-left: -1.5px;
|
15
|
+
background-color: #eeeeee;
|
16
|
+
}
|
17
|
+
|
18
|
+
.timeline > li {
|
19
|
+
position: relative;
|
20
|
+
margin-bottom: 20px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.timeline > li:before,
|
24
|
+
.timeline > li:after {
|
25
|
+
content: " ";
|
26
|
+
display: table;
|
27
|
+
}
|
28
|
+
|
29
|
+
.timeline > li:after {
|
30
|
+
clear: both;
|
31
|
+
}
|
32
|
+
|
33
|
+
.timeline > li:before,
|
34
|
+
.timeline > li:after {
|
35
|
+
content: " ";
|
36
|
+
display: table;
|
37
|
+
}
|
38
|
+
|
39
|
+
.timeline > li:after {
|
40
|
+
clear: both;
|
41
|
+
}
|
42
|
+
|
43
|
+
.timeline > li > .timeline-panel {
|
44
|
+
float: left;
|
45
|
+
position: relative;
|
46
|
+
width: 46%;
|
47
|
+
padding: 20px;
|
48
|
+
border: 1px solid #d4d4d4;
|
49
|
+
border-radius: 2px;
|
50
|
+
-webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
|
51
|
+
box-shadow: 0 1px 6px rgba(0,0,0,0.175);
|
52
|
+
}
|
53
|
+
|
54
|
+
.timeline > li > .timeline-panel:before {
|
55
|
+
content: " ";
|
56
|
+
display: inline-block;
|
57
|
+
position: absolute;
|
58
|
+
top: 26px;
|
59
|
+
right: -15px;
|
60
|
+
border-top: 15px solid transparent;
|
61
|
+
border-right: 0 solid #ccc;
|
62
|
+
border-bottom: 15px solid transparent;
|
63
|
+
border-left: 15px solid #ccc;
|
64
|
+
}
|
65
|
+
|
66
|
+
.timeline > li > .timeline-panel:after {
|
67
|
+
content: " ";
|
68
|
+
display: inline-block;
|
69
|
+
position: absolute;
|
70
|
+
top: 27px;
|
71
|
+
right: -14px;
|
72
|
+
border-top: 14px solid transparent;
|
73
|
+
border-right: 0 solid #fff;
|
74
|
+
border-bottom: 14px solid transparent;
|
75
|
+
border-left: 14px solid #fff;
|
76
|
+
}
|
77
|
+
|
78
|
+
.timeline > li > .timeline-badge {
|
79
|
+
z-index: 100;
|
80
|
+
position: absolute;
|
81
|
+
top: 16px;
|
82
|
+
left: 50%;
|
83
|
+
width: 50px;
|
84
|
+
height: 50px;
|
85
|
+
margin-left: -25px;
|
86
|
+
border-radius: 50% 50% 50% 50%;
|
87
|
+
text-align: center;
|
88
|
+
font-size: 1.4em;
|
89
|
+
line-height: 50px;
|
90
|
+
color: #fff;
|
91
|
+
background-color: #999999;
|
92
|
+
}
|
93
|
+
|
94
|
+
.timeline > li.timeline-inverted > .timeline-panel {
|
95
|
+
float: right;
|
96
|
+
}
|
97
|
+
|
98
|
+
.timeline > li.timeline-inverted > .timeline-panel:before {
|
99
|
+
right: auto;
|
100
|
+
left: -15px;
|
101
|
+
border-right-width: 15px;
|
102
|
+
border-left-width: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
.timeline > li.timeline-inverted > .timeline-panel:after {
|
106
|
+
right: auto;
|
107
|
+
left: -14px;
|
108
|
+
border-right-width: 14px;
|
109
|
+
border-left-width: 0;
|
110
|
+
}
|
111
|
+
|
112
|
+
.timeline-badge.primary {
|
113
|
+
background-color: #2e6da4 !important;
|
114
|
+
}
|
115
|
+
|
116
|
+
.timeline-badge.success {
|
117
|
+
background-color: #3f903f !important;
|
118
|
+
}
|
119
|
+
|
120
|
+
.timeline-badge.warning {
|
121
|
+
background-color: #f0ad4e !important;
|
122
|
+
}
|
123
|
+
|
124
|
+
.timeline-badge.danger {
|
125
|
+
background-color: #d9534f !important;
|
126
|
+
}
|
127
|
+
|
128
|
+
.timeline-badge.info {
|
129
|
+
background-color: #5bc0de !important;
|
130
|
+
}
|
131
|
+
|
132
|
+
.timeline-title {
|
133
|
+
margin-top: 0;
|
134
|
+
color: inherit;
|
135
|
+
}
|
136
|
+
|
137
|
+
.timeline-body > p,
|
138
|
+
.timeline-body > ul {
|
139
|
+
margin-bottom: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
.timeline-body > p + p {
|
143
|
+
margin-top: 5px;
|
144
|
+
}
|