-
Notifications
You must be signed in to change notification settings - Fork 1
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
SDSS-592: Add sidebar component #172
SDSS-592: Add sidebar component #172
Conversation
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.
I didn't pull this one down and look at the display yet.
I also asked in Slack if we could change the name of the component. I don't think Sidebar really fits (and it's creating a lot of confusion for me).
bundle: newsroom_sidebar | ||
mode: default | ||
content: | ||
su_sidebar_blue_bg: |
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.
Like the other PR, we should stay away from using specific color names in the id/machine name, in case colors or options need to change.
We may also want to explore a select field like the other PR.
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.
Fixed.
docroot/profiles/sdss/sdss_profile/config/sync/paragraphs.paragraphs_type.stanford_layout.yml
Show resolved
Hide resolved
@@ -11,7 +11,7 @@ | |||
} | |||
} | |||
|
|||
@media screen and (min-width: 992px) { | |||
@media screen and (min-width: 1199px) { |
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.
What is this change for? Especially if we're doing only 1 column right 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.
Undid this change.
@@ -33,6 +33,7 @@ | |||
@import 'main-navigation/index.scss'; | |||
@import 'news/index.scss'; | |||
@import 'newsroom-callout/index.scss'; | |||
@import 'newsroom-sidebar/index.scss'; |
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.
Like the callout PR, should this be a component just called "sidebar"? And not "newsroom-sidebar"? It'd probably be easier to discuss this outside of the PR
|
||
&.blue_bg { | ||
@include sdss-light-blue--background; | ||
// background-color: orange; |
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.
// background-color: orange; |
.su-sidebar-blue-bg, | ||
.su-sidebar-white-bg { | ||
display: none; | ||
} |
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.
These should be hidden within the template/manage display and not with CSS.
READY FOR REVIEW
Summary
Editorial Sidebar
Review By (Date)
Criticality
Review Tasks
Setup tasks and/or behavior to test
Front End Validation
Backend / Functional Validation
Code
Code security
General
Affected Projects or Products
Associated Issues and/or People
- SDSS-592
Resources