Problem/Motivation

See: #2489460: [Meta] Move module.theme.css files to Classy

Proposed resolution

Move the CSS file to Seven.
Create a library for the CSS file.
Add the library in the seven twig template.

Remaining tasks

Apply the latest patch and provide some screenshots before/after like on #13.

User interface changes

None for Seven. Stark will be more stark.

API changes

Data model changes

CommentFileSizeAuthor
#82 2566827-82.patch1.42 KBakram khan
#81 2566827-81.patch21.84 KBnitin shrivastava
#78 reroll_diff_72-78.txt24.91 KBsahil.goyal
#78 2566827-78.patch1.42 KBsahil.goyal
#72 Bartik-before-patch-drupal9.2.png208.71 KBdjsagar
#72 Bartik-before-patch-drupal9.1.png116.86 KBdjsagar
#72 Bartik-after-patch-drupal9.2.png163.49 KBdjsagar
#72 Bartik-after-patch-drupal9.1.png106.48 KBdjsagar
#72 2566827-72.patch24.1 KBdjsagar
#69 2566827-69.patch2.35 KBsd9121
#65 2566827-65.patch481 bytesayushmishra206
#65 2566827-65.patch481 bytesayushmishra206
#63 interdiff_58-63.txt21.28 KBkomalk
#63 before-claro-patch.png335.57 KBkomalk
#63 after-claro-patch.png367.41 KBkomalk
#63 bartik-after-patch.png361.09 KBkomalk
#63 2566827-63.patch21.56 KBkomalk
#58 2566827-58.patch1.44 KBpradeepjha
#56 2566827-56.patch1.39 KBpradeepjha
#46 seven-before.png194.08 KBArsjok
#46 seven-after.png195.28 KBArsjok
#46 stark-before.png172.24 KBArsjok
#46 stark-after.png372.21 KBArsjok
#46 bartik-before.png207.78 KBArsjok
#46 bartik-after.png217.81 KBArsjok
#45 2566827-45.patch1.38 KBjofitz
#40 2566827-40.patch46.17 KBharsha012
#38 2566827-38.patch21.56 KBharsha012
#31 2566827-31.patch1.37 KBmanuel garcia
#26 move_views_ui.admin_theme_css_to_seven-10868864-26.patch20.87 KBmanjit.singh
#23 move_views_ui.admin_.theme_.css_to_seven-10868864-8.0.patch20.86 KBSumit kumar
#21 2566827-move_views_ui.admin_.theme_.css_to_seven-10803014-8.0.patch472 bytesSumit kumar
#19 views-ui-content-before.png167.61 KBrevathi.b
#19 views-ui-before.png153.32 KBrevathi.b
#13 2566827--edit-bartik-after.jpg599.2 KBlewisnyman
#13 2566827--edit-bartik-before.jpg581.71 KBlewisnyman
#13 2566827--edit-classy-after.jpg599.3 KBlewisnyman
#13 2566827--edit-classy-before.jpg562.94 KBlewisnyman
#7 views-list-after.png127.09 KBckrina
#7 views-after.png83.33 KBckrina
#5 before_views_add.png35.02 KBellizard
#5 before_views.png79 KBellizard
#5 after_views_add.png47.24 KBellizard
#5 after_views.png79.17 KBellizard
#2 move-2566827-2.patch2.1 KBellizard

Comments

Manjit.Singh created an issue. See original summary.

ellizard’s picture

StatusFileSize
new2.1 KB
chernous_dn’s picture

Status: Active » Needs review
manjit.singh’s picture

Status: Needs review » Needs work
Issue tags: +Needs manual testing

Need some manual testing to avoid regression issues.

ellizard’s picture

StatusFileSize
new79.17 KB
new47.24 KB
new79 KB
new35.02 KB
ellizard’s picture

Status: Needs work » Needs review
ckrina’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new83.33 KB
new127.09 KB

There are no changes/regressions after the patch has been applied.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: move-2566827-2.patch, failed testing.

Chernous_dn queued 2: move-2566827-2.patch for re-testing.

