--Styles

local GENERAL_COLOR_WHITE = GAMEPAD_TOOLTIP_COLOR_GENERAL_COLOR_1
local GENERAL_COLOR_GREY = GAMEPAD_TOOLTIP_COLOR_GENERAL_COLOR_2
local GENERAL_COLOR_OFF_WHITE = GAMEPAD_TOOLTIP_COLOR_GENERAL_COLOR_3
local GENERAL_COLOR_RED = GAMEPAD_TOOLTIP_COLOR_FAILED

ZO_TOOLTIP_STYLES =
{
    --General

    tooltip =
    {
        width = ZO_GAMEPAD_CONTENT_WIDTH,
        paddingLeft = 0,
        paddingRight = 0,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },
    quadrant_2_3_Tooltip =
    {
        width = ZO_GAMEPAD_QUADRANT_2_3_CONTAINER_WIDTH,
        paddingLeft = 0,
        paddingRight = 0,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },
    title =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
    },
    statValuePair =
    {
        height = 40,
    },
    statValuePairStat =
    {
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    statValuePairValue =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    statValuePairValueSmall =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    abilityStatValuePairValue =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    abilityStatValuePairMagickaValue =
    {
        fontSize = "$(GP_34)",
        fontColorType = INTERFACE_COLOR_TYPE_POWER,
        fontColorField = COMBAT_MECHANIC_FLAGS_MAGICKA,
    },
    abilityStatValuePairStaminaValue =
    {
        fontSize = "$(GP_34)",
        fontColorType = INTERFACE_COLOR_TYPE_POWER,
        fontColorField = COMBAT_MECHANIC_FLAGS_STAMINA,
    },
    abilityStatValuePairHealthValue =
    {
        fontSize = "$(GP_34)",
        fontColorType = INTERFACE_COLOR_TYPE_POWER,
        fontColorField = COMBAT_MECHANIC_FLAGS_HEALTH,
    },
    championRequirements =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    fullWidth =
    {
        widthPercent = 100
    },
    statValueSlider =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        gradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    statValueSliderStat =
    {
        fontSize = "$(GP_27)",
        fontColorType = INTERFACE_COLOR_TYPE_TEXT_COLORS,
        fontColorField = INTERFACE_TEXT_COLOR_NORMAL,
    },
    statValueSliderValue =
    {
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_WHITE,
        gradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    succeeded =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_SUCCEEDED,
    },
    failed =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_FAILED,
    },
    disabled =
    {
        fontColorField = GENERAL_COLOR_GREY,
    },
    bodySection =
    {
        customSpacing = 30,
        childSpacing = 10,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    bodyHeader =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    itemTagsSection =
    {
        customSpacing = 40,
        widthPercent = 100,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    itemTradeBoPSection =
    {
        customSpacing = 80,
        widthPercent = 100,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    itemTradeBoPHeader =
    {
        fontColor = ZO_TRADE_BOP_COLOR,
    },
    bodyDescription =
    {
        fontSize = "$(GP_42)",
    },
    enchantIrreplaceable =
    {
        fontSize = "$(GP_34)",
    },
    whiteFontColor =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    --Character Attribute Tooltip

    attributeBody =
    {
        customSpacing = 30,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontSize = "$(GP_42)",
    },
    equipmentBonusValue =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },
    equipmentBonusLowestPieceHeader =
    {
        uppercase = true,
        fontSize = "$(GP_27)",
    },
    equipmentBonusLowestPieceValue =
    {
        customSpacing = 0,
    },

    accountValueStatsSection =
    {
        widthPercent = 100,
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_WHITE,
    },

    --Item Tooltip

    baseStatsSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 3,
        childSpacing = 10,
        childSecondarySpacing = 3,
        widthPercent = 100,
    },
    valueStatsSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        paddingTop = 30,
        widthPercent = 100,
    },
    conditionOrChargeBarSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 6,
        childSpacing = 10,
        customSpacing = 10,
        childSecondarySpacing = 3,
        widthPercent = 100,
    },
    conditionOrChargeBar =
    {
        statusBarTemplate = "ZO_GamepadArrowStatusBarWithBGMedium",
        statusBarTemplateOverrideName = "ArrowBar",
        widthPercent = 80,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    itemImprovementConditionOrChargeBar =
    {
        statusBarTemplate = "ZO_ItemImproveBar_Gamepad",
        statusBarTemplateOverrideName = "ImproveBar",
        widthPercent = 80,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    ridingTrainingChargeBar =
    {
        statusBarTemplate = "ZO_StableTrainingBar_Gamepad",
        statusBarTemplateOverrideName = "TrainBar",
        customSpacing = 4,
        widthPercent = 80,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    championSkillBar =
    {
        statusBarTemplate = "ZO_ChampionSkillBar_Gamepad",
        statusBarTemplateOverrideName = "ChampionSkillBar",
        customSpacing = 40,
        widthPercent = 100,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    progressBar =
    {
        statusBarTemplate = "ZO_GamepadArrowProgressBarWithBGMedium",
        statusBarTemplateOverrideName = "ProgressBar",
        widthPercent = 100,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    companionRapportBar =
    {
        controlTemplate = "ZO_SlidingStatusBar",
        controlTemplateOverrideName = "rapportBar",
        widthPercent = 90,
    },
    skillLinePreviewBodySection =
    {
        childSpacing = 10,
        widthPercent = 100,
    },
    skillLineEntryHeaderSection =
    {
        paddingLeft = ZO_GAMEPAD_DEFAULT_LIST_ENTRY_INDENT,
    },
    skillLineEntryHeader =
    {
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_22)",
        fontStyle = "soft-shadow-thick",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        height = 24,
    },
    skillLineEntryRow =
    {
        controlTemplate = "ZO_GamepadSkillLinePreview_AbilityEntry",
        controlTemplateOverrideName = "skillLineEntry",
        widthPercent = 100,
    },
    companionSkillLineEntryHeaderSection =
    {
        paddingLeft = ZO_GAMEPAD_DEFAULT_LIST_ENTRY_MINIMUM_INDENT,
    },
    companionSkillLineEntryRow =
    {
        controlTemplate = "ZO_GamepadCompanionSkillLinePreview_AbilityEntry",
        controlTemplateOverrideName = "companionSkillLineEntry",
        widthPercent = 100,
    },
    companionXpBar =
    {
        statusBarTemplate = "ZO_GamepadPlayerProgressBarTemplate",
        statusBarTemplateOverrideName = "CompanionXpBar",
        height = 30,
        widthPercent = 100,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    armoryBuildAttributeBodySection =
    {
        customSpacing = 30,
        childSpacing = 10,
        widthPercent = 100,
    },
    armoryBuildAttributeEntryRow =
    {
        controlTemplate = "ZO_GamepadArmoryBuildStatAttributeRow",
        controlTemplateOverrideName = "armoryBuildAttributeEntry",
        height = 51,
        widthPercent = 100,
    },
    armoryBuildAttributeStatsSection =
    {
        paddingTop = 100,
        widthPercent = 100,
    },
    armoryBuildStatValuePair =
    {
        height = 40,
        widthPercent = 100,
    },
    armoryBuildStatValuePairValue =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_WHITE,
        horizontalAlignment = TEXT_ALIGN_RIGHT,
    },
    armoryBuildBodySection =
    {
        paddingBottom = 10,
        widthPercent = 100,
    },
    armoryBuildSkillsEntryRow =
    {
        controlTemplate = "ZO_GamepadArmoryBuildSkillsRow",
        controlTemplateOverrideName = "armoryBuildSkillsEntry",
        height = 51,
        widthPercent = 100,
    },
    armoryBuildChampionEntryRow =
    {
        controlTemplate = "ZO_GamepadArmoryBuildChampionRow",
        controlTemplateOverrideName = "armoryBuildChampionEntry",
        height = 51,
        widthPercent = 100,
    },
    enchantDiff =
    {
        customSpacing = 30,
        childSpacing = 10,
        widthPercent = 100,
    },
    enchantDiffAdd = 
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ABILITY_UPGRADE,
    },
    enchantDiffRemove = 
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_FAILED,
    },
    topSection =
    {
        layoutPrimaryDirection = "up",
        layoutSecondaryDirection = "right",
        widthPercent = 100,
        childSpacing = 1,
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    topSubsection = 
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "up",
        widthPercent = 100,
        childSpacing = 8,
        fontSize = "$(GP_27)",
        height = 32,
    },
    collectionsTopSection =
    {
        layoutPrimaryDirection = "up",
        layoutSecondaryDirection = "right",
        widthPercent = 100,
        childSpacing = 1,
        fontSize = "$(GP_27)",
        dimensionConstraints =
        {
            minHeight = 110,
        },
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    topSubsectionItemDetails =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "up",
        widthPercent = 100,
        childSpacing = 15,
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    flavorText =
    {
        fontSize = "$(GP_42)",
    },
    tributeBodyText =
    {
        widthPercent = 100,
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    tributeChooseOneText =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
    },
    tributeDisabledMechanicText =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },
    prioritySellText =
    {
        fontSize = "$(GP_42)",
    },
    inactiveBonus =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },
    activeBonus =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    degradedStat =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_FAILED,
    },
    qualityTrash =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_TRASH,
    },
    qualityNormal =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_NORMAL,
    },
    qualityMagic =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_MAGIC,
    },
    qualityArcane =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_ARCANE,
    },
    qualityArtifact =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_ARTIFACT,
    },
    qualityLegendary =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_LEGENDARY,
    },
    mythic =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS,
        fontColorField = ITEM_DISPLAY_QUALITY_MYTHIC_OVERRIDE,
    },
    bind = 
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    timeRemaining =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    itemSetCollection = 
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    itemSetCollectionSummaryCategorySection =
    {
        paddingBottom = 20,
        uppercase = true,
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
    },
    itemSetCollectionSummaryCategoryHeader =
    {
        widthPercent = 100,
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    itemSetCollectionSummaryCategoryBar =
    {
        width = 380,
        statusBarTemplate = "ZO_GamepadArrowStatusBarWithBGMedium",
        statusBarTemplateOverrideName = "ArrowBar",
        customSpacing = 4,
        statusBarGradientColors = ZO_SKILL_XP_BAR_GRADIENT_COLORS,
    },
    stolen = 
    {
        fontColorField = GENERAL_COLOR_RED,
    },
    bagCountSection =
    {
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
        customSpacing = 30,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontSize = "$(GP_34)",
    },
    itemTagTitle =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontSize = "$(GP_34)",
        uppercase = true,
    },
    itemTagDescription =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_42)",
    },
    notDeconstructable =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    --Gamepad Stable Tooltip
    stableGamepadTooltip = {
        width = 352,
        customSpacing = 50,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },

    stableGamepadFlavor = {
        customSpacing = 30,
        fontSize = "$(GP_34)",
    },

    stableGamepadTitle =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        fontColorField = GENERAL_COLOR_WHITE,
        uppercase = false,
    },

    stableGamepadStats =
    {
        statValuePairSpacing = 6,
        childSpacing = 3,
        customSpacing = 40,
    },
    suppressedAbility =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },
    poisonCountSection =
    {
        layoutPrimaryDirection = "left",
        layoutSecondaryDirection = "down",
    },
    poisonCount =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    equippedPoisonSection =
    {
        customSpacing = 20,
        paddingBottom = -20,
    },

    --Ability Tooltip

    abilityStatsSection =
    {
        statValuePairSpacing = 10,
        childSpacing = 1,
        customSpacing = 20,
    },
    abilityHeaderSection =
    {
        customSpacing = 7,
        childSpacing = 10,
        widthPercent = 100,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        height = 120,
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "up",
    },
    abilityHeader =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        uppercase = true,
        fontSize = "$(GP_27)",
        widthPercent = 100,
    },
    abilityStack =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_27)",
        widthPercent = 100,
    },
    abilityUpgrade =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ABILITY_UPGRADE,
        uppercase = true,
        fontSize = "$(GP_27)",
        widthPercent = 100,
    },
    newEffectTitle =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ABILITY_UPGRADE,
        uppercase = true,
        fontSize = "$(GP_27)",
        widthPercent = 100,
    },
    newEffectBody =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ABILITY_UPGRADE,
        fontSize = "$(GP_42)",
        widthPercent = 100,
    },
    abilityProgressBar =
    {
        statusBarTemplate = "ZO_GamepadArrowStatusBarWithBGMedium",
        statusBarTemplateOverrideName = "ArrowBar",
        customSpacing = 10,
        widthPercent = 80,
        statusBarGradientColors = ZO_XP_BAR_GRADIENT_COLORS,
    },
    hasIngredient =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ACTIVE,
    },
    doesntHaveIngredient =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },
    traitKnown =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ACTIVE,
    },
    traitUnknown =
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },
    -- WorldMap Tooltips
    worldMapTooltip =
    {
        width = 375,
        paddingTop = 32,
        childSpacing = 10,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },

    mapTitle =
    {
        width = 327,
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_34)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    
    mapIconTitle =
    {
        width = 310,
    },

    mapQuestTitle =
    {
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_34)",
    },

    -- Map Location Styles
    mapLocationTooltipSection =
    {
        -- The first entry of the location block should be closer to the header than
        --  the entries should be relative to each other.
        paddingTop = -10,
        widthPercent = 100,
    },
    mapKeepCategorySpacing =
    {
        paddingTop = 20,
        paddingBottom = 20,
        widthPercent = 100,
    },
    mapLocationTooltipContentHeader =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        uppercase = true,
    },
    mapLocationTooltipWayshrineHeader =
    {
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
        uppercase = true,
        widthPercent = 85,
    },
    mapLocationTooltipWayshrineLinkedCollectibleLockedText =
    {
        fontSize = "$(GP_34)",
        fontColorType = INTERFACE_COLOR_TYPE_MARKET_COLORS,
        fontColorField = MARKET_COLORS_ON_SALE,
        widthPercent = 85,
    },
    mapLocationTooltipContentSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        childSpacing = 20,
        widthPercent = 100,
    },
    mapLocationTooltipContentLabel =
    {
        widthPercent = 80,
    },
    mapLocationTooltipDoubleContentSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "up",
        childSpacing = 20,
    },
    mapLocationTooltipContentLeftLabel =
    {
        width = 0,
    },
    mapLocationTooltipContentRightLabel =
    {
        horizontalAlignment = TEXT_ALIGN_LEFT,
        widthPercent = 60,
    },
    mapLocationHeaderTextSection =
    {
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
        layoutPrimaryDirectionCentered = true,
        dimensionConstraints =
        {
            minHeight = 40,
        },
    },
    mapLocationTooltipContentTitle =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    mapLocationTooltipNameSection =
    {
        paddingLeft = 60,
        widthPercent = 100,
    },
    mapLocationTooltipContentName =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    mapRecallCost =
    {
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        uppercase = true,
    },
    mapKeepGroupSection =
    {
        paddingTop = 15,
        childSpacing = 4,
        widthPercent = 100,
    },
    mapKeepSection =
    {
        paddingTop = -30,
        widthPercent = 100,
    },
    mapLocationSection =
    {
        paddingTop = -30,
        childSpacing = 20,
        widthPercent = 100,
    },
    mapGroupsSection =
    {
        childSpacing = 10,
        widthPercent = 100,
    },
    mapLocationGroupSection =
    {
        childSpacing = 10,
        widthPercent = 100,
    },
    mapLocationEntrySection =
    {
        childSpacing = -5,
        widthPercent = 100,
    },
    mapSpectacleHeaderSection =
    {
        paddingTop = 20,
        childSpacing = 20,
        widthPercent = 100,
    },
    mapKeepUnderAttack =
    {
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_22)",
        fontColorField = GENERAL_COLOR_RED,
        uppercase = true,
    },
    mapQuestFocused =
    {
        color = ZO_ColorDef:New(GetInterfaceColor(INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP, GENERAL_COLOR_WHITE)),
        fontColorField = GENERAL_COLOR_WHITE,
    },
    mapQuestNonFocused =
    {
        color = ZO_ColorDef:New(GetInterfaceColor(INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP, GENERAL_COLOR_OFF_WHITE)),
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    mapLocationKeepClaimed =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    mapLocationKeepElderScrollInfo =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    mapLocationKeepUnclaimed =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_GREY,
    },
    mapKeepAccessible = 
    {
        fontColorType = INTERFACE_COLOR_TYPE_KEEP_TOOLTIP,
        fontColorField = KEEP_TOOLTIP_COLOR_ACCESSIBLE,
        width = 305,
    },
    mapKeepInaccessible = 
    {
        fontColorType = INTERFACE_COLOR_TYPE_KEEP_TOOLTIP,
        fontColorField = KEEP_TOOLTIP_COLOR_NOT_ACCESSIBLE,
    },
    mapKeepAt = 
    {
        fontColorType = INTERFACE_COLOR_TYPE_KEEP_TOOLTIP,
        fontColorField = KEEP_TOOLTIP_COLOR_AT_KEEP,
    },
    mapLocationTooltipNoIcon =
    {
        width = 40,
        height = 1,
        color = ZO_ColorDef:New(0, 0, 0, 0),
    },
    mapLocationTooltipIcon =
    {
        width = 40,
        height = 40,
    },
    mapLocationTooltipLargeIcon =
    {
        width = 40,
        height = 40,
        textureCoordinateLeft = 0.2,
        textureCoordinateRight = 0.8,
        textureCoordinateTop = 0.2,
        textureCoordinateBottom = 0.8,
    },
    mapArtifactNormal =
    {
        color = ZO_ColorDef:New(1, 1, 1),
    },
    mapArtifactStolen =
    {
        color = ZO_ColorDef:New(1, 0, 0),
        fontColorField = GENERAL_COLOR_RED,
    },
    keepBaseTooltipContent =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
        width = 305,
    },
    keepUpgradeTooltipContent =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        widthPercent = 100,
    },
    gamepadElderScrollTooltipContent =
    {
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        widthPercent = 100,
        uppercase = true,
    },
    mapAllyUnitName =
    {
        fontSize = "$(GP_34)",
        fontColorType = INTERFACE_COLOR_TYPE_NAME_PLATE,
        fontColorField = UNIT_NAMEPLATE_ALLY_PLAYER,
    },
    mapMoreQuestsContentSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        widthPercent = 100,
        paddingTop = 20,
    },

    -- Achievement Tooltip
    achievementRewardsSection =
    {
        widthPercent = 100,
        paddingTop = 30,
        uppercase = true,
        childSpacing = 25,
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
    },

    achievementSummaryCategorySection =
    {
        paddingBottom = 20,
        uppercase = true,
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
    },

    achievementCriteriaSection =
    {
        paddingTop = 30,
        paddingBottom = 15,
        childSpacing = 15,
        uppercase = true,
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
    },

    achievementCriteriaSectionCheck =
    {
        uppercase = true,
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
    },

    achievementCriteriaBar =
    {
        width = 380,
        statusBarTemplate = "ZO_GamepadArrowStatusBarWithBGMedium",
        statusBarTemplateOverrideName = "ArrowBar",
        customSpacing = 4,
        statusBarGradientColors = ZO_SKILL_XP_BAR_GRADIENT_COLORS,
    },

    achievementSummaryCriteriaHeader =
    {
        widthPercent = 100,
        fontSize = "$(GP_27)",
        fontColorField = GENERAL_COLOR_WHITE,
    },

    achievementDescriptionComplete =
    {
        width = 357,
        fontSize = "$(GP_27)",
        fontColorField = GAMEPAD_TOOLTIP_COLOR_GENERAL_COLOR_3,
    },

    achievementDescriptionIncomplete =
    {
        width = 357,
        fontSize = "$(GP_27)",
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE,
    },

    achievementCriteriaCheckComplete =
    {
        width = 32,
        height = 32,
    },
    
    achievementCriteriaCheckIncomplete =
    {
        color = ZO_ColorDef:New(0, 0, 0, 0),
        width = 32,
        height = 32,
    },

    achievementItemIcon =
    {
        width = 48,
        height = 48,
    },

    achievementName =
    {
        widthPercent = 85,
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },

    achievementComplete =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    achievementIncomplete =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },
    achievementCharacterHeading =
    {
        fontColorType = INTERFACE_COLOR_TYPE_TEXT_COLORS,
        fontColorField = INTERFACE_TEXT_COLOR_SECOND_SELECTED,
    },
    attributeStatsSection =
    {
        paddingTop = 100,
    },
    attributeUpgradePair =
    {
        customSpacing = 3,
    },

    -- Cadwell
    cadwellSection = 
    {
        paddingTop = 13,
        widthPercent = 100
    },

    cadwellObjectiveTitleSection =
    {
        paddingLeft = 46
    },

    cadwellObjectiveTitle =
    {
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_22)",
        customSpacing = 3,
        uppercase = true,
        fontColorType = INTERFACE_COLOR_TYPE_TEXT_COLORS,
        fontColorField = INTERFACE_TEXT_COLOR_NORMAL,
        height = 40,
    },

    cadwellTextureContainer = 
    {
        paddingTop = 9,
        -- widthPercent slightly under 10 to fix ESO-786098.
        widthPercent = 9,
    },

    cadwellObjectiveText = 
    {
        fontSize = "$(GP_34)",
        -- widthPercent slightly under 90 to fix ESO-786098.
        widthPercent = 89,
    },

    cadwellObjectiveContainerSection = 
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        widthPercent = 100,
    },

    cadwellObjectivesSection = 
    {
        widthPercent = 100,
        childSpacing = 7,
    },

    cadwellObjectiveActive = 
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_ACTIVE
    },

    cadwellObjectiveInactive = 
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_INACTIVE
    },

    cadwellObjectiveComplete = 
    {
        fontColorField = GAMEPAD_TOOLTIP_COLOR_GENERAL_COLOR_3,
    },

    -- Loot tooltip
    lootTooltip =
    {
        width = 295,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },

    -- Gamepad Social Tooltip
    socialTitle =
    {
        customSpacing = 3,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontSize = "$(GP_42)",
        fontStyle = "soft-shadow-thick",
        fontColorType = INTERFACE_COLOR_TYPE_TEXT_COLORS,
        fontColorField = INTERFACE_TEXT_COLOR_NORMAL,
    },

    socialStatsSection =
    {
        statValuePairSpacing = 10,
        childSpacing = 3,
        customSpacing = 15,
        widthPercent = 100,
    },

    characterNameSection =
    {
        customSpacing = 5,
        widthPercent = 100,
    },

    socialStatsValue =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },

    socialOffline =
    {
        fontSize = "$(GP_42)",
        fontColorField = GENERAL_COLOR_GREY,
    },

    -- Gamepad Collections
    collectionsInfoSection =
    {
        customSpacing = 25,
        childSpacing = 25,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },

    collectionsStatsSection =
    {
        statValuePairSpacing = 10,
        childSpacing = 20,
        customSpacing = 20,
        widthPercent = 100,
    },

    collectionsRestrictionsSection =
    {
        statValuePairSpacing = 10,
        childSpacing = 10,
        customSpacing = 20,
        widthPercent = 100,
    },

    collectionsStatsValue =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        fontColorField = GENERAL_COLOR_WHITE,
    },

    collectionsPersonality =
    {
        fontColor = ZO_PERSONALITY_EMOTES_COLOR,
    },

    collectionsEmoteGranted =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    collectionsEquipmentStyle =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    collectionsPolymorphOverrideWarningStyle =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    collectionsPlayerFXOverridden =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    -- Gamepad Crown Store Market
    instantUnlockIneligibilitySection =
    {
        customSpacing = 25,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_RED,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },

    instantUnlockIneligibilityLine =
    {
        fontSize = "$(GP_34)",
    },

    esoPlusColorStyle =
    {
        fontColorType = INTERFACE_COLOR_TYPE_MARKET_COLORS,
        fontColorField = MARKET_COLORS_ESO_PLUS,
    },

    -- Gamepad Keep Information
    keepInfoSection =
    {
        paddingTop = 20,
        widthPercent = 100,
    },

    --Gamepad Voice Chat
    voiceChatBodyHeader =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
    },
    voiceChatPair =
    {
        customSpacing = 25,
        height = 40,
    },
    voiceChatPairLabel =
    {
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    voiceChatPairText =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    voiceChatGamepadReputation = {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_RED,
        uppercase = false,
    },
    voiceChatGamepadSpeaker =
    {
        height = 43,
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        layoutPrimaryDirection = "right",
        childSpacing = 10,
        customSpacing = 15,        
        widthPercent = 100,
    },
    voiceChatGamepadSpeakerTitle =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        uppercase = false,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    voiceChatGamepadSpeakerText =
    {
        fontSize = "$(GP_34)",
        widthPercent = 90,
    },
    voiceChatGamepadSpeakerIcon =
    {
        width = 29,
        height = 43,
        textureCoordinateLeft = 0.2734375,
        textureCoordinateRight = 0.7265625,
        textureCoordinateTop = 0.1640625,
        textureCoordinateBottom = 0.8359375,
        desaturation = 0,
    },
    voiceChatGamepadStatValuePair =
    {
        height = 40,
        widthPercent = 100,
    },

    groupTitleSection =
    {
        fontSize = "$(GP_42)",
        widthPercent = 100,
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    groupBodySection =
    {
        childSpacing = 30,
    },
    groupDescription =
    {
        fontSize = "$(GP_42)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    groupDescriptionError =
    {
        fontColorField = GENERAL_COLOR_RED,
    },
    groupRolesTitleSection =
    {
        fontSize = "$(GP_42)",
        widthPercent = 100,
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
        paddingTop = 70,
    },
    groupRolesStatValuePairValue =
    {
        fontSize = "$(GP_42)",
        uppercase = false,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    groupFinderStatusIndicator =
    {
        width = 64,
        height = 64,
    },
    -- Gamepad Champion Screen
    championTitleSection =
    {
        customSpacing = 15,
        widthPercent = 100,
    },
    championTitle =
    {
        widthPercent = 100,
        horizontalAlignment = TEXT_ALIGN_CENTER,
    },
    championTopSection =
    {
        widthPercent = 100,
        childSpacing = 1,
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    dividerLine =
    {
        textureCoordinateLeft = 0.25,
        textureCoordinateRight = 0.75,
        textureCoordinateTop = 0.25,
        textureCoordinateBottom = 0.75,
        widthPercent = 100,
        height = 8,
    },
    championClusterBodySection =
    {
        customSpacing = 15,
        horizontalAlignment = TEXT_ALIGN_CENTER,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    itemComparisonStatSection = 
    {
        customSpacing = 25,
        widthPercent = 100,
    },
    itemComparisonStatValuePair =
    {
        height = 40,
        widthPercent = 98,
    },
    itemComparisonStatValuePairValue = 
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        horizontalAlignment = TEXT_ALIGN_RIGHT,
    },
    itemComparisonStatValuePairDefaultColor = 
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },

    -- Dyes
    dyesSection =
    {
        widthPercent = 100,
        paddingTop = 30,
        childSpacing = 10,
        layoutPrimaryDirection = "down",
        layoutSecondaryDirection = "right",
    },
    dyeSwatchStyle =
    {
        customSpacing = 2,
        width = 38,
        height = 38,
        edgeTextureFile = "EsoUI/Art/Miscellaneous/Gamepad/gp_emptyFrame_gold_edge.dds",
        edgeTextureWidth = 128,
        edgeTextureHeight = 16,
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    dyeSwatchEntrySection =
    {
        widthPercent = 100,
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
    },
    dyeStampError =
    {
        fontSize = "$(GP_42)",
        fontColorField = GAMEPAD_TOOLTIP_COLOR_FAILED,
    },
    -- Housing Tooltips
    defaultAccessTopSection =
    {
        customSpacing = 10,
        paddingTop = 30,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontSize = "$(GP_42)",
    },
    defaultAccessTitle =
    {
        fontColorField = GENERAL_COLOR_WHITE,
    },
    defaultAccessBody =
    {   
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontSize = "$(GP_42)",
    },

    --Gamepad Currency Tooltip
    currencyMainSection =
    {
        widthPercent = 100,
        childSpacing = 45,
    },
    currencyLocationSection =
    {
        widthPercent = 100,
        childSpacing = 15,
    },
    currencyLocationTitle =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontSize = "$(GP_27)",
        uppercase = true,
    },
    currencyLocationCurrenciesSection =
    {
        widthPercent = 100,
        childSpacing = 5
    },
    bankCurrencyMainSection =
    {
        customSpacing = 47,
        widthPercent = 100,
        childSpacing = 25,
    },
    bankCurrencySection =
    {
        widthPercent = 100,
    },
    currencyStatValuePair =
    {
        height = 40,
        widthPercent = 98,
    },
    currencyStatValuePairStat =
    {
        fontSize = "$(GP_27)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    currencyStatValuePairValue =
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        horizontalAlignment = TEXT_ALIGN_RIGHT,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    requirementPass =
    {
        fontSize = "$(GP_42)",
        fontColorField = GAMEPAD_TOOLTIP_COLOR_SUCCEEDED,
    },
    requirementFail =
    {
        fontSize = "$(GP_42)",
        fontColorField = GAMEPAD_TOOLTIP_COLOR_FAILED,
    },
    dailyLoginRewardsTimerSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 10,
        childSpacing = 10,
        childSecondarySpacing = 3,
        widthPercent = 100,
        customSpacing = 25,
    },
    dailyLoginRewardsLockedSection =
    {
        fontSize = "$(GP_42)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontColorField = GENERAL_COLOR_GREY,
        widthPercent = 100,
        customSpacing = 40,
    },
    notificationNote =
    {
        customSpacing = 50,
        fontSize = "$(GP_42)",
    },
    guildInvitee =
    {
        fontSize = "$(GP_42)",
        customSpacing = 50,
        fontColorField = GENERAL_COLOR_WHITE,
    },
    furnishingLimitTypeSection =
    {
        customSpacing = 40,
        widthPercent = 100,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    furnishingLimitTypeTitle =
    {
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontSize = "$(GP_34)",
        uppercase = true,
    },
    furnishingLimitTypeDescription =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_42)",
    },
    furnishingInfoNote =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    itemSetSeparatorSection =
    {
        customSpacing = 20,
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_BOLD_FONT)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        uppercase = true,
        widthPercent = 100,
        horizontalAlignment = TEXT_ALIGN_CENTER
    },
    itemBonusSuppressedDescription =
    {
        fontColorField = GENERAL_COLOR_RED
    },
    itemBonusSuppressedSection =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_RED,
    },
    redeemCodeBodySection =
    {
        -- really push this body section towards the center of the screen
        paddingTop = 200,
        customSpacing = 30,
        childSpacing = 10,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },
    redeemCodeStatsSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 10,
        widthPercent = 100,
    },

    -- Antiquity Tooltips
    antiquityQualityWhite =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_WHITE,
    },
    antiquityQualityGreen =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_GREEN,
    },
    antiquityQualityBlue =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_BLUE,
    },
    antiquityQualityPurple =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_PURPLE,
    },
    antiquityQualityGold =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_GOLD,
    },
    antiquityQualityOrange =
    {
        fontColorType = INTERFACE_COLOR_TYPE_ANTIQUITY_QUALITY_COLORS,
        fontColorField = ANTIQUITY_QUALITY_ORANGE,
    },
    antiquityInfoSection =
    {
        customSpacing = 25,
        childSpacing = 25,
        widthPercent = 100,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
    },

    --Gamepad House Template Tooltip
    houseTemplateMainSection =
    {
        widthPercent = 100,
        childSpacing = 5,
        paddingTop = 40,
    },
    houseTemplateStatValuePair =
    {
        height = 40,
        widthPercent = 98,
    },
    houseTemplateStatValuePairStat =
    {
        fontSize = "$(GP_27)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    houseTemplateStatValuePairValue = 
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        horizontalAlignment = TEXT_ALIGN_RIGHT,
        fontColorField = GENERAL_COLOR_WHITE,
    },

    --Companion Tooltips
    companionXpProgressSection =
    {
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 6,
        childSpacing = 10,
        childSecondarySpacing = 3,
        widthPercent = 100,
    },
    companionOverviewStatValueSection =
    {
        paddingTop = 30,
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        statValuePairSpacing = 6,
        childSpacing = 10,
        childSecondarySpacing = 3,
        widthPercent = 100,
    },
    companionOverviewBodySection =
    {
        paddingTop = 10,
        childSpacing = 10,
        widthPercent = 100,
    },
    companionOverviewDescription =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
    },
    companionRapportBarSection =
    {
        paddingTop = 30,
        paddingBottom = 30,
        layoutPrimaryDirection = "right",
        layoutSecondaryDirection = "down",
        widthPercent = 100,
    },
    companionRapportTexture = 
    {
        width = 32,
        height = 32
    },

    -- Timed Activities
    timedActivityRewardHeader =
    {
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    timedActivityReward =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_42)",
    },

    -- Gifting
    giftNameHeader =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_34)",
    },
    giftName =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_42)",
        paddingLeft = 15,
        uppercase = true,
    },
    giftSection =
    {
        paddingBottom = 10,
        paddingTop = 30,
        widthPercent = 100,
    },

    -- Delve
    delveMainSection =
    {
        widthPercent = 100,
        childSpacing = 5,
        paddingTop = 40,
    },
    delveTooltipName =
    {
        fontSize = "$(GP_34)",
        fontColorField = GENERAL_COLOR_WHITE,
        width = 305,
    },
    delveSkyshardHint =
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },
    delveSkyshardStatus =
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },

    -- Skyshard
    skyshardMainSection =
    {
        widthPercent = 100,
        childSpacing = 5,
        paddingTop = 40,
    },
    skyshardHint =
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_LIGHT_FONT)",
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },

    --Character Select
    characterDetailsHeader =
    {
        fontSize = "$(GP_54)",
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontStyle = "soft-shadow-thick",
        customSpacing = 8,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
    },

    characterDetailsStatsSection =
    {
        statValuePairSpacing = 10,
        childSpacing = 3,
        customSpacing = 15,
        widthPercent = 100,
    },

    -- Cyrodiil Kill Location
    killLocationSection =
    {
        childSpacing = 5,
        paddingTop = 40,
        widthPercent = 100,
    },
    killLocationHeading =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_34)",
        width = 305,
    },
    killLocationKillsSection =
    {
        customSpacing = 15,
        horizontalAlignment = TEXT_ALIGN_LEFT,
        paddingTop = 30,
        widthPercent = 100,
    },
    killLocationKills =
    {
        fontColorField = GENERAL_COLOR_WHITE,
        fontSize = "$(GP_34)",
        widthPercent = 100,
    },

    -- Promotional Events
    promotionalEventsColor =
    {
        fontColorType = INTERFACE_COLOR_TYPE_TEXT_COLORS,
        fontColorField = INTERFACE_TEXT_COLOR_PROMOTIONAL_EVENTS,
    },

    -- Addon Info
    addOnName =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
    },
    addOnAuthorSection =
    {
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontSize = "$(GP_27)",
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
    },
    addOnTopSection =
    {
        layoutPrimaryDirection = "up",
        layoutSecondaryDirection = "right",
        widthPercent = 100,
        childSpacing = 1,
        fontSize = "$(GP_27)",
        dimensionConstraints =
        {
            minHeight = 110,
        },
        uppercase = true,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
    },

    -- Mod Browser Info
    modBrowserListingImage =
    {
        controlTemplate = "ZO_ModBrowser_TooltipGalleryImage",
        controlTemplateOverrideName = "galleryImage",
        widthPercent = 100,
        height = 400,
    },
    modBrowserListingLoadingIcon =
    {
        controlTemplate = "ZO_ModBrowser_TooltipLoadingSpinner",
        controlTemplateOverrideName = "loadingIcon",
        widthPercent = 100,
        height = 128,
    },
    modBrowserListingSelectionIndicator =
    {
        controlTemplate = "ZO_ModBrowser_TooltipSelectionIndicator",
        --The override name is intentionally short here to avoid "control name too long" errors
        controlTemplateOverrideName = "pips",
        widthPercent = 100,
        height = 32,
    },
}

