RSI Platform - Optimized

Optimizations for the RobertsSpaceIndustries.com Platform

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name RSI Platform - Optimized
@version 1.1.3
@description Optimizations for the RobertsSpaceIndustries.com Platform
@namespace https://greasyfork.org/en/users/1410028
@author 3of9
@license CC-BY-SA-4.0
==/UserStyle== */

@-moz-document url-prefix("https://robertsspaceindustries.com/") {
    * {
        --lobby-message-background-color: var(--subscription-fill-color);
        --lobby-message-border-color: var(--color-alert-unread);
        --lobby-message-text-color: var(--subscription-stroke-color);;
        --lobby-message-button-color: var(--subscription-stroke-color);
        
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary-100) var(--color-primary-400);
    }

    #platform-bar-head {
        display: none;
    }

    .o-navigationBar__content {
        max-width: unset !important;
    }

    .message-item {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .sidebar-list .sidebar-item.community {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .sidebar-list .sidebar-item {
        padding-top: 1px;
        padding-bottom: 1px;
    }

    .lobby-member-presences > .members-list .lobby-presence-item {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .theme-dark .sidebar-list .sidebar-item.unread .column.content a {
        color: var(--color-alert-unread);
    }

    .message-item.highlighted {
        background: color-mix(in srgb, var(--color-alert-unread) 25%, transparent);
    }

}