-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #528 from BitBagCommerce/feature/OP-312-fixtures-s…
…tyling Restyling and redefining fixtures for homepage, category, product and Q&A pages
- Loading branch information
Showing
46 changed files
with
1,328 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
.carousel-wrapper { | ||
position: relative; | ||
|
||
.carousel { | ||
.products-carousel { | ||
margin: 0 -1em; | ||
} | ||
|
||
.carousel-nav { | ||
.carousel-left { | ||
.products-carousel-nav { | ||
.products-carousel-left { | ||
left: 30px; | ||
} | ||
|
||
.carousel-right { | ||
.products-carousel-right { | ||
right: 30px; | ||
} | ||
|
||
.carousel-left, .carousel-right { | ||
.products-carousel-left, .products-carousel-right { | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
} | ||
|
||
.carousel-item { | ||
.products-carousel-item { | ||
padding: 5px 1em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import 'sylius/bundle/ShopBundle/Resources/private/entry'; | ||
import './styles.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
.homepage-logo { | ||
border-radius: 6px; | ||
overflow: hidden; | ||
} | ||
|
||
.homepage-sale { | ||
img { | ||
width: 80% !important; | ||
margin: auto !important; | ||
border-radius: 20px; | ||
} | ||
} | ||
|
||
.cms_content_element__taxons-list { | ||
.ui { | ||
display: flex; | ||
justify-content: space-between; | ||
margin-left: 0 !important; | ||
|
||
li { | ||
flex: 1 1 auto; | ||
text-align: center; | ||
vertical-align: middle; | ||
border: solid #eee 1px; | ||
margin: 20px; | ||
border-radius: 4px; | ||
font-size: 16pt; | ||
background: transparent; | ||
transition: border-color 200ms ease-in; | ||
|
||
a { | ||
padding: 40px !important; | ||
display: block; | ||
transition: color 200ms ease-in; | ||
} | ||
} | ||
|
||
li:hover { | ||
border-color: #22b99a; | ||
transition: border-color 200ms ease-in; | ||
a { | ||
color: #22b99a; | ||
transition: color 200ms ease-in; | ||
} | ||
} | ||
|
||
li:before { | ||
content: none !important; | ||
} | ||
} | ||
} | ||
|
||
.cms-page-content { | ||
.teaser { | ||
.ui.image { | ||
width: 100%; | ||
|
||
img { | ||
width: 100% | ||
} | ||
} | ||
} | ||
|
||
h2 { | ||
font-size: 22pt; | ||
margin-bottom: 22px; | ||
} | ||
|
||
h3 { | ||
margin-top: 16px; | ||
font-size: 18pt; | ||
margin-bottom: 16px; | ||
} | ||
|
||
.cms_content_element__textarea { | ||
p { | ||
font-size: 13pt; | ||
ul { | ||
font-size: 13pt; | ||
li { | ||
margin-bottom: 6px; | ||
} | ||
} | ||
} | ||
|
||
ul { | ||
font-size: 13pt; | ||
li { | ||
margin-bottom: 6px; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
tests/Application/config/packages/fixtures/1_collection.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
parameters: | ||
fixtures_dir: "%kernel.project_dir%/Resources/fixtures" | ||
|
||
sylius_fixtures: | ||
suites: | ||
default: | ||
listeners: | ||
orm_purger: ~ | ||
logger: ~ | ||
fixtures: | ||
collection: | ||
options: | ||
custom: | ||
blog: | ||
name: "Blog" | ||
type: "page" | ||
homepage: | ||
name: "Homepage" | ||
type: "page" | ||
homepage_banner: | ||
name: "Homepage" | ||
type: "media" | ||
black_friday: | ||
name: "Black Friday" | ||
type: "block" | ||
black_friday_banner: | ||
name: "Black Friday banners" | ||
type: "media" | ||
blog_images: | ||
name: "Blog images" | ||
type: "media" | ||
products_details: | ||
name: "Product details" | ||
type: "block" |
Oops, something went wrong.