Skip to content

Dell Outlet Condensed Search by scahill-sil

Screenshot of Dell Outlet Condensed Search

Details

Authorscahill-sil

LicenseNo License

Categoryoutlet.us.dell.com

Created

Updated

Size2.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Lists search results in columns

Notes

Lists search results in 2 or 3 columns, depending upon window width.

Source code

/* ==UserStyle==
@name         Dell Outlet Condensed Search
@version      20241120.19.55
@namespace    https://userstyles.world/user/scahill-sil
@description  Lists search results in columns
@author       scahill-sil
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://outlet.us.dell.com/GDOOnline/Online/InventorySearch") {
.dell-ps .ps-variant-specs {
    font-size:0.8em;
}

.dell-ps .ps-variant-specs .dds__more-less__target .variant-specs-column {
    flex-basis:100%;
}

.dell-ps .ps-variant-specs .dds__more-less__target .variant-specs-column.variant-specs-second-column {
    display:none;
}

.variant-stack-layout .ps > article .ps-show-hide > div:first-child {
    padding-bottom:0px;
}

section {
    padding-top:0px;
    padding-bottom:0px;
}

.variant-stack-layout .ps > article {
    padding:16px 16px 0;
}

.variant-stack-layout .ps > article {
    grid-template-columns: 2fr 7fr;
    -ms-grid-columns: 2fr 6fr;
}

.scr-full-width-banner .plp-scr-banner picture > img {
    min-height:0rem;
}

 .ps-learn-more-customize-buttons .ps-btn,
.ps-learn-more-customize-buttons .mfe-addtocart {
    width: 125px;
    height: 38px;
    padding: 5px 10px;
}

.variant-stack-layout .ps {
    padding: 10px;
}

@media (min-width: 1920px) {
    .variant-stack-layout .ps > article .ps-show-hide-bottom {
        margin: 0 -17px -1px;
    }
}

.variant-stack-layout .ps > article .ps-show-hide-bottom {
    height: 38px;
    box-sizing: content-box;
    align-self: end;
}

#sr-product-stacks .variant-stack-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap:16px;
    align-items:stretch;
}

@media (min-width: 1800px) {
    #sr-product-stacks .variant-stack-layout {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.fl-def-warnty-container span {
    display:block;
    clear:left;
    padding-left: 0px !important;
}

.fl-def-warnty-container span:first-child {
    font-weight:bold;
}

.dell-ps.ps .variant-stack.ps-stack {
    height:100%;
}

.product-img {
  width: 100%;
  height: 100%;
}

/* When there is an ad in the search results */
#InventorySearch_reportsV1_div_28_0 {
  display: none;
    :has(select) {
        display:initial;
    }
}

@media (min-width: 1800px) {
    div:has(#InventorySearch_reportsV1_div_28_0) #sr-product-stacks .variant-stack-layout {
        grid-template-columns: 1fr 1fr;
    }
}
}

Reviews

No reviews yet.