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>

#sidebar-container-top{
	height: auto!important;
}
p{
	margin: 0;
}
button{
	color: white!important;
}
.buttons-wrapper{
    width: fit-content!important;
    flex-direction: row!important;
    margin-left: 50px!important;
}

.buttons-wrapper a{
    margin: 0 20px 0 0!important;
	width: fit-content!important;
}
.custom-column-container .buttons-wrapper #message-button-link > button, .custom-column-container .buttons-wrapper #back-button-link > button{
	border-radius: 0!important;
	text-transform: uppercase;
    color: black!important;
    font-weight: bold!important;
	font-size: 17px!important;
    letter-spacing: 0.5px;
	background: var(--secondary-color)!important;
	margin: 0!important;
}

.custom-section-container .custom-column-container{
	height: unset!important;
}

.custom-column-container .buttons-wrapper #message-button-link > button{
	width: 200px!important;
}

.custom-column-container .buttons-wrapper #back-button-link > button{
	width: 250px!important;
}

div.sidebar-container .general-description-wrapper {
    width: 100%!important;
    padding: 25px!important;
    box-sizing: border-box!important;
}

.general-name{
    font-size: 24px!important;
    font-weight: bold!important;
}

.general-tagline{
    font-size: 18px!important;
}
div.sidebar-container{
    padding: 0!important;
    width: 100%!important;
    background: #333!important;
}

div.info-wrapper {
    padding: 35px 25px!important;
	color: white!important;
	border-top: #999 2px solid;
}

div.general-image-wrapper{    
    width: 300px!important;
    margin: 10px!important;
    box-sizing: border-box!important;
}
#profile_header_container #profile_header_text{
	height: auto!important;
}

.custom-card-container .image-container img{
	width: 200px!important;
	height: 200px!important;
	border-radius: 0px;
}

.custom-card-container .card-text-container .card-title{
	text-align: left;
}

.custom-card-container .card-text-container{
	width: 100%;
}


#main-content{
	background: #eee!important;
}

</style>

...

Custom section
ContainerIDprofile_header_container
Widthbox-sizing: border-box; padding: 20px; align-items: center; flex-direction: row; display: flex; width: calc(80% - 40px); height: 120pxfit-content; background: black;margin: 40px auto;


HTML
<div id="profile_header_text" style='color: white; font-weight: bold; font-size: 40px; padding-left: 20px;'> </div>
<a id="profile_status" href="/display/PN#tab-STARTUPS">Back to Startups</div>



HTML
<script>

</script>

<style>
.title#profile_status{
	font-sizewidth: 16px220px;
	font-weightheight: normal50px;
	colormargin-left: whiteauto;
	heightbackground: fit-content;
}
.subtitlevar(--secondary-color);
	line-height: 50px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	user-select: none;
	color: black;
	cursor: pointer;
}
.title{
	font-size: 18px14px;
	font-weight: boldnormal;
	color: white;
	margin-bottom: 5px;
	height: fit-content;!important
}
</style>.subtitle{
	font-size: 15px;
	font-weight: bold;
	color: white;
	margin-bottom: 35px;
	height: fit-content!important;
}

#main-container-title{
	font-size: 22px;
	font-weight: bold;
	color: #333;
	margin-bottom: 30px;
}

#main-container-summary{
	font-size: 18px;
	font-weight: normal;
	color: #757575;
}
</style>


Custom section
CustomCSSmin-height: 500px; height: fit-content!important;border: none!important; background: transparent!important;width: 80%!important;margin: 0 auto!important;
ContainerIDcustom-section-company-container


Custom column
CustomCSSposition: relative; height: unset!important; background: transparent!important;width: 320px!important; min-width: 320px!important;
Custom section
CustomCSSheight: fit-content!important;border: none!important; background: transparent!important;width: 80%!important;margin: 0 auto!important;
ContainerIDcustom-section-company-container
Custom column
CustomCSSposition: relative; height: unset!important; background: transparent!important;width: 320px!important; min-width: 320px!important;


Show If
groupconfluence-administrators


Custom column
CustomCSSmargin: 0!important; width: 100%!important;
Heightauto

