Skip to content

SD46 Moodle Minimal Sidebars by InterstellarOne

Details

AuthorInterstellarOne

LicenseNo License

Categorysd46online.ca/moodle

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Moves the sidebar buttons to the top of the screen, out of the way of the page contents.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           ? - May 2024
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://sd46online.ca/moodle") {
    .drawer-toggles .drawer-toggler {
        position: fixed;
        top: 37px;
        z-index: 12;
    }
    .drawer-toggles .drawer-toggler .btn {
        border-radius: 200px;
        padding: 16px;
        background-color: transparent;
        box-shadow: none;
        transition: 0ms;
    }
    .btn,
    .btn a {
        background-image: none;
        border-color: transparent;
        border-bottom-color: transparent;
        border-radius: 5px;
        border-style: solid;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, .5) inset;
        cursor: pointer;
        font-family: sans-serif, sans-serif;
        font-size: 14px;
        margin-bottom: 0;
        padding: 6px 12px 6px;
        text-align: center;
        text-shadow: none;
    }
    .drawer-toggles .drawer-left-toggle .btn:hover {
        padding-left: 16px;
    }
}

Reviews

No reviews yet.