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>
h2#PeopleHome-Noalumnitodisplay {margin: 20px;}

.largeimagewithtextbelow-listmempag .image-container {
    border: 1px solid #afafaf;
}

div#section1CardsSearch {
    height: 51px;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-listmempag {
    width: 200px;
}

.largeimagewithtextbelow-cc .image-container img {
    height: 100% !important;
}

#myCards-membercards1 .cardstyle.largeimagewithtextbelow-cc {
    padding: 0;
}

.largeimagewithtextbelow-listmempag .image-container {
    width: 200px !important;
    height: 200px !important;
}

#myCards-membercards .card-title, #myCards-membercards1 .card-title, #myCards-membercards2 .card-title, #myCards-membercards3 .card-title, #myCards-membercards4 .card-title, #myCards-membercards5 .card-title {
    padding: 14px 17px 0px 17px;
	font-size: 22px;
}

div.largeimagewithtextbelow-listmempag .card-subtitle {
    font-size: 18px;
    padding: 0px 17px 14px 17px;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-cc {
    height: unset !important;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-cc {
    width: 200px;
}

.largeimagewithtextbelow-cc .image-container img {
    height: 100% !important;
}

.largeimagewithtextbelow-cc .image-container {
    width: 200px !important;
    height: 200px !important;
}

div.largeimagewithtextbelow-cc .card-subtitle {
    font-size: 18px;
    padding: 0px 17px 14px 17px;
}

.largeimagewithtextbelow-cc .card-subtitle {
    font-family: Karla;
    font-size: 18px;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-cc {
    background: transparent;
}

div.largeimagewithtextbelow-cc .card-text-container {
    height: fit-content;
}


/* FILTER DROPDOWN */
div#filters-inner-list {
    overflow: scroll;
    height: calc(100vh - 100px);
    max-height: 500px;
}

/* SEARCH BAR */
form.custom-user-search-form input.searchInput.text {
    border-radius: 4px;
    border: solid 1.5px #767676;
    background-color: #ffffff;
    color: #767676 !important;
    font-size: 15px;
    width: 233px;
    height: 50px;
    display: flex;
    padding: 0 10px;
}

button.aui-button.search.undefined {
    font-size: 0px;
    height: 50px;
    width: 50px;
    border-radius: 8px;
}

/*-----------------------SEARCH POPUP------------------------*/
.inside-table-cell.field-name {
    width: 70px;
}

button#dialog-close-button.aui-button {
    border-radius: 8px;
}

span.aui-avatar.aui-avatar-large .aui-avatar-inner img {
    height: 100% !important;
    width: auto !important;
}

#custom-user-search-results-dialog {
    width: 50%;
    min-width: 350px;
}
#custom-user-search-results-dialog .aui-dialog2-content table#custom-user-search-results-table {
    width: 90%;
    border-collapse: separate;
    border-spacing: 15px 10px;
}
#custom-user-search-results-dialog .aui-dialog2-content table#custom-user-search-results-table td, #custom-user-search-results-dialog .aui-dialog2-content table#custom-user-search-results-table th {
    border-top: none;
	padding: 10px;
}
table tbody tr {
    box-shadow: 2px 2px 9px 0 rgba(0, 0, 0, 0.17);
}
table.aui:not(.aui-table-list)>tbody>tr>th, table.aui:not(.aui-table-list)>tfoot>tr>th, table.aui:not(.aui-table-list)>tbody>tr>td, table.aui:not(.aui-table-list)>tfoot>tr>td {
    border-bottom: none;
}
#custom-user-search-results-dialog .aui-dialog2-content table#custom-user-search-results-table td.display-column-0, #custom-user-search-results-dialog .aui-dialog2-content table#custom-user-search-results-table th.display-column-0 {
    width: 55px;
    height: 55px;
}
.aui-avatar.aui-avatar-large, .aui-avatar.aui-avatar-large .aui-avatar-inner {
    height: 55px;
    max-width: 55px;
    max-height: 55px;
    width: 55px;
}
.inside-table-cell.field-value a {
    color: var(--primary-color)!important;
    text-decoration: none;
    font-weight: var(--font-weight-super-title);
}
.inside-table-cell.field-value a:hover {
    text-decoration: underline;
}

.custom-user-list-macro table {
    border-collapse: separate;
    width: 99%;
    border-spacing: 0px 10px;
	margin: 0 auto;
}
.custom-user-list-macro .custom-user-list-table td .confluence-userlink {
    font-weight: var(--font-weight-super-title);
    color: var(--primary-color)!important;
    text-decoration: none;
}
.custom-user-list-macro .custom-user-list-table td .confluence-userlink:hover {
	text-decoration: underline;
}
.custom-user-list-macro .custom-user-list-table td .aui-avatar {
    margin-right: 20px;
}
table.aui>thead>tr>th, table.aui>tbody>tr>th, table.aui>tfoot>tr>th, table.aui>thead>tr>td, table.aui>tbody>tr>td, table.aui>tfoot>tr>td {
    padding: 15px 20px;
}
.tableFloatingHeaderOriginal{
	top: 50px !important;
}

