generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 169
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-158927] Countdown Timer feedbacks incorporated #2955
Merged
Merged
Changes from 9 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f2bd706
Fix RTL issues with Countdown Timer
c7e4d1d
UT fix
e42a1e2
review comment
26a0fef
review comment
82e35d9
review comment
dcfa31f
font fixes
c193382
do not reverse
c781d19
Revert "UT fix"
cc8c772
Merge branch 'stage' into MWPW-158927
247905c
added CDT in notifications standard variant
7dae952
ends in vertical positioning fix
1f8ef7c
review comments
645180a
Merge branch 'stage' into MWPW-158927
8b3e921
UT added for cdt in notification
6ef6cc4
lint
10e9dba
css fixes
cb924d5
minor fix
56fb47b
lint
a1327a9
css
8da11ef
update timer for instant query param
398f172
narcis review feedback incorporated from PR https://github.com/adobec…
b6cdd32
minor refactoring
2b55639
fix CDT alignment in media and modal block
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
} | ||
|
||
.timer-label { | ||
font-size: var(--type-body-s-size); | ||
font-size: 16px; | ||
font-weight: 700; | ||
height: 27px; | ||
} | ||
|
@@ -31,12 +31,13 @@ | |
margin: 0 2px 27px; | ||
} | ||
|
||
.timer-block { | ||
display: flex; | ||
.timer-separator { | ||
margin: 0px 2px; | ||
} | ||
|
||
.horizontal .timer-block { | ||
margin-left: 10px; | ||
.timer-block { | ||
display: flex; | ||
margin-inline-start: 10px; | ||
} | ||
|
||
.timer-fragment { | ||
|
@@ -49,7 +50,7 @@ | |
padding: 0 9px; | ||
width: 10px; | ||
border-radius: 5px; | ||
font-size: var(--type-body-m-size); | ||
font-size: 18px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you going away from using variables? 🤔 |
||
font-weight: 700; | ||
text-align: center; | ||
} | ||
|
@@ -64,6 +65,10 @@ | |
color: #1D1D1D; | ||
} | ||
|
||
html[dir="rtl"] .timer-unit-container { | ||
flex-direction: row-reverse; | ||
} | ||
|
||
.timer-unit-container { | ||
display: flex; | ||
column-gap: 2px; | ||
|
@@ -72,7 +77,7 @@ | |
|
||
.timer-unit-label { | ||
width: 100%; | ||
font-size: var(--type-body-xs-size); | ||
font-size: 14px; | ||
font-weight: 400; | ||
text-align: start; | ||
} | ||
|
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.
The variables should likely not be replaced, what was the intention here? Same comment for other variable replacements in this file.
At one point, we'll update all the variables to follow the Spectrum 2 guidelines, we want to make sure we avoid additional work at that point by having values already mapped to the ones in
styles.css
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.
reverted