ZO_GAMEPAD_DYEING_TOOLTIP_STYLES =
{
    tooltip =
    {
        width = 768,
        paddingLeft = 0,
        paddingRight = 0,
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
        fontColorField = GENERAL_COLOR_GREY,
        fontStyle = "soft-shadow-thick",
    },
    title =
    {
        fontSize = "$(GP_42)",
        customSpacing = 8,
        uppercase = true,
        fontColorField = GENERAL_COLOR_WHITE,
        widthPercent = 100,
        horizontalAlignment = TEXT_ALIGN_CENTER
    },
    body =
    {
        fontSize = "$(GP_34)",
        fontFace = "$(GAMEPAD_MEDIUM_FONT)",
        paddingTop = 10,
        fontColorField = GENERAL_COLOR_OFF_WHITE,
        horizontalAlignment = TEXT_ALIGN_CENTER
    },
}

local function Style(name)
    return ZO_TOOLTIP_STYLES[name]
end

do
    local ITEM_QUALITY_TO_STYLE =
    {
        [ITEM_DISPLAY_QUALITY_TRASH] = Style("qualityTrash"),
        [ITEM_DISPLAY_QUALITY_NORMAL] = Style("qualityNormal"),
        [ITEM_DISPLAY_QUALITY_MAGIC] = Style("qualityMagic"),
        [ITEM_DISPLAY_QUALITY_ARCANE] = Style("qualityArcane"),
        [ITEM_DISPLAY_QUALITY_ARTIFACT] = Style("qualityArtifact"),
        [ITEM_DISPLAY_QUALITY_LEGENDARY] = Style("qualityLegendary"),
        [ITEM_DISPLAY_QUALITY_MYTHIC_OVERRIDE] = Style("mythic"),
    }

    function ZO_TooltipStyles_GetItemQualityStyle(itemDisplayQuality)
        return ITEM_QUALITY_TO_STYLE[itemDisplayQuality]
    end
end

do
    local ANTIQUITY_QUALITY_TO_STYLE =
    {
        [ANTIQUITY_QUALITY_WHITE] = Style("antiquityQualityWhite"),
        [ANTIQUITY_QUALITY_GREEN] = Style("antiquityQualityGreen"),
        [ANTIQUITY_QUALITY_BLUE] = Style("antiquityQualityBlue"),
        [ANTIQUITY_QUALITY_PURPLE] = Style("antiquityQualityPurple"),
        [ANTIQUITY_QUALITY_GOLD] = Style("antiquityQualityGold"),
        [ANTIQUITY_QUALITY_ORANGE] = Style("antiquityQualityOrange"),
    }

    function ZO_TooltipStyles_GetAntiquityQualityStyle(antiquityQuality)
        return ANTIQUITY_QUALITY_TO_STYLE[antiquityQuality]
    end
end