Skip to content

Brightspace Compact View by enyzm

Screenshot of Brightspace Compact View

Details

Authorenyzm

LicenseMIT

Categorybrightspace / d2l

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A Compacted view for Brightspace, displaying more of the course elements instead of surrounding white space.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Brightspace Compact View
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Brightspace altered compacting margins and paddings
@author         Wouter de Bruijn
==/UserStyle== */
@-moz-document url-prefix("https://brightspace"), domain("s.brightspace.com") {
    #root-wrapper,
    .d2l-page-main {
        max-width: none !important;
        padding-top: 0 !important;
        margin-top: -5px;
    }

    #content-header {
        display: none !important;
    }

    #content-block {
        padding-bottom: 10px !important;
    }

    .d2l-navigation-s > d2l-navigation:nth-child(1) > d2l-navigation-main-header:nth-child(1) {
        position: absolute;
        top: -8px;
        left: 15px;
    }

    d2l-navigation-main-footer.d2l-branding-navigation-background-color {
        position: absolute;
        right: 0px;
        top: 8px;
    }

    body > header:nth-child(1) {
        height: 70px;
        margin-top: -5px;
        background-color: #f6f7f8 !important;
    }

    d2l-navigation-main-footer.d2l-branding-navigation-background-color {
        background-color: #f6f7f8 !important;
    }

    .d2l-navigation-s-link,
    .d2l-branding-navigation-light-foreground-color .d2l-navigation-s-group .d2l-navigation-s-group-text,
    .d2l-branding-navigation-light-foreground-color .d2l-navigation-s-group .d2l-navigation-s-group-wrapper d2l-icon {
        color: black !important;
    }

    .d2l-course-banner-container {
        margin-top: 5px;
    }

    d2l-navigation-main-footer.d2l-branding-navigation-background-color {
        border-bottom: none !important;
        border-top: none !important;
    }
}

Reviews

No reviews yet.