Custom button
Typecustom-button
TextEdit Profile
Width100%



Show If

Dynamic general sidebar
MessageButtonTitleView Website
MessageButtonCustomCSSbackground-color: #6781ca;
BackButtonCustomCSSbackground-color: #636363;
BackButtonUrl/display/PN/#tab-STARTUPS
SidebarHeight100%
BackButtonTitleBack to Startups


Custom section
CustomCSSpadding: 20px; box-sizing: border-box; background: #333; height: 100%; position: relative; display: flex; flex-direction: column;
ContainerIDsidebar-container


Custom section
CustomCSSmax-height: auto;margin-bottom: 25px; display: flex; flex-direction: column;maxpadding-height: 200px; min-height: 200px; height: 200pxbottom: 20px;border-bottom: 2px solid lightgray;
ContainerIDsidebar-container-top


HTML
<div id='sidebar-container-title' class='titlesubtitle'> </div>
<div id='sidebar-container-industry' class='subtitletitle'> </div>



Custom section
CustomCSSheight: auto;display: flex; flex-direction: column;
ContainerIDsidebar-container-bottom
Custom column
CustomCSSheight: unset!important;background: white!important;margin-left: 20px;width:100%!important;
Heightauto
General content
ContentHeight120hv
General description
MyTitle
IDdescription-title

-


HTML
<!--
<div class='title'>Funding Stage</div>
<div id='sidebar-container-stage' class='subtitle'> </div>
<div class='title'>Amount Raised</div>
<div id='sidebar-container-funding' class='subtitle'> </div>
-->
<div class='title'>Tags</div>
<div id='sidebar-container-tags' class='subtitle'> </div>





Custom column
CustomCSSpadding: 30px; box-sizing: border-box; display: flex; flex-direction: column;height: unset!important;background: white!important;margin-left: 20px;width:100%!important;


HTML
<div id='main-container-title'> </div>
<div id='main-container-summary'> </div>



