-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
New tooltip replacing #6050 #8150
Conversation
Travis is failing here :( maybe because of different html? |
@zero-24 Indeed, the unit tests fail due to the changed HTML. The unit test should be updated as well to reflect the change in HTML. |
I am trying to do that now. |
@test Successfully tested with ISIS and current staging. ✅ |
This PR has received new commits. CC: @bertmert This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
CC: @adhocgraFX, @christianhent, @designbengel, @KingLouis1, @RoterNagel, @Yorgoz |
@test |
This PR has received new commits. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
@bertmert |
@test This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
RTC for 3.5.0. Thanks This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
@infograf768 I like it a lot but I think if we go for a light colored tool tip we should apply some shadow around it (same as modal, popup, menus) // Base class
.tooltip {
position: absolute;
z-index: @zindexTooltip;
display: block;
visibility: visible;
font-size: 11px;
line-height: 1.4;
.opacity(0);
.border-radius(@baseBorderRadius);
&.in { .opacity(80); }
&.top { margin-top: -3px; padding: 0px 0; }
&.right { margin-left: 3px; padding: 0 5px; }
&.bottom { margin-top: 3px; padding: 0px 0; }
&.left { margin-left: -3px; padding: 0 5px; }
} and isis/template.less after line 1048 .box-shadow(0 0 5px rgba(0,0,0,0.3)); Same thing for protostar |
@infograf768 Would you like to add @dgt41 suggestion to this PR? |
@dgt41 Pleaase contact me on glip This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
@roland-d |
@infograf768 Fine by me, then I will merge this as-is. |
@roland-d |
You guys are aware that Bootstrap already has a thing called "Popover" which would look exactly like that? See http://getbootstrap.com/2.3.2/javascript.html#popovers |
Would not changing from tooltip to popovers be much more complex and maybe not B/C? |
@dgt41 @Bakual |
See #8174 for an idea how to use Popovers. You will see that they look about the same to what you try to do here. The main issue is however that we did misuse tooltips back when we started using Bootstrap tooltips. They were never meant to show titles to begin with. We hacked around it instead of using the proper method 😄 |
Folks, I succeeded in patching also Hathor, Beez and Protostar, but, doing so, I found out that this PR is not B/C at all for the other templates around because of the change in the library. I guess therefore that it is not the solution. Commented on @Bakual suggestion in #8174 (comment) |
Ok so for now we remove the milestone and label. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
I have tested this item ✅ successfully on 142ce1e This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
This PR has received new commits. CC: @bertmert, @designbengel, @fontanil This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
In case of, I also took care of Hathor, Beez and Protostar. |
Even if I don't know if this PR is still relevant. Concerning BC and STRONG. The main conflict in the beginning was that STRONG was formatted as block. This has been removed now and .tooltip-title is block now. So, I think changing line https://github.com/joomla/joomla-cms/pull/8150/files#diff-b01d47e3fbe4a8e5fb4987f4df64b291R920 to
or
could be a solution for BC |
Found another issue with Hathor (not directly related to the changes of this patch but also same behavior with this patch). |
@infograf768 I'm a bit confused on the status of this PR This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
I guess this PR is no longer needed. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8150. |
See #6050
This solves the
<strong>
issue.After patch (clear your caches) you should get: