Skip to content

Amazon Stony Dark by stonecrusher

Imported and mirrored from https://raw.githubusercontent.com/stonecrusher/stylus-UserCSS/master/amazon/amazon.user.css

Screenshot of Amazon Stony Dark

Details

Authorstonecrusher

LicenseCC-BY-NC-SA-4.0

Categoryamazon

Created

Updated

Size130 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Change colors, hide (self-)advertisement, control review bar width

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           Amazon Stony Dark
@description    Change colors, hide (self-)advertisement, control review bar width
@namespace      Stonecrusher
@author         Stonecrusher
@version        1.14.43
@homepageURL    https://github.com/stonecrusher/stylus-UserCSS/tree/master/amazon
@supportURL     https://github.com/stonecrusher/stylus-UserCSS/issues
@license        CC-BY-NC-SA-4.0
@preprocessor   stylus

@var checkbox  darkstyle        'Darkstyle (DS)'      1
@var color     var_bg1          'DS Background'       #333
@var color     var_selected     'DS Background 2'     #6e583a
@var color     var_headfoot     'DS Header & footer background' #232f3e
@var color     var_font1        'DS Font color'       #ccc
@var color     var_linkdefault  'DS Link color'       #75a9d7
@var color     var_linkhover    'DS Link hover color' #cc5800
@var color     var_price        'DS Price color'      #ff3b14
@var range     darkProductImage 'DS Darken product images'   [0.8,0.4,1,0.05]
@var checkbox  compact          'Compact mode & Less ads'    1
@var checkbox  hide-similar     'Hide other customer item recommendations' 1
@var checkbox  hide-ask         'Hide customer q&a'          0
@var checkbox  hide-cart        'Hide shopping card sidebar' 0
@var checkbox  mark-sponsored   'Mark sponsored results'     1
@var checkbox  av-pause-remove  'Remove Video pause overlay' 1
@var text      review-width     'Width of review bars'       300px
==/UserStyle== */
/* Amazon default review bar width is 185px */


@-moz-document regexp("https?:\\/\\/(www|music)\\.amazon\\.(cn|in|sg|ae|fr|de|it|nl|es|ca|se|com(\\.(mx|au|br|tr|be))?|co\\.(uk|jp))\\/.*") {
    
    /* Stylus variables */
    /* Colors to be replaced are in the comment */
    
 /* var_bg1         = selectable DS Background     // #fff */
    var_bg2         = lighten(var_bg1, 10%)        // #f6f6f6
    var_bg2a7       = alpha(lighten(var_bg1, 10%),.7)
    var_bg2a8       = alpha(lighten(var_bg1, 10%),.8)
    var_bg3         = lighten(var_bg1, 20%)        // #fafafa
    var_bg4         = lighten(var_bg1, 25%)        // #F2F2F2, #eff7fe, #f3f3f3, #cdcdcd
    var_bg5         = lighten(var_bg1, 30%)        // #EAEDED, #eee, #e7e9ec
    var_bg6         = lighten(var_bg1, 40%)        // #ddd
    var_bg7         = lighten(var_bg1, 50%)        // #d3d3d3
 
 /* var_selected    = selectable DS Background 2   // #fef8f2, brownish golden */
 /* var_headfoot    = selectable DS Header & footer bg  // #232f3e, darkblue */

    var_font7       = invert(var_bg1)              // #ffffff, white
    var_font0       = lighten(var_font1,20%)       // #111111, black
 /* var_font1       = selectable DS Font color     // #333333 */
    var_font2       = darken(var_font1, 12%)       // #444444
    var_font3       = darken(var_font1, 20%)       // #555555, #666666, #888888

 /* var_linkdefault = selectable DS Link color     // #0066C0, blue */
    var_font8       = darken(var_linkdefault, 50%) // #0066c0
 /* var_linkhover   = selectable DS Hover color    // #c45500, #e47911, orange */
 /* var_price       = selectable DS Price color    // #B12704, red */
 /******************************************************************************/   
    /*** Start of code ***/

    if darkstyle {
        body,
        #dp table[bgcolor="#ffffff"],
        #nav-search .nav-search-field,
        .a-box .a-divider.a-divider-break h5, .a-color-base-background .a-divider.a-divider-break h5, .a-divider.a-divider-break h5,
        .a-input-text, input[type="text"], input[type="number"], input[type="tel"], input[type="password"], input[type="date"], input[type="email"], input[type="search"],
        .nav-flyout,
        .a-popover-inner,
        .a-popover-modal .a-popover-footer,
        #quantity,
        #rcxsubsQuan,
        #rcxOrdFreq,
        #nav-prime-tooltip,
        .nav-npt-text-detail, a.nav-npt-a,
        #sort,
        #navbar .nav-flyout-sidePanel,
        .digital-dash-dashboard-content, .digital-dash-sticky-content,
        ul.a-tabs .a-tab-heading.a-active a, ul.a-tabs li.a-active a,
        .GB-M-COMMON,
        .a-expander-partial-collapse-header,
        #hud-dashboard,
        a.a-link-section-expander,
        #pet_your_prime .pet_your_prime_footer,
        .a-alert-warning .a-alert-container,
        .a-alert-info .a-alert-container,
        .kfs-popover-container,
        .ss-gradient-bg,
        .csg-hover-box .csg-hover-box-categories,
        .hud-white-dashboard .hud-feed-carousel .feed-carousel-card,
        .acs-ln-widget .acs-ln-expand-all,
        #top table table,
        .acs-ln-header,
        #poweredByEmpty,
        .dv-dp-top-wrapper,
        #iv-tab-view-container .iv-box,
        #iv-tab-view-container ul.iv-tab-views .iv-tab-heading.iv-active a, #iv-tab-view-container ul.iv-tab-views li.iv-active a,
        .a-popover-wrapper,
        .border-gradient2 .center,
        .dragonfly section.menuPanel,
        .dropdownSelector .dropdownMenu h3,
        #contextMenu li,
        .acs-product-card-for-container,
        .acs-carousel .a-carousel-goto-nextpage, .acs-carousel .a-carousel-goto-prevpage,
        .ap_content[role="alertdialog"],
        .ap_popover .ap_titlebar,
        .ap_popover .ap_titlebar .ap_title,
        #buyBoxAccordion .a-accordion-active .a-accordion-row,
        .a-accordion .a-accordion-active .a-accordion-inner,
        .a-accordion .a-accordion-row,
        #actionPanelWrapper.burj,
        #content,
        #techSpecSoftlines table,
        .a-native-dropdown,
        .w-success-msg span,
        .w-popover-header,
        .w-box,
        .ryp__card__horizontal-padding-container,
        .imageInformation,
        #desktop-grid-1-D2,
        #squished-desktop-row,
        .huc-v2-pinned-order-row-with-divider,
        .dp-accordion .unselected .rbbHeader,
        #pet_your_prime .pet_your_prime_subheader,
        #pet_your_prime .pet_cta_detail,
        .marketing-container .a-carousel-container .a-carousel-left, .marketing-container .a-carousel-container .a-carousel-right,
        .marketing-container .prime-cardcarousel #prime-main-carousel .a-carousel-card::after,
        .pmts-selected,
        .octopus-pc-card, .octopus-pc-item, .octopus-pc-item-block, .octopus-pc-card-content, .octopus-pc-item-image-section, .octopus-pc-category-card-v2, .octopus-pc-category-card-v1, .octopus-pc-category-card-v2-item-block, .octopus-pc-category-card-v1-item-block,
        .pantry-shelf-header,
        #octopus-quick-look-asin-popover,
        #octopus-quick-look-asin-popover .octopus-quick-look-imgblock,
        .nav-ewc-persistent-click #ewc #ewc-active-cart .ewc-scroll-area, .nav-ewc-persistent-hover #ewc #ewc-active-cart .ewc-scroll-area,
        #ewc .ewc-scroll .ewc-scroll-overwrap,
        #ewc .ewc-items,
        #ewc .ewc-item-cover .ewc-item-cover-back,
        #ewc-content, .nav-ewc-content, .ewc-style, #navbar #nav-flyout-ewc .nav-flyout-body,
        table[bgcolor="#ffffff" i],
        .popover-inner li,
        #gw-asin-popover,
        .profile-v5-desktop,
        .profile-v5-desktop-background,
        .profile-at-product-box,
        .view-alert-container.desktop .view-alert.self,
        .interest-follow-widget-carousel-item,
        .avu-content-aui,
        #promise-background-container.background-normal,
        .masrw-box,
        .message-table-row,
        #hmenu-content,
        .oct-dls-container,
        #oct-shop-all-deals-sec,
        .nav-bluebeacon #ewc #ewc-sfl-expander.ewc-expander-expanded .ewc-scroll-area,
        .nav-ewc-persistent-click .nav-bluebeacon #ewc #ewc-sfl-expander.ewc-expander-expanded .ewc-scroll-area, .nav-ewc-persistent-hover .nav-bluebeacon #ewc #ewc-sfl-expander.ewc-expander-expanded .ewc-scroll-area,
        .s-desktop-content, .s-desktop-toolbar,
        .ModalPurchase.ItemizedList, .ModalPurchase.ItemTitle,
        .ryp__card-frame,
        #dp,
        .nav-bluebeacon #ewc #ewc-checkout.ewc-untabbed-checkout, .nav-bluebeacon #ewc #ewc-checkout.ewc-untabbed-checkout .ewc-gift-box.ewc-checkbox label,
        .legal-button,
        #all-offers-display,
        #all-offers-display .aod-filter-block-container,
        #all-offers-display #aod-footer,
        #all-offers-display-scroller,
        #all-offers-display .aod-filter-list-container,
        #searchDropdownBox,
        #mars-fs-flyouts,
        div[class*="_buy-again-carousel-"],
        .nav-menu .apd-side-nav,
        .navHeader_myx,
        .alexaPrivacy_sideNav_myx,
        .alexaPrivacyApp_sideNavDiv_myx,
        .navigationItemAlexa_myx,
        .MMGridLayout#formats .safRow,
        tr[bgcolor="#ffffff"],
        td[bgcolor="#ffffff"],
        .coupon-shoveler-common,
        div[class*="Shoveler-module__shoveler_"],
        .Header__left__3CRg_ .Header__navArea__2dJRo,
        .ProductGridItem__itemOuter__5ow0w,
        [class^="_morpheus-popularity-rank-sidesheet-card_"],
        .survey-modal-header, .survey-modal-body,
        .showcase-asin-card,
        .sw-card-container,
        .questionnaire-widget,
        .ryp__review-progress-banner-container, .ryp__review_progress-bar-title-container,
        #nav-area,
        li[class^="ProductGridItem__itemOuter"],
        [class^="AuthorFooter__author-footer__"],
        .stores-container,
        .stores-page,
        div[class^="AuthorBio__author-bio__"],
        .acs-product-block,
        .sub-nav-bar,
        .desktopCardified-background,
        .typ-upsell-slot-styling,
        .postpurchase-sidesheet-foreground,
        .a-section-expander-container,
        #zg [class*="-zg-banner-landing-page-"],
        .a-carousel-right, .a-carousel-left,
        .ryp__media-upload-call-to-action--full-width, .ryp__media-upload-call-to-action--rect, .ryp__media-upload-call-to-action--square,
        .a-alert-info > .a-box-inner:only-child,
        .a-alert-info > .a-box-inner:only-child h4,
        div[class*="GridPresets-module__"][style^="background: rgb(255"],
        span[class^="GridPreset...

Reviews

No reviews yet.