Skip to content

Clean TorrentGalaxy by luffier

Screenshot of Clean TorrentGalaxy

Details

Authorluffier

LicenseNo License

Categorytorrentgalaxy

Created

Updated

Size6.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Clean layout for TorrentGalaxy dark theme.

Notes

uBlock Origin (or any other ad blocker) is recommended. Any feedback is appreciated.

Source code

/* ==UserStyle==
@name           Clean TorrentGalaxy
@version        1.0
@namespace      userstyles.world/user/luffier
@description    Clean layout for TorrentGalaxy. Any feedback is appreciated.
@author         luffier
@license        No License
@preprocessor   stylus
@var            checkbox streams "Hide stream links" 1
@var            checkbox posters "Hide posters on hovering" 1
@var            checkbox dim "Dim images" 1
@var            checkbox compact "Compact search view" 1
==/UserStyle== */

/* Varibales */
$white = rgb(230, 230, 230)
$dark = rgb(34, 34, 34)
$dark-alt = rgb(48, 48, 48)
$black = rgb(20, 20, 20)
$red = rgb(204, 51, 51)
$green = rgb(3, 125, 3)
$gold = rgb(204, 180, 51)

@-moz-document domain("torrentgalaxy.to"), domain("torrentgalaxy.mx"), domain("tgx.rs"), domain("tgx.sb") {
    if streams {
        .tgxtablecell a[href^="/stream"] {
            opacity: 0;
            margin: -12px;
        }
    }
    if posters {
        #overDiv {
            display: none;
        }
    }
    if !dim {
        img.dim.txdark {
            filter: unset;
        }
    }

    /* Remove navbar background */
    nav.txdark {
        background: none;
    }
    /* Links font */
    div.txdark a {
        color: $white;
        font-family: sans-serif;
        font-weight: 100 !important;
    }
    /* Disable hover effect */
    .tgxtablerow:hover, .hpcover:hover {
        transform: none !important;
        background-color: $black !important;
        box-shadow: unset;
    }
    /* Darker panel headers */
    div #panelheader.panel-heading.txdark {
        background-color: $black;
        border-color: rgb(74, 74, 74);
    }
    div #intblockheader.panel-heading.txdark,
    #innerhead.tgxtablehead.int.txdark {
        background-color: $black;
    }
    /* Backgroud colors */
    div #panelmain.outer.panel-primary.txdark,
    div #intblock.panel-primary.txdark {
        background-color: $dark;
        border-color: $dark;
    }
    /* Torrents table row colors */
    .tgxtablerow:nth-of-type(even).txdark {
        background-color: $dark;
    }
    .tgxtablerow:nth-of-type(odd).txdark {
        background-color: $dark-alt;
    }
    /* Leecher number */
    .tgxtablerow .tgxtablecell.txdark font[color="#ff0000"]:nth-of-type(2) {
        color: $red;
    }
    /* Staff picks title */
    #intblockheader h3 span {
        color: $red !important;
        font-weight: unset;
    }
    #intblockheader h3 .fa-star {
        color: $gold !important;
    }
    /* Now Streaming tab */
    a[href*="stream"] span {
        color: $red !important;
        text-shadow: none !important;
        animation: none !important;
    }
    /* Ads */
    a[href^="/hub.php?a=h0tdeal"] {
        display: none;
    }
    i.glyphicon.glyphicon-magnet {
        color: $red !important;
    }
}



@-moz-document url-prefix("https://torrentgalaxy.to/torrents.php"), domain("https://torrentgalaxy.mx/torrents.php"), domain("https://tgx.rs/torrents.php"), domain("https://tgx.sb/torrents.php") {

    if compact {
        /* Remove headers and navbars */
        #tgxnavbar,
        #intblockheader,
        #intblockslide > center:nth-of-type(1) #inthpheader,
        #intblockslide > center:nth-of-type(2) > :not(form) {
            display: none;
 
        }
        #intblockslide > center:nth-of-type(1) {
            position: relative;
        }
        #intblockslide > center:nth-of-type(2) {
            margin-top: -3rem;
        }
    }
    /* Separation between hotlist posters */
    table.hotlist {
        border-spacing: 6px !important;
        border-collapse: separate !important;
    }
    /* Hide "too much results" alert */
    form .ulert {
        display: none;
    }
    /* Main content */
    #main > .row > div {
        width: 100%;
        display: flex;
        justify-content: center;
    }
     /* Left side panel */
    #main > .row > div > div:nth-child(1) {
        display: none;
    }
     /* Search results panel */
    #main > .row > div > div:nth-child(2) {
        max-width: 1600px;
    }
    #main > .row > div > div:nth-of-type(2) > #panelmain > .panel-body {
        padding: 0;
        margin: 0;
    }
    #main > .row > div > div:nth-of-type(2) > #panelmain > #panelheader {
        display: none;
    }
    /* Search results table */
    .tgxtable {
        width: 100%;
    }
    .tgxtablehead {
        text-align: center;
    }
    /* Category column */
    .tgxtablehead .tgxtablecell:nth-child(1),
    .tgxtablerow .tgxtablecell:nth-child(1) {
        width: 128px;
    }
    /* Verified column */
    .tgxtablehead .tgxtablecell:nth-child(2),
    .tgxtablerow .tgxtablecell:nth-child(2) {
        width: 16px;
    }
    /* Language column */
    .tgxtablehead .tgxtablecell:nth-child(3),
    .tgxtablerow .tgxtablecell:nth-child(3) {
        width: 16px;
    }
    /* Name column */
    .tgxtablehead .tgxtablecell:nth-child(4),
    .tgxtablerow .tgxtablecell:nth-child(4) {
        min-width: 400px;
    }
    /* Download links column */
    .tgxtablehead .tgxtablecell:nth-child(5),
    .tgxtablerow .tgxtablecell:nth-child(5) {
        width: 55px;
    }
    /* Rating column */
    .tgxtablehead .tgxtablecell:nth-child(6),
    .tgxtablerow .tgxtablecell:nth-child(6) {
        width: 25px;
    }
    /* Uploader column */
    .tgxtablehead .tgxtablecell:nth-child(7),
    .tgxtablerow .tgxtablecell:nth-child(7) {
        width: 135px;
    }
    /* Size column */
    .tgxtablehead .tgxtablecell:nth-child(8),
    .tgxtablerow .tgxtablecell:nth-child(8) {
        width: 90px;
    }
    /* Comments column */
    .tgxtablehead .tgxtablecell:nth-child(9),
    .tgxtablerow .tgxtablecell:nth-child(9) {
        width: 25px;
    }
    /* Views column */
    .tgxtablehead .tgxtablecell:nth-child(10),
    .tgxtablerow .tgxtablecell:nth-child(10) {
        width: 25px;
        max-width: 52px;
    }
    /* Seeders / leechers column */
    .tgxtablehead .tgxtablecell:nth-child(11),
    .tgxtablerow .tgxtablecell:nth-child(11) {
        width: 60px;
        max-width: 100px;
    }
    /* Added column */
    .tgxtablehead .tgxtablecell:nth-child(12),
    .tgxtablerow .tgxtablecell:nth-child(12) {
        width: 95px;
    }
}

Reviews

No reviews yet.