Skip to content

SELU Moodle Tweaks by calebmartin2

Screenshot of SELU Moodle Tweaks

Details

Authorcalebmartin2

LicenseCC Zero

Categorymoodle.selu.edu

Created

Updated

Size3.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Tweaks for Southeastern Louisiana University's Moodle.

Notes

I am not responsible for failed tests, broken CSS, or thermonuclear war. Use this style at your own risk.

Source code

/* ==UserStyle==
@name           SELU Moodle Tweaks
@namespace      userstyles.world
@version        0.2.2
==/UserStyle== */
@-moz-document domain("moodle.selu.edu") {
    * {
        /*     Disable Animations */
        -webkit-transition: none !important;
        -moz-transition: none !important;
        -o-transition: none !important;
        transition: none !important;
        animation-name: fadeup;
        animation-iteration-count: 0;
        animation-timing-function: linear;
        animation-duration: 0s;

        font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
    }
    .course-content {
        margin: 0px;
    }

    #region-main {
        line-height: 1em;
        margin: 0px;
        border-left: 2px solid #ccc;
        padding-right: 0px;
        max-width: 90%;
    }


    #moodle-page {
        font-size: 1rem;
        margin-top: 1rem;
    }

    body.snap-resource-list .asset-wrapper .snap-assettype,
    body.snap-resource-card .asset-wrapper .snap-assettype {
        overflow: visible;
    }

    /* I don't know why the universal selector doesn't apply to this */
    /* Disable white fade in on course load */
    .path-course-view li.state-visible,
    .path-course-view #page-header,
    .path-course-view #region-main {
        animation-name: fadeup;
        animation-iteration-count: 0;
        animation-timing-function: linear;
        animation-duration: 0s;
    }
    .course-content,
    .settingsform,
    #page-mod-page-view #region-main,
    #snap-course-footer-about {
        max-width: 100em;
    }

    /*Alternate formats button*/
    li.snap-asset .filter-ally-wrapper.ally-anchor-wrapper .ally-actions.ally-actions-tile {
        position: static;
    }

    .section li.snap-asset .asset-wrapper {
        padding-top: 1rem;
        padding-bottom: 0rem;
    }

    /* Make (some) links actually underline  */
    .instancename:hover {
        text-decoration: underline;
    }

    .userpicture {
        border-radius: 0px;
    }

    .coursecard:hover {
        box-shadow: 0px 0px 0px 0px #000;
        border: 4px solid #ffa700;
    }

    /* Disable glow around picture */
    .theme-snap #snap-pm-header .userpicture {
        box-shadow: 0px 4px 0px 0px #ffa700;
    }
    /*    Header on course list */
    .theme-snap #snap-pm-header {
        padding: 1em;
    }

    /* Header on course */
    #mr-nav #snap-header {
        padding: 0em;
    }

    .section li.snap-activity {
        padding-bottom: 0em;
        margin-top: 0em;
        margin-bottom: 0em;
    }

    .section li.snap-asset .asset-wrapper {
        padding-top: 0.8em;
        overflow: visible;
    }

    .navbar {
        max-height: 1.5em;
    }

    #page-header {
        padding-top: 2em;
        padding-bottom: .5em;
    }

    /* Massive login button */
    .theme-snap #mr-nav a.snap-login-button {
        font-size: 2em;
    }
    /*     Class title */
    #page-mast > h1:nth-child(1) > a:nth-child(1) {
        font-size: 0.8em;
        background: #ffc629;
        color: #000;
        text-shadow: 0px 0px #000;
        padding: 0.1em;
        border-radius: 0.2em;
    }
    .snap-custom-menu-spacer {
        padding-top: 0em;
    }

    /*     Fix mobile menu button background */
    .theme-snap#page-site-index #page-header,
    .theme-snap#page-login-index #page,
    .theme-snap .news-article-image,
    .theme-snap .news-article-preview,
    .theme-snap #snap-footer-alert,
    .theme-snap #toc-mobile-menu-toggle {
        background-color: #ffc629;
    }
    #mr-nav {
        position: static;
    }

}

Reviews

No reviews yet.