{
  "name": "dnxte/mega-image-effect",
  "d4Shortcode": "dnxte_mega_image_effect",
  "title": "Mega Image Effect",
  "titles": "Mega Image Effects",
  "moduleIcon": "dnxte/mega-image-effect",
  "folder": "divi-essential",
  "category": "module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Mega Image Effect"
            }
          }
        },
        "advanced": {
          "text": {
            "text": {
              "desktop": {
                "value": {
                  "color": "light"
                }
              }
            }
          }
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "background": {
            "desktop": {
              "value": {
                "color": "#ecf4f7"
              }
            }
          }
        }
      },
      "styleProps": {
        "border": {
          "important": true
        }
      }
    },
    "mainContainer": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-imghvr-wrapper",
      "default": {
        "advanced": {
          "hover_effect": {
            "desktop": {
              "value": "push-up"
            }
          },
          "text_effect": {
            "desktop": {
              "value": "select"
            }
          },
          "text_delay": {
            "desktop": {
              "value": "select"
            }
          }
        }
      },
      "styleProps": {
        "border": {
          "selector": "{{selector}} .dnxtiep-imghvr-wrapper",
          "important": true,
          "propertySelectors":{
            "desktop": {
              "value": {
                "border-radius": "{{selector}} , {{selector}} .dnxtiep-imghvr-wrapper"
              }
            }
          }          
        },
        "spacing": {
          "important": true
        }
      }
    },
    "hoverBorder": {
      "type": "object",
      "selector": "{{selector}} [class^='imghvr-border']:before, {{selector}} [class^='imghvr-border']:after, {{selector}} [class^='imghvr-border'] figcaption:before, {{selector}} [class^='imghvr-border'] figcaption:after",
      "default": {
        "advanced": {
          "color": {
            "desktop": {
              "value": "#29c4a9"
            }
          }
        }
      }
    },
    "image": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-imghvr-img",
      "styleProps": {
        "border": {
          "important": true
        }
      },
      "attributes": {
        "class": "dnxtiep-imghvr-img"
      },
      "elementType": "image",
      "childrenSanitizer": "et_core_esc_previously",
      "inlineEditor": "image",
      "tagName": "img"
    },
    "contentContainer": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-imghvr-content",
      "default": {
        "advanced": {
          "color": {
            "desktop": {
              "value": "#29c4a9"
            }
          }
        },
        "decoration": {
          "color": {
            "desktop": {
              "value": "#2b87da"
            }
          },
          "color2": {
            "desktop": {
              "value": "#29c4a9"
            }
          },
          "selectGradientType": {
            "desktop": {
              "value": "linear"
            }
          },
          "selectRadialDirection": {
            "desktop": {
              "value": "center"
            }
          },
          "selectLinearDirection": {
            "desktop": {
              "value": "180deg"
            }
          },
          "endPosition": {
            "desktop": {
              "value": "100%"
            }
          }
        }
      },
      "styleProps": {
        
      },
      "tagName": "div",
      "attributes": {
        "class": "dnxtiep-imghvr-content"
      }
    },
    "heading_text": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-heading",
      "defaultPrintedStyle": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "0px",
                  "lineHeight": "0em",
                  "letterSpacing": "0px",
                  "weight": "400"
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "important": true
        }
      },
      "tagName": "h2",
      "attributes": {
        "class": "dnxtiep-heading"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "content": {
      "type": "object",
      "selector": "{{selector}} .et-fb-popover-tinymce",
      "tagName": "div",
      "attributes": {
        "class": "et-fb-popover-tinymce"
      },
      "inlineEditor": "richText",
      "childrenSanitizer": "et_core_esc_previously",
      "styleProps": {
        "bodyFont": {
          "selectors": {
            "desktop": {
              "value": "{{selector}} .et-fb-popover-tinymce"
            }
          }
        }
      }
    },
    "button_container": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-button"
    },
    "button": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-button a",
      "default": {

        "decoration": {
          "buttonBG": {
            "desktop": {
              "value": "#29c4a9"
            }
          },
          "color": {
            "desktop": {
              "value": "#2b87da"
            }
          },
          "color2": {
            "desktop": {
              "value": "#29c4a9"
            }
          },
          "selectBtnGradientType": {
            "desktop": {
              "value": "linear-gradient"
            }
          },
          "selectBtnRadialDirection": {
            "desktop": {
              "value": "center"
            }
          },
          "selectBtnLinearDirection": {
            "desktop": {
              "value": "180deg"
            }
          },
          "endBtnPosition": {
            "desktop": {              
              "value": "100%"
            }
          },
          "alignment": {
            "desktop": {
              "value": "flex-start"
            }
          }
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "background": {
            "desktop": {
              "value": {
                "color": "#0c71c3"
              }
            }
          },
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "0px",
                  "lineHeight": "0em",
                  "letterSpacing": "0px",
                  "weight": "400"
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "background": {
          "important": true
        },
        "border": {
          "important": true
        },
        "spacing": {
          "important": true
        },
        "font": {
          "important": true
        }
      },
      "attributes": {
        "class": "dnxt-nie-uih-btn ih-fade-up ih-delay-lg"
      },
      "tagName": "a",
      "inlineEditor": "plainText",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "btnIcon": {
      "type": "object",
      "selector": "{{selector}} .dnxtiep-button span",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "unicode": "&#x35;",
              "type": "divi",
              "weight": "400",
              "color": "white"
            }
          }
        },
        "decoration": {
          "color": {
            "desktop": {
              "value": "#2857b6"
            }
          }
        },
        "advanced": {
          "icon": {
            "desktop": {
              "value": {
                "unicode": "&#x35;",
                "type": "divi",
                "weight": "400"
              }
            }
          },
          "use_btn_icon": {
            "desktop": {
              "value": "on"
            }
          },
          "size": {
            "desktop": {
              "value": "40px"
            }
          },
          "placement": {
            "desktop": {
              "value": "right"
            }
          },
          "onHover": {
            "desktop": {
              "value": "on"
            }
          }
        }
      },
      "styleProps": {
        "color": {
          "important": true
        }
      }
    }
  },
  "customCssFields": {
    "contentContainer": {
      "subName": "contentContainer",
      "selectorSuffix": " .dnxtiep-imghvr-content"
    },
    "heading_text": {
      "subName": "heading_text",
      "selectorSuffix": " .dnxtiep-heading"
    },
    "content": {
      "subName": "content",
      "selectorSuffix": " .et-fb-popover-tinymce"
    },
    "image": {
      "subName": "image",
      "selectorSuffix": " .dnxtiep-imghvr-img"
    },
    "button_container": {
      "subName": "button_container",
      "selectorSuffix": " .dnxtiep-button"
    },
    "button": {
      "subName": "button",
      "selectorSuffix": " .dnxtiep-button a"
    },
    "btnIcon": {
      "subName": "btnIcon",
      "selectorSuffix": " .dnxtiep-button span"
    }
  }
}
