RSI Platform - Optimized

Optimizations for the RobertsSpaceIndustries.com Platform

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==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);
    }

}