//
// Written by Glenn Wiking
// Script Version: 1.0.0a
// Date of issue: 18/02/16
// Date of resolution: 24/02/16
//
// ==UserScript==
// @name ShadeRoot Amazon
// @namespace SRAZ
// @description Eye-friendly magic in your browser for Amazon
// @include *.amazon.*
// @version 1.0.0a
// @icon XX
// ==/UserScript==
function ShadeRootAZ(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
ShadeRootAZ (
'html, #navbar.nav-bluebeacon #nav-belt, #nav-main {background-color: #18212d !important;}'
+
'body {color: #F8DDC3 !important;}'
+
'hr {border-top: 1px solid #8c482d !important;}'
+
'.nav-search-field {background: #38342e !important;}'
+
'.nav-input, .a-color-base {color: #F3EAD8 !important;}'
+
'.nav-search-scope {background-color: #231b15 !important; border-color: #4d3b18 !important;}'
+
'#gw-content-grid {background: #2C241D !important;}'
+
'.gw-flex-col .desktop-unrec-col, .a-box {background: #3E2D23 !important;}'
+
'a, a:active, a:link, a:visited, .navFooterColHead {color: #dd832c !important;}'
+
'a:hover {color: #da4500 !important;}'
+
'#a-page {background: rgb(12, 17, 24) !important;}'
+
'.navFooterBackToTop span {color: #F0CFBD !important; background: #3C2C22 !important;}'
+
'.a-button-text {color: #5f3f20 !important;}'
+
'.a-color-secondary {color: #DEA145 !important;}'
+
'.a-link-normal, .nav_a {color: #ef530a !important;}'
+
'.a-color-price {color: #EAB38F !important;}'
+
'.a-icon-logo, .a-logo {background-color: #6B5346 !important; border-radius: 4px !important;}'
+
'.a-box {border: 1px #863f12 solid !important;}'
+
'.a-input-text, input[type="number"], input[type="tel"], input[type="password"], input[type="search"], input[type="text"] {background-color: #2c251f !important;}'
+
'.a-input-text, input[type="number"], input[type="tel"], input[type="password"], input[type="search"], input[type="text"], select.a-select-multiple, textarea {border: 1px solid #8d4d16 !important; border-top-color: #B3621E !important; box-shadow: 0 1px 0 rgba(126, 51, 22, 0.5),0 1px 0 rgba(0,0,0,.07) inset !important;}'
+
'.a-box .a-divider.a-divider-break h5, .a-color-base-background .a-divider.a-divider-break h5, .a-divider.a-divider-break h5 {background-color: #3e2d23 !important;}'
+
'.a-box .a-divider.a-divider-break::after, .a-color-base-background .a-divider.a-divider-break::after, .a-divider.a-divider-break::after {border-top: 1px solid #ab6623 !important;}'
+
'.a-box .a-divider.a-divider-break h5, .a-color-base-background .a-divider.a-divider-break h5, .a-divider.a-divider-break h5 {color: #F0D4BD !important;}'
+
'.a-button {background: #9e4820 !important; border-color: #d47518 #d77b14 #d77b14 !important;}'
+
'.a-button .a-button-inner {background: linear-gradient(to bottom,#e98727,#bf5c14) !important;}'
+
'.a-button .a-button-inner:hover {background: linear-gradient(to bottom,#f6c35b,#ef741b) !important;}'
+
'.a-button .a-button-text {color: #392F27 !important;}'
);