#custom-user-search-results-table .add-my-contact-button {
	display: none;
}

/* Styling for the search and filter divs */
#filters-list{
	height: auto;
}

.filterByStrength #filters-list {
    margin-top: 52px;
}
 .filterByStrength .dropdown-content {
    width: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}

.filterByStrength #filters-list:after {
left: 64%;
}

.filter-btn p.filter{
	display: block !important;
}


.searchSection {
    justify-content: space-between;
    margin-top: 50px;
    padding: 0px 25px;
}

.filterByStrength .dropdown {
    border-radius: 4px;
    border: solid 1.5px #767676;
    background-color: #ffffff;
    color: #767676 !important;
    font-size: 15px;
    width: 233px;
    height: 50px;
    display: flex;
    justify-content: center;
	flex-direction: row;
}



/* REMOVE EXTRA SPACE AT TOP */
#main-content p:first-child {
    display: none;
}

#main-content p:nth-child(3) {
    display: none;
}

/* BANNER */

div.banner {
    margin-top: -40px;
    height: 368px;
    background: url('https://passport-media.s3.us-west-1.amazonaws.com/Morgan+Stanley/companiesbanner.svg');
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

div.titleSection {
    margin: 90px 80px;
    flex-direction: column;
}

.titleSection .custom-title {
    font-family: 'MS Gloria II Std';
    color: #ffffff;
    font-size: 60px;
}

button.tab-control-button {
    width: 155px;
    height: 54px;
    margin: 0 12px 0 0;
    border-radius: 8px;
    border: solid 2px rgba(255, 255, 255, 0.75);
    background: transparent;
    font-family: Karla;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
	outline: none;
}

button.tab-control-button:hover {
    cursor: pointer;
}

/* CONTENT SECTION */
div.contentSection {
    flex-direction: column;
	width: calc(100% - 400px);
    margin: 0 200px;
}

/* CARDS */
div.cardSectionStyle {
    flex-direction: column;
}

div#myCards-membercards, div#myCards-membercards1, div#myCards-membercards2, div#myCards-membercards3, div#myCards-membercards4, div#myCards-membercards5 {
    margin: 20px auto;
	margin-top: 30px;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, 200px);
    grid-gap: 26px;
    width: 100%;
    justify-content: space-evenly !important;
    height: auto !important;
}

#myCards-membercards p:first-child, #myCards-membercards1 p:first-child, #myCards-membercards2 p:first-child, #myCards-membercards3 p:first-child, #myCards-membercards4 p:first-child, #myCards-membercards5 p:first-child {
    display: block;
}

#myCards-membercards .card-title, #myCards-membercards1 .card-title, #myCards-membercards2 .card-title, #myCards-membercards3 .card-title, #myCards-membercards4 .card-title, #myCards-membercards5 .card-title {
    font-family: Karla;
    font-size: 22x;
    font-weight: bold;
}

.largeimagewithtextbelow-listmempag .card-subtitle {
    font-family: Karla;
    font-size: 18px;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-listmempag {
    background: transparent;
}

div.largeimagewithtextbelow-listmempag .card-text-container {
    height: fit-content;
}

div.cardSection1, div.cardSection2, div.cardSection3, div.cardSection4, div.cardSection5 {
	display: none;
}

ul#user-search-results {
    overflow: unset;
}

.rw_body.rw_body_white, body.rw_body_white {
    background: var(--main-background);
}

div#rw_theme_header {
    z-index: 11;
}

.textSearch div#user-search-bar-container {
    height: auto;
}

