//custom script to add styling to attachments box on orders
//only run on pages with path of orders otherwise it runs on all pages with attachments
if(document.URL.indexOf("/orders/") >= 0){
//variable 'list' will count the amount of attachments - if it's greater than zero, it will highlight the box with the styles listed below
var list = document.getElementById("att_box").getElementsByClassName("attachment");
if (list && list.length > 0) {
document.getElementById("attachments").style.borderLeft="5px solid #C6D880";
document.getElementById("attachments").style.background="#f1f5e1";
document.getElementById("attachments").style.borderRadius = '2px';
document.getElementById("attachments").style.padding = '2px';
}
}