-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[4.0] minicolors #27829
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
Merged
Merged
[4.0] minicolors #27829
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,12 @@ | ||
| // Overrides for jQuery Minicolors | ||
|
|
||
| .minicolors-theme-bootstrap .minicolors-swatch { | ||
| .minicolors-theme-bootstrap .minicolors-swatch>.minicolors-sprite { | ||
| top: 50%; | ||
| left: 8px; | ||
| border-radius: 0; | ||
| transform: translateY(-50%); | ||
| } | ||
|
|
||
| span.minicolors-swatch-color { | ||
| cursor: pointer; | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is wrong! There is already a css file so either override it or extend it. The template shouldn't be aware of every 3rd pd extension that might be used in some pages, Joomla has specific layouts for these (input colour advanced for this one iirc)...
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.
So why is the file there and why is it used in Cassiopeia?
Getting really sick of you telling everyone they are wrong without contributing. You're starting to be a troll.
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.
This is funny I did #26077 so people can follow up and fix the rest and now you're undoing it instead of fixing whatever bug. Do you expect me to fix this ugly spaghetti of css alone?
If it's embedded in the template's css then it's wrong. Joomla is modularised by default making it a freaking monolith is wrong, but hey it's working.
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 guess you missed the fact that this PR was to fix an issue raised by someone with far more experience than me at scss.
I guess you missed the fact that I specifically asked where to put the code and the same person with far more experience than me at scss told me where to put it. Which is exactly what I did.
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.
Whoever told you to put the css there IS WRONG. Joomla by default is modular, with this kind of code snippets you're making it monolith. Prove me wrong!
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.
To be quite clear here: I'm arguing with this approach because you're effectively undoing #26077