HTML
<script>
//var data_fields = [];
jQuery.ajax({
    url: "/rest/scriptrunner/latest/custom/searchJiraTicketsPaginated",
    headers: {
      'X-Atlassian-Token' : 'nocheck',
      'Content-type' : 'application/json'
    },
    type: "POST",
    dataType: 'json',
    data: JSON.stringify({
      "jql": "project = PGH AND issue = " + new URLSearchParams(window.location.search).get('company'),
      "startAt": 0,
      "maxResults": 1
    }),
	success: function(data){
		$('#profile_header_text')[0].innerHTML = data.issues[0]['fields']['customfield_10108'];
		$('#sidebar-container-title')[0].innerHTML = data.issues[0]['fields']['customfield_10108'];
		$('#sidebar-container-title')[0].style.fontSize = "22px";
		$('#sidebar-container-title')[0].style.marginBottom = "10px";
		$('#sidebar-container-industry')[0].innerHTML = data.issues[0]['fields']['customfield_10641'];
		$('#sidebar-container-industry')[0].style.fontSize = "16px";
		//$('#sidebar-container-stage')[0].innerHTML = data.issues[0]['fields']['customfield_10653'].value;
		//$('#sidebar-container-funding')[0].innerHTML = data.issues[0]['fields']['customfield_10224'];
		$('#sidebar-container-tags')[0].innerHTML = data.
HTML
<script>
//var data_fields = [];
jQuery.ajax({
    url: "/rest/scriptrunner/latest/custom/searchJiraTicketsPaginated",
    headers: {
      'X-Atlassian-Token' : 'nocheck',
      'Content-type' : 'application/json'
    },
    type: "POST",
    dataType: 'json',
    data: JSON.stringify({
      "jql": "project = PGH AND issue = " + new URLSearchParams(window.location.search).get('company'),
      "startAt": 0,
      "maxResults": 1
    }),
	success: function(data){
		let fields = ['customfield_10108', 'customfield_10641', 'customfield_10653', 'customfield_10224', 'customfield_10640'];
		//for(let i = 0; i < fields.length; i++){
		//	data_fields.push(data.issues[0]['fields'][fields[i]]);
		//}'customfield_10640'];
		$('#sidebar#main-container-title')[0].innerHTML = data.issues[0]['fields']['customfield_1010810116'];
		$('#sidebar#main-container-industrysummary')[0].innerHTML = data.issues[0]['fields']['customfield_1064110226'];
	}
});

</script>



Show If


Custom section
CustomCSSflex-direction: column; display: flex; position: relative; padding-top: 20px; background: transparent; border: none; border-top: #999 2px solid; width: 80%!important; margin: 80px auto 0 auto!important;


HTML
<div id='meet-the-team-label'>Meet the Team</div>
<style>
#meet-the-team-label{
	font-size: 32px;
	height: 32px;
	font-weight: bold!important;
	position: absolute;
	top: -45px;
	left: 0px;
	border-bottom: 2px solid #151515;
	padding-bottom: 11px;
}
</style>


List members pagination
GroupNameconfluence-administrators
CardURL/display/PN/Mentor+Profile?mentor=
UniqueIdentifiermentorlistmembers
PreviousButtonTextPrevious
CardSubtitleconfluence.position%confluence.department
Limit3r
NextButtonTextNext
Paginatetrue



Show If


General info cards

List members company
GroupNameconfluence-administrators
CardURL/display/PN/Mentor+Profile?mentor=


...

HTML
<style>
/* MAIN / OUTER CONTAINERS */
.nextprevbutton{
	width: 100px!important;
    max-width: 200px!important;
    height: 40px!important;
    border-radius: 0px!important;
    background: white!important;
    color: #3a3a3a!important;
    border-color: #3a3a3a!important;
	font-size: 14px!important;
}
.nextprevcontainer{
	width: fit-content!important;
	height: fit-content!important;
}

.list-member-paginated-cards{
	justify-content: flex-start!important;
	flex-direction: row;
}

.profilecard.custom-card-container{
    border-radius: 0!important;
    box-shadow: none!important;
    width: 300px!important;
    height: 450px!important;
    margin: 0 20px 20px 0!important;
	padding: 0!important;
}

.custom-card-container .image-container img {
    width: 100%!important;
    height: 100%!important;
    border-radius: 0!important;
    margin: 0!important;
    object-fit: cover!important;
    padding: 0!important;
}

.profilecard .image-container {
    display: flex!important;
    padding: 0!important;
    margin: 0!important;
    width: 100%!important;
    height: 320px!important;
	min-height: 320px!important;
}

.profilecard .card-text-container {
    display: flex!important;
    flex-direction: column!important;
    height: 100%!important;
    width: 100%!important;
}

.profilecard .card-title{
    color: #333!important;
    font-weight: bold!important;
    font-size: 22px!important;
	text-align: center!important;
}

.profilecard .card-subtitle{
	color: #333!important;
	font-size: 16px!important;
}


#company-profile-container {
	position: relative;
	flex-direction: column;
    height: auto !important;
    width: 100%;
}
#company-profile-content {
    display: flex !important;
    flex-direction: row;
    width: 85%;
    margin: 0 auto;
    position: relative;
	height: auto !important;
    top: -200px;
  	border: 1px solid var(--primary-color);
	max-width: 1100px;
}
#main-content > p {
	display: none;
}

#main-content > .custom-section-container {
	position: relative;
}

/* SIDEBAR */
.sidebar-container {
	height: auto !important;
}
#company-sidebar-container {
	width: 300px;
	flex-direction: column;
	height: auto !important;
    background-color: var(--primary-color);
    min-width: 300px;
}
#company-sidebar-container .custom-column-container {
	width: 100% !important;
}
#edit-profile-button-container {
	height: max-content !important;
}
#edit-profile-button {
	height: max-content;
	width: 100%
}
#edit-profile-button button {
	padding: 10px 0px;
}
.badges-container-sidebar {
	display: none !important;
}
.general-sidebar-content {
	padding-top: 0px !important;
	width: 100% !important;
}
.general-image-wrapper {
	width: 100% !important;
}
.general-image-wrapper img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 0px !important; 
}
.sidebar-container .general-description-wrapper {
	padding: 30px;
}
.general-description-wrapper .general-name {
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-title);
    text-transform: none;
    color: var(--secondary-font-color);
}
.general-description-wrapper .general-tagline {
    font-family: var(--secondary-font-family);
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-title);
    color: var(--secondary-font-color);
}
#company-sidebar-container .info-wrapper h3 {
	font-family: var(--main-font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-title);
    color: var(--secondary-font-color);
}
#company-sidebar-container .info-wrapper p {
	font-family: var(--secondary-font-family);
	font-weight: var(--font-weight-title);
    color: var(--secondary-font-color) !important;
	font-size: var(--font-size-s);
}
#company-sidebar-container .info-wrapper p span {
	color: var(--secondary-font-color) !important;
}
#company-sidebar-container .info-wrapper {
    border-top: 1px solid #505050;
    padding: 30px;
	padding-bottom: 45px;
}


