3X-UI Border Radius

Increase border radius and polish borders for 3X-UI dashboard

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @license MIT
// @name         3X-UI Border Radius
// @namespace    http://tampermonkey.net/
// @version      3.0
// @description  Increase border radius and polish borders for 3X-UI dashboard

// @match        https://xxx.xxxxxx.xxx/*
// @match        https://xxx.xxxxxx.xxx/*

// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        /* ===== Login ===== */
        .login-card {
            border-radius: 20px !important;
        }

        /* ===== Cards ===== */
        .ant-card,
        .ant-card-bordered {
            border-radius: 20px !important;
            overflow: hidden !important;
            border: none !important;
        }

        .ant-card-head {
            border-radius: 20px 20px 0 0 !important;
        }

        .ant-card-body {
            border-radius: 0 0 20px 20px !important;
        }

        .ant-card-actions {
            border-radius: 0 0 20px 20px !important;
            overflow: hidden !important;
        }

        .ant-card-actions li:last-child {
            border-radius: 0 0 20px 0 !important;
        }

        .ant-card-actions li:first-child:last-child {
            border-radius: 0 0 20px 20px !important;
        }

        /* ===== Table ===== */
        .ant-space-item > .ant-table-wrapper {
            border-radius: 20px !important;
            border: 1px solid #303030 !important;
            overflow: hidden !important;
        }

        .ant-table-wrapper .ant-table {
            margin-top: 0 !important;
        }

        .ant-table-container {
            border-radius: 20px !important;
            overflow: hidden !important;
            border: none !important;
        }

        .ant-table table {
            border-collapse: collapse !important;
        }

        .ant-table-thead > tr > th,
        .ant-table-thead > tr > td {
            border-right: none !important;
            border-left: none !important;
            border-inline-end: none !important;
            border-top: none !important;
            border-bottom: 1px solid #303030 !important;
        }

        .ant-table-cell {
            border-right: none !important;
            border-left: none !important;
            border-inline-end: none !important;
            border-inline-start: none !important;
        }

        .ant-table-tbody > tr > td {
            border-right: none !important;
            border-left: none !important;
            border-inline-end: none !important;
            border-bottom: 1px solid #303030 !important;
        }

        .ant-table-tbody > tr:last-child > td {
            border-bottom: none !important;
        }

        /* ===== Collapse ===== */
        .ant-collapse,
        .ant-collapse.ant-collapse-icon-position-start {
            border-radius: 20px !important;
            border: none !important;
            overflow: hidden !important;
        }

        .ant-collapse-item {
            border-left: none !important;
            border-right: none !important;
            border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        }

        .ant-collapse-item:last-child {
            border-bottom: none !important;
            border-radius: 0 0 20px 20px !important;
        }

        .ant-collapse-item:first-child {
            border-radius: 20px 20px 0 0 !important;
        }

        .ant-collapse-item:first-child:last-child {
            border-radius: 20px !important;
        }

        .ant-collapse-content {
            border-top: 1px solid rgba(255,255,255,0.06) !important;
            border-left: none !important;
            border-right: none !important;
            border-bottom: none !important;
        }

        /* ===== Modal & Drawer ===== */
        .ant-modal-content {
            border-radius: 20px !important;
        }

        .ant-drawer-content {
            border-radius: 20px !important;
        }

        /* ===== Buttons & Inputs ===== */
        .ant-btn {
            border-radius: 12px !important;
        }

        .ant-input,
        .ant-select-selector,
        .ant-input-affix-wrapper {
            border-radius: 10px !important;
        }

        /* ===== Tags ===== */
        .ant-tag {
            border-radius: 6px !important;
        }

        .ant-alert {
            border-radius: 12px !important;
        }
    `);
})();