generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-156940 AU price display #3115
Merged
Merged
Changes from 8 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cf81949
MWPW-156940 AU price display
b82167c
MWPW-156940 AU price display
1992843
MWPW-156940 AU price display
359b3a4
Trigger Build
403b429
MWPW-156940 AU price display
1b0f127
MWPW-156940 AU price display
c4f3734
Trigger Build
6eed077
Trigger Build
13c1df2
MWPW-156940 AU price display
efe1399
Merge branch 'stage' into mwpw156940auabm2
25bf1ac
MWPW-156940 AU price display
b84d095
Trigger Build
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
.table .row-heading .col-heading .pricing { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.table .row-heading .col-heading .pricing .price-annual-prefix:before { | ||
content: '\A'; | ||
white-space: pre; | ||
} | ||
|
||
.table .row-heading .col-heading .pricing .price-annual-prefix, | ||
.table .row-heading .col-heading .pricing .price-annual-prefix + .price-annual, | ||
.table .row-heading .col-heading .pricing .price-annual-suffix { | ||
font-size: var(--type-heading-xxs-size); | ||
line-height: var(--type-heading-xxs-size); | ||
font-weight: 400; | ||
position: relative; | ||
left: -3px; | ||
} | ||
|
||
merch-card [slot='heading-m'] [is="inline-price"] .price-annual-prefix:before { | ||
content: '\A'; | ||
white-space: pre; | ||
} | ||
merch-card [slot='heading-m'] [is="inline-price"] .price-annual-prefix, | ||
merch-card [slot='heading-m'] [is="inline-price"] .price-annual-prefix + .price-annual, | ||
merch-card [slot='heading-m'] [is="inline-price"] .price-annual-suffix { | ||
font-size: 16px; | ||
line-height: 16px; | ||
font-weight: 400; | ||
position: relative; | ||
left: -6px; | ||
} | ||
|
||
merch-card[variant="mini-compare-chart"] [slot="heading-m-price"] { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
merch-card[variant="mini-compare-chart"] .card-heading [is="inline-price"] .price-annual-prefix:before { | ||
content: '\A'; | ||
white-space: pre; | ||
} | ||
|
||
merch-card[variant="mini-compare-chart"] .card-heading [is="inline-price"] .price-annual-prefix, | ||
merch-card[variant="mini-compare-chart"] .card-heading [is="inline-price"] .price-annual-prefix + .price-annual, | ||
merch-card[variant="mini-compare-chart"] .card-heading [is="inline-price"] .price-annual-suffix { | ||
font-size: 16px; | ||
line-height: 16px; | ||
font-weight: 400; | ||
position: relative; | ||
left: -4px; | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-15.4 KB
libs/features/mas/commerce/internal/tacocat-consonant-templates-1.13.0.tgz
Binary file not shown.
Binary file added
BIN
+18.5 KB
libs/features/mas/commerce/internal/tacocat-consonant-templates-1.14.0.tgz
Binary file not shown.
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merch-card styles do not belong here. They should go in global.css.js in mas web-components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@npeltier @yesil we need some decision here. We had this piece of CSS in libs/features/mas/web-components/src/global.css.js before. Nicolas proposed to move all such changes to au-merch.css which will be loaded on AU pages only. Do you think that this part should be an exception and that I should keep it in global.css.js ? Or it is better like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bozojovicic (cc @yesil ) the two informations are not necessary contradictory.
i say i don't like having AU css (and logic back then) in all of the code,
ilyas says that he does not like having card WC styling in milo styles.
@yesil do you think that styling is generic to all m@s consumers? i would rather keep it in milo for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@npeltier part of the CSS rules like the following look generic to me for annual price formatting.
anything that is for annual price formatting should stay in global.css.js IMO.
merch-card [slot='heading-m'] [is="inline-price"] .price-annual-prefix + .price-annual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yesil CSS rules that we have now in au-merch.css I initially had in
and then we decided to move all of that to au-merch.css and load that file for AU pages only.
If I move this part to global.css.js, then I need to do the same for the part I copied from mini-compare-chart.css.js
And then only few rules will stay in au-merch.css and then this files loses its purpose.
For me, both approaches do the job. I personally vote to keep it all in au-merch.css. But I just need some decision which part goes where.
CC @npeltier