x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<style>

div#custom-footer {
    display: none;
}
.main-container {
    min-height: calc(100vh - 50px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
div#toggle {
    display: none;
}
input#signupButton {
	background-color: var(--primary-color) !important;
}


div.signContainer {
	position: relative;
}
div.bigImageContainer {
	position: absolute;
	right: 0px;
	height: 100%;
}

#deadline-passed-signup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    background-color: var(--main-background);
    margin-bottom: 100px;
    padding: 20px;
    margin-top: 10px;
}

#deadline-passed-signup h4 {
    font-size: 18px;
    font-weight: bold !important;
}

</style>

<script>
    let END_DATE_TIME = Date.parse("03/31/20242025 23:59:59 PST");
    if (isJapaneseVersion || langQueryVariable === "ja" || localStorage.getItem("preferredLanguage") === "japanese" || navigator.language === "ja") {
        // JIVL has different deadline 05/08/24 1pm JST
        END_DATE_TIME = Date.parse("2024-05-08T13:00:00+09:00");
    }

    const DEADLINE_PASSED_STATE_VAR = END_DATE_TIME < Date.now();

    const handleDeadlinePassedState = () => {
        $("form[name='signupform']").html(`<div id="deadline-passed-signup">
                <h4>The deadline for the Morgan Stanley Inclusive Ventures Lab has passed.</h4>
                <p>Contact <a href="mailto:msivl@morganstanley.com">msivl@morganstanley.com</a> for Americas and <a href="mailto:emsivl@morganstanley.com">emsivl@morganstanley.com</a> for EMEA with any inquiries.</p>
            </div>`);
        document.getElementsByClassName("formContainer")[0].style.width = "unset";
        document.getElementsByClassName("formContainer")[0].style.marginRight = "unset";
    }

    if (DEADLINE_PASSED_STATE_VAR === true) {
        handleDeadlinePassedState();
    }

    document.addEventListener("DOMContentLoaded", function() {
        const links = document.querySelectorAll("a.external-link");
        links.forEach(function(link) {
            link.setAttribute('target', '_blank');
        });
    });
</script>

...