工具提示(Tooltip)

纯粹的css扩展,它带来了在不同位置轻松显示附加到任何类型元素的工具提示的能力。


注意:由于是其他元素上的提示,没有单独的组件,使用data-tooltip,和一组@B.ToolTip*类实现

样式

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa fugit dolores earum quod distinctio ducimus non dignissimos molestias amet corrupti voluptatum assumenda impedit beatae veritatis nemo veniam error, hic cumque.






所有类

#region tooltip

/// <summary>
/// 是否有箭头
/// </summary>
public static readonly string TooltipArrow = "has-tooltip-arrow";

/// <summary>
/// has-tooltip-active 是否一直显示
/// </summary>
public static readonly string TooltipActive = "has-tooltip-active";

/// <summary>
/// has-tooltip-right
/// </summary>
public static readonly string TooltipRight = "has-tooltip-right";

/// <summary>
/// has-tooltip-bottom
/// </summary>
public static readonly string TooltipBottom = "has-tooltip-bottom";

/// <summary>
/// has-tooltip-left
/// </summary>
public static readonly string TooltipLeft = "has-tooltip-left";

/// <summary>
/// has-tooltip-multiline 是否多行
/// </summary>
public static readonly string TooltipMultiline = "has-tooltip-multiline";

/// <summary>
/// has-tooltip-text-left
/// </summary>
public static readonly string TooltipTextLeft = "has-tooltip-text-left";

/// <summary>
/// has-tooltip-text-centered
/// </summary>
public static readonly string TooltipTextCentered = "has-tooltip-text-centered";

/// <summary>
/// has-tooltip-text-right
/// </summary>
public static readonly string TooltipTextRight = "has-tooltip-text-right";


/// <summary>
/// has-tooltip-info
/// </summary>
public static readonly string TooltipInfo = "has-tooltip-info";

/// <summary>
/// has-tooltip-warning
/// </summary>
public static readonly string TooltipWarning = "has-tooltip-warning";

/// <summary>
/// has-tooltip-primary
/// </summary>
public static readonly string TooltipPrimary = "has-tooltip-primary";

/// <summary>
/// has-tooltip-success
/// </summary>
public static readonly string TooltipSuccess = "has-tooltip-success";

/// <summary>
/// has-tooltip-danger
/// </summary>
public static readonly string TooltipDanger = "has-tooltip-danger";

#endregion

文档