REX modifications for trading in
REX Trade Modifications by thegamesmendev
Details
Authorthegamesmendev
LicenseNo License
CategoryRetail Express
Created
Updated
Size21 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 REX Trade Modifications
@version 20230822.02.13
@namespace userstyles.world/user/thegamesmendev
@description REX modifications for trading in
@author thegamesmendev
@license No License
==/UserStyle== */
@-moz-document url-prefix("https://gamesmen.retailexpress.com.au") {
/* Global Styles */
.ceo-message,
#dm0m0tbl,
#dm1m0i0tdT { display:none; }
}
@-moz-document url-prefix("https://gamesmen.retailexpress.com.au/DOTNET/Admin/Inventory/PO.aspx") {
/* PO Manager */
/* Page Heading */
body > div.page-wrap > h1 { font-size:0px !important; }
body > div.page-wrap > h1:after { content:"Turbo Trade 2.0"; font-size: 16px;}
/* Navigation Tabs */
#ctl00_ContentPlaceHolder1_ITOTabs_header { visibility: hidden !important; }
/* Search Fields */
#ctl00_ContentPlaceHolder1_ITOTabs_ReportFiltersTab,
.hybrid-search-results-filter-container { visibility: hidden !important; }
/* Footer */
.view-footer { visibility: hidden; }
}
@-moz-document url-prefix("https://gamesmen.retailexpress.com.au/DOTNET/Admin/Inventory/POMaint/POEdit.aspx") {
/* Purchase Order Details (Trade-in Estimate) */
/* Page Heading */
body > div.page-wrap > h1 { font-size:0px !important; }
body > div.page-wrap > h1:after { content:"Trade-in Estimate"; font-size: 16px;}
/* NAVIGATION TABS */
/* Hide but keep clickable by imacros */
#ctl00_ContentPlaceHolder1_rtsPo { visibility: hidden; }
/* Tab Content Containers */
#ctl00_ContentPlaceHolder1_rpvEditPo { visibility: hidden; }
#ctl00_ContentPlaceHolder1_rmpPo { visibility: visible !important; }
/* PRODUCT SEARCH/ADD FORM */
/* Remove unused buttons*/
#ctl00_ContentPlaceHolder1_btnAddItem,
#btnCreateProduct,
#btnCreateStyle { display: none; }
/* PO ITEMS */
/* Footer: Remove unused buttons */
#ctl00_ContentPlaceHolder1_btnEmailPreviewPO,
#ctl00_ContentPlaceHolder1_btnPrint,
#btnQuickReceive,
#ctl00_ContentPlaceHolder1_btnLinkedTransfer,
#ctl00_ContentPlaceHolder1_btnSOLinkedTransfer,
#ctl00_ContentPlaceHolder1_upButtons > a:nth-child(7) { display:none;}
/* Footer: Hide buttons but keep clickable by imacros*/
#ctl00_ContentPlaceHolder1_btnStockReceipt { visibility:hidden; }
/* PO DETAILS */
/* Footer: Remove unused buttons */
#ctl00_ContentPlaceHolder1_btnSubmitClose,
#ctl00_ContentPlaceHolder1_upButtons > a:nth-child(10) { display: none}
/* Footer: Hide buttons but keep clickable by imacros*/
#ctl00_ContentPlaceHolder1_btnSubmit,
#ctl00_ContentPlaceHolder1_btnCancel {visibility: hidden;}
/* ADD ITEM MODAL */
#addItemModal { visibility: hidden; }
/* Items Table */
#gvItemsTable > tbody > tr > th:nth-child(2),
#gvItemsTable > tbody > tr > td:nth-child(2),
#gvItemsTable > tbody > tr > th:nth-child(3),
#gvItemsTable > tbody > tr > td:nth-child(3),
#gvItemsTable > tbody > tr > th:nth-child(4),
#gvItemsTable > tbody > tr > td:nth-child(4),
#gvItemsTable > tbody > tr > th:nth-child(5),
#gvItemsTable > tbody > tr > td:nth-child(5),
#gvItemsTable > tbody > tr > th:nth-child(7),
#gvItemsTable > tbody > tr > td:nth-child(7),
#gvItemsTable > tbody > tr > th:nth-child(9),
#gvItemsTable > tbody > tr > td:nth-child(9),
#gvItemsTable > tbody > tr > th:nth-child(11),
#gvItemsTable > tbody > tr > td:nth-child(11),
#gvItemsTable > tbody > tr > th:nth-child(12),
#gvItemsTable > tbody > tr > td:nth-child(12),
#gvItemsTable > tbody > tr > th:nth-child(13),
#gvItemsTable > tbody > tr > td:nth-child(13),
#gvItemsTable > tbody > tr > th:nth-child(14),
#gvItemsTable > tbody > tr > td:nth-child(14) { width: 0px !important; font-size: 0; padding:0px !important; }
#gvItemsTable > tbody > tr > th:nth-child(6),
#gvItemsTable > tbody > tr > td:nth-child(6),
#gvItemsTable > tbody > tr > th:nth-child(8),
#gvItemsTable > tbody > tr > td:nth-child(8),
#gvItemsTable > tbody > tr > th:nth-child(16),
#gvItemsTable > tbody > tr > td:nth-child(16) { width: 3%; }
#gvItemsTable > tbody > tr > th:nth-child(10),
#gvItemsTable > tbody > tr > td:nth-child(10),
#gvItemsTable > tbody > tr > th:nth-child(15),
#gvItemsTable > tbody > tr > td:nth-child(15) { width: 6%; }
.hybrid-table-grid > tbody tr td { padding: 2px }
.po-edit-grid-row-icon-container { display: table-cell !important; }
#gvItemsTable > tbody > tr > td.po-edit-grid-row-icon-container > div > br:nth-child(1) { display: block; }
#gvItemsTable > tbody > tr > td.po-edit-grid-row-icon-container > div > br { display: none; }
}
@-moz-document regexp("https?://gamesmen\\.retailexpress\\.com\\.au/Admin/Inventory/POMaint/newProductSearch.asp.*") {
/* Product Search Screen */
.alert-info { display: none; }
colgroup { display: none; }
.hybrid-table-grid tr th:nth-of-type(2),
.hybrid-table-grid tr td:nth-of-type(2),
.hybrid-table-grid tr th:nth-of-type(3),
.hybrid-table-grid tr td:nth-of-type(3) { display: none; }
.btn-rex { min-width: 0; }
.view-footer { display: block !important; }
.view-footer .btn-rex[value="Add to Order"] { display: none; }
.view-footer .btn-rex[value="Cancel"] { color: transparent; }
.glyphicon-arrow-left::after { content: "Cancel Search"; line-height: 1.2em; font-family: arial; padding-left:10px; color: #fff; }
.glyphicon-arrow-left::before { color: #fff; }
}
@-moz-document url-prefix("https://gamesmen.retailexpress.com.au/Admin/Inventory/StockReceipt/StockReceipt.asp") {
/* Stock Receipt (Trade Receipt & Label Printing) */
/* Page Heading */
body > div.page-wrap > h1 { font-size:0px !important; }
body > div.page-wrap > h1:after { content:"Trade Receipt & Label Printing"; font-size: 16px;}
/* Heading buttons */
.page-wrap > div > a,
.page-wrap > div > button { display: none; }
/* Status Alert */
#searchDiv > div.status-container.remove-padding.top.bottom > div { background-color: lightgreen; }
#searchDiv > div.status-container.remove-padding.top.bottom > div .text-warning { color: green !important; }
#status { font-size: 0; }
#status:after { content:"RECEIVED: Ready to print labels."; font-size: 12px; }
/* Internation orders notice */
#searchDiv > div.alert-info { display: none; }
/* Navigation Tabs */
#tabsJ { display: none; }
/* PO ID */
#detailsDiv { display: block !important; }
#detailsDiv > table > tbody > tr:nth-child(1) { display: table-row; font-size:34px; }
#detailsDiv > table > tbody > tr:nth-child(1) > td > label { font-weight:bold; }
#detailsDiv > table > tbody > tr { display:none; }
/* Stock Receipt Form - Keep clickable by imacros */
#searchDiv > div:nth-child(4) { visibility: hidden; height:0px; overflow: hidden; }
/* Legend button */
#searchDiv > div:nth-child(5) > div > div > form > div.col-xs-12.remove-padding-right { visibility: hidden; height:0px; overflow: hidden; }
/* ITEMS TABLE */
/* Make Table Screen Width*/
.grid-wrapper,
.grid-body-wrap,
#results,
#results-head { width: 100%!important; }
/* Adjust column widths*/
colgroup > col:nth-child(1) { width:0px !important; }
colgroup > col:nth-child(4) { width:20px !important; }
colgroup > col:nth-child(12) { width:20px !important; }
colgroup > col:nth-child(15) { width:20px !important; }
/* Hide unused columns */
colgroup > col:nth-child(3),
#results-head th:nth-child(3),
#results td:nth-child(3),
colgroup > col:nth-child(5),
#results-head th:nth-child(5),
#results td:nth-child(5),
colgroup > col:nth-child(6),
#results-head th:nth-child(6),
#results td:nth-child(6),
colgroup > col:nth-child(7),
#results-head th:nth-child(7),
#results td:nth-child(7),
colgroup > col:nth-child(8),
#results-head th:nth-child(8),
#results td:nth-child(8),
colgroup > col:nth-child(9),
#results-head th:nth-child(9),
#results td:nth-child(9),
colgroup > col:nth-child(10),
#results-head th:nth-child(10),
#results td:nth-child(10),
colgroup > col:nth-child(11),
#results-head th:nth-child(11),
#results td:nth-child(11),
colgroup > col:nth-child(13),
#results-head th:nth-child(13),
#results td:nth-child(13),
colgroup > col:nth-child(14),
#results-head th:nth-child(14),
#results td:nth-child(14),
colgroup > col:nth-child(16),
#results-head th:nth-child(16),
#results td:nth-child(16),
colgroup > col:nth-child(17),
#results-head th:nth-child(17),
#results td:nth-child(17),
colgroup > col:nth-child(18),
#results-head th:nth-child(18),
#results td:nth-child(18),
colgroup > col:nth-child(19),
#results-head th:nth-child(19),
#results td:nth-child(19),
colgroup > col:nth-child(20),
#results-head th:nth-child(20),
#results td:nth-child(20),
colgroup > col:nth-child(21),
#results-head th:nth-child(21),
#results td:nth-child(21),
colgroup > col:nth-child(22),
#results-head th:nth-child(22),
#results td:nth-child(22),
colgroup > col:nth-child(23),
#results-head th:nth-child(23),
#results td:nth-child(23) { width: 0px !important; font-size: 0; /* border: 5px solid; */ }
#results td br:nth-child(1) { display:block; }
#results td br { display: none; }
#results td { padding: 5px; }
.grid-body-wrap { height:auto; }
.subtotal { font-size: 0; }
/* LABEL PRINTING BUTTON */
#labelsModal { opacity: 1; visibility: hidden; display: block; }
#btnA4LabelPrintRecv { visibility: visible; position:absolute; top: 50px; left: 50px; }
/* Footer - Keep clickable by imacros */
.view-footer { visibility: hidden; }
}
@-moz-document url-prefix("https://gamesmen.retailexpress.com.au/Admin/Inventory/StockReceipt/StockReceiptBarcodes/LblSht.asp") {
/* Price Labels */
body {
width:48mm;
margin: 0 1mm;
padding:0;
user-select: none;
}
.break {
page-break-after: always;
height:0px !important;
}
.label {
height: 28mm;
width: 100%;
margin-top: 0mm;
margin-bottom: 0mm;
margin-right: 0mm;
margin-left: 0mm;
float: left;
overflow: hidden;
position:relative;
/* Backgorund Image (Logo) */
background-image: url(https://static.gamesmen.com.au/media/logo/default/the-gamesmen-logo-2019.svg);
background-size: auto 20px;
background-repeat: no-repeat;
background-position: top;
/* Default Text Styles */
text-align: center;
font-family: Arial;
font-size: 11px;
line-height:11px;
word-wrap: break-word;
}
/* Force Background image pre...