Reviewed & tested by the community
Project:
Adminimal - Responsive Administration Theme
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
12 Jun 2019 at 06:54 UTC
Updated:
21 Oct 2021 at 06:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
webmestre commentedNO skin displays the icon correctly: default, dark, material, alternative
Comment #3
mahenkvyas22 commented@webmestre try this patch.
Comment #4
webmestre commentedHi Mahenkvyas22,
thanks to be so reactive.
I noticed the display is correct in the core Seven theme. Why do you want to patch the drupal core /modules/system/system.base.css file?
Comment #5
mahenkvyas22 commentedComment #6
mahenkvyas22 commentedHi webmestre,
After this patch drag icon is shown in Adminimal - Responsive Administration Theme.
And it does not affect the core theme.
Comment #7
webmestre commentedThe proposed changes writen in the #3 patch fixed the display issue.
I applied them manually, not using the patch file.
No secondary issue is produced when using Seven as admin theme.
Question: will you produce a specific patch for the adminimal_theme? Or will I have to patch the drupal core /modules/system/system.base.css file every time?
Comment #8
mahenkvyas22 commented@webmestre it's alternative is you need to copy
draggable.png
From../misc/draggable.png
and past it on your adminmal theme at../../adminimal_theme/css/images/And add this
in your adminimal theme
style.css
file.
Hope so this alternative is working for you in a temporary base.
Thanks.
Comment #9
webmestre commentedHi,
the #8 solution works fine.
Waiting now for a complete patch in the new release. ;)
Comment #10
Mr. Red commentedAdd this code to the file ..\sites\default\files\administrative-custom.css, and enable the option "Extend Adminimal with Custom CSS."in theme settings (/admin/appearance/settings/adminimal).
Comment #11
kpaxman commentedI've confirmed this issue is still present in the dev branch, so I've updated the version metadata.
Attached is a patch that incorporates the changes from #10, in a way that I think lines up with how the CSS is laid out. With this patch, there should be no need to make changes to core, or to copy images around, as suggested in previous comments.
As this patch seems to fix things for us, setting this issue to "needs review". Please do! (And reply and set this issue to RTBC is you agree that it works.)
Comment #12
kpaxman commentedIt should be noted that this worked in 7.x-1.25, and I did a quick search and couldn't figure out what broke it.
Comment #13
liam morlandYou could try
git bisect.Comment #14
proteo commentedThanks @kpaxman, the patch in #11 fixes the problem.
Comment #15
emerham commentedThis patch does solve the issue of the table drag handle now showing up on the page. I do have a code standard nitpick in the hover function
it should just be 0 0 as the `px` is redundant and follows Drupal's code standards.
Comment #16
bskibinskiPatch #11 breaks hover states.
Also there is a better way: adminimal puts a
box-sizing: border-box;on most of the things. This breaks the handles.Added CSS to make the handles adhere to
box-sizing: content;.This way, we don't override the Drupal core theming should they change the handles, it should still work properly.
box-sizing doesn't need prefixed anymore: http://shouldiprefix.com/#box-sizing
Arguably, perhaps drupal core should be patched too:
border-box: border-box;is the 'default' setting these days. If an element needs content-box, it should be attached to it. I'll raise the issue there.Comment #17
bskibinskichanged issue to "needs review".
Comment #18
emerham commentedTested and it works, hover effects are there. Looks good to me.
Comment #19
philyPatch #16 works for me using Drupal 7.67 and Adminimal 7.x-1.26
Thanks
Edit: tested over 4 websites with success.
Comment #20
realkevinoshea commentedSame patch rolled for 8.x.
Comment #21
nmangold commentedConfirming patch #16 works for me using Drupal 7.67 and Adminimal 7.x-1.26.
Comment #22
andrtroe commentedComment #23
.bert commentedAlso confirming patch #16 works on 7.72 and Adminimal 7.x-1.26. This seems like the best approach to resolve the specific issue.
Comment #24
philyPatch works but for who not willing/able to patch, this can be solved by editing the adminimal-custom.css file:
.adminimal-theme a.tabledrag-handle .handle { box-sizing: content-box; }Handles are fixed.
Comment #25
Anonymous (not verified) commentedAdd this code in adminimal.css file