Problem/Motivation
This is part of the CSS modernization initiative. This is intended to be a straightforward second issue.
The first issue was regarding the entity-meta stylesheet.
Steps to reproduce
The stylesheet at https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/themes/claro/css/components/entity-meta.pcss.css needs to be refactored to make use of modern CSS and Drupal core's PostCSS tooling.
Proposed resolution
Use CSS Logical Properties where appropriate
Use CSS nesting where appropriate
User interface changes
None. There should be no visual differences.
Comment | File | Size | Author |
---|---|---|---|
#36 | Create_Article___Drupal.png | 449.33 KB | mherchel |
Issue fork drupal-3294003
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Aditya4478 CreditAttribution: Aditya4478 commentedComment #3
smustgrave CreditAttribution: smustgrave at Mobomo commentedSuper minor but
+ background-color: #fff
Missing semi colon
Comment #4
mrinalini9 CreditAttribution: mrinalini9 at Srijan | A Material+ Company for Drupal India Association commentedUpdated patch #2 by addressing #3, please review it.
Comment #5
sasanikolic CreditAttribution: sasanikolic at Google Summer of Code commentedI think this can be nested inside the .form-item definition above, no?
The semicolon shouldn't be an issue. That is caused by our compiler, perhaps we need to check why that happens at some point.
Comment #6
sasanikolic CreditAttribution: sasanikolic at Google Summer of Code commentedSorry, I meant that the after pseudo element can be nested inside the
& .form-type--item .form-item__label
definition.Comment #7
Aditya4478 CreditAttribution: Aditya4478 commentedComment #8
sasanikolic CreditAttribution: sasanikolic at Google Summer of Code commentedChanges look good to me if you make the patch apply correctly. :)
Comment #9
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound for Valuebound commentedComment #10
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound for Valuebound commentedadded patch for rectifying CI errors.
Comment #11
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound for Valuebound commented@sasanikolic
can you please tell me how to rectify custom commands failed error.
I am new to drupal core contributions.
i am not understand what is mistake in core/themes/claro/css/components/entity-meta.pcss.css.
Comment #12
Aditya4478 CreditAttribution: Aditya4478 commentedNo block for IE in this file. It's good to go for review.
Comment #13
Aditya4478 CreditAttribution: Aditya4478 commentedPatch for Version 10.0.x
Comment #14
sasanikolic CreditAttribution: sasanikolic at Google Summer of Code commentedLet's use margin-block-start and margin-block-end here for the D10 patch.
Comment #15
Aditya4478 CreditAttribution: Aditya4478 commentedPlease consider #12 for D9 and for D10 consider this patch.
Comment #16
ckrinaComment #17
ckrinaComment #20
mherchelSorry the MR took me so long to review! It's looking awesome and is really close!
1. The MR needs to be changed to 10.1.x (right now it's 10.0.x). Only the creator of the MR can do so.
2. Once that's changed, bring it up to date, and recompile the CSS.
3. I left a number of minor comments in the MR that need to be addressed.
4. 🙌🙌🙌
Comment #25
mherchelI opened up the MR above when the current one wasn't in a good state. That being said the current one is currently green.
Pretty sure this should be set to Needs Review. I'll review it at some point :D
Comment #26
smustgrave CreditAttribution: smustgrave at Mobomo commentedCould the MR be updated for 10.1? See a lot of changes that don't have to do with claro
Thanks!
Comment #27
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedComment #28
smustgrave CreditAttribution: smustgrave at Mobomo commentedNesting looks good and variable use.
Comment #30
lauriiiI think the code on merge request 3284 looks good. Posted one question on the MR about an open todo comment.
Comment #31
nod_Let's remove the todos, if it's important create an issue for it in the queue.
Comment #32
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedComment #33
mherchelThis is looking really close! We need to 1) make sure that there's an empty line between the code blocks and 2) There's one place where nesting can be used.
Comment #35
rpayanmI applied the suggestions.
Please review.
Comment #36
mherchelLooks perfect. Thank you!
Comment #37
Amber Himes MatzHiding the patch file because it looks like the workflow was switched to MR.
The MR is currently blocked according to GitLab and needs to be rebased.
Comment #38
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedI have rebased the MR. It is ready to merge.
Comment #39
Amber Himes MatzThere appear to be a number of unresolved threads on the MR that will need to be resolved before this can be RTBC’d again. Thank you!
Comment #40
smustgrave CreditAttribution: smustgrave at Mobomo commentedComment #41
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedFixed build failure, Also all the feedbacks are addressed. please review
Comment #42
smustgrave CreditAttribution: smustgrave at Mobomo commentedThink this is good now.
Comment #45
lauriiiCommitted 243be9a and pushed to 11.x. Thanks!