Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Prestarocket committed Apr 19, 2019
2 parents a877be8 + 0ce7b8a commit f605ce1
Show file tree
Hide file tree
Showing 68 changed files with 809 additions and 416 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ Classic Rocket is a rework of "classic theme". It has been built keeping in min

Contributed by [Prestarocket](//www.prestarocket.com/blog/) (Twitter: [@prestarocket](https://twitter.com/prestarocket))

Demo : [https://demoprestashop.prestarocket.com/](https://demoprestashop.prestarocket.com/)

Main features :
- last version of Twitter Bootstrap
- lazy loading images
- offcanvas for main menu and filter menu
- less css and less js
- form accessibility
- form accessibility and better validation
- SEO: Hn, rel prev/next for pagination...
- font performance
- better responsive

We use [Dareboost](https://www.dareboost.com/) to test and improve our work.

Expand All @@ -22,7 +25,7 @@ With the same server (gzip, PrestaShop performance settings properly adjusted)
- JS: 155 Ko (with Classic theme) to 86 Ko

You can also see the web quality and performance comparison report on [Dareboost](https://www.dareboost.com/en/comparison/d_5b51dc70e967906045fd3683/d_5b51dc70e967906045fd3684)
### Twitter Bootstrap 4.1.x
### Twitter Bootstrap 4.3.x

- Almost all tpl files are edited to use new BS classes (ex: col-xs-12 => col-12)
- For retrocompatibility and third modules, we keep some important old classes in bs_alpha.scss
Expand Down Expand Up @@ -110,11 +113,13 @@ Filter
```

## Compatibility
PrestaShop 1.7.3.2 to 1.7.4.x
PrestaShop 1.7.3.2 to 1.7.5.x

## Download
- For PrestaShop 1.7.3.x (version 1.0.0): [classic-rocket](https://github.com/PrestaShop/classic-rocket/releases/download/1.0.0/classic-rocket.zip)
- For PrestaShop 1.7.5.x (version 1.0.0): [classic-rocket](https://github.com/PrestaShop/classic-rocket/releases/download/2.1.1/classic-rocket.zip)

## Misc
You can also use gulp to work faster during development (gulpfile.js => gulp watch)

## To do (you can help!):
- test rtl
Expand Down
74 changes: 37 additions & 37 deletions _dev/css/bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
@import "node_modules/bootstrap/scss/root";
@import "node_modules/bootstrap/scss/reboot";
@import "node_modules/bootstrap/scss/type";
$theme-colors: map-remove($theme-colors,"primary","secondary","success","info","warning","danger","light","dark");

@import "~bootstrap/scss/images";
@import "~bootstrap/scss/code";
@import "~bootstrap/scss/grid";
@import "~bootstrap/scss/tables";
@import "~bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/images";
@import "node_modules/bootstrap/scss/code";
@import "node_modules/bootstrap/scss/grid";
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/forms";
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
Expand All @@ -21,22 +21,22 @@ $theme-colors: (
"light": $light,
"dark": $dark
);
@import "~bootstrap/scss/buttons";
@import "node_modules/bootstrap/scss/buttons";
$theme-colors: map-remove($theme-colors,"primary","secondary","success","info","warning","danger","light","dark");
@import "~bootstrap/scss/transitions";
@import "~bootstrap/scss/dropdown";
@import "~bootstrap/scss/button-group";
@import "~bootstrap/scss/input-group";
@import "~bootstrap/scss/custom-forms";
@import "~bootstrap/scss/nav";
//@import "~bootstrap/scss/navbar";
@import "node_modules/bootstrap/scss/transitions";
@import "node_modules/bootstrap/scss/dropdown";
@import "node_modules/bootstrap/scss/button-group";
@import "node_modules/bootstrap/scss/input-group";
@import "node_modules/bootstrap/scss/custom-forms";
@import "node_modules/bootstrap/scss/nav";
//@import "node_modules/bootstrap/scss/navbar";


@import "~bootstrap/scss/card";
@import "~bootstrap/scss/breadcrumb";
@import "~bootstrap/scss/pagination";
@import "~bootstrap/scss/badge";
@import "~bootstrap/scss/jumbotron";
@import "node_modules/bootstrap/scss/card";
@import "node_modules/bootstrap/scss/breadcrumb";
@import "node_modules/bootstrap/scss/pagination";
@import "node_modules/bootstrap/scss/badge";
@import "node_modules/bootstrap/scss/jumbotron";
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
Expand All @@ -47,18 +47,18 @@ $theme-colors: (
"light": $light,
"dark": $dark
);
@import "~bootstrap/scss/alert";
@import "node_modules/bootstrap/scss/alert";
$theme-colors: map-remove($theme-colors,"primary","secondary","success","info","warning","danger","light","dark");

//@import "~bootstrap/scss/progress";
@import "~bootstrap/scss/media";
@import "~bootstrap/scss/list-group";
@import "~bootstrap/scss/close";
@import "~bootstrap/scss/toasts";
@import "~bootstrap/scss/modal";
@import "~bootstrap/scss/tooltip";
@import "~bootstrap/scss/popover";
//@import "~bootstrap/scss/carousel";
//@import "node_modules/bootstrap/scss/progress";
@import "node_modules/bootstrap/scss/media";
@import "node_modules/bootstrap/scss/list-group";
@import "node_modules/bootstrap/scss/close";
@import "node_modules/bootstrap/scss/toasts";
@import "node_modules/bootstrap/scss/modal";
@import "node_modules/bootstrap/scss/tooltip";
@import "node_modules/bootstrap/scss/popover";
//@import "node_modules/bootstrap/scss/carousel";
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
Expand All @@ -69,8 +69,8 @@ $theme-colors: (
"light": $light,
"dark": $dark
);
@import "~bootstrap/scss/spinners";
@import "~bootstrap/scss/utilities";
@import "~bootstrap/scss/print";
@import "node_modules/bootstrap/scss/spinners";
@import "node_modules/bootstrap/scss/utilities";
@import "node_modules/bootstrap/scss/print";


80 changes: 80 additions & 0 deletions _dev/css/components/cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,84 @@
.material-icons{
color:$gray-600;
}
}
.product-line-actions{
display:flex;
justify-content: space-between;
align-items: center;
.input-group.bootstrap-touchspin{
max-width: 130px;
}

}
.product-line-grid{
.product-line__title{
margin-bottom: $spacer*.75;
display: inline-block;
color: $body-color;
}
.product-price{
display: flex;
align-items: center;
.discount{
font-size: $font-size-sm;
line-height: 1;
}
}
.product-discount{
margin-right: $spacer/2;
}

}
.product-line__img{
margin-right: $spacer;
}
@include media-breakpoint-down(md) {
.product-line__img{
width: 100px;
height: auto;
}
.product-line-actions {
justify-content: flex-end;
margin-top: $spacer;
.product-price{
margin:0 $spacer*2;
}
}
}
@include media-breakpoint-down(sm) {
.product-line__img{
width: 50px;
}
.product-line-actions {
.product-price{
margin:0 $spacer;
}
}

}

.cart__card-body{
position: relative;
.cart__card-loader{
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
align-items: center;
justify-content: center;
display: none;
background-color: rgba($white, .85);
opacity: 0;
transition: $transition-fade;
z-index: 3;
}
&.is--loading{
.cart__card-loader {
display: flex;
opacity: 1;
}

}
}
55 changes: 48 additions & 7 deletions _dev/css/components/footer.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
.l-footer {
color: $text-muted;

.title{
color:$black;
text-transform: uppercase;
display: block;
@extend .h3;
}

.cms-page-link,
.account-list a{
color: $text-muted;
Expand All @@ -15,4 +10,50 @@

}
}
}
}
.footer-container{
margin-top: $footer-container-margin-top;
}

.footer__title{
color:$black;
&:visited,&:hover{
color: $black;
}
text-transform: uppercase;
display: block;
font-weight: 700;
margin-bottom: $spacer/2;
&--mobile{
display: none;
margin-bottom: 0;
padding: $spacer/2 0;
border-bottom: 1px solid $border-color;


&:after{
content:"\e313";
font-family: 'Material Icons';
font-feature-settings: 'liga' 1;
position: absolute;
right: $grid-gutter-width/2;
transition: .3s transform ease-in-out;
font-size: $font-size-base *1.5;
}
&[data-toggle="collapse"][aria-expanded="true"]:after {
transform: rotate(180deg);
}
}
}

@include media-breakpoint-down(md) {
.footer__title{
&--desktop{

display: none;
}
&--mobile{
display: block;
}
}
}
2 changes: 1 addition & 1 deletion _dev/css/components/imageslider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
.slider-caption{
position: absolute;
bottom:30px;
top:10%;
left: 90px;
margin-bottom: 0;
color: #fff;
Expand Down
55 changes: 55 additions & 0 deletions _dev/css/components/products.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
//@extend .d-flex;
text-transform: uppercase;
font-weight: 600;
white-space: nowrap;
}

//product tabs
Expand Down Expand Up @@ -247,3 +248,57 @@
padding-left: $spacer;
}

//modal cart
.modal-cart__image{
margin-right: $spacer;
max-width: 200px;

height: auto;
}
@include media-breakpoint-down(md) {
.modal-cart__image{
max-width: 120px;
}
.blockcart-modal {
.divide-right{
display: flex;
justify-content: center;
}
.modal-footer {
position: fixed;
bottom: 0;
background: #fff;
justify-content: center;
left: 0;
width: 100%;
box-shadow: 0px -0.25rem 0.5rem rgba($black, .15);
}
.modal-body{
margin-bottom: ($btn-padding-y * 2) + ($btn-font-size*$btn-line-height) + $modal-inner-padding * 2;
}
}
}
@include media-breakpoint-down(xs) {
.modal-cart__image{
max-width: 70px;
}
}
//spinner add to cart
.btn-add-to-cart {
.btn-add-to-cart__spinner {
@extend .spinner-border;
width: $spinner-width-addtocart;
height: $spinner-height-addtocart;
border-width: $spinner-borderwidth-addtocart;
display: none;
}
&.is--loading{
.btn-add-to-cart__spinner {
display: inline-block;
}
.btn-add-to-cart__icon {
display: none;
}
}
}

15 changes: 14 additions & 1 deletion _dev/css/partials/_commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,21 @@ h1,.h1{
height: 0;
overflow: hidden;
padding-top: 100%;
background: rgba(0,0,0,0.05) url("data:image/gif;base64,R0lGODlhIAAgAPUAAP///15eXvv7+9nZ2fDw8PX19eHh4a2trb+/v/j4+O7u7vz8/Lm5ubKysuzs7NHR0cLCwvLy8svLy+jo6IWFhZSUlJqamqysrMfHx/Pz84yMjKKiomVlZV5eXt/f39vb2+bm5nl5eZmZmXBwcI2NjczMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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);
transition: background 150ms;
&:after{
@extend .spinner-border;
content: "";
border-color: $gray-300;
position: absolute;
top: calc(50% - #{($spinner-height/2)});
left: calc(50% - #{($spinner-width/2)});
z-index: 2;
border-right-color: transparent;
}
&--lazyload:after{
display: none;
}
}

.rc > * {
Expand Down
Loading

0 comments on commit f605ce1

Please sign in to comment.