-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reader Onboarding: Establish Interests Overlay (#95267)
* Mostly working tag selection * Follow and unfollow as the buttons are clicked * Add translations and update style * Clean up SCSS * Clean up typescript
- Loading branch information
1 parent
1643419
commit d3b3037
Showing
2 changed files
with
223 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
@import '@wordpress/base-styles/breakpoints'; | ||
@import '@wordpress/base-styles/mixins'; | ||
|
||
.interests-modal { | ||
&__content { | ||
padding: 24px; | ||
} | ||
|
||
&__title { | ||
font-family: Recoleta, sans-serif; | ||
font-size: 2.75rem; | ||
font-weight: 400; | ||
text-align: center; | ||
} | ||
|
||
&__subtitle { | ||
text-align: center; | ||
} | ||
|
||
&__category { | ||
max-width: 1200px; | ||
margin: 0 auto 32px auto; | ||
} | ||
|
||
&__section-header { | ||
margin-bottom: 16px; | ||
} | ||
|
||
&__topics-list { | ||
display: grid; | ||
gap: 16px; | ||
grid-template-columns: 1fr; | ||
|
||
@include break-small { | ||
grid-template-columns: repeat( 2, 1fr ); | ||
} | ||
|
||
@include break-large { | ||
grid-template-columns: repeat( 3, 1fr ); | ||
} | ||
} | ||
|
||
.components-modal__header { | ||
.components-button { | ||
&.is-link { | ||
margin-right: auto; | ||
} | ||
|
||
&.is-primary { | ||
margin-left: 16px; | ||
} | ||
} | ||
} | ||
} |