Skip to content

Compact Confluence [Fraunhofer IIS] by jannismain

Screenshot of Compact Confluence [Fraunhofer IIS]

Details

Authorjannismain

LicenseCC Zero

Categoryintern.iis.fhg.de

Created

Updated

Size3.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A more compact experience for the Fraunhofer IIS Intranet based on Confluence.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Compact Confluence [Fraunhofer IIS]
@version      20240422.07.22
@namespace    https://userstyles.world/user/jannismain
@description  A more compact experience for the Fraunhofer IIS Intranet based on Confluence.
@author       jannismain
@license      CC Zero
==/UserStyle== */

@-moz-document domain("confluence.codecentric.de") {
/* minimal header to show more content */
:root {
	--ltp-header-height: 52px;
}

/* - hide subheader / navigation */
:root {
    --ltp-sub-header-height: 0px !important;
}
#sub-header {
    display: none;
}

/* - keep navigation but make more minimal
#sub-header > div > ul > li:nth-child(7),
#sub-header > div > ul > li:nth-child(6),
#sub-header > div > ul > li:nth-child(5) {
    display: none
}
#sub-header .linchpin-navigation-menus ul.level-0 > li.active-item-trail, #sub-header .linchpin-navigation-menus ul.level-0 > li.active-item {
	box-shadow: none !important;
}
*/

/* - move search + buttons closer to top */
#primary-header-inner {
	padding-right: 20px !important;
	position: initial !important;
	padding-top: 10px;
}
/* - resize logo */
#header #logo {
	background-size: 140px;
	z-index: 0 !important;
    transform: translate(0, -20%);
}
#theme-logo-link {
    width: 140px !important;
    margin-left: 10px !important;
}
#header #theme-logo-link,
#theme-logo-wrapper,
#logo {
	width: 140px;
	height: 45px;
	z-index: 1 !important;
}
#linchpin-header-inner #header #primary-header-inner {
	position: absolute !important;
	top: 0px;
}
.intranet-title {
    display: none;
}

/* minimal home page */

/* - hide announcement banner and status dropdown */
.welcome-content > .contentLayout2 > .columnLayout.two-right-sidebar,

/* - hide section header */
#Dienstleisternachrichten,
#Instituts-undBereichsnachrichten,

/* - hide news helper bar */
#welcome-message > div > div > div:nth-child(2) > div > div > p:nth-child(5)
{
	display: none;
}

#main,
#page #main-header.overlay-header {
	padding-left: 26px !important;
}
#main-header-placeholder {
	margin: 0px 0px 20px !important;
}
body[data-aui-version^="9."] #main-header-placeholder {
	padding-top: 5px !important;
}
body #page #main #main-header.overlay-header {
	z-index: 10 !important;
}

/* show only icons in page toolbar */
#editPageLink > span,
#page-favourite > span,
#watch-content-button > span,
#shareContentLink > span,
#view-inline-comment-button > span
{
	font-size: 0;
}

/* SIDEBAR */

/* hide scrollbar */
.acs-side-bar::-webkit-scrollbar {
  display: none;
}

.ia-secondary-container {
	margin: 7px 0px 7px 10px;
}

/* CODE BLOCK */
.codeContent div table tbody tr td.gutter {
    padding-left: 0px !important;
}
.panelHeader + .codeContent.panelContent {
  padding-top: 0px;
}
.pdl .syntaxhighlighter table td.code .container {
  margin-top: 5px;
  padding-bottom: 5px;
}
}

@-moz-document url-prefix("https://intern.iis.fhg.de/plugins/easyevents") {
/* fix glitch on events page */
#main {
	padding-left: 0px !important;
}
}

Reviews

No reviews yet.