Problem/Motivation

shortcut.module.css Dont contain any essential css for the module to work, according to our css standards (MAT filenaming) we should move the css to its correct file, in this case shortcut.theme.css. to make the life easier for the themer to understand whats going on.
[#1887922]

Proposed resolution

merge shortcut.module.css into shortcut.icons.theme.css

Remaining tasks

* test the patch applies
* screenshots of shortcut module with & without shortcut.icons.theme.css in seven.
* screenshots of shortcut module with & without shortcut.icons.theme.css in stark

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mortendk’s picture

Title: shortcut theme & icons.css merged to follow css coding standards » shortcut theme & icons.css merged to follow MAT file naming
Issue summary: View changes
FileSize
78.92 KB
61.37 KB
3.26 KB

Attached screenshots & cleaned it up even more as module.css is not needed as all is visual styles

No theme:

with theme.css file

LewisNyman’s picture

Issue summary: View changes
kandra’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

I've tried to apply this patch, but it no longer applies.

  • core/modules/shortcut/css/shortcut.icons.css is now core/modules/shortcut/css/shortcut.icons.theme.css
  • shortcut.libraries.yml: patch does not apply
kandra’s picture

This issue conflicts with the directions on https://www.drupal.org/node/2421373 (which asks to rename *.icons.css files to *.icons.theme.css). However the current issue deletes the shortcut.icons.theme.css files by merging it with the shortcut.theme.css.

What's the final direction on this issue?

mortendk’s picture

Status: Needs work » Needs review
FileSize
2.13 KB
1020 bytes

rerolled

mortendk’s picture

sorry heres the right patch
im gonna update the issue naming icon files to modulename.icon.theme.css new patch should reflect that

mortendk’s picture

Title: shortcut theme & icons.css merged to follow MAT file naming » shortcut cssfile cleanup
Issue summary: View changes
Issue tags: -Needs reroll +Needs screenshots
mortendk’s picture

Issue summary: View changes
LewisNyman’s picture

Issue summary: View changes

Changed references to shortcut.theme.css to shortcut.icons.theme.css

LewisNyman’s picture

Tagging with novice for the sprint at Drupalcon tomorrow

joelpittet’s picture

Status: Needs review » Needs work

@mortendk Can you reply to @kandra's comment in #4

joelpittet’s picture

Otherwise this looks RTBC to me.

mortendk’s picture

@joel the issue with shprtcuts.icon.theme as asked for in #4 got fixed in #6

mortendk’s picture

Status: Needs work » Needs review
joelpittet’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs screenshots

Time flies, I should have checked the link myself. RTBC

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

CSS is not frozen in beta. Committed ec408a1 and pushed to 8.0.x. Thanks!

  • alexpott committed ec408a1 on 8.0.x
    Issue #2421385 by mortendk: shortcut cssfile cleanup
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.