Personal enhancements
Purple by kinchj
Details
Authorkinchj
LicenseNo License
Categoryhttps://www.purplelanguageservices.us/
Created
Updated
Size14 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link./* ==UserStyle==
@name Purple
@version 20220916.17.35
@namespace userstyles.world/user/kinchj
@description Personal enhancements
@author kinchj
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://www.purplelanguageservices.us/main") {
/* Main Page*/
/* Adjust Assignments Today and Assignments This Week */
/* Remove 'Map it!' */
td.bodytext2 {
display: none;
}
/* Header background color & font color */
tbody > tr:nth-child(3) > td > table > tbody > tr:nth-child(1) {
background-color: #ED8D05 !important;
color: #444;
}
/* Header padding */
td.slot_time {
padding-left: 10px;
}
/* Font size */
td.slot_name,
td.slot_time {
font-size: 11px;
}
/* Alternating Green & Blue Items*/
body > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table:nth-child(2n+1) {
border: 1px solid darkgreen;
border-radius: 2px;
}
body > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table:nth-child(2n+2) {
border: 1px solid darkblue;
border-radius: 2px;
margin-top: 1px;
}
body > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table:nth-child(2n+3) {
border: 1px solid darkgreen;
border-radius: 2px;
margin-top: 1px;
}
tbody > tr:nth-child(3) > td > table:nth-child(2n+1) > tbody,
tbody > tr:nth-child(3) > td > table:nth-child(2n+1) > tbody a {
background-color: honeydew;
color: darkgreen !important;
font-weight: normal;
}
tbody > tr:nth-child(3) > td > table:nth-child(2n+2) > tbody,
tbody > tr:nth-child(3) > td > table:nth-child(2n+2) > tbody a {
background-color: aliceblue !important;
color: darkblue;
font-weight: normal;
}
}
@-moz-document url-prefix("https://www.purplelanguageservices.us/requests/p_FindRequests.php") {
/* Work Locator Page*/
/* Remove "Select one or more of the search options." text at top of page*/
#frmSearch > div.bodytext2,
#frmSearch > br {
display: none;
}
/* Remove "Service" and "Job Category" fields */
#listing > table > tbody > tr:nth-child(2) {
display: none;
}
/* Remove extra table rows */
form > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table > tbody > tr:nth-child(N+4) {
display: none;
}
/* Remove black line */
form > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table {
border-bottom: none !important;
}
/* Alternate Blue/Green Rows */
form > table > tbody > tr:nth-child(odd) > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table > tbody > tr > td > b > span:nth-child(1) {
color: darkgreen;
}
form > table > tbody > tr:nth-child(even) > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table > tbody > tr > td > b > span:nth-child(1) {
color: darkblue;
}
form > table > tbody > tr:nth-child(odd) > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table {
background-color: honeydew;
}
form > table > tbody > tr:nth-child(even) > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table {
background-color: aliceblue !important;
}
form > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(N+2) > table > tbody > tr > td {
background-color: inherit !important;
}
}
@-moz-document url("https://www.purplelanguageservices.us/requests/p_ShowPendingRequests.php") {
/* Pending Confirmation Page*/
table.slot_1,
table.slot_1 > tbody > tr:nth-child(1) > td {
background-color: honeydew !important;
color: darkgreen;
font-weight: normal;
}
table.slot_1 {
border: 1px solid darkgreen;
border-radius: 2px;
margin-top: 1px;
}
table.slot_2,
table.slot_2 > tbody > tr:nth-child(1) > td {
background-color: aliceblue !important;
color: darkblue;
font-weight: normal;
}
table.slot_2 {
border: 1px solid darkblue;
border-radius: 2px;
margin-top: 1px;
}
table.slot_1 > tbody > tr:nth-child(1n+4),
table.slot_2 > tbody > tr:nth-child(1n+4) {
display: none;
}
}
@-moz-document regexp("https://www.purplelanguageservices.us/invoices/i_view_invoices.*") {
/* Generate New Invoice Page */
div.rateNote {
display: none;
}
/* Remove column header names */
#frmInvoices > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td:nth-child(7),
#frmInvoices > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td:nth-child(8),
#frmInvoices > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td:nth-child(9),
#frmInvoices > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td:nth-child(10) {
display: none;
}
/* Actual Times and question mark button */
div.actualTimes.littletext > div, #help0, #cmt0 {
display: none;
}
/* Change 'Assignment' column width */
tbody > tr > td.header:nth-child(3),
tbody > tr > td.job-title-date-comment:nth-child(3) {
width: 306px;
}
/* Alternate Green & Blue rows */
tr.slot_1,
tr.slot_1 > td {
background-color: honeydew;
color: darkgreen;
font-weight: normal;
}
tr.slot_2,
tr.slot_2 > td {
background-color: aliceblue;
color: darkblue;
font-weight: normal;
}
/* Make Start end and time inline*/
div.actualTimeRow.startTime,
div.actualTimeRow.endTime {
display: inline-block !important;
}
/* Add space between start and end time boxes*/
div.actualTimeRow.startTime {
margin-right: 6px;
}
/* Remove space above and below start and end time boxes */
div.actualTimes.littletext {
padding: 0px;
}
/* Remove columns */
td.mileage-meals, td.parking-lodging, td.airfare-rentalcar, td.tolls-misc{
display: none;
}
/* Remove 'Add or Edit Comment' button below boxes */
td.job-title-date-comment > div:nth-child(4) {
display: none;
}
/* Set width of table */
#frmInvoices > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td:nth-child(2) > table {
width: 601px
}
}
@-moz-document regexp("dhttps://www.purplelanguageservices.us/calendar/.*") {
/* Calendar Page */
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+2) > div,
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+2) > div > div.slot_name {
background-color: honeydew;
color: darkgreen;
font-weight: normal;
}
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+4) > div,
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+4) > div > div.slot_name {
background-color: aliceblue !important;
color: darkblue;
font-weight: normal;
}
td.day > div > div > div.slot_name:nth-child(1),
td.day > div > div > div.slot_time:nth-child(4),
td.day > div > div > div.slot_time:nth-child(5) {
display: none;
}
/*
https://app.roll20.*.net/(editor|campaigns.*)/.*
https://www.purplelanguageservices.*.us/calendar/(i_weekly.*|i_daily.*)/.*
http://www\\.purplelanguageservices\\.us/calendar.*(?!hourly).*
*/
}
@-moz-document regexp("https://www.purplelanguageservices.us/calendar/i_weekly.*") {
/* Monthly Calendar Page */
/* Remove 'Boeing Company - Everett', 'Everett', 'Service: On-Site: ASL' */
td.day > div > div > div.slot_name:nth-child(1),
td.day > div > div > div.slot_time:nth-child(4),
td.day > div > div > div.slot_time:nth-child(5),
td.day > div > table > tbody > tr.bodytext2 > td > div.slot_name:nth-child(1),
td.day > div > table > tbody > tr.bodytext2 > td > div.slot_time:nth-child(4),
td.day > div > table > tbody > tr:nth-child(3)
{ display: none; }
/* Remove Left, Sunday & Saturday columns */
table.calendar_container > tbody > tr > td:nth-child(1),
table.calendar_container > tbody > tr > td:nth-child(2),
table.calendar_container > tbody > tr > td:nth-child(8)
{ display: none; }
/* Color jobs */
/* Confirmed jobs - odd on each day */
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+2) > div,
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+2) > div > div.slot_name
{ background-color: honeydew; color: darkgreen; font-weight: normal; }
/* Confirmed jobs - even on each day */
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+4) > div,
table.calendar_container > tbody > tr > td.day > div:nth-child(2n+4) > div > div.slot_name
{ background-color: aliceblue !important; color: darkblue; font-weight: normal; }
/* Pending Items */
/* Pending jobs - odd on each day */
table.calendar_container > tbody > tr > td.day > div:nth-child(6n+3) > table > tbody > tr.bodytext2 > td,
table.calendar_container > tbody > tr > td.day > div:nth-child(6n+3) > table > tbody > tr.bodytext2 > td > div.slot_name
{ background-color: honeydew; color: darkgreen !important; font-weight: normal; }
/* Pending jobs - color even jobs on each day */
table.calendar_container > tbody > tr > td.day > div:nth-child(6n+6) > table > tbody > tr.bodytext2 > td,
table.calendar_container > tbody > tr > td.day > div:nth-child(6n+6) > table > tbody > tr.bodytext2 > td > div.slot_name
{ background-color: aliceblue !important; color: darkblue; font-weight: normal; }
/* Pending jobs - color even jobs after confirmed job */
table.calendar_container > tbody > tr > td.day > div:nth-child(4n) > table > tbody > tr.bodytext2 > td,
table.calendar_container > tbody > tr > td.day > div:nth-child(4n) > table > tbody > tr.bodytext2 > td > div.slot_name
{ background-color: aliceblue !important; color: darkblue; font-weight: normal; }
/* Move '[PENDING]' label to the left */
td.slot_modes2 > span
{ float: left; }
/* Change '[PENDING]' color */
td.slot_modes2
{ background-...