-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(ecep-113): style news & related patterns #16
Conversation
commit b77d983 Author: Wesley Bomar <wbomar@tacc.utexas.edu> Date: Mon Apr 11 13:23:41 2022 -0500 fix(component): pagination
commit cec544c Author: Wesley Bomar <wbomar@tacc.utexas.edu> Date: Mon Apr 11 13:24:15 2022 -0500 fix(component): buttons
to avoid conflict with pagination --item-buffer
- new selector --article - new property --row-one-areas - hide * if `.app-blog.no-*`
even if it adds superfluous specificity
revert 21c3a2d which actually broke the selector
so that header can shrink on mobile
This reverts commit efdc213.
2a2d42d
to
54ebdac
Compare
I will replace them via JavaScript in Core-CMS.
and delete cms-specific selectors already in core-cms
Split the generics/figures into: 1. elements/figure 2. components/bootstrap.figure (extends the former)
This reverts commit ca82444.
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.
notes for reviewers
/* | ||
Django CMS Blog Components | ||
|
||
Components for [Django CMS Blog](https://djangocms-blog.readthedocs.io) UI. These classes are authored in templates of third-party origin, but they have no third-party styles. | ||
|
||
Reference: | ||
|
||
- [Django CMS Blog `.blog-` Class Components](https://github.com/TACC/CORE-cms/tree/main/taccsite_cms/templates/djangocms_blog) | ||
|
||
Styleguide Components.DjangoCMS.Blog | ||
*/ |
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.
(copied file to TACC/Core-CMS:/taccsite_cms/static/site_cms/css/src/…)
p { | ||
margin-bottom: 2rem; /* overwrite Bootstrap */ | ||
} | ||
|
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.
Note. This style—and this whole file—could be considered CMS-specific, in which case it should move to Core-CMS via TACC/Core-CMS#482, but I just haven't confirmed whether either (this code or this whole file) is CMS-specific yet, because the Docs could also use such basic html element styles.
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.
Seems reasonable to leave it here until you are sure. =)
/* | ||
Django CMS Blog Post Components | ||
|
||
Components for [Django CMS Blog Post](https://djangocms-blog.readthedocs.io) UI. These classes are authored in templates of third-party origin, and expanded by us, but they have no third-party styles. | ||
|
||
Reference: | ||
|
||
- [Django CMS Blog `.post-` Class Components](https://github.com/TACC/CORE-cms/tree/main/taccsite_cms/templates/djangocms_blog) | ||
|
||
Styleguide Components.DjangoCMS.Post | ||
*/ |
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.
(merged file into TACC/Core-CMS:/taccsite_cms/static/site_cms/css/src/… which then split its styles into multiple stylesheets)
[class*="o-offset-content--"] { | ||
max-width: 50%; | ||
:--o-offset-content { | ||
max-width: 560px; | ||
} |
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 offset content changes support the use of c-offset-content--right
on many ECEP news articles.
ECEP Articles Using this Pattern
- https://prod.ecep.tacc.utexas.edu/news/2021/02/25/cape-framework-published-communications-acm/
- https://prod.ecep.tacc.utexas.edu/news/2019/09/13/2019-state-computer-science-education-report-released/
- https://prod.ecep.tacc.utexas.edu/news/2017/11/15/ecep-alliance-shares-commitment-csforall-summit/
- https://prod.ecep.tacc.utexas.edu/news/2017/08/31/puerto-rico-set-teach-exploring-computer-science-spanish/
- https://prod.ecep.tacc.utexas.edu/news/2017/07/26/ecep-website-redesign-focus-access-content-and-design/
- https://prod.ecep.tacc.utexas.edu/news/2017/05/04/nv-nh-nc-pr-awarded-mini-grants-further-cs-education-equity/
- https://prod.ecep.tacc.utexas.edu/news/2017/02/01/rethinking-perkins-expand-access-k-12-computer-science/
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.
LGTM (as I review the other 2 related PRs).
|
||
Styleguide Components.Bootstrap.Pagination | ||
*/ | ||
@import url("@tacc/core-styles/source/_imports/components/c-page.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.
Hint: This imported stylesheet was added in #5.
All related PR have been approved. I merge now. |
Overview
Make changes to support ECEP News.
Related
Changes
Screenshots & Testing
See TACC/Core-CMS#466.
Notes
This PR was broken into smaller ones to track isolated changes separately.