Skip to content

Commit

Permalink
Update repository structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipu Raj committed Mar 24, 2017
1 parent 993c244 commit 6e2e529
Show file tree
Hide file tree
Showing 16 changed files with 981 additions and 64 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/mpp-sc.txt
/bower_components
/node_modules/
/vendor/
coverage
.DS_Store

# IDE Files
#-------------------------
/nbproject/
/nbproject/private/
.idea/*
.vscode/*
.tmp
## Sublime Text cache files
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
52 changes: 52 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Automatically ignored per:
# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
#
# .*.swp
# ._*
# .DS_Store
# .git
# .hg
# .lock-wscript
# .svn
# .wafpickle-*
# CVS
# npm-debug.log
# node_modules

*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.orig
*.jql.js

work
build
src
test
spec
pids
logs
results
coverage
lib-cov
html-report
xunit.xml

.project
.idea
.settings
.iml
*.sublime-workspace
*.sublime-project

ehthumbs.db
Icon?
Thumbs.db
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- "node"
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Dipu Raj
Copyright (c) 2017 Dipu Raj
http://www.techlaboratory.net

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SmartCart v3-Alpha1
#### The best jQuery shopping cart plugin with Bootstrap support.
# SmartCart v3-Alpha
#### The awesome jQuery Shopping Cart Plugin with PayPal payment support.

> Notice:- This is an alpha release for preview and tests, some or many functionalities may not work as expected.
> Usage on production environment is not recommended unless tested well.
Expand All @@ -17,7 +17,7 @@ Requirements

Version
-----
**SmartCart v3-Alpha1**
**SmartCart v3-Alpha2**

License
----
Expand Down
154 changes: 154 additions & 0 deletions dist/css/smart_cart.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/*!
* jQuery SmartCart v3.x
* The awesome jQuery Shopping Cart Plugin with PayPal payment support
* http://www.techlaboratory.net/smartcart
*
* Created by Dipu Raj
* http://dipuraj.me
*
* Licensed under the terms of the MIT License
* https://github.com/techlab/SmartCart/blob/master/LICENSE
*/

.sc-cart-item-list {
min-height: 50px;
}

.sc-cart-remove {
background: transparent;
border: none;
font-size: 20px;
position: absolute;
top: 0;
right: 0;
}

.sc-cart-remove:hover {
color: red;
}

.sc-cart-empty-msg {
color: #999;
margin: 0;
padding: 10px;
text-align: center;
}

.sc-cart-item-qty {
width: 55px;
border-radius: 3px;
font-size: 12px;
padding: 4px 0 3px 6px;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
-webkit-transition: border-color 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
transition: border-color 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s;
}

.sc-cart-item-summary {
text-align: right;
/*border-top: 1px solid #eeeeee;*/
margin-top: 5px;
padding-top: 5px;
}

.sc-cart-summary {
text-align: right;
font-size: 1.5em;
/*font-weight: 400;*/;
}

.sc-cart-subtotal {
}

.sc-cart-toolbar {
text-align: right;
}

.sc-cart-item img {
margin-right: 10px;
width: 60px;
}

.sc-highlight {
-webkit-animation: highlight 1s;
animation: highlight 1s;
}

@keyframes highlight {
from {
background: #faebcc;
}

to {
background: none;
}
}

@-webkit-keyframes highlight {
from {
background: #faebcc;
}

to {
background: none;
}
}

.sc-product-item {
position: relative;
}

.sc-product-item:after, .sc-product-item:before {
-webkit-transition: all 0.2s ease-in-out 0s;
transition: all 0.2s ease-in-out 0s;
}

.sc-added-item {
border-color: #5cb85c;
}

.sc-added-item:after {
content: "\2713 ";
display: inline-block;
position: absolute;
top: 0;
right: 4px;
z-index: 99;
color: #fff;
font-size: 18px;
font-weight: bold;
white-space: nowrap;
}

.sc-added-item:before {
content: "";
display: inline-block;
position: absolute;
z-index: 98;
top: 0;
right: 0;
border-style: solid;
border-width: 0 40px 40px 0;
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
border-color: rgba(255,255,255,0) #5cb85c rgba(255,255,255,0) rgba(255,255,255,0);
}

.sc-button-checkout-default {
}

.sc-button-checkout-paypal {
border: 0;
cursor: pointer;
padding: 0;
width: 170px;
height: 32px;
}
11 changes: 11 additions & 0 deletions dist/css/smart_cart.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e2e529

Please sign in to comment.