如何更改qTip2箭头颜色?

问题描述 投票:1回答:1

我使用qTip2(请参见http://qtip2.com/)显示工具提示中事件的详细信息。我浏览了qTip文档,以找到一种更改箭头颜色的方法。可悲的是,我只能更改箭头的大小,而不能更改颜色本身。有什么主意吗?

Here is a screenshot of the current state. The black arrow should be coloured white.

那是我当前的实现:

element.qtip({
            content: event.renderedEventTooltip,
            hide: {
                delay: 200,
                fixed: true,
            },
            style: {
                tip: {
                    width: 30,
                    height: 15,
                }
            },
            position: {
                my: 'top center',
                at: 'bottom center',
                viewport: jQuery('#calendar'),
                adjust: {
                    method: 'shift',
                    resize: false,
                }
            },
        });
jquery css fullcalendar qtip2
1个回答
0
投票

您可以更改每个CSS的笔尖颜色和属性border-color。例如:

.qtip-tip { border-color: white; }
© www.soinside.com 2019 - 2024. All rights reserved.