Skip to content
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 23 commits into from
Sep 30, 2024
Merged
19 changes: 12 additions & 7 deletions libs/features/cdt/cdt.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

.timer-label {
font-size: var(--type-body-s-size);
font-size: 16px;
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted

font-weight: 700;
height: 27px;
}
Expand All @@ -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 {
Expand All @@ -49,7 +50,7 @@
padding: 0 9px;
width: 10px;
border-radius: 5px;
font-size: var(--type-body-m-size);
font-size: 18px;
Copy link
Contributor

Choose a reason for hiding this comment

The 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;
}
Expand All @@ -64,6 +65,10 @@
color: #1D1D1D;
}

html[dir="rtl"] .timer-unit-container {
flex-direction: row-reverse;
}

.timer-unit-container {
display: flex;
column-gap: 2px;
Expand All @@ -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;
}
Expand Down
Loading