chernous_dn’s picture

Status: Needs work » Needs review
dawehner’s picture

Did anyone had a look how the views UI looks afterwards in stark/bartik?

lewisnyman’s picture

Issue tags: +Needs screenshots

It doesn't seem like it. Tagging for screenshots

lewisnyman’s picture

Issue summary: View changes
Issue tags: -Needs manual testing, -Needs screenshots
StatusFileSize
new562.94 KB
new599.3 KB
new581.71 KB
new599.2 KB

Here are screenshots for Classy and Bartik.

Classy before

Classy after

Bartik before

Bartik after

dawehner’s picture

Mh so do we really want to make way worse for other people?

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

In my previous response I was thinking: wow this is a big regression, its horrible etc. but on the other hand its exactly how themes by default should behave.
The UI is still kinda usable, just look at classy for a while. The dropbutton style is odd, but well its still usable and actually kinda makes even more sense semantically than
placing it beside as in seven.

All in all we should think about maybe providing some common CSS file admin themes can include from views to get a somehow similar look and feel than with seven.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: move-2566827-2.patch, failed testing.

mr.baileys queued 2: move-2566827-2.patch for re-testing.

ckrina’s picture

Status: Needs work » Needs review

Updating to Need Review to re-test the patch.

revathi.b’s picture

Issue tags: +SprintWeekend2016Chennai
StatusFileSize
new153.32 KB
new167.61 KB

Its worked Fine in firebox.

revathi.b’s picture

Its works perfectly without applying any patches

Sumit kumar’s picture

StatusFileSize
new472 bytes

Move view_ui.admin.theme.css to seven theme

Status: Needs review » Needs work
Sumit kumar’s picture

Status: Needs work » Needs review
StatusFileSize
new20.86 KB
Sumit kumar’s picture

Issue tags: +drupalconasia2016
manjit.singh’s picture

Version: 8.0.x-dev » 8.1.x-dev
manjit.singh’s picture

#23 was not be able to apply, so i have rerolled it

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

manuel garcia’s picture

Issue tags: +Vienna2017
StatusFileSize
new1.37 KB

In order to make it clear the way forward for this issue, I'm re-uploading patch #2 which is still the correct patch (and applies cleanly).

manuel garcia’s picture

Issue tags: +Novice

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

manuel garcia’s picture

Issue tags: +Needs screenshots

This was RTBCed already on #15, but since a long time has passed, retesting the patch would be a good idea.

We'll need some screenshots before/after like on #13.

manuel garcia’s picture

Issue summary: View changes

Status: Needs review » Needs work

The last submitted patch, 31: 2566827-31.patch, failed testing. View results

manuel garcia’s picture

Issue tags: +Needs reroll
harsha012’s picture

Status: Needs work » Needs review
StatusFileSize
new21.56 KB

re-rolled the patch

manuel garcia’s picture

Status: Needs review » Needs work

Thanks @harsha012, looks like #38 is incorrect, please reroll based on patch #31.

harsha012’s picture

Status: Needs work » Needs review
StatusFileSize
new46.17 KB

@Manuel Garcia ,

I have moved the views_ui.admin.theme.css files from view_ui module to seven theme with images as per the patch.

Status: Needs review » Needs work

The last submitted patch, 40: 2566827-40.patch, failed testing. View results

harsha012’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 40: 2566827-40.patch, failed testing. View results

mohit1604’s picture

Added test for patch #40 ;)

jofitz’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new1.38 KB

Re-roll of patch in #31.

Arsjok’s picture

StatusFileSize
new217.81 KB
new207.78 KB
new372.21 KB
new172.24 KB
new195.28 KB
new194.08 KB

Screenshots for bartick stark and seven

Arsjok’s picture

Status: Needs review » Reviewed & tested by the community
star-szr’s picture

Status: Reviewed & tested by the community » Needs work

We can remove this CSS from core, but it's already in Stable so it's effectively already in Seven, because Seven > Classy > Stable.