/* MAIN CONTENT / DESCRIPTION */
#company-profile-content .content-container {
	height: auto;
	position: relative;
    min-height: calc(100% - 150px);
    border-left: 1px solid gray;
}

.content-container {
    background-color: transparent;
}

.content-container > .general-text-container {
	width: 100%;
	padding: 0px;
}

.content-container .body-container {
    font-family: var(--main-font-family);
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-paragraph-text);
    font-style: normal;
    font-stretch: normal;
    line-height: 2.3;
    letter-spacing: var(--letter-spacing);
    padding: 50px;
}

.content-container .body-container p span  {
	color: var(--primary-font-color) !important;
}

.content-container .buttons-wrapper {
    display: flex;
    flex-direction: row;
    padding: 50px;
    justify-content: space-between;
    align-items: center;
     justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    width: calc(100% - 100pxmargin-top: 0px;
    width: calc(100% - 100px);
    position: absolute;
    bottom: 0px;
}

#message-button-link > button, #back-button-link > button {
	border-radius: var(--border-radius);
	font-size: 14px;
	font-weight: var(--font-weight-super-title);
    positiontext-transform: absoluteuppercase;
    bottomwidth: 0px200px;
}

#message-button-link > button, :hover {
	opacity: 0.95;
}

#back-button-link > button {
	border-radius:    border: 1px solid var(--borderprimary-radiuscolor);
	font-size: 14px;
	font-weight    background-color: var(--secondary-color);
    color: var(--primary-font-weight-super-titlecolor);
    width: 200px;
  text  margin-transformtop: uppercase0px;
}

button.msg-button {
    background-color:   width: 200pxvar(--sidebar-bb-fill) !important;
}

#message#back-button-link > button:hover {
	opacity: 0.95background-color: var(--secondary-color) !important;
}

.my-title {
    letter-spacing: var(--letter-spacing);
}

#back#company-buttondescription-linkcontainer > button {
    borderbackground-color: 1px solid var(--mainprof--primary-color);
    background);
}

#company-description-container .my-title {
	background-color: var(--secondaryprimary-color);
    color: var(--primarysecondary-font-color);
    width-webkit-background-clip: 200pxunset;
    margin-top-webkit-text-fill-color: 0pxunset;
}

button.msg-button {
    backgroundfont-colorweight: var(--sidebarfont-bbweight-filltitle) !important;
}

#back-button-link > button {
	background-color    font-size: var(--secondary-color) !important;
}

.my-title {font-size-l);
    letter-spacing: var(--letter-spacing);
}

#company-description-container {
    backgroundline-colorheight: var(--paragraph-mainprofline-backgroundheight);
    padding: 40px 50px;
}

/* COMPANY TEAM (BOTTOM SECTION) */
#company-descriptionteam-container .my-title {
	background-color: var(--primary-color)    flex-direction: column;
    colorheight: var(--secondary-font-color)fit-content !important;
    min-webkit-background-clipheight: unset300px;
    -webkit-text-fill-colorpadding-bottom: unset100px;
    font-weightwidth: var(--font-weight-title)84%;
    font-sizemargin: var(--font-size-l) 0 auto;
	    letter-spacingposition: var(--letter-spacing)relative;
    line-heighttop: var(--paragraph-line-height)-100px;
 	   paddingmax-width: 40px 50px1100px;
}

