Skip to content

Colorful XYZ (xyzhomework) by windowtoaster

Screenshot of Colorful XYZ (xyzhomework)

Details

Authorwindowtoaster

LicenseCC-BY

Categoryxyzhomework

Created

Updated

Size4.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

More colors in XYZ Homework. Replaces gray with colors in buttons and in the review box.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Colorful XYZ
@version      20220607.20.53
@namespace    userstyles.world/user/windowtoaster
@description  More colors in XYZ Homework. Replaces gray with colors in buttons and in the review box.
@author       windowtoaster
@license      CC-BY
==/UserStyle== */

@-moz-document domain("xyzhomework.com") {
input[class=""], button {
  background-color: #bfb;
  border: 1px solid #7c7;
}

input[class=""]:hover, button:hover {
  background-color: #8eb;
}

button[onclick="if(confirm('Are you SURE you want to delete this message?')){window.location.href='msglist.php?cid=32755&filtercid=32755&page=1&removeid=779421&type=msg'}"] {
  background-color: #fbb;
  border: 1px solid #f66;
}

button[onclick="if(confirm('Are you SURE you want to delete this message?')){window.location.href='msglist.php?cid=32755&filtercid=32755&page=1&removeid=779421&type=msg'}"]:hover {
  background-color: #c8f;
}

button[onclick="window.location.href='msglist.php?cid=32755&filtercid=32755&page=1&type=msg&add=new&to=223269&toquote=779421'"] {
  background-color: #aae3ff;
  border: 1px solid #48f;
}

button[onclick="window.location.href='msglist.php?cid=32755&filtercid=32755&page=1&type=msg&add=new&to=223269&toquote=779421'"]:hover {
  background-color: #7bf;
}

button[onclick="window.location.href='viewmsg.php?markunread=true&cid=32755&filtercid=32755&page=1&msgid=779421&type=msg'"] {
  background-color: #ffef00;
  border: 1px solid #d1b500;
}

button[onclick="window.location.href='viewmsg.php?markunread=true&cid=32755&filtercid=32755&page=1&msgid=779421&type=msg'"]:hover {
  background-color: #6f6;
}

input[type="submit"], input[type="button"] {
  background-color: #b9e;
}
input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #86d;
}

.ansgrn {
  background-color: #0f03;
}

a.abutton, div#viewbuttoncont a.buttoninactive, ul.buttonlist li a {
  background-color: #da0;
}
a.abutton:hover, div#viewbuttoncont a.buttoninactive:hover, ul.buttonlist li a:hover {
  background-color: #bb6400;
}

div.review {
  background-color: #a3cf79 !important;
}

#loginbox input[type="button"] {
    background-color: #b9e;
}

#loginbox input[type="button"]:hover {
    background-color: #86d;
}

#loginbox input[onclick="window.location='/register'"] {
  background-color: #84d184;
}

#loginbox input[onclick="window.location='/instructor_startup'"] {
  background-color: #84d184;
}

#loginbox input[onclick="window.location='/register'"]:hover {
  background-color: #181;
}

#loginbox input[onclick="window.location='/instructor_startup'"]:hover {
  background-color: #181;
}

#loginbox input[value="Open"] {
  background-color: #62a5e9;
}

#loginbox input[value="Open"]:hover {
  background-color: #26f;
}

#loginbox input[onclick="window.location='/media/xyzhomework_getting_started_guide_student.pdf?v=007'"] {
  background-color: #62a5e9;
}

#loginbox input[onclick="window.location='/media/xyzhomework_getting_started_guide_student.pdf?v=007'"]:hover {
  background-color: #26f;
}

#loginbox input[onclick="window.location='/media/GettingStartedGuideforInstructors.pdf'"] {
  background-color: #62a5e9;
}

#loginbox input[onclick="window.location='/media/GettingStartedGuideforInstructors.pdf'"]:hover {
  background-color: #26f;
}

input[onclick="expandall()"] {
    background-color: #84d184;
}

input[onclick="expandall()"]:hover {
    background-color: #181;
}

input[onclick="collapseall()"] {
    background-color: #dc1;
}

input[onclick="collapseall()"]:hover {
    background-color: #b81;
}

input[onclick="showall()"] {
    background-color: #62a5e9;
}

input[onclick="showall()"]:hover {
    background-color: #26f;
}

input[value="Show"] {
  background-color: #62a5e9;
}

input[value="Show"]:hover {
  background-color: #26f;
}

input[onclick="rotatepics()"] {
  background-color: #b9e;
    border: none;
}

input[onclick="rotatepics()"]:hover {
  background-color: #86d;
    border: none;
}

input[value="Mark as Unread"] {
  background-color: #dc1;
    border: none;
}

input[value="Mark as Unread"]:hover {
  background-color: #b81;
    border: none;
}

input[value="Mark as Read"] {
  background-color: #84d184;
    border: none;
}

input[value="Mark as Read"]:hover {
  background-color: #181;
    border: none;
}

input[value="Delete"] {
  background-color: #e88;
    border: none;
}

input[value="Delete"]:hover {
  background-color: #c44;
    border: none;
}
}

Reviews

No reviews yet.