So if the patch just does the removal of the CSS from core and associated changes I'm fine with it, but I strongly suspect this patch is adding (and loading) redundant files.

star-szr’s picture

Worth mentioning is that this issue predates #2575421: Add a Stable base theme to core and make it the default if a base theme is not specified (and #2581443: Make Classy extend from the new Stable base theme), so this and related issues probably need to be rethought given Stable wasn't in place when this issue was created.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

andypost’s picture

Issue tags: -Needs screenshots

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pradeepjha’s picture

Assigned: Unassigned » pradeepjha
Issue summary: View changes

I'll be applying patch shortly for 9.1.x-dev.

pradeepjha’s picture

Assigned: pradeepjha » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.39 KB

Re-roll of #45 patch.

pradeepjha’s picture

Assigned: Unassigned » pradeepjha
pradeepjha’s picture

Assigned: pradeepjha » Unassigned
StatusFileSize
new1.44 KB

Status: Needs review » Needs work

The last submitted patch, 58: 2566827-58.patch, failed testing. View results

shaktik’s picture

Assigned: Unassigned » shaktik

working on it

shaktik’s picture

Issue tags: +DIACWMay2020
shaktik’s picture

Assigned: shaktik » Unassigned
komalk’s picture

Status: Needs work » Needs review
StatusFileSize
new21.56 KB
new361.09 KB
new367.41 KB
new335.57 KB
new21.28 KB

Here is the fixed review the patch attached before after patch screen shot for the reference.

Status: Needs review » Needs work

The last submitted patch, 63: 2566827-63.patch, failed testing. View results

ayushmishra206’s picture

Status: Needs work » Needs review
StatusFileSize
new481 bytes
new481 bytes

Rerolled patch for 9.1.x

The last submitted patch, 65: 2566827-65.patch, failed testing. View results

Status: Needs review » Needs work

The last submitted patch, 65: 2566827-65.patch, failed testing. View results

sd9121’s picture

Assigned: Unassigned » sd9121
sd9121’s picture

Assigned: sd9121 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new2.35 KB

Please review this patch.

Thanks!

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

tanubansal’s picture

#69 is working fine on 9.1

djsagar’s picture

Patch #69 is working fine on drupal 9.1 rolling up patch for 9.2.x-dev

Please review.

Thanks!

Status: Needs review » Needs work

The last submitted patch, 72: 2566827-72.patch, failed testing. View results

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

sahil.goyal’s picture

StatusFileSize
new1.42 KB
new24.91 KB

Reroll the patch for the 9.5.x version as per the patch for #69 and #72 as found that #69 works great in both 9.5.x and 9.4.x version, As we know that Seven is now deprecated for the version 10 with few more themes and known that claro is the default theme, So this issue is not for that, please let me know if i'm wrong in this.. So i'm reroll the patch for 9.5.x

sahil.goyal’s picture

Version: 10.1.x-dev » 9.5.x-dev
andypost’s picture

Version: 9.5.x-dev » 10.1.x-dev

That's can't be backported to 9.5

nitin shrivastava’s picture

StatusFileSize
new21.84 KB

reroll for 9.5.x, #72

akram khan’s picture

StatusFileSize
new1.42 KB

Updated patch and deleted the views_ui.admin.theme.css file and fixing #81

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

bnjmnm’s picture

Status: Needs work » Postponed (maintainer needs more info)
Issue tags: -Novice +Needs issue summary update

Postponed because

  • Seven is no longer in core (so at minimum an issue summary is needed), Claro would likely be the current equivalent.
  • Super-starkening is not necessarily the priority it once was, and this issue was filed 8 years ago. Given that this asset moving might be disruptive, it would be good to consider if the change is beneficial enough to justify that disruption.
smustgrave’s picture

Wonder if this is still needed?

bnjmnm’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Wonder if this is still needed?

I'll make the call. These CSS moving efforts were worth pursuing when Drupal 8 was in development - but now that it's been around close to a decade such a change would be more disruptive than beneficial.

smustgrave’s picture

Thanks!