Skip to content

Better BOSS.latech.edu by funnyboy-roks

Details

Authorfunnyboy-roks

LicenseApache 2.0

Categoryboss.latech.edu

Created

Updated

Size4.9 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

An attempt to fix the stylings of BOSS

Notes

Userstyle doesn't have notes.

Source code

/*
==UserStyle==
@name Better BOSS
@namespace https://userstyles.world
@version 1.0.0
@description An attempt to fix the stylings of BOSS
@author funnyboy_roks
==/UserStyle==
*/
@-moz-document domain('boss.latech.edu') {
/* BOSS general fix */

/* weird padding on top of page */
.pageheaderdiv1 {
    margin-top: 0 !important;
}

/* header image */
body {
    background-image: none;
}

/* Header Items */
.headerlinksdiv2 {
    display: none;
}

.menuItem, .menuHeading {
    font-size: 1.5em;
    width: unset !important;
}

.menuItem {
    padding: .25rem 1.5rem;
    cursor: pointer !important;
}

.menuItem:hover {
    text-decoration: underline !important;
}

.pagetitlediv * {
    text-align: center;
}

hr {
    width: 25%;
    color: #666 !important;
    height: unset !important;
    margin-top: unset !important;
}

/* custom classes from js */
.positive {
    color: #aea;
}
.negative {
    color: #e8a;
}
.zero {
    color: unset;
}

/* Footer items */
.instfooterdiv, .pagefooterdiv, .poweredbydiv, .pageseparator {
    display: none;
}

/* other UI elts */
.toplinks, .infotextdiv, th.ddlabel {
    display: none;
}

/* some of the _thousands_ of tables */
table.datadisplaytable tbody td[colspan="8"] {
    border-bottom: 2px solid #666;
}

table.display * {
    border: none;
}

table.display > tbody > tr:first-child, table.display > tbody > tr:last-child {
    font-size: 1.25rem;
}

table.display > tbody > tr:nth-child(2) th {
    font-size: 1.25rem;
    border-bottom: 2px solid #666;
}

table.display > tbody > :nth-child(2n + 4) {
    background: #aaa2;
}

table.display > tbody > :last-child {
    background: none;
}

/* submit buttons are ugly af */
input[type="submit"], button {
    outline: none;
    border: 1px solid #666;
    font-size: 1.1em;
    background: #aaa4;
    padding: .5rem 1rem;
    border-radius: 5px;
    color: #5f7;
    cursor: pointer;
}

/* Style the selection things */
select.optdefault[size="10"] {
    width: 50vw;
    height: 70vh;
    font-size: 1.1em;
    outline: none;
    background: #000a;
    padding: .25em 1.5em;
    border-radius: 0 0 10px 10px;
    border: 1px solid #666a;
}

select.optdefault option {
    cursor: pointer;
}

input.optsearch {
    font-size: 1.4em;
    outline: none;
    background: #000a;
    border: 1px solid #666a;
    padding: .5em 1.5em;
    color: white;
    border-radius: 10px 10px 0 0;
}

select.optdefault option:checked, select.optdefault option:hover {
    background: #fff3;
    color: #5f7;
}

select.optdefault option:hover {
    text-decoration: underline;
}

.dataentrytable {
    margin: auto;
}

table th.deheader {
    background: none;
    text-align: center;
    font-size: 1.4rem;
    padding-bottom: .5em;
}

form {
    text-align: center;
}

/* BOSS home */

body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(-n + 2), body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(3) {
    display: none;
}

body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
    display: none;
}

body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > div:nth-child(3) * {
    font-size: 1.5rem;
    font-family: sans-serif;
    text-align: center;
    padding-bottom: 1rem;
}

body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > div:nth-child(3) {
    display: flex;
    flex-direction: column;
}

a.leftnav:nth-child(7) {
    order: 1;
    margin-bottom: 5rem;
}

a.leftnav:not(a.leftnav:nth-child(7)) {
    order: 2;
}

img {
    display: none;
}

body > table:nth-child(1) > tbody:nth-child(1) > tr:last-child,
body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1),
body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2),
body > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
    display: none;
}
}

Reviews

No reviews yet.