/* COMPANY TEAM (BOTTOM SECTION) */
#company-team-container .general-text-container {
  padding: 0px;
  flex-directionwidth: column100%;
    height: fitmax-content !important;
    min-height: 300px;
}
.general-text-container {
    padding-bottom: 100px0px;
    width: 84%; 100%;
}
#company-team-container .info-cards-container {
    margin: 0 auto0px;
	    positionpadding: relative0px;
    top: -100px;
	  max-width: 1100px100%;
}
#company-team-container .general#myCards-textcompanyteam-containerlistmembers {
  padding	display: grid 0px!important;
  width: 100%  grid-template-columns: repeat(auto-fill, 320px);
  height:  maxgrid-contentgap: !important;
}
.general-text-container {20px;
    paddingjustify-content: 0pxspace-evenly;
    	width: 100%;
}
#company#myCards-teamcompanyteam-containerlistmembers .infotintedrect-cards-containerlistmempag {
    	margin: 0px !important;
}
#company-team-container .info-cards-container > p padding: 0px;
    width{
	display: 100%none;
}
#company-team-container #myCards.info-companyteamcards-listmemberscontainer {
  	display: grid !important;
    grid-template-columns: repeat(auto-fill, 320px);
    grid-gap: 20px;
    justify-content: space-evenly;
  	width: 100%;
}
#myCards-companyteam-listmembers .tintedrect-listmempag {
	margin: 0px !important: space-evenly;
}
#company-team


@media only screen and (max-width: 1000px) {
	.content-container .infobuttons-cards-container > p wrapper {
	display	flex-direction: nonecolumn;
	}
#company	#message-teambutton-containerlink, .info#back-cardsbutton-containerlink {
	display	width: grid100% !important;
    grid-template-columns: repeat(auto-fill, 320px);
    grid-gap: 20px;
    justify-content: space-evenly;
}


@media only screen and (max-width: 1000px) {
	.content-container .buttons-wrapper {
		flex-direction: column;
	}
	#message-button-link, #back-button-link {
		width: 100% !important;
		margin: 10px 0px		margin: 10px 0px;
	}
	#message-button-link > button, #back-button-link > button {
		width: 100%;
	}
	#profile_header_container {
		flex-direction: column !important;
	}
	#profile_header_text {
		padding-left: 0px !important; 
	}
	#profile_status {
		margin: 10px auto;
	}
	#sidebar-container {
		margin-bottom: 30px !important;
	}
	#message#sidebar-buttoncontainer-link > button, #back-button-link > button bottom {
		widthheight: 100% !important;
	}
}

@media only screen and (max-width: 750px) {
	.none-found {
		text-align: center;
	}
	#company-description-container .my-title {
		font-size: var(--font-size-m);
        text-align: left;
        color: var(--secondary-font-color) !important;
        background: var(--primary-color);
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: var(--secondary-font-color);
	}

	#rw_wrapper #rw_main #rw_theme_content #main {
		background-color: var(--secondary-color);
	}
	#company-sidebar-container {
		width: 100%;
	}
	.service-banner {
		height: 150px; 
	}
	#company-profile-content { 
		top: -30px
	}
	#company-profile-content .content-container {
		flex-direction: column-reverse;
		border: none;
	}
	.content-container .buttons-wrapper {
		position: relative;
	}
	#company-profile-content {
		flex-direction: column;
		width: 100%;
		border: none;
	}
	.general-sidebar-content {
		position: relative;
	}
	.general-sidebar-content .general-image-wrapper {
		position: absolute;
		top: -70px;
    	width: 90px !important;
    	height: 90px !important;
    	left: 40px;
		border: 1px solid var(--primary-color);
	}
	#company-team-container .general-text-container .my-title {
		font-weight: var(--font-weight-title);
		text-align: left;
    }
    
    #company-sidebar-container .info-wrapper p {
        padding: 0px 40px;
    }
	
}

