Skip to content

Condensed Steam Inventory by mroosa

Screenshot of Condensed Steam Inventory

Details

Authormroosa

LicenseGPL-3.0

Categorysteamcommunity.com

Created

Updated

Size3.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

De-clutters the Steam inventory page. Especially helpful for those with lots of game inventories.

Notes

Source code

/* ==UserStyle==
@name         Steam Inventory
@version      20230324.02.01
@namespace    ?
==/UserStyle== */

@-moz-document domain("steamcommunity.com") {
  /* --- BEGIN --- */

  /*
   * Condensed Steam Inventory Tabs
   * By Matthew R. <https://github.com/mroosa/>
   *
   * https://github.com/mroosa/userstyle-condensed-steam-inventory/issues
   */


html body .games_list_tabs {
    border: none;
    background: none;
    margin-bottom: -1px;
}
html body .games_list_tab,
html body a.games_list_tab {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom-color: #303030;
    margin-right: -1px;
    width: 59px;
    height: 55px;
    overflow: hidden;
    transition: .25s;
    position: relative;
}
html body .games_list_tab:not(.active):hover,
html body a.games_list_tab:not(.active):hover {
    background: rgba(0, 0, 0, 0.25);
}
html body .games_list_tab:not(.active) .games_list_tab_number,
html body a.games_list_tab:not(.active) .games_list_tab_number {
    position: absolute;
    float: none;
    left: 0;
    max-width: 59px;
    width: 59px;
    height: 55px;
    text-align: center;
    padding: 0;
    transition: .25s;
    background: rgba(0, 0, 0, .30);
    opacity: 0;
    font-family: monospace;
    font-size: 15px;
    letter-spacing: -1px;
    font-weight: bold;
}
html body .games_list_tab:not(.active):hover .games_list_tab_number,
html body a.games_list_tab:not(.active):hover .games_list_tab_number {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    text-shadow: 0 0 5px #000;
    opacity: 1;
}

html body .games_list_tab.active,
html body a.games_list_tab.active {
    border-color:#2c3235;
    border-bottom-color: transparent;
    width: 205px;
    box-shadow: none;
}
html body .games_list_tab.active .games_list_tab_name {
    max-width: 115px;
}
html body .games_list_tab.active .games_list_tab_number,
html body a.games_list_tab.active .games_list_tab_number {
    color: #a4d7f5;
}
html body .games_list_tab_row_separator,
html body .games_list_tab_separator {
    display: none;
}

html body .view_inventory_page {
    width: auto;
    padding: 10px;
    margin: 0;
}
html body .view_inventory_page .inventory_page_right {
    width: 366px;
    margin-top: 0;
}
html body .inventory_iteminfo {
    width: auto !important;
    border-width: 1px;
}
html body .inventory_iteminfo .item_desc_content {
    background: rgb(41, 41, 41);
}
html body .inventory_iteminfo .item_desc_icon_center {
    width: 350px;
}
html body .games_list_tabs_ctn {
    background: transparent;
    padding: 14px 0 0 0;
    margin-bottom: 0;
}

html body #tabcontent_inventory {
    padding-top: 10px;
    margin-top: 0;
}
html body .trade_item_box {
    padding: 24px 0 0 17px;
    background: #161619;
}
html body .itemHolder {
    margin-right: 2px;
    margin-bottom: 2px;
}
html body .view_inventory_logo {
    display: none;
}
html body #contextselect .context_name,
html body #contextselect_options .context_name {
    font-size: 16px;
}

html body .item_actions .btn_small,
html body .item_owner_actions .btn_small,
html body .item_scrap_actions .btn_small,
html body .item_market_actions .btn_small {
    display: block;
    height: auto;
    text-align: center;
    margin-right: 0;
}
html body .item_actions .btn_small > span,
html body .item_owner_actions .btn_small > span,
html body .item_scrap_actions .btn_small > span,
html body .item_market_actions .btn_small > span {
    float: none;
    height: auto;
    line-height: inherit;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 14px;
}


/* --- END --- */
}

Reviews

No reviews yet.