Skip to content

UW DARS Compact Mode by TetraTsunami

Screenshot of UW DARS Compact Mode

Details

AuthorTetraTsunami

LicenseMIT

Categoryenroll.wisc.edu

Created

Updated

Size1.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Trims a lot of fat from the UW-Madison DARS interface

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         UW DARS Compact Mode
@version      20241112.17.30
@namespace    https://userstyles.world/user/Tsuni<tsuni@tsuni.dev>
@description  Trims a lot of fat from the UW-Madison DARS interface
@author       Tsuni<tsuni@tsuni.dev>
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://enroll.wisc.edu/dars/") {
.mat-expansion-panel.mat-expansion-panel {
    .mat-expansion-panel-header {
        padding: 0;
    }
    box-shadow: none;
    .ng-star-inserted {
        div {
            margin: 0;
        }
        .content-type-okSubrequirementTLine,
        .content-type-noSubrequirementTLine {
            margin-top: 0.5rem;
        }
    }
    .mat-expansion-panel-body {
        padding: 0;
    }
    .subrequirement-content-wrapper > table.mat-mdc-table {
        border: none !important;
        > thead {
            display: none !important;
        }
        > tbody {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(10rem,1fr));
        }
        > tbody > tr.mat-mdc-row {
            padding: 0 !important;
            border: none !important;
            display: block !important;
            color: blue;
            td.mat-mdc-cell {
                display: none !important;
                border: none !important;
            }
            td.mat-mdc-cell:nth-of-type(2),
            td.mat-mdc-cell:nth-of-type(3) {
                display: inline !important;
                padding: 0 !important;
                span {
                    display: none !important;
                }
            }
            td.mat-mdc-cell:nth-of-type(3):before {
                content: '(';
                margin-right: -0.1em;
            }
            td.mat-mdc-cell:nth-of-type(3):after {
                content: ')';
                margin-left: -0.1em;
            }
        }
    }
}
}

Reviews

No reviews yet.