forked from epartment/magento2-sass-theme-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added swatches, fixed small issue with the loading of css overwrites …
…of blank theme and added product related variables/overwrites
- Loading branch information
1 parent
31bfb0b
commit 6474a60
Showing
5 changed files
with
203 additions
and
7 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,50 @@ | ||
.price-wrapper { | ||
span.price { | ||
font-size: $font-default-font-size; | ||
font-weight: $font-default-font-weight; | ||
line-height: $font-default-font-line-height; | ||
color: $font-default-color; | ||
.product-info-main { | ||
.price-box { | ||
.price-wrapper { | ||
span.price { | ||
font-size: $font-default-font-size; | ||
font-weight: $font-default-font-weight; | ||
line-height: $font-default-font-line-height; | ||
color: $font-default-color; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.product { | ||
&.data { | ||
&.items { | ||
.item { | ||
&.title { | ||
> .switch { | ||
background: $detail-tab-title-background; | ||
color: $detail-tab-title-color; | ||
border-color: $detail-tab-title-border-color; | ||
font-weight: $detail-tab-title-font-weight; | ||
text-decoration: $detail-tab-title-text-decoration; | ||
padding: $detail-tab-title-padding; | ||
font-size: $detail-tab-title-font-size; | ||
} | ||
&:not(.disabled) { | ||
> .switch { | ||
&:hover { | ||
&:hover { | ||
background: $detail-tab-title-hover-background; | ||
color: $detail-tab-title-hover-color; | ||
border-color: $detail-tab-title-hover-border; | ||
} | ||
} | ||
} | ||
} | ||
&.active { | ||
> .switch { | ||
background: $detail-tab-title-active-background; | ||
color: $detail-tab-title-active-color; | ||
border-color: $detail-tab-title-active-border; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,86 @@ | ||
.swatch-option { | ||
background: $swatch-default-background; | ||
border: $swatch-default-border; | ||
color: $swatch-default-color; | ||
font-size: $swatch-default-font-size; | ||
font-weight: $swatch-default-font-weight; | ||
line-height: $swatch-default-line-height; | ||
text-align: $swatch-default-text-align; | ||
margin: $swatch-default-margin; | ||
padding: $swatch-default-padding; | ||
height: $swatch-default-height; | ||
width: $swatch-default-width; | ||
min-width: $swatch-default-min-width; | ||
max-width: $swatch-default-max-width; | ||
overflow: $swatch-default-overflow; | ||
|
||
&:hover { | ||
border: $swatch-default-hover-border; | ||
outline: $swatch-default-hover-outline; | ||
color: $swatch-default-hover-color; | ||
} | ||
|
||
&.text { | ||
background: $swatch-option-text-background; | ||
border: $swatch-option-text-border; | ||
color: $swatch-option-text-color; | ||
padding: $swatch-option-text-padding; | ||
min-width: $swatch-option-text-min-width; | ||
margin: $swatch-option-text-margin; | ||
|
||
&:hover { | ||
border: $swatch-option-text-hover-border; | ||
outline: $swatch-option-text-hover-outline; | ||
color: $swatch-option-text-hover-color; | ||
} | ||
} | ||
|
||
&.color { | ||
border: $swatch-option-color-border; | ||
padding: $swatch-option-color-padding; | ||
min-width: $swatch-option-color-min-width; | ||
margin: $swatch-option-color-margin; | ||
} | ||
} | ||
|
||
.swatch-attribute { | ||
&.size { | ||
.swatch-option { | ||
background: $swatch-default-background; | ||
border: $swatch-default-border; | ||
color: $swatch-default-color; | ||
font-size: $swatch-default-font-size; | ||
font-weight: $swatch-default-font-weight; | ||
line-height: $swatch-default-line-height; | ||
text-align: $swatch-default-text-align; | ||
margin: $swatch-default-margin; | ||
padding: $swatch-default-padding; | ||
height: $swatch-default-height; | ||
width: $swatch-default-width; | ||
min-width: $swatch-default-min-width; | ||
max-width: $swatch-default-max-width; | ||
overflow: $swatch-default-overflow; | ||
|
||
&:hover { | ||
border: $swatch-default-hover-border; | ||
outline: $swatch-default-hover-outline; | ||
color: $swatch-default-hover-color; | ||
} | ||
|
||
&.text { | ||
background: $swatch-option-text-background; | ||
border: $swatch-option-text-border; | ||
color: $swatch-option-text-color; | ||
padding: $swatch-option-text-padding; | ||
min-width: $swatch-option-text-min-width; | ||
margin: $swatch-option-text-margin; | ||
|
||
&:hover { | ||
border: $swatch-option-text-hover-border; | ||
outline: $swatch-option-text-hover-outline; | ||
color: $swatch-option-text-hover-color; | ||
} | ||
} | ||
} | ||
} | ||
} |
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