Skip to content

ITGlue Document Fix by nixuno

Screenshot of ITGlue Document Fix

Details

Authornixuno

LicenseNo License

Categoryitglue

Created

Updated

Size1.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Used to give more space to actually reading or writing your ITGlue documents.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         ITGlue Document Fix
@version      20220124.19.55
@namespace    userstyles.world/user/nixuno
@description  Used to give more space to actually reading or writing your ITGlue documents.
@author       nixuno
@license      No License
==/UserStyle== */

@-moz-document regexp("^.*itglue\\.com/\\d+\\/docs\\/\\d+.*") {
/* ITGlue Document Fix */
/* Shrink the left sidebar when not hovered */
.itglue-sidebar {
    min-width: 1% !important;
    width: 2% !important;
    overflow: hidden;
    transition: width 0.1s !important;
}

/* Expand the left sidebar when hovered */
.itglue-sidebar:hover {
    width: var(--sidebar-open-width) !important;
    overflow: auto;
}

/* Make the document content not have a giant left margin */
.content-body {
    margin-left: 50px !important;
}
/* Make the document content fill as much space as possible. */
.col-sm-8 {
    width: 100%
}

/* Make the sidebar smaller when not hovered */
.sidebar {
    min-width: 1% !important;
    width: 10%;
    transition: width 0.1s;
}

/* Make the sidebar bigger when the hovered */
.sidebar:hover {
    width: 33%;
}

/* Make the contents of the sidebar hidden when the sidebar is not hovered */
.sidebar > * {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.1s linear;
}

/* Make the contents of the sidebar visible when the sidebar is hovered */
.sidebar:hover > * {
    visibility: visible;
    opacity: 1;
}

/* Remove the Table of Contents pane */
.toc {
    display: none;
}
}

Reviews

No reviews yet.