/* ================================================================= MOBILE STYLING ================================================================= */ 
@media only screen and (max-width: 480px) and (min-width: 320px){
	.titleSection .custom-title {
    margin-top: unset;
    margin-bottom: 25px;
}

.titleSection .buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button.tab-control-button {
    margin: 0 10px 10px;
}

div.contentSection {
    width: auto;
    margin: unset;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-listmempag {
    margin: unset;
}

div.custom-card-container.cardstyle.largeimagewithtextbelow-cc {
    margin: unset;
}

.searchSection .filterByStrength {
    margin-bottom: 20px;
}

div.titleSection {
    margin: 60px 80px;
}


}
</style>
Custom section
Classbanner
Custom section
ClasstitleSection
Custom title
TitleCompanies

Custom ui tabs Custom ui tab
NameCurrent Cohort
Show If
groupconfluence-administrators
Custom ui tab
NameAlumni
Custom section
ClasscontentSection
Custom section
ClasscardSection cardSectionStyle
Custom section
CustomCSSwidth: auto;
ClasssearchSection
Custom section
CustomCSSwidth: 100%; justify-content: flex-end;
ContainerIDsection0CardsSearch
ClasstextSearch

Custom User Search (deprecated)
userGroupsmorganstanley-companies
profileFieldSearchcup.field-54,cup.field-60,cup.field-55,cup.field-56,cup.field-59,cup.field-62,cup.field-50,fullName
profileFieldViewcup.field-50,cup.field-60,cup.field-59
placeholderTextSearch...

List members pagination
GroupNamemorganstanley-companies
Type largeimagewithtextbelow-listmempag
CardURL/display/MSCOM/Company+Page?company=
UniqueIdentifiermembercards
PreviousButtonTextPrev
Limit100
NextButtonTextNext

Custom section
ClasscardSection1 cardSectionStyle
Custom section
CustomCSSwidth: auto;
ClasssearchSection
Custom section
CustomCSSwidth: 100%; justify-content: flex-end;
ContainerIDsection1CardsSearch
ClasstextSearch

Custom User Search (deprecated)
userGroupsmorganstanley-alumnicompanies-users
profileFieldSearchcup.field-54,cup.field-60,cup.field-55,cup.field-56,cup.field-59,cup.field-62,cup.field-50,fullName
profileFieldViewcup.field-50,cup.field-60,cup.field-59
placeholderTextSearch...

List members pagination
GroupNamemorganstanley-alumnicompanies-users
Type largeimagewithtextbelow-listmempag
CardURL/display/MSCOM/Company+Page?company=
UniqueIdentifiermembercards1
PreviousButtonTextPrev
Limit100
NextButtonTextNext

HTML
<script>
$('.tab-control-button.0').click(function() {
	// Hide all except div 0
	$('div.cardSection').css('display', 'flex');
	$('div.cardSection1').css('display', 'none');
	$('div.cardSection2').css('display', 'none');
	$('div.cardSection3').css('display', 'none');
	$('div.cardSection4').css('display', 'none');
	$('div.cardSection5').css('display', 'none');
	// Hide mentor filter
	//$('.filterByStrength').css('display', 'none');
});

$('.tab-control-button.1').click(function() {
    // Hide all except div 1
	$('div.cardSection').css('display', 'none');
	$('div.cardSection1').css('display', 'flex');
	$('div.cardSection2').css('display', 'none');
	$('div.cardSection3').css('display', 'none');
	$('div.cardSection4').css('display', 'none');
	$('div.cardSection5').css('display', 'none');
	// Hide mentor filter
	//$('.filterByStrength').css('display', 'none');
});
</script>
<link rel="stylesheet" href="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/stylesheets/MorganStanley/companies.css?v=21" />


Custom section
CustomCSSflex-direction: column; width: 100%; margin: auto; margin-top: 20px;
ContainerIDmaincontainer
DisableAutoHeighttrue


HTML
<div id="loading-container">
  <div id="loading"> </div>
</div>

<div class="page-banner">
  <div class="banner-content">
    <div class="title">
      <p>Companies</p>
    </div>
    <div id="group-tabs" class="tabs"> </div>
  </div>
</div>
<div id="people-filters" class="filter-row">
  <div class="filters-section">
    <div class="filters-macro-container">
      <div id="filter-dropdown-section" class="filter-dropdown">
        <div id="filtersId" class="filters">
          <div class="dropdown">
			<div id="filter-select" class="select-input"> </div>
			<div id="options-dropdown" class="dropdown-content">
		      <ul id="filter-options"> </ul>
			</div>
		  </div>
        </div>
      </div>
      <div id="region-filter-section">
        <p id="filters-header" class="filters-title">Filter by Region</p>
        <div id="region-tags" class="tags"> </div>
      </div>
    </div>
    <div class="dropdown">
      <input type='text' class="input-field" id='search-bar' placeholder='Search...'>
      <div id="myDropdown" class="dropdown-content">
        <ul id='search-results'> </ul>
      </div>
    </div>
  </div>
  <div class="selected-options-container"> </div>
</div>
<div id="network-card-section"> </div>



HTML
<script>
function htmlDecode(input){
  var e = document.createElement('textarea');
  e.innerHTML = input;
  // handle case of empty input
  return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue;
}
</script>

<script src="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/js/MS+SBA/tabs.js"> </script>
<script src="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/js/MS+SBA/tags.js"> </script>
<script src="https://gsvlabs-confluence-files.s3.us-west-2.amazonaws.com/js/Morgan+Stanley/companies.js?v=4"> 
HTML
<script>
// REPLACING ALL THE AUTOMATICALLY-GENERATED PROFILE LINKS IN SEARCH POPUP WITH PROFILE LINKS:
const replacePopupLinks = () => {
  let links = Array.from(document.getElementById("custom-user-search-results-dialog").getElementsByTagName("A"));
  links.forEach(link => {
    if (link.href.includes('/display/~')) {
      let email = link.href.split('/display/~').pop();
      link.href = '/display/MSCOM/Company+Page?company=' + email;
    }})
}

const popupReadyPolling = () => {
  if (document.getElementById("custom-user-search-results-dialog")) {
    replacePopupLinks();
  } else {
    setTimeout(popupReadyPolling, 200);
  }
}

// Set the polling function to start when page is done loading: 
window.addEventListener('DOMContentLoaded', () => {
	var searchBars = document.getElementsByClassName("custom-user-search-form");
	for(var i = 0; i < searchBars.length; i++) {
    	searchBars[i].addEventListener("submit", popupReadyPolling)
	}
});

</script>