Nursebuddy - Remove Padding

Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        Nursebuddy - Remove Padding
// @description Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally
// @version     1.6
// @author      TomC
// @match       https://app.nursebuddy.fi/*
// @grant       GM_addStyle
// @license     MIT
// @namespace https://greasyfork.org/users/441
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        *,
        *::before,
        *::after {
            transition: none !important;
        }

        .contentDefaultPaddingBottom { padding-bottom: 0 !important; }
        .panel-heading { padding: 6px !important; }
        body.manager #shellContent { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }

        body.manager #mainContentContainer #breadCrumbAndContentContainer #topMenuBarContainer { height: 40px !important; min-height: 40px !important; }
        body.manager #mainContentContainer #breadCrumbAndContentContainer #breadCrumbs .breadCrumbsContainer { height: 40px !important; min-height: 40px !important; }
        [class*="MuiToolbar-regular-_react-injected-view-topMenuBarContainer-"] { height: 40px !important; min-height: 40px !important; }

        body.manager #menuContentSplitter #toggleMenu, body.manager #menuContentSplitter .toggleMenu { visibility: visible !important; opacity: 1 !important; }
        body.manager #menuContentSplitter #toggleMenu.show, body.manager #menuContentSplitter .toggleMenu.show { visibility: visible !important; opacity: 1 !important; }

        .intercom-lightweight-app-launcher { bottom: 50px !important; }
    `);

    adjustStyles();

})();