@media only screen and (max-device-width: 480px) and (min-device-width: 320px) {
    #company-profile-content .content-container {
        padding-bottom: 70px;
    }
	#company-profile-content { 
		top: unset;
	}
	#company-sidebar-container .info-wrapper {
    	width: 100%;
	}
	.content-container .buttons-wrapper { 
		padding: 40px;
		width: calc(100% - 80px);
	}
	.service-banner {
		display: block !important;
		width: 100%;
        height: 110px;
	}
	.sidebar-container .general-description-wrapper {
    	padding-top: 35px;
    	padding-bottom: 10px;
	}
	#company-team-container {
		width: 320px;
	}
	#page .rw_content_spaces_white1 #likes-and-labels-container, #page .rw_content_spaces_white1 .rw_blogpost_share {
		display: none;
	}
	.none-found { 
		font-size: var(--font-size-s) !important; 
    	color: var(--primary-color);
		letter-spacing: var(--letter-spacing) !important; 
	}
}
</style>

...

HTML
<style>
div.general-image-wrapper {
    border: solid 1px #e0e0e0;
    background-color: #ffffff;
    height: unset !important;
}

div.sidebar-container {
    border-right: solid 1px #e0e0e0;
    background-color: #ffffff;
    width: calc(100% - 60px);
    padding: 30px;
    height: 100% !important;
    font-family: var(--main-font-family);
    color: var(--primary-font-color);
    text-align: left;
}

div.sidebar-container .general-description-wrapper {
    padding: 30px 0;
    text-align: left;
}

div.info-wrapper {
    color: var(--primary-font-color);
    
}

.info-wrapper h3 span, .info-wrapper p span {
    color: var(--primary-font-color) !important;
    font-family: var(--main-font-family);
	text-align: left !important;
}

.info-wrapper h3 span {
    font-size: 18px;
    font-weight: bold;
}

.info-wrapper p span {
    font-size: 18px;
}

div#\$paramContainerID {
    width: calc(100vw - 160px);
    margin: 80px;
    border: solid 1px #e0e0e0;
    background-color: #ffffff;
}


div#main-content {
    background: #ffffff;
}

.custom-column-container:nth-child(2) {
    width: calc(15% + 60px) !important;
}

.custom-column-container:nth-child(4) {
    width: calc(85% - 60px) !important;
	margin-left: 0 !important;
}

.info-wrapper h3, .info-wrapper p {
    display: flex;
}

div.info-wrapper {
    padding: 20px 0;
}

div.sidebar-container .general-description-wrapper {
    width: 100%;
}

.buttons-wrapper {
    /* margin-top: 40px; */
}

.buttons-wrapper #message-button-link > button, #back-button-link > button {
    border-radius: 8px;
    background: var(--primary-color) !important;
    border: none;
    color: #ffffff;
    font-family: var(--main-font-family);
    font-size: 14px;
    padding: 18px;
    height: 54px;
    width: 100%;
}

button.msg-button {
    margin-bottom: 15px;
}

a#message-button-link, a#back-button-link {
    width: 100%;
}

p.my-title {
    padding: 50px 50px 0 50px;
    font-size: 28px;
    font-weight: bold;
    font-family: var(--main-font-family);
}

.body-container {
    font-size: 18px !important;
    letter-spacing: 0.45px !important;
}

div.info-cards-container {
    width: 100%;
    padding: 50px;
}

.general-text-container:nth-child(5) .my-title {
    padding-top: 0;
}

.general-text-container:nth-child(5) .body-container {
    display: none;
}

.custom-column-container:nth-child(2) {
    margin: 0 auto;
}

button.my-button {
    margin: 0!important;
    border-radius: 0px;
    background: var(--secondary-color)!important;
    color: black!important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-size: 16px;
}
</style>


Show If


HTML
<script>
//$('#company-profile-container .custom-column-container')[$('#company-profile-container .custom-column-container').length-1].prepend($('.buttons-wrapper')[0]);
$('.custom-column-container')[$('.custom-column-container').length-1].prepend($('.buttons-wrapper')[0]);

AJS.toInit(function(){
	$('.general-tagline')[0].innerHTML = $('.general-tagline')[0].innerHTML.substring(2).substring(0, $('.general-tagline')[0].innerHTML.length-4);
	document.getElementById('profile_header_text').innerHTML = $('.general-name')[0].innerHTML;
	$('#description-title .my-title')[0].innerHTML = "About " + $('.general-name')[0].innerHTML.toString();
});
</script>